visualization
Beyond Heatmaps: Evaluating More Effective Feature Interaction Visualizations for Generalized Additive Models
Hambauer, Nico, Rosenberger, Julian, Veitl, Maximilian, Zschech, Patrick, Kraus, Mathias
As machine learning spreads across high-stakes domains, explainable AI helps users understand predictions. Inherently explainable models such as generalized additive models (GAMs) support this by decomposing predictions into visually understandable components. In addition to additive effects, they increasingly incorporate pairwise feature interactions to improve performance. Common GAM implementations present these interactions through separate heatmaps, requiring users to locate and add values across multiple displays. We therefore evaluate whether established information-integration principles support reading combined contributions from GAM interactions between one numerical feature and one categorical feature with few categories. In a pre-registered online between-subjects experiment with 92 participants, we compare heatmaps, line plots, and a cumulative display integrating main and interaction effects. Compared with heatmaps, cumulative displays significantly improve accuracy by 60% and reduce completion time by 43%. These findings provide task-specific guidance for GAM visualization design, supporting cumulative displays when users need to read combined main and interaction contributions.
When Visual Critique Helps and Hurts: Structured Feedback for Scientific Plot Generation
Scientific visualization is a demanding setting for code-generating agents: a plotting program may execute correctly while the rendered figure still violates the user's intended chart type, visual encoding, layout, or annotations. We reproduce a MatPlotAgent-style pipeline on MatPlotBench and study whether its visual feedback stage can be made more explicit. Inspired by text-space visual imagination, we replace free-form visual critique with a structured critic that first describes the current figure and then converts the diagnosis into code repair instructions. We evaluate direct generation, zero-shot chain-of-thought, the reproduced agent pipeline, and the structured critic under both reference-based and query-conditioned rubric evaluators. The structured critic raises mean rubric scores across three backbones, although only the Gemini 3 Flash gain has a full-benchmark bootstrap interval excluding zero. Bucketed and case-level analyses show that gains concentrate on low-scoring or structurally flawed cases, while already strong figures are vulnerable to over-editing. The evidence points to visual critique that is explicit and calibrated.
MoEXViz: Interactive Visualizations of Sparse Mixture-of-Experts
Raman, Chinmayee, Bajamal, Hazim Hasan, Rawassizadeh, Reza
Sparse Mixture-of-Experts architectures have become a prominent strategy for scaling large language models without proportionally increasing inference cost. By routing each token through a sparse, input-dependent subset of expert subnetworks, these models increase total parameter capacity while limiting active computation. However, their fragmented routing pathways make them difficult to inspect, audit, and debug. We present MoEXViz, an open-source, browser-based visualization platform for analyzing sparse MoE models at the per-token and per-layer levels. MoEXViz separates model execution from visualization through a three-stage pipeline: offline PyTorch extraction, compact JSON serialization, and low-latency browser playback. This design removes the need for live GPU access during interactive analysis while preserving traceability to real model forward passes. MoEXViz supports multiple visualization views, including expert UMAP projections, per-layer expert activation grids, average activation trends, per-domain expert rankings, prompt-level inspection, and animated routing diagrams. The system dynamically derives layouts from model metadata rather than relying on hard-coded expert counts or routing widths. We demonstrate MoEXViz on three architecturally distinct open-weight MoE models: OLMoE-1B-7B, JetMoE-8B, and DeepSeek-MoE-16B. Code is available at https://github.com/Resource-Efficient-AI-Lab/MoEXViz and a live demo is available at https://resource-efficient-ai-lab.github.io/MoEXViz/
Rectifying Latent Dynamics inside Looped Transformers
Liu, Jizhihui, Guo, Mingyue, Wang, Jinpeng, Wang, Lu, Wang, Yaowei
Looped transformers iteratively refine token representations in the hidden space, providing a promising way for latent reasoning. However, the test-time scaling of looped transformers is limited by the overthinking issue: the performance first peaks and then drops with the growth of loop iterations. We analyse the latent dynamics and identify two potential causes for this phenomenon: 1) an excessively large update in the first loop directly leads tokens into the wrong space; 2) the persistent and stochastic late-stage drift pushes the tokens from right to wrong. To address these issues, we propose Rectifying Latent Dynamics (RLD), an explicit regulation approach comprising three components: 1) Recurrent Depth Modulator to inject recurrence depth signal and dynamically control the update magnitude according to token difficulty and loop iteration; 2) Latent Residual Rectifier to capture evolving update directions and rectify distorted traces, making the trace smoother and more coherent; 3) Update Clipping to constrain and slow down excessive latent updates and underscore step-by-step reasoning potential. With fewer than 5M trainable parameters, RLD is easy to deploy and generalizes well to multiple tasks and unseen recurrence depths. We evaluate RLD on both language and vision-language models across 18 benchmarks. Specifically, the vanilla LoopVL model suffers an 80.7% performance degradation on ChartQA when the inference depth is $2\times$ the default depth, while RLD preserves 95.2% of the vanilla model score at default depth. For looped language models, standard SFT faces a 77.2% drop on GSM8k when the depth exceeds the training depth, while RLD only loses 0.8% of the highest score under this setting.
Augmented Algorithm: Generating Interactive Algorithm Visualizations from Static Textbook Pseudocode
Ueno, Yuki, Jiang, Zhuojun, Bryan, Chris
Learning data structures and algorithms is a fundamental activity in computer science education, but this is challenging due to their abstract and dynamic nature. While algorithm visualization tools have shown pedagogical benefits, they remain underutilized in educational settings due to creation or integration difficulties. We introduce Augmented Algorithm, a novel LLM-powered algorithm visualization tool that transforms static textbook pseudocode into embedded, interactive algorithm visualizations. Our web-based system combines computer vision with LLMs to automatically generate synchronized, step-by-step algorithm animations from pseudocode directly within scanned textbook pages. We evaluated \sys through technical evaluation, a usability study with students (N=15), and expert interviews with instructors (N=6). Results show that our system significantly reduces algorithm visualization development and access effort while enabling more interactive and tailored learning experiences for algorithmic concepts. All supplemental materials required to reproduce the study are available on https://osf.io/5xrmy.
A Perturbation-Driven Framework for Sensitivity Analysis of Dimensionality Reduction
Hasan, Md Afridi, Jo, Jaemin, Fujiwara, Takanori
Low-dimensional representations produced by dimensionality reduction (DR) are commonly evaluated using distortion measures such as trustworthiness and continuity. In this paper, we study the sensitivity of DR methods to plausible input variations by quantifying changes in structural preservation and visually diagnosing how these changes manifest in the resulting representations. This perspective reflects the fact that real-world datasets are finite, noisy samples of an underlying distribution, and DR should not produce substantially different structures under small data changes. We introduce a model-agnostic, perturbation-driven sensitivity evaluation framework that treats perturbations as controlled probes of plausible data variation. Across multiple perturbation families and strength levels, we repeatedly perturb the input, apply a DR method, and evaluate the resulting low-dimensional representations using a set of distortion measures to derive sensitivity profiles for each DR method. We demonstrate the utility of our framework through case studies on DR method comparison, behavior analysis, and robustness improvement. We find that methods performing well according to conventional distortion measures (e.g., t-SNE) can still exhibit substantial sensitivity, leading to instability in visually salient structures such as trajectories and clusters, while certain methods (e.g., multidimensional scaling) may exhibit improved structural preservation under specific perturbations. These results highlight the importance of sensitivity analysis for comparing DR methods, diagnosing perturbation-sensitive visual patterns, and guiding the development of more robust DR methods toward trustworthy visual analytics.
Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
Bian, Yuhan, Liu, Haoyu, Li, Siyu, Guo, Hanpei, Gao, Jingrong, Li, Zhixu
In recent years, multimodal large language models (MLLMs) have achieved significant progress in chart-to-code generation. However, existing benchmarks mainly focus on static charts, overlooking interactive charts that enable richer and more expressive data exploration. Unlike static chart-to-code generation, which emphasizes visual consistency, interactive chart-to-code evaluation targets behavioral consistency, requiring chart states to evolve correctly under sequences of user interactions, thereby rendering traditional one-step evaluation paradigms ineffective. To address this gap, we introduce ChartInt, the first benchmark specifically designed for interactive chart-to-code generation. ChartInt consists of 2,779 carefully annotated examples covering common interaction patterns such as hover, highlight, and tooltips. Additionally, ChartInt incorporates editing tasks such as data updates, style adjustments, and cross-chart style transfer to expand real-world application scenarios. To enable reliable evaluation of interaction behavior, we propose a preset state snapshot protocol that predefines target interaction states and deterministically triggers interaction events, transforming dynamic behaviors into reproducible evaluation targets. Based on this protocol, we design a multi-dimensional evaluation framework measuring semantic and stylistic consistency. Experiments show that while current MLLMs perform well on static charts, their performance drops significantly on interactive tasks, highlighting the need for interaction-aware benchmarks.
Optimal Transport Meets t-SNE: Integrated Visualization without Batch Effects in OT-tSNE
Akhmetova, Azhar, Eichhorn, Edward, Landa, Boris, Kobak, Dmitry, Damrich, Sebastian
Visual exploration is an integral step in understanding the structure of datasets. However, systematic variation between datasets collected under different conditions, known as batch effects, can obscure shared structure and complicate their joint visualization. Existing methods often rely on cross-batch nearest-neighbor relations to integrate the batches. Yet, these local correspondences can be unreliable for challenging cross-batch geometries. We propose optimal-transport t-SNE (OT-tSNE), which replaces nearest-neighbor-based matching with globally coupled affinities derived from entropic optimal transport. Controlled synthetic experiments demonstrated that nearest-neighbor-based methods can deteriorate, while optimal-transport affinities and OT-tSNE embeddings remain robust. Across seven real single-cell datasets, we benchmarked OT-tSNE against a broad range of integration and visualization methods and found that it achieves a Pareto-efficient trade-off between batch mixing and biological conservation, and integrates batches particularly well.
Seeing What the Vehicle Sees: Video-Augmented Virtual Reality for Physical Autonomous Vehicles
Islam, Md Tanjemul, Shafin, Mohammad, Kabir, Md Rafiul
Autonomous vehicles are expected to improve road safety and efficiency, but passengers often remain uncertain about what the vehicle perceives and why it acts as it does. Virtual reality (VR) offers a safe and repeatable medium for presenting this information, yet most passenger-facing VR studies rely on fully simulated vehicles or pre-scripted scenarios, so the motion and perception shown to the user do not originate from a physically operating autonomous system. This paper presents a video-augmented VR framework that couples a physical ROS 2 autonomous robot vehicle to a Unity 6 application deployed on a Meta Quest 3S headset. The vehicle state and live onboard camera stream are transmitted over two independent communication channels, allowing the virtual vehicle to mirror the physical robot's motion while the passenger simultaneously views the vehicle's first-person camera feed and its navigation decisions through an in-vehicle dashboard interface. We evaluate the framework over 20 repeated closed-loop navigation trials. The system achieves a mean state-update latency of 29.63 ms, a mean relative route-progress error of 2.28% between the physical and virtual vehicles, and video delivery at 10.006 frames per second with 0.25% frame loss. All monitored navigation decisions were correctly reflected in the VR interface with no missed or incorrect notifications. The results indicate that the framework can support temporally synchronized, semantically consistent, and accurate route-progress representation for immersive observation of physical autonomous-vehicle behavior.
TopoPilot: Reliable Conversational Workflow Automation for Topological Data Analysis and Visualization
Gorski, Nathaniel, Liu, Shusen, Wang, Bei
Recent agentic systems demonstrate that large language models can generate complex codebases from natural language prompts. Despite this progress, they present reliability concerns for scientific visualization due to invalid operations, subtle errors, and failure to resolve underspecified inputs. In this work, we introduce TopoPilot, a reliable and extensible agentic framework for automating complex scientific visualization workflows. We focus on topological data analysis and visualization as a primary use case, while designing the framework to generalize to broader visualization domains. TopoPilot employs a two-agent architecture: an orchestrator translates user prompts into workflows composed of atomic backend actions, while a verifier evaluates workflows prior to execution. Its modular design isolates components and supports new topological descriptors and domain-specific workflows without modifying the core system. It also employs numerous deterministic guardrails to ensure semantic consistency and accurate execution. To systematically improve reliability, we develop a taxonomy of failure modes and employ targeted safeguards for each class of error. Across 2,000 simulated multi-turn conversations spanning 100 prompts, including adversarial and infeasible requests, TopoPilot achieves a success rate exceeding 95%, compared with under 50% for a baseline without comprehensive guardrails and verification. We also show that TopoPilot outperforms Claude Code and Codex on similar prompts in terms of accuracy, completion time, and token usage.