LayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections

dc.contributor.authorSevastjanova, Ritaen_US
dc.contributor.authorGerling, Robinen_US
dc.contributor.authorSpinner, Thiloen_US
dc.contributor.authorEl-Assady, Mennatallahen_US
dc.contributor.editorAigner, Wolfgangen_US
dc.contributor.editorAndrienko, Nataliaen_US
dc.contributor.editorWang, Beien_US
dc.date.accessioned2025-05-26T06:37:48Z
dc.date.available2025-05-26T06:37:48Z
dc.date.issued2025
dc.description.abstractLarge 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.en_US
dc.description.sectionheadersAI-Enhanced Visualization
dc.description.seriesinformationComputer Graphics Forum
dc.identifier.doi10.1111/cgf.70123
dc.identifier.issn1467-8659
dc.identifier.pages12 pages
dc.identifier.urihttps://doi.org/10.1111/cgf.70123
dc.identifier.urihttps://diglib.eg.org/handle/10.1111/cgf70123
dc.publisherThe Eurographics Association and John Wiley & Sons Ltd.en_US
dc.rightsAttribution 4.0 International License
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subjectCCS Concepts: Human-centered computing → Visual analytics; Mathematics of computing → Dimensionality reduction
dc.subjectHuman centered computing → Visual analytics
dc.subjectMathematics of computing → Dimensionality reduction
dc.titleLayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projectionsen_US
Files
Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
cgf70123.pdf
Size:
7.85 MB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
1172-file-i8.pdf
Size:
724.86 KB
Format:
Adobe Portable Document Format
Collections