Explainable Mapper: Charting LLM Embedding Spaces Using Perturbation-Based Explanation and Verification Agents
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
Large language models (LLMs) produce high-dimensional embeddings that capture rich semantic and syntactic relationships between words, sentences, and concepts. Investigating the topological structures of LLM embedding spaces via mapper graphs enables us to understand their underlying structures. Specifically, a mapper graph summarizes the topological structure of the embedding space, where each node represents a topological neighborhood (containing a cluster of embeddings), and an edge connects two nodes if their corresponding neighborhoods overlap. However, manually exploring these embedding spaces to uncover encoded linguistic properties requires considerable human effort. To address this challenge, we introduce a framework for semi-automatic annotation of these embedding properties. To organize the exploration process, we first define a taxonomy of explorable elements within a mapper graph such as nodes, edges, paths, components, and trajectories. The annotation of these elements is executed through two types of customizable LLM-based agents that employ perturbation techniques for scalable and automated analysis. These agents help to explore and explain the characteristics of mapper elements and verify the robustness of the generated explanations. We instantiate the framework within a visual analytics workspace and demonstrate its effectiveness through case studies. In particular, we replicate findings from prior research on BERT's embedding properties across various layers of its architecture and provide further observations into the linguistic properties of topological neighborhoods.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 67 references that are in the map. First posted on arXiv 24 Jul 2025.
Builds on
36 of 67 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2024GPT-4o System Cardcited by 4,467
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2023Benchmarking Large Language Models for News Summarizationcited by 444
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
24 more
- 2019Measuring Bias in Contextualized Word Representationscited by 275
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2022Quantus: An Explainable AI Toolkit for Responsible Evaluation of Neural Network Explanations and Beyondcited by 171
- 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
- 2023Element-aware Summarization with Large Language Models: Expert-aligned Evaluation and Chain-of-Thought Methodcited by 76
- 2020Evaluations and Methods for Explanation through Robustness Analysiscited by 51
- 2019Embedding Comparator: Visualizing Differences in Global Structure and Local Neighborhoods via Small Multiplescited by 38
- 2023Text Summarization Using Large Language Models: A Comparative Study of MPT-7b-instruct, Falcon-7b-instruct, and OpenAI Chat-GPT Modelscited by 35
- 2024VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbationcited by 29
- 2024Prompt Perturbation Consistency Learning for Robust Language Modelscited by 26
- 2017Statistical Analysis and Parameter Selection for Mappercited by 20
- 2023Effective Human-AI Teams via Learned Natural Language Rules and Onboardingcited by 20
- 2022Emblaze: Illuminating Machine Learning Representations through Interactive Comparison of Embedding Spacescited by 16
- 2019embComp: Visual Interactive Comparison of Vector Embeddingscited by 15
- 2022Visual Comparison of Language Model Adaptationcited by 14
- 2024SyntaxShap: Syntax-aware Explainability Method for Text Generationcited by 11
- 2021Local Structure Matters Most: Perturbation Study in NLUcited by 10
- 2022Experimental Observations of the Topology of Convolutional Neural Network Activationscited by 10
- 2020Visually Analyzing Contextualized Embeddingscited by 7
- 2020Mapper Interactive: A Scalable, Extendable, and Interactive Toolbox for the Visual Exploration of High-Dimensional Datacited by 7
- 2018Homology-Preserving Multi-Scale Graph Skeletonization Using Mapper on Graphscited by 5
- 2019TopoAct: Visually Exploring the Shape of Activations in Deep Learningcited by 4
- 2021VERB: Visualizing and Interpreting Bias Mitigation Techniques for Word Representationscited by 3
- 2024Investigating the Impact of Model Instability on Explanations and Uncertaintycited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Visual Exploration of Feature Relationships in Sparse Autoencoders with Curated Conceptscited by 2
- 2025Teaching People LLM's Errors and Getting it Rightcited by 1
- 2026Visualising Information Flow in Word Embeddings with Diffusion Tensor Imagingcited by 0
- 2026TopoAlign: Topology-Aware Visual Representation Alignmentcited by 0
- 2026TopoAlign: Topology-Aware Visual Representation Alignment25 May 2026
- 2026Visualising Information Flow in Word Embeddings with Diffusion Tensor Imaging9 Jan 2026
- 2025Teaching People LLM's Errors and Getting it Right24 Dec 2025
- 2025Visual Exploration of Feature Relationships in Sparse Autoencoders with Curated Concepts8 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2023Structural Embeddings of Tools for Large Language Models
- 2024Towards Uncovering How Large Language Model Works: An Explainability Perspective
- 2025Large Language Models Encode Semantics and Alignment in Linearly Separable Representations
- 2026The Lattice Representation Hypothesis of Large Language Models
- 2024LangTopo: Aligning Language Descriptions of Graphs with Tokenized Topological Modeling
- 2024GUNDAM: Aligning Large Language Models with Graph Understanding
- 2025GraphGhost: Tracing Structures Behind Large Language Models
- 2023Large Language Models on Graphs: A Comprehensive Survey