Improving Preference Extraction In LLMs By Identifying Latent Knowledge Through Classifying Probes

Sharan Maiya, Yinhong Liu, Ramit Debnath, Anna Korhonen · DOI

Introduction

The "LLM-as-a-Judge" paradigm has become the industry standard for scaling AI evaluation, where a large model like GPT-4 assesses the outputs of smaller models. However, this approach is often limited by "generation-based" biases. Models frequently exhibit verbosity bias (favoring longer answers), positional bias (favoring the first option presented), or errors introduced during their own reasoning chains.

This research addresses the fundamental gap between what a model knows (its latent knowledge) and what it says (its generated output). By bypassing the noisy generation process and extracting judgments directly from internal embedding spaces, the authors demonstrate a more robust and accurate method for preference extraction.

Methodology: Classifying Probes

The core of the proposed method involves training simple linear probes on model activations using Contrast Pairs.

  1. Contrast Pairs: For any given evaluation, two nearly identical prompts are created that differ only in the final judgment (e.g., "Between Choice A and Choice B, the better one is Choice A" vs. "...is Choice B").
  2. Activation Harvesting: The hidden states (activation vectors) of the final token are extracted for both prompts.
  3. Difference Vectors: By calculating the difference between these two vectors, the researchers isolate the "contrastive features" related to the judgment, effectively canceling out shared syntactic or prompt-specific features.
  4. Probing Strategies:
  5. Unsupervised (u-probe): Principal Component Analysis (PCA) is applied to the difference vectors. The first principal component often aligns with human judgment without requiring any labeled data.
  6. Supervised (s-probe): A simple logistic regression head is trained on the activations using a small labeled dataset.

Experimental Framework

The study evaluated four major model families—Llama 3.1, Gemma 2, Qwen 2.5, and Mistral—with parameter counts ranging from 0.5B to 123B. The benchmarks covered a wide array of tasks:

  • Chat Preferences: MT-Bench (human-labeled interactions).
  • Text Quality: NEWSROOM, SummEval, and HANNA (evaluating coherence and relevance).
  • Reasoning: ROCStories, MCTACO, and CaTeRS.
  • Adversarial Robustness: LLMBar, designed specifically to trick LLM judges with misleading prompts.

Key Insights

The Capability Gap

A primary finding is that models often possess the "correct" internal judgment even when they fail to express it through standard prompting. Probing allows researchers to access this latent capability that is otherwise "left on the table" during text generation.

Efficiency and Scaling

Remarkably, unsupervised probes on small models (e.g., Qwen 0.5B) frequently outperformed much larger models (e.g., Llama 70B) using traditional prompting. This suggests that high-quality evaluation does not necessarily require massive compute if the internal states are accessed correctly.

Universal Judgment Directions

Probes trained on one domain (e.g., news summaries) showed significant generalization to unrelated domains (e.g., common sense stories). This indicates that LLMs may develop a generalized internal "axis of quality" during pre-training that transcends specific tasks.

Results and Robustness

In nearly every test case, unsupervised probes outperformed zero-shot prompting. Furthermore, supervised probes (s-probes) proved more sample-efficient than LoRA or full finetuning when training data was limited (under 5,000 examples). On the MT-Bench dataset, both probe types achieved F1 scores of approximately 0.8, a marked improvement over standard pairwise prompting.

The method also demonstrated superior adversarial robustness. On the LLMBar "Constraint" subset, where standard prompting accuracy typically fails, probing methods remained stable, suggesting that internal activations are less susceptible to the "tricks" that mislead generated output.

Limitations and Future Directions

While promising, the current approach is limited to binary (pairwise) choices. Extending this to direct scoring (e.g., 1-10 scales) would require more complex multi-class probes or "one-vs-rest" strategies. Additionally, while probes are more robust than prompting, they are not immune to "persona" biases that can shift internal activations. Finally, the authors note that with extremely large labeled datasets, full finetuning may eventually exceed the performance of simple linear probes due to its greater architectural flexibility.

Conclusion

This research suggests a shift in how we approach LLM evaluation. Rather than refining prompts to elicit better answers, the most accurate judgments may be found by "reading the brain" of the model directly through its latent representations.

Summary updated

BibTeX
@inproceedings{maiya2025improving,
  author = {Sharan Maiya and Yinhong Liu and Ramit Debnath and Anna Korhonen},
  title = {{Improving Preference Extraction In LLMs By Identifying Latent Knowledge Through Classifying Probes}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure