mlsanityData to 14 Oct 2026

Deep Language Geometry: Constructing a Metric Space from LLM Weights

arXiv 2508.11676 ↗First posted 8 Aug 2025cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce a novel framework that utilizes the internal weight activations of modern Large Language Models (LLMs) to construct a metric space of languages. Unlike traditional approaches based on hand-crafted linguistic features, our method automatically derives high-dimensional vector representations by computing weight importance scores via an adapted pruning algorithm. Our approach captures intrinsic language characteristics that reflect linguistic phenomena. We validate our approach across diverse datasets and multilingual LLMs, covering 106 languages. The results align well with established linguistic families while also revealing unexpected inter-language connections that may indicate historical contact or language evolution. The source code, computed language latent vectors, and visualization tool are made publicly available at https://github.com/mshamrai/deep-language-geometry.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 36 references that are in the map. First posted on arXiv 8 Aug 2025.

Builds on

10 of 36 references.

References · 10

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  4. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
  5. 2025Gemma 3 Technical Reportcited by 1,824
  6. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  7. 2018Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyondcited by 434
  8. 2023CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languagescited by 174
  9. 2020Probing Multilingual BERT for Genetic and Typological Signalscited by 27
  10. 2024Exploring language relations through syntactic distances and geographic proximitycited by 1

Built on by

Not cited yet.