LayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) represent words through contextual word embeddings encoding different language properties like semantics and syntax. Understanding these properties is crucial, especially for researchers investigating language model capabilities, employing embeddings for tasks related to text similarity, or evaluating the reasons behind token importance as measured through attribution methods. Applications for embedding exploration frequently involve dimensionality reduction techniques, which reduce high-dimensional vectors to two dimensions used as coordinates in a scatterplot. This data transformation step introduces uncertainty that can be propagated to the visual representation and influence users' interpretation of the data. To communicate such uncertainties, we present LayerFlow - a visual analytics workspace that displays embeddings in an interlinked projection design and communicates the transformation, representation, and interpretation uncertainty. In particular, to hint at potential data distortions and uncertainties, the workspace includes several visual components, such as convex hulls showing 2D and HD clusters, data point pairwise distances, cluster summaries, and projection quality metrics. We show the usability of the presented workspace through replication and expert case studies that highlight the need to communicate uncertainty through multiple visual components and different data perspectives.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 46 references that are in the map. First posted on arXiv 9 Apr 2025.
Builds on
15 of 46 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2019Embedding Comparator: Visualizing Differences in Global Structure and Local Neighborhoods via Small Multiplescited by 38
- 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
- 2022Beware the Rationalization Trap! When Language Model Explainability Diverges from our Mental Models of Languagecited by 9
- 2020Visually Analyzing Contextualized Embeddingscited by 7
- 2020Quantitative Evaluation of Time-Dependent Multidimensional Projection Techniquescited by 6
Built on by
Citing papers per year: 2026: 2.
2 papers.