Next Token Perception Score: Analytical Assessment of your LLM Perception Skills

Yu-Ang Cheng, Leyang Hu, Hai Huang, Randall Balestriero · Submission to ICLR 2026 · Rejected

TL;DR

Pretraining large language models on next-token prediction doesn't always guarantee good downstream representations for perception tasks like classification. This paper introduces the Next Token Perception Score (NTPS), a closed-form metric that quantifies the geometric alignment between an LLM's autoregressive subspace and a task's perception subspace. NTPS strongly correlates with linear probe performance and accurately predicts which downstream tasks will benefit most from LoRA finetuning—all without running backpropagation.

What Problem Does This Paper Address?

We typically expect modern pretrained language models (LLMs) to serve as universal feature extractors out of the box. However, evaluating frozen representations via linear probing reveals a surprising gap: while pretraining boosts performance by 5–10% on tasks like sentiment analysis, it barely helps on others (like intent classification), and can even underperform a simple model trained from scratch on tasks like emotion detection and medical question matching.

Why do representations optimized for next-token prediction fail to transfer consistently? The authors seek to quantify the structural (mis)alignment between the autoregressive pretraining objective and downstream perception tasks, explaining why linear probing works well on some benchmarks but poorly on others.

Methods

To understand this discrepancy analytically, the authors study representation learning under a linear regime:

  1. Analytical Subspace Derivation:
  2. They frame next-token prediction as predicting the next token $X_2$ from preceding tokens $X_1$ via linear encoders, while perception is framed as predicting a label $Y$ from the mean token representation.
  3. Solving these least-squares objectives shows that the optimal autoregressive feature map ($V$) and downstream perception feature map ($U$) correspond to top eigenvectors of two distinct generalized eigenvalue problems.
  4. Projections onto $V$ tend to cluster tokens by syntax and grammatical category (e.g., verbs vs. adjectives), whereas projections onto $U$ cluster tokens by downstream semantic polarity (e.g., positive vs. negative sentiment).
  5. Next Token Perception Score (NTPS):
  6. Defining $P = V V^\dagger$ as the orthogonal projector onto the column space of $V$, NTPS measures how much of the perception subspace $U$ falls within the autoregressive subspace $V$: $$\text{NTPS}(U, V) = \frac{\|P U\|_F^2}{\|U\|_F^2} \in [0, 1]$$
  7. Theoretical Guarantee: The authors prove that the excess downstream regression loss incurred by using the autoregressive encoder $V$ instead of the optimal perception encoder $U$ is strictly upper- and lower-bounded linearly by $(1 - \text{NTPS}(U, V))$.
  8. Lightweight Computation:
  9. NTPS requires only a single forward pass over the labeled dataset to accumulate covariance matrices ($\mathcal{O}(n)$ time, $\mathcal{O}(b)$ batch memory), followed by solving generalized eigenvalue problems ($\mathcal{O}(d^3)$ time, $\mathcal{O}(d^2)$ memory, where $d$ is the hidden dimension). It requires no gradient descent or backpropagation.

Datasets

The authors evaluate linear probing, LoRA adaptation, and NTPS across 12 diverse NLP perception datasets:

  • Sentiment & Review Analysis: SST-2, Rotten Tomatoes, IMDB, Climate Sentiment
  • Dialogue & Intent: Intent Classification, Banking-77
  • Quality & Safety Detection: Clickbait Title Classification, Bias Identification, SMS Spam
  • Domain-Specific Classification & QA: Emotion, Medical Question Pairs, CommonsenseQA

No new datasets were introduced; the evaluation relies entirely on standard public benchmarks.

Key Insights and Ideas

  • Syntax vs. Semantics Divergence: Visualizing the low-dimensional projections reveals why misalignment occurs: next-token prediction prioritizes local syntactic role and word co-occurrence, leaving label-critical semantic differences (like subtle sentiment variations) unseparated.
  • Direct Predictor of LoRA Gains: Tasks where the pretrained model displays low initial NTPS (high subspace misalignment) gain the most from parameter-efficient finetuning with LoRA (Spearman $r$ up to $0.95$). In contrast, baseline linear probe accuracy is a much weaker predictor of adaptation potential.
  • Mechanistic Evidence of Adaptation: Tracking NTPS before and after LoRA reveals that finetuning increases NTPS in 71 out of 96 settings, explicitly rotating the model's representations to align with the perception subspace.

Key Results

  • Linear Probing Disparities: Across six models, linear probing beats training from scratch on SST-2 and IMDB (by up to ~10%), but substantially trails training from scratch on Emotion (e.g., OpenELM-3B achieves 63.6% probe vs. 87.9% scratch) and Medical Question Pairs (OpenELM-1.1B achieves 27.5% probe vs. 51.5% scratch).
  • Strong Monotonic Correlation: Across 8 models (Qwen2 0.5B/1.5B/7B, OpenELM 270M/450M/1.1B/3B, and LLaMA-3-8B) and 12 datasets:
  • NTPS achieves high rank correlation with lower downstream MSE loss (Spearman $r$ up to $0.79$, $p=0.002$).
  • NTPS correlates strongly with classification probe accuracy (Spearman $r$ up to $0.81$, $p=0.001$).
  • LoRA Headroom Prescreening: NTPS strongly and inversely correlates with accuracy improvement from LoRA (Spearman $|r|$ between $0.40$ and $0.90$), making it an effective pre-screening tool for deciding when adaptation compute is worth spending.

Limitations and Future Work

  • Linear Regime Derivation: Although intermediate activations from deep nonlinear networks are used, the metric derivation assumes linear encoder maps and mean-squared error objectives. Extending the formulation via kernel methods or the Neural Tangent Kernel (NTK) could yield a fully nonlinear framework.
  • Hyperparameter Search: The metric currently requires sweeping over network layers and subspace dimension sizes $k$ to find optimal correlation. Developing automated, principled ways to pick $k$ (e.g., related to model compression) remains an open challenge.

Summary updated

BibTeX
@misc{cheng2025next,
  author = {Yu-Ang Cheng and Leyang Hu and Hai Huang and Randall Balestriero},
  title = {{Next Token Perception Score: Analytical Assessment of your LLM Perception Skills}},
  year = {2025},
  eprint = {2505.17169},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.17169},
}
Figure