Linear Correlation in LM's Compositional Generalization and Hallucination
Abstract
The generalization of language models (LMs) is undergoing active debates, contrasting their potential for general intelligence with their struggles with basic knowledge composition (e.g., reverse/transition curse). This paper uncovers the phenomenon of linear correlations in LMs during knowledge composition. For explanation, there exists a linear transformation between certain related knowledge that maps the next token prediction logits from one prompt to another, e.g., "X lives in the city of" rightarrow "X lives in the country of" for every given X. This mirrors the linearity in human knowledge composition, such as Paris rightarrow France. Our findings indicate that the linear transformation is resilient to large-scale fine-tuning, generalizing updated knowledge when aligned with real-world relationships, but causing hallucinations when it deviates. Empirical results suggest that linear correlation can serve as a potential identifier of LM's generalization. Finally, we show such linear correlations can be learned with a single feedforward network and pre-trained vocabulary representations, indicating LM generalization heavily relies on the latter.
Community
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Improve Decoding Factuality by Token-wise Cross Layer Entropy of Large Language Models (2025)
- On Teacher Hacking in Language Model Distillation (2025)
- Mitigating Hallucinated Translations in Large Language Models with Hallucination-focused Preference Optimization (2025)
- Mitigating Object Hallucinations in Large Vision-Language Models via Attention Calibration (2025)
- Mitigating Hallucinations in Large Vision-Language Models with Internal Fact-based Contrastive Decoding (2025)
- Mitigating Hallucinations in Large Vision-Language Models via DPO: On-Policy Data Hold the Key (2025)
- VORD: Visual Ordinal Calibration for Mitigating Object Hallucinations in Large Vision-Language Models (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Title and abstract sum up this paper's findings very well.
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper