TL;DR
Holmes is a massive new benchmark that uses classifier-based probing to measure the "unconscious" linguistic competence of language models (LMs) across 208 datasets. By looking directly at a model's internal representations rather than its text outputs, the researchers discovered that while model size matters, architecture (encoders vs. decoders) and instruction tuning play surprisingly complex roles in how models actually "understand" language structure.
What Problem Does This Paper Address?
In linguistics, there is a famous distinction between competence (the internal, unconscious knowledge of language rules) and performance (the actual use of language in a specific context). Most current AI benchmarks, like MMLU or GSM8K, measure performance—they ask a model a question and grade the response.
The problem is that these benchmarks conflate a model's linguistic knowledge with its ability to follow instructions or produce coherent text. If a model fails a logic test, is it because it doesn't understand the logic, or because it didn't understand the prompt's syntax? To solve this, the authors introduce Holmes, a benchmark designed to isolate linguistic competence by "probing" the model's brain (its embeddings) directly.
Methods
The core technique used in Holmes is classifier-based probing. Instead of prompting a model, the researchers take the "frozen" internal representations (embeddings) from the model's last layer. They then train a simple linear probe—a shallow machine learning model—to predict specific linguistic features from those embeddings, such as Part-of-Speech (POS) tags or dependency relations.
To ensure these probes are actually measuring knowledge and not just "memorizing" the task, the authors use two rigorous checks:
- Compression: An information-theoretic measure of how efficiently the probe can encode the labels.
- Selectivity: A control task that checks if the probe performs poorly when labels are randomized, ensuring it has truly learned the linguistic phenomenon.
Datasets
Holmes is a consolidation of over 270 probing studies, resulting in 208 distinct datasets covering 66 different linguistic phenomena. These are categorized into five types:
- Morphology: Word structure (e.g., subject-verb agreement).
- Syntax: Sentence structure (e.g., POS tagging, dependency parsing).
- Semantics: Word meaning and roles (e.g., entity labeling).
- Reasoning: Logical deduction and negation.
- Discourse: Large-scale context and rhetorical structure.
The benchmark leverages established resources like OntoNotes, BLiMP, and the English Web Treebank, while also including less-common tasks like negation detection and word complexity.
Key Insights and Ideas
- The Encoder Advantage: One of the most striking findings is that encoder-only models (like BERT or RoBERTa) possess significantly higher linguistic competence than decoder-only models (like GPT-2 or Llama). In fact, a small encoder can outperform a decoder 700 times its size in basic syntax and morphology. The authors attribute this to the bidirectional nature of encoders, which allows them to see the full context of a word.
- The Instruction Tuning Paradox: Instruction tuning (making a model "chatty") has a mixed effect. It generally improves a model's grasp of formal language (morphology and syntax) but can actually hurt its understanding of functional language (semantics and discourse). This suggests that instruction tuning might lead to a "superficial alignment" where models get better at mimicking language patterns without necessarily deepening their understanding of meaning.
- Scaling Thresholds: While competence generally scales with model size, there is a noticeable "jump" in performance for formal phenomena (syntax/morphology) once models exceed 0.5B to 1B parameters.
Key Results
The researchers evaluated 59 different LMs. FLAN-UL2 emerged as the top overall performer across the benchmark.
Quantitatively, the study showed that encoder LMs achieved a mean winning rate (mwr) of 52%, compared to just 21% for decoders of similar size. To address the massive computational cost of running 208 probes, the authors introduced FlashHolmes. By strategically subsampling the training data, FlashHolmes reduces the computation load to just ~3% of the original while maintaining a high correlation (~1.5 rank resolution) with the full benchmark's results.
Limitations and Future Work
The authors acknowledge several limitations:
- Language Scope: Currently, Holmes is limited to English. Expanding to a multilingual context is a primary goal for future versions.
- Layer Depth: The study focuses exclusively on the last layer of LMs. Since different linguistic information is often encoded in different layers, future work could involve probing the entire depth of the model.
- Dataset Bias: As a meta-benchmark, Holmes inherits any biases present in its constituent datasets (e.g., gender bias in pronoun usage).
The team plans to keep Holmes a "living" benchmark, adding new datasets and evaluating upcoming LMs as the field evolves.
Summary updated