kth.sePublications KTH
Change search
Link to record
Permanent link

Direct link
Publications (10 of 108) Show all publications
Le Thanh, S. & Weinkauf, T. (2025). A Comparative Study of Different Edit Distance-Based Methods for Feature Tracking using Merge Trees on Time-Varying Scalar Fields. In: Proceedings - 2025 Topological Data Analysis and Visualization, TopoInVis 2025: . Paper presented at 2025 Topological Data Analysis and Visualization, TopoInVis 2025, Vienna, Austria, November 2, 2025 (pp. 1-10). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>A Comparative Study of Different Edit Distance-Based Methods for Feature Tracking using Merge Trees on Time-Varying Scalar Fields
2025 (English)In: Proceedings - 2025 Topological Data Analysis and Visualization, TopoInVis 2025, Institute of Electrical and Electronics Engineers (IEEE) , 2025, p. 1-10Conference paper, Published paper (Refereed)
Abstract [en]

Feature tracking in time-varying scalar fields is a fundamental task in scientific computing. Topological descriptors, which summarize important features of data, have proved to be viable tools to facilitate this task. The merge tree is a topological descriptor that captures the connectivity behaviors of the sub- or superlevel sets of a scalar field. Edit distances between merge trees play a vital role in effective temporal data tracking. Existing methods to compute them fall into two main classes, namely whether they are dependent or independent of the branch decomposition. These two classes represent the most prominent approaches for producing tracking results. In this paper, we compare four different merge tree edit distance-based methods for feature tracking. We demonstrate that these methods yield distinct results with both analytical and real-world data sets. Furthermore, we investigate how these results vary and identify the factors that influence them. Our experiments reveal significant differences in tracked features over time, even among those produced by techniques within the same category.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2025
Keywords
Edit distance, Merge trees, Time-varying scalar fields, Tracking
National Category
Computer Sciences
Identifiers
urn:nbn:se:kth:diva-378744 (URN)10.1109/TopoInVis68599.2025.00005 (DOI)2-s2.0-105032092824 (Scopus ID)
Conference
2025 Topological Data Analysis and Visualization, TopoInVis 2025, Vienna, Austria, November 2, 2025
Note

Part of ISBN 9798331579920

QC 20260331

Available from: 2026-03-31 Created: 2026-03-31 Last updated: 2026-03-31Bibliographically approved
Shi, D., Cheng, F., Weinkauf, T., Oulasvirta, A. & El-Assady, M. (2025). DxHF: Providing High-Quality Human Feedback for LLM Alignment with Interactive Decomposition. In: UIST 2025 - Proceedings of the 38th Annual ACM Symposium on User Interface Software and Technology: . Paper presented at 38th Annual ACM Symposium on User Interface Software and Technology, UIST 2025, Busan, Korea, September 28 - October 1, 2025. Association for Computing Machinery (ACM), Article ID 123.
Open this publication in new window or tab >>DxHF: Providing High-Quality Human Feedback for LLM Alignment with Interactive Decomposition
Show others...
2025 (English)In: UIST 2025 - Proceedings of the 38th Annual ACM Symposium on User Interface Software and Technology, Association for Computing Machinery (ACM) , 2025, article id 123Conference paper, Published paper (Refereed)
Abstract [en]

