Abstract
Many state-of-the-art natural language understanding (NLU) models are based on pretrained neural language models. These models often make inferences using information from multiple sources. An important class of such inferences are those that require both background knowledge, presumably contained in a model's pretrained parameters, and instance-specific information that is supplied at inference time. However, the integration and reasoning abilities of NLU models in the presence of multiple knowledge sources have been largely understudied. In this work, we propose a test suite of coreference resolution subtasks that require reasoning over multiple facts. These subtasks differ in terms of which knowledge sources contain the relevant facts. We also introduce subtasks where knowledge is present only at inference time using fictional knowledge. We evaluate state-of-the-art coreference resolution models on our dataset. Our results indicate that several models struggle to reason on-the-fly over knowledge observed both at pretrain time and at inference time. However, with task-specific training, a subset of models demonstrates the ability to integrate certain knowledge types from multiple sources. Still, even the best performing models seem to have difficulties with reliably integrating knowledge presented only at inference time.
Introduction: The Challenge of Knowledge Integration
Large Language Models (LLMs) are often praised for their vast "encyclopedic" knowledge, but there is a significant difference between reciting a fact and using it to reason through a new situation. Natural Language Understanding (NLU) often requires juggling two distinct types of information:
- Background Knowledge: General facts about the world (e.g., "Judges decide cases in court").
- Entity-Specific Knowledge: Facts unique to the current context (e.g., "Servin is a judge").
To resolve a simple pronoun—like determining who "he" refers to in the sentence "After a long day at work deciding cases, he was happy to relax"—a model must retrieve the background fact about what judges do and link it to the specific entity "Servin." While LLMs excel at memorizing facts during pretraining, their ability to "adjudicate" between internal weights and external context remains unclear, particularly when context contradicts training (e.g., a fictional world where "bakers" decide court cases).
The KITMUS Framework
The researchers introduced the KITMUS Test, a diagnostic suite designed to evaluate if models can integrate background knowledge with instance-specific information provided at runtime. The core task is coreference resolution, where a pronoun can only be resolved by integrating an entity’s occupation with a situational cue.
The team developed three main variants to isolate where the knowledge resides:
- BACKGROUND-PRETRAIN: The model relies on internal "baked-in" knowledge of real-world occupations.
- BACKGROUND-BOTH: Background knowledge is provided in the prompt and exists in the model's weights.
- BACKGROUND-INFERENCE: The model is given "fictional" knowledge (e.g., "The work of a gladiower is inwaging ledmonly"). This forces on-the-fly reasoning without reliance on pretraining.
Methodology and Datasets
The KITMUS dataset contains over 100,000 generated instances. The researchers used splits of 2,000 and 5,000 examples to determine if models could learn the pattern of integration. They compared KITMUS results against models trained on standard benchmarks like Ontonotes and GAP. Human validation confirmed the logic's soundness, with participants achieving >90% accuracy even on fictional vocabulary.
Key Insights
- General Training Insufficiency: Models trained on standard datasets (like Ontonotes) performed near random on KITMUS, suggesting they rely on surface cues (gender, proximity) rather than logical reasoning.
- The "Out-of-Vocabulary" Barrier: Models struggled most with character-level fictional words. Subword tokenization (e.g., in BERT) breaks made-up words like gladiower into meaningless fragments, hindering stable representation.
- Integration as a Specific Skill: Models were more adept at integrating entity-specific info than background info when both were provided at inference time.
- Architectural Advantages: BERT-based models outperformed ELMo-based ones, likely due to the Transformer architecture's superior ability to attend to disparate parts of a context.
Results
- BERT4Coref achieved up to 99% accuracy on real-world background tasks after fine-tuning on KITMUS.
- In the fictional (BI) variant, accuracy plummeted to 25-40%, highlighting a failure in pure on-the-fly reasoning.
- Zero-shot failure: Without task-specific fine-tuning, models struggled to beat a random baseline (0.25 - 0.50 accuracy), indicating that reasoning capabilities do not emerge naturally from pretraining for these tasks.
Limitations and Future Directions
The KITMUS dataset is template-generated, which may result in repetitive language patterns. Future research should explore multilingual versions of KITMUS, develop training methods to handle Out-of-Vocabulary (OOV) terms, and investigate "knowledge conflicts" where prompts explicitly contradict real-world facts.
Summary updated