vix.ing · top · new · best · stats

Shared Global and Local Geometry of Language Model Embeddings

2025/03/27 by Andrew Lee, Lee, Andrew, Melanie Weber +5 · 3 voices · 16 citations
Computer Science · #Differential geometry #Dimension (graph theory) #Language model #Measure (data warehouse) #Natural Language Processing Techniques #Security token #Simple (philosophy) #Topology (electrical circuits)

paper · pdf · doi:10.48550/arxiv.2503.21073

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2025/03/27 · openalex created_date 2025/10/11 · openalex updated_date 2026/08/05

Abstract

Researchers have recently suggested that models share common representations. In our work, we find numerous geometric similarities across the token embeddings of large language models. First, we find ``global'' similarities: token embeddings often share similar relative orientations. Next, we characterize local geometry in two ways: (1) by using Locally Linear Embeddings, and (2) by defining a simple measure for the intrinsic dimension of each embedding. Both characterizations allow us to find local similarities across token embeddings. Additionally, our intrinsic dimension demonstrates that embeddings lie on a lower dimensional manifold, and that tokens with lower intrinsic dimensions often have semantically coherent clusters, while those with higher intrinsic dimensions do not. Based on our findings, we introduce EMB2EMB, a simple application to linearly transform steering vectors from one language model to another, despite the two models having different dimensions.

Citations

Cited by

Discussions

Related