On the Representations of Entities in Auto-regressive Large Language Models
Not on the map. Why?
Abstract (arXiv)
Named entities are fundamental building blocks of knowledge in text, grounding factual information and structuring relationships within language. Despite their importance, it remains unclear how Large Language Models (LLMs) internally represent entities. Prior research has primarily examined explicit relationships, but little is known about entity representations themselves. We introduce entity mention reconstruction as a novel framework for studying how LLMs encode and manipulate entities. We investigate whether entity mentions can be generated from internal representations, how multi-token entities are encoded beyond last-token embeddings, and whether these representations capture relational knowledge. Our proposed method, leveraging _task vectors_, allows to consistently generate multi-token mentions from various entity representations derived from the LLMs hidden states. We thus introduce the _Entity Lens_, extending the _logit-lens_ to predict multi-token mentions. Our results bring new evidence that LLMs develop entity-specific mechanisms to represent and manipulate any multi-token entities, including those unseen during training. Our code is avalable at https://github.com/VictorMorand/EntityRepresentations .
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 34 of its 49 references that are in the map. First posted on arXiv 10 Oct 2025.
Builds on
34 of 49 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
22 more
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2022Mass-Editing Memory in a Transformercited by 976
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2023In-Context Learning Creates Task Vectorscited by 302
- 2019Knowledge Enhanced Contextual Word Representationscited by 294
- 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
- 2024Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokenscited by 148
- 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
- 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 114
- 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 73
- 2024SelfIE: Self-Interpretation of Large Language Model Embeddingscited by 63
- 2024What does the Knowledge Neuron Thesis Have to do with Knowledge?cited by 49
- 2024Estimating Knowledge in Large Language Models Without Generating a Single Tokencited by 39
- 2021Caveats for the use of Web of Science Core Collection in old literature retrieval and historical bibliometric analysiscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.