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

dc.contributor.authorSevastjanova, Rita
dc.contributor.authorGerling, Robin
dc.contributor.authorSpinner, Thilo
dc.contributor.authorEl-Assady, Mennatallah
dc.date.accessioned2025-06-06T06:49:04Z
dc.date.available2025-06-06T06:49:04Z
dc.date.issued2025-06
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.
dc.description.versionpublisheddeu
dc.identifier.doi10.1111/cgf.70123
dc.identifier.urihttps://kops.uni-konstanz.de/handle/123456789/73521
dc.language.isoeng
dc.subject.ddc004
dc.titleLayerFlow : Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projectionseng
dc.typeJOURNAL_ARTICLE
dspace.entity.typePublication
kops.citation.bibtex
@article{Sevastjanova2025-06Layer-73521,
  title={LayerFlow : Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections},
  year={2025},
  doi={10.1111/cgf.70123},
  number={3},
  volume={44},
  issn={0167-7055},
  journal={Computer Graphics Forum},
  author={Sevastjanova, Rita and Gerling, Robin and Spinner, Thilo and El-Assady, Mennatallah},
  note={Article Number: e70123}
}
kops.citation.iso690SEVASTJANOVA, Rita, Robin GERLING, Thilo SPINNER, Mennatallah EL-ASSADY, 2025. LayerFlow : Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections. In: Computer Graphics Forum. Wiley. 2025, 44(3), e70123. ISSN 0167-7055. eISSN 1467-8659. Verfügbar unter: doi: 10.1111/cgf.70123deu
kops.citation.iso690SEVASTJANOVA, Rita, Robin GERLING, Thilo SPINNER, Mennatallah EL-ASSADY, 2025. LayerFlow : Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections. In: Computer Graphics Forum. Wiley. 2025, 44(3), e70123. ISSN 0167-7055. eISSN 1467-8659. Available under: doi: 10.1111/cgf.70123eng
kops.citation.rdf
<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:bibo="http://purl.org/ontology/bibo/"
    xmlns:dspace="http://digital-repositories.org/ontologies/dspace/0.1.0#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:void="http://rdfs.org/ns/void#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="https://kops.uni-konstanz.de/server/rdf/resource/123456789/73521">
    <dc:contributor>Spinner, Thilo</dc:contributor>
    <bibo:uri rdf:resource="https://kops.uni-konstanz.de/handle/123456789/73521"/>
    <dc:creator>Spinner, Thilo</dc:creator>
    <foaf:homepage rdf:resource="http://localhost:8080/"/>
    <dcterms:issued>2025-06</dcterms:issued>
    <dcterms:available rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-06-06T06:49:04Z</dcterms:available>
    <dcterms:title>LayerFlow : Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections</dcterms:title>
    <dc:language>eng</dc:language>
    <dc:creator>Sevastjanova, Rita</dc:creator>
    <dcterms:isPartOf rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/36"/>
    <dcterms:abstract>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.</dcterms:abstract>
    <dc:contributor>Sevastjanova, Rita</dc:contributor>
    <dc:contributor>El-Assady, Mennatallah</dc:contributor>
    <void:sparqlEndpoint rdf:resource="http://localhost/fuseki/dspace/sparql"/>
    <dspace:isPartOfCollection rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/36"/>
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-06-06T06:49:04Z</dc:date>
    <dc:creator>El-Assady, Mennatallah</dc:creator>
    <dc:creator>Gerling, Robin</dc:creator>
    <dc:contributor>Gerling, Robin</dc:contributor>
  </rdf:Description>
</rdf:RDF>
kops.description.funding{"first":"snsf","second":"10003068"}
kops.flag.isPeerReviewedtrue
kops.flag.knbibliographyfalse
kops.sourcefieldComputer Graphics Forum. Wiley. 2025, <b>44</b>(3), e70123. ISSN 0167-7055. eISSN 1467-8659. Verfügbar unter: doi: 10.1111/cgf.70123deu
kops.sourcefield.plainComputer Graphics Forum. Wiley. 2025, 44(3), e70123. ISSN 0167-7055. eISSN 1467-8659. Verfügbar unter: doi: 10.1111/cgf.70123deu
kops.sourcefield.plainComputer Graphics Forum. Wiley. 2025, 44(3), e70123. ISSN 0167-7055. eISSN 1467-8659. Available under: doi: 10.1111/cgf.70123eng
relation.isAuthorOfPublication1b968726-7a39-4abd-99c9-bd5eda6c5bac
relation.isAuthorOfPublicationb7a5ad07-06be-4278-a8fc-0656f6908915
relation.isAuthorOfPublicationb5024762-2f04-44ad-9c05-c6305f6e7f8b
relation.isAuthorOfPublication.latestForDiscovery1b968726-7a39-4abd-99c9-bd5eda6c5bac
source.bibliographicInfo.articleNumbere70123
source.bibliographicInfo.issue3
source.bibliographicInfo.volume44
source.identifier.eissn1467-8659
source.identifier.issn0167-7055
source.periodicalTitleComputer Graphics Forum
source.publisherWiley
temp.description.funding{"first":"Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung","second":"10003068"}

Dateien