Truth as a Compression Artifact in Language Model Training
Konstantin Krestnikov
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › LLM Internal Representation Bottlenecks · Type: empirical study · Keywords: transformer answer selection, compression artifact, contradictory data, error structure, model bias
Summary
The paper investigates how transformers choose between correct and incorrect answers when trained on contradictory data, finding that answer preference follows compressibility rather than truth.
Explained to a 5-year-old
When computers learn to write words, they sometimes see two different answers to the same question. This paper asks which answer they will pick. It finds that computers tend to pick the answer that is easier to describe, not always the correct one. If the wrong answers are random, the computer usually picks the right one. If the wrong answers follow a rule, the computer may pick the wrong one instead.
Explained to a 5-year-old, longer
Imagine a robot that learns to finish sentences by guessing the next word. Sometimes the robot sees two possible endings for the same sentence. One ending is the correct answer, the other is wrong. The robot has to decide which ending to choose. The researchers wanted to know if the robot would always pick the correct answer. They gave the robot many examples where the wrong answer was random. In this case, the robot often chose the correct answer. Then they made the wrong answer follow a simple rule, like always using a different word. When the wrong answer had its own pattern, the robot sometimes chose the wrong one. They also tried having two different wrong rules at the same time. With two wrong rules, the robot went back to picking the correct answer more often. The study shows that the robot likes answers that are easier to describe, not just the right ones.
For a technical reader
The paper examines how transformer models behave when trained on data that contains both correct and incorrect solutions to the same problem. By constructing controlled datasets with varying error structures, they measure the models' tendency to favor correct answers. They find that random errors lead to a correctness preference that grows with model size, while a single coherent alternative rule suppresses it, and multiple competing wrong rules restore it. The results on Wikipedia entity substitution and a mixed natural-text corpus confirm that answer preference tracks the compressibility of answer clusters rather than truth alone. This insight suggests that model training on contradictory data must consider the statistical structure of errors to avoid undesirable biases.
Problem
When language models are trained on data containing both correct and incorrect solutions to the same problem, it is unclear which answer they will prefer. This problem asks whether models favor truth or the more compressible answer cluster.
Method
The authors train transformer models of varying sizes (3.5M to 1B parameters) from scratch on controlled contradictory corpora, systematically varying the internal structure of errors. They measure the models' answer preferences across different error patterns, including random errors, a single coherent alternative rule, and multiple competing wrong rules.
Results
When errors are random, models show a correctness preference of 65%-85% that grows with size; a single coherent alternative rule reduces preference to ~45%-51%; two competing wrong rules restore it to 47%-78%. The same pattern appears on Wikipedia entity substitution (71% vs 46%) and a mixed natural-text corpus at 1B scale (77% vs 47%).
Contributions
It demonstrates that answer preference in transformers is driven by the compressibility of answer clusters rather than truth, and it reveals how error structure influences this preference across model scales and data types.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction