Introduction
Large Language Models (LLMs) like GPT-4 and BERT are trained on massive corpora, effectively internalizing vast amounts of world knowledge. This has led researchers to explore their potential as soft knowledge bases—natural language alternatives to structured databases like Wikidata. However, extracting this knowledge reliably is challenging; a model's response often depends heavily on how a question is phrased. This paper organizes the rapidly growing field of "probing" to determine how accurately we can measure what a model truly knows versus what it is merely guessing based on prompt patterns.
A Unified Probing Framework
To organize the diverse methodologies in the literature, the authors propose a three-dimensional categorization scheme for factual probing: Input Adaptation, Model Adaptation, and Output Adaptation.
- Input Adaptation: This involves how the query is presented. Methods range from non-optimized manual "cloze" prompts (fill-in-the-blank) to optimized techniques like "prompt mining" (searching Wikipedia for better phrasing) or gradient-based "direct optimization" to find the mathematical keys that unlock the model's answers.
- Model Adaptation: This distinguishes between "Vanilla" models (probed exactly as they are after pre-training) and "Adapted" models, which undergo further fine-tuning (supervised or self-supervised) to make internal knowledge more accessible.
- Output Adaptation: These techniques refine how the model's answer is interpreted, including Typed Querying (restricting answers to specific categories), Debiasing (correcting for word frequency biases), and handling Multi-token entities (answers longer than a single word).
The Dataset Landscape
The survey identifies 44 distinct datasets used for probing, categorized by their specific focus and domain.
- General Knowledge: The most prominent is LAMA (Language Model Analysis), which uses cloze statements. Others like TriviaQA and NQ (Natural Questions) utilize traditional Q&A formats.
- Domain-Specific: These focus on specialized fields, particularly the biomedical sector (e.g., MedQA, BioLAMA).
- Targeted Aspects: These test specific model weaknesses, such as Negated LAMA (checking if the model understands "is NOT") or TemporalWiki (tracking facts that change over time).
Key Insights and Trends
The synthesis of nearly 100 papers reveals several critical findings regarding the state of factual probing:
- Architecture vs. Scale: Surprisingly, a model’s specific pre-training objective (such as "Salient Span Masking") is often more important for factual retention than simply increasing the model's size.
- The Optimization Dilemma: While automated prompt optimization significantly boosts performance, it creates a "black box" problem. Optimized prompts are often uninterpretable strings of gibberish that happen to trigger the right response, making it unclear if the model "knows" the fact or if the prompt is just a clever hack.
- The Consistency Gap: Models remain highly sensitive to "surface features." Changing a synonym in a prompt often shifts the model's internal "belief," presenting a major hurdle for reliability.
- Language Bias: Probing is heavily skewed toward English. Performance drops significantly in low-resource languages, even when the model was included in their training data.
Conclusion and Future Directions
The community is moving toward "retrieval-augmented" models that look up facts in real-time, acknowledging that storing every fact in static parameters is inefficient and prone to hallucination. To move forward, the authors call for more interpretable prompt optimization—finding ways to elicit facts that humans can actually read—and developing unbiased benchmarks that don't just reward models for memorizing the most frequent words in their training data.
Summary updated