Abstract
Large Language Models (LLMs) are trained on massive, often contradictory web-crawled datasets. This paper investigates the "learning preferences" LLMs exhibit when faced with conflicting information. Through controlled experiments using a synthetic biographical dataset, we demonstrate that LLMs do not treat all data equally; instead, they show a marked preference for formal styles (e.g., scientific reports, newspapers) and error-free text. Our findings suggest that models use stylistic formality as a proxy for data consistency and reliability, a behavior that becomes more pronounced as model scale increases.
1. Introduction
The internet is a repository of conflicting information, ranging from minor factual discrepancies to major contradictions. When LLMs encounter these conflicts during training, they must navigate a "noisy" knowledge landscape. While humans use heuristics like source credibility to resolve conflicts, the internal mechanisms LLMs use to prioritize information have remained largely unexplored. This study seeks to determine if the stylistic delivery of a fact influences whether a model chooses to "believe" it.
2. Methodology
To isolate stylistic influence from pre-existing real-world knowledge, we utilized a Synthetic Biographical Dataset consisting of 1,000 fictional characters. Each character was assigned five specific attributes (e.g., birth date, university, employer).
2.1 Feature Injection and Conflict Training
These facts were wrapped in templates representing various linguistic styles, including:
- Formal: Scientific Reporting, Newspaper, Wikipedia, Textbooks.
- Informal: Social Media, Novels, Tabloids, Blogs, Forum Discussions.
- Corrupted: Versions of these styles containing "Poor Spelling."
We fine-tuned models (primarily LLaMA-2-7B and Pythia) on datasets where the same character was associated with conflicting attributes presented in different styles (e.g., a "Newspaper" template stating a birth year of 1921 versus a "Novel" template stating 1803).
2.2 Evaluation Metrics
We measured two primary variables:
- Learning Speed: The rate at which the model reaches high accuracy for a specific style.
- Pairwise Preference Score: The probability the model assigns to Fact A versus Fact B when prompted at inference time.
3. Key Insights: The Formality Bias
Our experiments reveal a consistent "Formality Bias" across different architectures and languages. LLMs prioritize formal, structured text over informal alternatives.
3.1 Style Hierarchy
In head-to-head matchups, LLaMA-2-7B favored Newspapers over Novels with a preference score of 63.9% and Scientific Reports over Social Media at 59.1%. In a broader 10-way style conflict, Scientific Reports (15.76%) and Textbooks (14.60%) captured the highest "trust" shares, while Novels (7.42%) and Social Media (8.12%) lagged significantly behind.
3.2 Spelling as a Trust Signal
Linguistic precision serves as a critical heuristic for LLMs. Even minor spelling errors significantly degrade a model's "trust" in the accompanying information. Models consistently learned "clean" data faster and assigned it higher probability at test time compared to data containing errors.
4. The Consistency-Driven Hypothesis
We propose that LLMs develop these preferences because formal styles are more likely to be internally consistent with the high-quality data encountered during pretraining. To validate this, we conducted a "preference reversal" experiment. By training a model on a dataset where the "Novel" style was intentionally made more internally consistent than the "Newspaper" style, the model eventually learned to favor the novels. This suggests that the formality bias is a learned heuristic based on the statistical reliability of data types.
5. Scale and Generalization
Interestingly, the preference for formal styles is an emergent property that becomes more pronounced as model size increases. Larger models are more adept at identifying and prioritizing these high-level stylistic features. Furthermore, these preferences were found to be consistent across various model families (LLaMA, Pythia, DeepSeek, Baichuan) and across both English and Chinese datasets.
6. Limitations and Future Work
While the use of synthetic biographies provided a controlled environment for analysis, real-world knowledge conflicts often involve complex reasoning that goes beyond simple stylistic cues. Additionally, these experiments were conducted during a fine-tuning phase; future research should aim to analyze these dynamics during the computationally intensive pretraining phase.
Understanding these preferences opens the door for improved "knowledge editing" techniques, where new information can be more effectively integrated into a model by presenting it in its preferred, "trusted" stylistic format.
Summary updated