Human preferences are widely used to align large language models (LLMs) through methods such as reinforcement learning from human feedback (RLHF). However, the current user interfaces require annotators to compare text paragraphs, which is cognitively challenging when the texts are long or unfamiliar. This paper contributes by studying the decomposition principle as an approach to improving the quality of human feedback for LLM alignment. This approach breaks down the text into individual claims instead of directly comparing two long-form text responses. Based on the principle, we build a novel user interface DxHF. It enhances the comparison process by showing decomposed claims, visually encoding the relevance of claims to the conversation and linking similar claims. This allows users to skim through key information and identify differences for better and quicker judgment. Our technical evaluation shows evidence that decomposition generally improves feedback accuracy regarding the ground truth, particularly for users with uncertainty. A crowdsourcing study with 160 participants indicates that using DxHF improves feedback accuracy by an average of 5%, although it increases the average feedback time by 18 seconds. Notably, accuracy is significantly higher in situations where users have less certainty. The finding of the study highlights the potential of HCI as an effective method for improving human-AI alignment.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2025
Keywords
AI Alignment, Human-AI Interaction, Large Language Models, Reinforcement Learning from Human Feedback, User Interface
National Category
Human Computer Interaction Information Systems Software Engineering Natural Language Processing
Identifiers
urn:nbn:se:kth:diva-373863 (URN)10.1145/3746059.3747600 (DOI)2-s2.0-105022976575 (Scopus ID)
Conference
38th Annual ACM Symposium on User Interface Software and Technology, UIST 2025, Busan, Korea, September 28 - October 1, 2025
Note

Part of ISBN 9798400720376

QC 20251211

Available from: 2025-12-11 Created: 2025-12-11 Last updated: 2025-12-11Bibliographically approved
Kompatscher, J., Shi, D., Varni, G., Weinkauf, T. & Oulasvirta, A. (2025). Interactive Groupwise Comparison for Reinforcement Learning from Human Feedback. Computer graphics forum (Print)
Open this publication in new window or tab >>Interactive Groupwise Comparison for Reinforcement Learning from Human Feedback
Show others...
2025 (English)In: Computer graphics forum (Print), ISSN 0167-7055, E-ISSN 1467-8659Article in journal (Refereed) Epub ahead of print
Abstract [en]

Reinforcement learning from human feedback (RLHF) has emerged as a key enabling technology for aligning AI behaviour with human preferences. The traditional way to collect data in RLHF is via pairwise comparisons: human raters are asked to indicate which one of two samples they prefer. We present an interactive visualisation that better exploits the human visual ability to compare and explore whole groups of samples. The interface is comprised of two linked views: 1) an exploration view showing a contextual overview of all sampled behaviours organised in a hierarchical clustering structure; and 2) a comparison view displaying two selected groups of behaviours for user queries. Users can efficiently explore large sets of behaviours by iterating between these two views. Additionally, we devised an active learning approach suggesting groups for comparison. As shown by our evaluation in six simulated robotics tasks, our approach increases the final rewards by 69.34%. It leads to lower error rates and better policies. We open-source the code that can be easily integrated into the RLHF training loop, supporting research on human–AI alignment.

Place, publisher, year, edition, pages
Wiley, 2025
Keywords
human–computer interfaces, visualisation, interaction, visual analytics
National Category
Computer Sciences Human Computer Interaction Computer graphics and computer vision
Identifiers
urn:nbn:se:kth:diva-373511 (URN)10.1111/cgf.70290 (DOI)001615460600001 ()2-s2.0-105021975665 (Scopus ID)
Note

QC 20251204

Available from: 2025-12-04 Created: 2025-12-04 Last updated: 2025-12-04Bibliographically approved
Mallor, F., Liu, J., Peplinski, A., Vinuesa, R., Örlü, R., Weinkauf, T. & Schlatter, P. (2024). In-Situ Analysis of Backflow Events and Their Relation to Separation in Wings Through Well-Resolved LES. In: ERCOFTAC Series: (pp. 17-22). Springer Science and Business Media B.V., 31
Open this publication in new window or tab >>In-Situ Analysis of Backflow Events and Their Relation to Separation in Wings Through Well-Resolved LES
Show others...
2024 (English)In: ERCOFTAC Series, Springer Science and Business Media B.V. , 2024, Vol. 31, p. 17-22Chapter in book (Other academic)
Abstract [en]

Wall-bounded turbulent flows as those occurring in transportation (e.g. aviation) or industrial applications (e.g turbomachinery), are usually subjected to pressure gradients (PGs). The presence of such PGs affects greatly the development and physics of the turbulent boundary layer (TBL), making it an open research area. An important phenomena associated with the presence of strong adverse PGs (APGs) as appearing in wings, is the separation of the boundary layer, which can lead to stall.

Place, publisher, year, edition, pages
Springer Science and Business Media B.V., 2024
National Category
Fluid Mechanics
Identifiers
urn:nbn:se:kth:diva-340780 (URN)10.1007/978-3-031-47028-8_3 (DOI)2-s2.0-85178156992 (Scopus ID)
Note

QC 20231214

Available from: 2023-12-14 Created: 2023-12-14 Last updated: 2025-02-09Bibliographically approved
Liu, J., Edwards, T., Durovic, K., Schlatter, P. & Weinkauf, T. (2024). In-situ binary segmentation of 3d time-dependent flows into laminar and turbulent regions. In: 53rd International Conference on Parallel Processing, ICPP 2024 - Main Conference Proceedings: . Paper presented at 53rd International Conference on Parallel Processing, ICPP 2024, August 12-15, 2024, Gotland, Sweden (pp. 210-219). Association for Computing Machinery (ACM)
Open this publication in new window or tab >>In-situ binary segmentation of 3d time-dependent flows into laminar and turbulent regions
Show others...
2024 (English)In: 53rd International Conference on Parallel Processing, ICPP 2024 - Main Conference Proceedings, Association for Computing Machinery (ACM) , 2024, p. 210-219Conference paper, Published paper (Refereed)
Abstract [en]

The transition from laminar to turbulent flow is a long-standing research subject in the field of fluid mechanics. A basic necessity for such studies is a distinction between laminar and turbulent flow. In particular, a binary segmentation is desired where laminar and turbulent regions behave consistently over time. Previous works in this regard yield inconsistent results, or are restricted to 2D manifolds thereby neglecting the three-dimensional nature of the problem. In this paper, we present a novel use of feature-based methods to segmenting a 3D time-dependent flow into regions of laminar and turbulent behavior. It is based on the extraction of local extrema from a scalar field such as spanwise velocity. It turns out that the existence of many extrema in a region is a good indicator for turbulence. We derive a density function from the extracted extrema using a Kernel Density Estimate (KDE) and threshold it to achieve a binary segmentation into laminar and turbulent regions. We use an in-situ processing approach for data analysis during the simulation run. The two core components of our method exhibit drastically different performance characteristics: the extraction of extrema is embarrassingly parallel, while the KDE is more time-consuming. Hence, we decouple our algorithmic components to achieve a better overall system performance. Our method shows consistent results and enables the domain scientists to study the three-dimensional aspects of the laminar-turbulent transition that were difficult to assess before.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2024
Keywords
In-situ processing, Kernel density estimate, Laminar-turbulent segmentation, Parallel computing, Visualization
National Category
Mechanical Engineering Computer and Information Sciences
Identifiers
urn:nbn:se:kth:diva-353561 (URN)10.1145/3673038.3673127 (DOI)001323772600021 ()2-s2.0-85202439130 (Scopus ID)
Conference
53rd International Conference on Parallel Processing, ICPP 2024, August 12-15, 2024, Gotland, Sweden
Note

Part of ISBN: 9798400708428

QC 20240926

Available from: 2024-09-19 Created: 2024-09-19 Last updated: 2024-11-05Bibliographically approved
Shi, D., Zhu, S., Weinkauf, T. & Oulasvirta, A. (2024). Interactive Reward Tuning: Interactive Visualization for Preference Elicitation. In: 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2024: . Paper presented at 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2024, Abu Dhabi, United Arab Emirates, Oct 14 2024 - Oct 18 2024 (pp. 9254-9261). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Interactive Reward Tuning: Interactive Visualization for Preference Elicitation
2024 (English)In: 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2024, Institute of Electrical and Electronics Engineers (IEEE) , 2024, p. 9254-9261Conference paper, Published paper (Refereed)
Abstract [en]

In reinforcement learning, tuning reward weights in the reward function is necessary to align behavior with user preferences. However, current approaches, which use pairwise comparisons for preference elicitation, are inefficient, because they miss much of the human ability to explore and judge groups of candidate solutions. The paper presents a novel visualization-based approach that better exploits the user's ability to quickly recognize interesting directions for reward tuning. It breaks down the tuning problem by using the visual information-seeking principle: overview first, zoom and filter, then details-on-demand. Following this principle, we built a visualization system comprising two interactively linked views: 1) an embedding view showing a contextual overview of all sampled behaviors and 2) a sample view displaying selected behaviors and visualizations of the detailed time-series data. A user can efficiently explore large sets of samples by iterating between these two views. The paper demonstrates that the proposed approach is capable of tuning rewards for challenging behaviors. The simulation-based evaluation shows that the system can reach optimal solutions with fewer queries relative to baselines.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
National Category
Computer Sciences Robotics and automation Human Computer Interaction
Identifiers
urn:nbn:se:kth:diva-359876 (URN)10.1109/IROS58592.2024.10801540 (DOI)001433985300209 ()2-s2.0-85216462218 (Scopus ID)
Conference
2024 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2024, Abu Dhabi, United Arab Emirates, Oct 14 2024 - Oct 18 2024
Note

Part of ISBN 9798350377705]

QC 20250213

Available from: 2025-02-12 Created: 2025-02-12 Last updated: 2025-05-05Bibliographically approved
Le Thanh, S., Ankele, M. & Weinkauf, T. (2024). Revisiting Accurate Geometry for Morse-Smale Complexes. In: Proceedings - 2024 Topological Data Analysis and Visualization, TopoInVis 2024: . Paper presented at 2024 IEEE Topological Data Analysis and Visualization, TopoInVis 2024, St. Pete Beach, United States of America, Oct 13 2024 - Oct 14 2024 (pp. 34-43). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Revisiting Accurate Geometry for Morse-Smale Complexes
2024 (English)In: Proceedings - 2024 Topological Data Analysis and Visualization, TopoInVis 2024, Institute of Electrical and Electronics Engineers (IEEE) , 2024, p. 34-43Conference paper, Published paper (Refereed)
Abstract [en]

The Morse-Smale complex is a standard tool in visual data analysis. The classic definition is based on a continuous view of the gradient of a scalar function where its zeros are the critical points. These points are connected via gradient curves and surfaces emanating from saddle points, known as separatrices. In a discrete setting, the Morse-Smale complex is commonly extracted by constructing a combinatorial gradient assuming the steepest descent direction. Previous works have shown that this method results in a geometric embedding of the separatrices that can be fundamentally different from those in the continuous case. To achieve a similar embedding, different approaches for constructing a combinatorial gradient were proposed. In this paper, we show that these approaches generate a different topology, i.e., the connectivity between critical points changes. Additionally, we demonstrate that the steepest descent method can compute topologically and geometrically accurate Morse-Smale complexes when applied to certain types of grids. Based on these observations, we suggest a method to attain both geometric and topological accuracy for the Morse-Smale complex of data sampled on a uniform grid.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Keywords
Accurate geometry, Discrete Morse theory, Morse-Smale complex, Topology
National Category
Computer graphics and computer vision
Identifiers
urn:nbn:se:kth:diva-358219 (URN)10.1109/TopoInVis64104.2024.00008 (DOI)001454374200004 ()2-s2.0-85212879720 (Scopus ID)
Conference
2024 IEEE Topological Data Analysis and Visualization, TopoInVis 2024, St. Pete Beach, United States of America, Oct 13 2024 - Oct 14 2024
Note

Part of ISBN 9798331528447

QC 20250113

Available from: 2025-01-07 Created: 2025-01-07 Last updated: 2025-12-08Bibliographically approved
Shi, D., Oulasvirta, A., Weinkauf, T. & Cao, N. (2024). Understanding and Automating Graphical Annotations on Animated Scatterplots. In: Proceedings - 2024 IEEE 17th Pacific Visualization Conference, PacificVis 2024: . Paper presented at 17th IEEE Pacific Visualization Conference, PacificVis 2024, Tokyo, Japan, Apr 23 2024 - Apr 26 2024 (pp. 212-221). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Understanding and Automating Graphical Annotations on Animated Scatterplots
2024 (English)In: Proceedings - 2024 IEEE 17th Pacific Visualization Conference, PacificVis 2024, Institute of Electrical and Electronics Engineers (IEEE) , 2024, p. 212-221Conference paper, Published paper (Refereed)
Abstract [en]

Scatterplots are commonly used in various contexts, from scientific publications to infographics for the general public. However, not everyone is able to read them, and even experts may struggle to notice some important information such as overlapping clusters or temporal changes. To address these issues, a computational approach for annotating scatterplots has been developed. This approach involves various forms of annotation, including drawing lines to show correlations, circling areas to show clusters, and indicating movement with arrows. The approach is based on a study that identified common annotation strategies used by people to annotate scatterplots. These strategies are distilled into an automated method for generating graphical annotations on scatterplots. The method involves a problem formulation using a Markov Decision Process and a model for making annotation decisions. The model generates step-by-step graphical annotations by analyzing data insights and observing the chart. The final result conveys a narrative that is easy to understand and allows for the conveyance of temporal changes in the data. The study results suggest that the method can generate understandable and functional annotations that are comparable to those created by human experts. This approach can potentially reduce the time and effort required to read scatterplots, making it a useful tool for data visualization novices.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Keywords
Annotated Visualization, Scatterplot
National Category
Computer Sciences Natural Language Processing
Identifiers
urn:nbn:se:kth:diva-348781 (URN)10.1109/PacificVis60374.2024.00031 (DOI)001245031400004 ()2-s2.0-85195987460 (Scopus ID)
Conference
17th IEEE Pacific Visualization Conference, PacificVis 2024, Tokyo, Japan, Apr 23 2024 - Apr 26 2024
Note

Part of ISBN 9798350393804

QC 20240701

Available from: 2024-06-27 Created: 2024-06-27 Last updated: 2025-12-05Bibliographically approved
Jansson, N., Karp, M., Perez, A., Mukha, T., Ju, Y., Liu, J., . . . Markidis, S. (2023). Exploring the Ultimate Regime of Turbulent Rayleigh–Bénard Convection Through Unprecedented Spectral-Element Simulations. In: SC '23: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis: . Paper presented at SC: The International Conference for High Performance Computing, Networking, Storage, and Analysis, NOV 12–17 DENVER, CO, USA (pp. 1-9). Association for Computing Machinery (ACM), Article ID 5.
Open this publication in new window or tab >>Exploring the Ultimate Regime of Turbulent Rayleigh–Bénard Convection Through Unprecedented Spectral-Element Simulations
Show others...
2023 (English)In: SC '23: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Association for Computing Machinery (ACM) , 2023, p. 1-9, article id 5Conference paper, Published paper (Refereed)
Abstract [en]

We detail our developments in the high-fidelity spectral-element code Neko that are essential for unprecedented large-scale direct numerical simulations of fully developed turbulence. Major inno- vations are modular multi-backend design enabling performance portability across a wide range of GPUs and CPUs, a GPU-optimized preconditioner with task overlapping for the pressure-Poisson equation and in-situ data compression. We carry out initial runs of Rayleigh–Bénard Convection (RBC) at extreme scale on the LUMI and Leonardo supercomputers. We show how Neko is able to strongly scale to 16,384 GPUs and obtain results that are not pos- sible without careful consideration and optimization of the entire simulation workflow. These developments in Neko will help resolv- ing the long-standing question regarding the ultimate regime in RBC. 

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2023
National Category
Computer Sciences Fluid Mechanics
Identifiers
urn:nbn:se:kth:diva-340333 (URN)10.1145/3581784.3627039 (DOI)001461755900003 ()2-s2.0-85179549233 (Scopus ID)
Conference
SC: The International Conference for High Performance Computing, Networking, Storage, and Analysis, NOV 12–17 DENVER, CO, USA
Funder
Swedish Research Council, 2019-04723Swedish e‐Science Research CenterEU, Horizon 2020, 101093393, 101092621, 956748
Note

Part of ISBN 9798400701092

QC 20231204

Available from: 2023-12-04 Created: 2023-12-04 Last updated: 2025-12-08Bibliographically approved
Eberhardt, F., Bushong, E. A., Phan, S., Peltier, S., Monteagudo-Mesas, P., Weinkauf, T., . . . Ellisman, M. (2022). A Uniform and Isotropic Cytoskeletal Tiling Fills Dendritic Spines. eNeuro, 9(5), Article ID ENEURO.0342-22.2022.
Open this publication in new window or tab >>A Uniform and Isotropic Cytoskeletal Tiling Fills Dendritic Spines
Show others...
2022 (English)In: eNeuro, E-ISSN 2373-2822, Vol. 9, no 5, article id ENEURO.0342-22.2022Article in journal (Refereed) Published
Abstract [en]

Dendritic spines are submicron, subcellular compartments whose shape is defined by actin filaments and associated proteins. Accurately mapping the cytoskeleton is a challenge, given the small size of its components. It remains unclear whether the actin-associated structures analyzed in dendritic spines of neurons in vitro apply to dendritic spines of intact, mature neurons in situ. Here, we combined advanced preparative methods with multitilt serial section electron microscopy (EM) tomography and computational analysis to reveal the full three-dimensional (3D) internal architecture of spines in the intact brains of male mice at nanometer resolution. We compared hippocampal (CA1) pyramidal cells and cerebellar Purkinje cells in terms of the length distribution and connectivity of filaments, their branching-angles and absolute orientations, and the elementary loops formed by the network. Despite differences in shape and size across spines and between spine heads and necks, the internal organization was remarkably similar in both neuron types and largely homogeneous throughout the spine volume. In the tortuous mesh of highly branched and interconnected filaments, branches exhibited no preferred orientation except in the immediate vicinity of the cell membrane. We found that new filaments preferentially split off from the convex side of a bending filament, consistent with the behavior of Arp2/3-mediated branching of actin under mechanical deformation. Based on the quantitative analysis, the spine cytoskeleton is likely subject to considerable mechanical force in situ. 

Place, publisher, year, edition, pages
Society for Neuroscience, 2022
Keywords
actin cytoskeleton, cerebellar Purkinje cell, dendritic spines in situ, EM tomography, hippocampal pyramidal cell, image segmentation, Actins, Animals, Cytoskeleton, Dendritic Spines, Hippocampus, Male, Mice, Neurons, ketamine, xylazine, actin, actin filament, animal cell, animal experiment, animal model, animal tissue, Article, brain tissue, C57BL/6N mouse, cell membrane, controlled study, dendritic spine, electron microscopy, electron tomography, endoplasmic reticulum, image reconstruction, machine learning, molecular dynamics, morphometry, mouse, nonhuman, postsynaptic density, Purkinje cell, pyramidal nerve cell, quantitative analysis, synapse, three dimensional echography, animal, metabolism, nerve cell
National Category
Neurosciences
Identifiers
urn:nbn:se:kth:diva-328819 (URN)10.1523/ENEURO.0342-22.2022 (DOI)36216507 (PubMedID)2-s2.0-85140624821 (Scopus ID)
Note

QC 20230613

Available from: 2023-06-13 Created: 2023-06-13 Last updated: 2023-06-13Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-1498-9062

Search in DiVA

Show all publications