TY - GEN
T1 - Semantic Pathway
T2 - 2025 IEEE Visualization Conference, VIS 2025
AU - Singh, Mithilesh Kumar
AU - Mueller, Klaus
N1 - Publisher Copyright: © 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Transformer-based language models have demonstrated remarkable capabilities across various tasks, yet their internal mechanisms-such as layered representations, distributed attention, and evolving token semantics-remain challenging to interpret. We present Semantic Pathway, an interactive visual analytics tool designed to reveal how token representations evolve across layers in autoregressive Transformer models such as GPT-2. The system integrates layerwise semantic trajectories, attention overlays, and output probability views into a unified interface, enabling users to trace how meaning accumulates and decisions emerge during generation. To reduce visual and interaction complexity, Semantic Pathway incorporates attention-based influence filtering, optional nearest-token projections, and a Compare Mode for analyzing divergence across alternate outputs. The design prioritizes interpretability and usability, supporting both fine-grained inspection and high-level exploration of sequence modeling behavior. This work contributes to ongoing efforts to make language models more interpretable, educationally accessible, and open to diagnostic insight.
AB - Transformer-based language models have demonstrated remarkable capabilities across various tasks, yet their internal mechanisms-such as layered representations, distributed attention, and evolving token semantics-remain challenging to interpret. We present Semantic Pathway, an interactive visual analytics tool designed to reveal how token representations evolve across layers in autoregressive Transformer models such as GPT-2. The system integrates layerwise semantic trajectories, attention overlays, and output probability views into a unified interface, enabling users to trace how meaning accumulates and decisions emerge during generation. To reduce visual and interaction complexity, Semantic Pathway incorporates attention-based influence filtering, optional nearest-token projections, and a Compare Mode for analyzing divergence across alternate outputs. The design prioritizes interpretability and usability, supporting both fine-grained inspection and high-level exploration of sequence modeling behavior. This work contributes to ongoing efforts to make language models more interpretable, educationally accessible, and open to diagnostic insight.
KW - Attention Weights
KW - Hidden States
KW - Interactive Visualization
KW - Interpretability
KW - Large Language Models
KW - Semantic Pathway Visualization
KW - Token Influence
KW - Transformer Models
UR - https://www.scopus.com/pages/publications/105032520022
U2 - 10.1109/VIS60296.2025.00017
DO - 10.1109/VIS60296.2025.00017
M3 - Conference contribution
T3 - Proceedings - 2025 IEEE Visualization Conference - Short Papers, VIS 2025
SP - 56
EP - 60
BT - Proceedings - 2025 IEEE Visualization Conference - Short Papers, VIS 2025
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 2 November 2025 through 7 November 2025
ER -