Roles of Scaling and Instruction Tuning in Language Perception: Model vs. Human Attention

Changjiang Gao, Shujian Huang, Jixing Li, Jiajun Chen · DOI

Introduction

As Large Language Models (LLMs) become increasingly integrated into daily life, understanding the internal mechanics behind their linguistic capabilities is paramount. While these models excel at text generation and reasoning, a fundamental question remains: do LLMs "perceive" language in a manner similar to biological systems? This research investigates the alignment between the internal self-attention mechanisms of LLMs and human cognitive processes, specifically focusing on how the two primary drivers of modern AI development—scaling and instruction tuning—influence this relationship.

By comparing model attention weights to human eye-tracking data (saccades) and neural activity (fMRI), the study seeks to determine if artificial intelligence is converging toward human-like processing or if it relies on distinct, non-biological statistical shortcuts.

Methodology

The researchers conducted a comprehensive analysis using the LLaMA family of models, ranging from 7 billion to 65 billion parameters. To understand the impact of fine-tuning, they also evaluated instruction-tuned variants, including Alpaca and Vicuna. These models were benchmarked against the Reading Brain dataset, which provides a rich repository of human behavioral and neural data:

  • Eye-Tracking: Saccade patterns from 52 native English speakers (L1) and 56 non-native learners (L2) reading STEM articles.
  • Neural Activity: fMRI recordings focused on the anterior left temporal gyrus, a critical region for language processing.

To quantify the relationship between models and humans, the study employed three metrics:

  1. Jensen-Shannon Divergence: To measure shifts in attention distributions as models scale or undergo tuning.
  2. Human Resemblance Metric: A linear regression approach to determine if a weighted combination of a model’s attention heads can predict human eye-movement matrices.
  3. Trivial Pattern Reliance: An assessment of how much models rely on "lazy" attention, such as focusing exclusively on the first word of a sentence or the immediate preceding token.

Key Insights

The Scaling Effect: Alignment through Growth

One of the most significant findings is that model scaling acts as a "great aligner." As the parameter count increases from 7B to 65B, the models' internal attention patterns naturally become more human-like. Specifically, native human resemblance (L1) increased from 53.04% in the 7B model to 64.05% in the 65B model. Larger models demonstrate a reduced reliance on trivial shortcuts, moving toward more contextualized and "effective" attention patterns that mirror the way humans process complex text.

The Instruction Tuning Trade-off

While instruction tuning (RLHF or supervised fine-tuning) is essential for making models helpful and safe, the research reveals a hidden cost: it diminishes perceptual resemblance to humans. For instance, the L1 resemblance of LLaMA-13B (55.66%) dropped to 54.26% after being tuned into Vicuna-13B. Instruction tuning appears to force models to prioritize patterns conducive to following commands rather than the naturalistic reading patterns developed during self-supervised pre-training. In deeper layers, tuned models actually showed an increased reliance on trivial patterns compared to their base counterparts.

The "L2" Bias in Artificial Intelligence

Intriguingly, the study found that all tested LLMs consistently align more closely with non-native learners (L2) than with native speakers (L1). This suggests that current open-source models may possess a "sub-optimal" perception of language—one that is perhaps more rigid or less nuanced than the fluid processing of a native speaker. This gap highlights a potential ceiling in how current architectures simulate human-level linguistic intuition.

Perception and Performance

The research established a strong negative correlation between a model's prediction loss and its human resemblance. Essentially, the more a model's attention patterns align with human eye movements and brain activity, the better it performs at its core task of language modeling. This suggests that human-like perception is not just a biological curiosity but a functional advantage for artificial systems.

Conclusion and Future Directions

The study demonstrates that while scaling brings LLMs closer to human-like perception, the current methods of instruction tuning may inadvertently pull them away. The fMRI analysis further corroborates these findings, showing that larger models' attention patterns correlate more strongly with actual human brain activity during reading tasks.

Future research is needed to explore how models can be aligned with human instructions without sacrificing their perceptual resemblance to natural human reading. Additionally, expanding this research to closed-source models and non-English languages will be vital to determining if these patterns are universal across different architectures and linguistic systems.

Summary updated

BibTeX
@inproceedings{gao2023roles,
  author = {Changjiang Gao and Shujian Huang and Jixing Li and Jiajun Chen},
  title = {{Roles of Scaling and Instruction Tuning in Language Perception: Model vs. Human Attention}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.868},
}
Figure