Navigating Unreliable Parametric and Contextual Knowledge: Explicit Knowledge Conflict Resolution for LLM Inference
Large language models (LLMs) often struggle when the information they were trained on (parametric knowledge) contradicts the information provided in a prompt (contextual knowledge), or when different pieces of external information conflict with one another. Existing systems typically try to solve this by simply choosing one source over the other—assuming either the model or the external data is correct. This paper introduces a framework called MACR, which moves beyond this "either/or" approach by using a multi-agent system to actively analyze and resolve these conflicts, rather than just picking a side.
Assessing Model Confidence
The first step of the MACR framework is to determine how much the LLM actually knows about a specific query. The researchers use a modified "semantic entropy" measure to quantify the model's confidence. By generating multiple answers to a question and checking how consistent and relevant they are, the system can detect if the model is hallucinating or uncertain. To make this assessment more accurate, the framework also injects temporal information (such as the current date) and subject disambiguation into the prompt, helping the model account for outdated training data or ambiguous terms.
The Branching Strategy
Once the model’s confidence is measured, the framework decides how to proceed. If the model is highly confident, it is prompted to "externalize" its internal knowledge, turning its latent beliefs into a structured, written format. If the model has low confidence, the system triggers an external retrieval process to gather reliable information. This ensures that the reasoning process is always based on a clear, explicit set of facts, whether they come from the model’s own memory or an external source.
Multi-Agent Conflict Resolution
The core of the framework is an inductive multi-agent reasoning process involving three specialized agents:
The Observer: Analyzes training data to extract general, reusable rules for resolving knowledge conflicts.
The Analyzer: Breaks down specific discrepancies found between the model’s internal knowledge and the retrieved external context.
The Reasoner: Applies the rules learned by the Observer to the findings of the Analyzer to synthesize a final, conflict-free answer.
This collaborative process allows the system to provide an interpretable explanation for how it resolved the conflict, rather than just outputting a final answer.
Performance and Reliability
Empirical results show that MACR significantly outperforms existing methods across various benchmarks. By moving away from the simplistic binary choice of trusting either the model or the external context, the framework is better equipped to handle realistic scenarios where both sources might be flawed. This approach not only improves the factual accuracy of the model's responses but also provides a transparent, logical path for how those conclusions were reached.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!