mlsanityData to 7 Oct 2026

Monotonic Representation of Numeric Properties in Language Models

arXiv 2403.10381 ↗First posted 15 Mar 2024cs.CLcited by 15

Not on the map. Why?

Abstract (arXiv)

Language models (LMs) can express factual knowledge involving numeric properties such as Karl Popper was born in 1902. However, how this information is encoded in the model's internal representations is not understood well. Here, we introduce a simple method for finding and editing representations of numeric properties such as an entity's birth year. Empirically, we find low-dimensional subspaces that encode numeric properties monotonically, in an interpretable and editable fashion. When editing representations along directions in these subspaces, LM output changes accordingly. For example, by patching activations along a "birthyear" direction we can make the LM express an increasingly late birthyear: Karl Popper was born in 1929, Karl Popper was born in 1957, Karl Popper was born in 1968. Property-encoding directions exist across several numeric properties in all models under consideration, suggesting the possibility that monotonic representation of numeric properties consistently emerges during LM pretraining. Code: https://github.com/bheinzerling/numeric-property-repr

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 43 of its 70 references that are in the map. First posted on arXiv 15 Mar 2024.

Builds on

43 of 70 references.

References · 43

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  4. 2019Language Models as Knowledge Bases?cited by 1,922
  5. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  6. 2019How Can We Know What Language Models Know?cited by 953
  7. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  8. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  9. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
  10. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
  11. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  12. 2021Editing Factual Knowledge in Language Modelscited by 548
31 more
  1. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  2. 2021Fast Model Editing at Scalecited by 491
  3. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 439
  4. 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 364
  5. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
  6. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
  7. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  8. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
  9. 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
  10. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
  11. 2020Information-Theoretic Probing for Linguistic Structurecited by 204
  12. 2023Linear Representations of Sentiment in Large Language Modelscited by 157
  13. 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 145
  14. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
  15. 2021Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Modelscited by 132
  16. 2020Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queriescited by 107
  17. 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
  18. 2024AtP*: An efficient and scalable method for localizing LLM behaviour to componentscited by 100
  19. 2024On the Origins of Linear Representations in Large Language Modelscited by 76
  20. 2022Probing for the Usage of Grammatical Numbercited by 57
  21. 2020Pareto Probing: Trading Off Accuracy for Complexitycited by 55
  22. 2024Explorations of Self-Repair in Language Modelscited by 35
  23. 2023Give Me the Facts! A Survey on Factual Knowledge Probing in Pre-trained Language Modelscited by 32
  24. 2022Geographic and Geopolitical Biases of Language Modelscited by 29
  25. 2023A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepediacited by 24
  26. 2021Do Language Models Know the Way to Rome?cited by 18
  27. 2024On the Scaling Laws of Geographical Representation in Language Modelscited by 14
  28. 2024Language Writ Large: LLMs, ChatGPT, Grounding, Meaning and Understandingcited by 12
  29. 2019Generative models as parsimonious descriptions of sensorimotor loopscited by 11
  30. 2024Are Language Models More Like Libraries or Like Librarians? Bibliotechnism, the Novel Reference Problem, and the Attitudes of LLMscited by 11
  31. 2023Tracing and Manipulating Intermediate Values in Neural Math Problem Solverscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 6; 2026: 3.

15 papers.

Sort:

By area: