Abstract
Large language models (LLMs) often necessitate grounding on external knowledge to generate faithful and reliable answers. Yet even with the correct groundings in the reference, they can ignore them and rely on wrong groundings or their inherent biases to hallucinate when users, being largely unaware of the specifics of the stored information, pose questions that might not directly correlate with the retrieved groundings. In this work, we formulate this knowledge alignment problem and introduce MixAlign, a framework that interacts with both the human user and the knowledge base to obtain and integrate clarifications on how the user question relates to the stored information. MixAlign employs a language model to achieve automatic knowledge alignment and, if necessary, further enhances this alignment through human user clarifications. Experimental results highlight the crucial role of knowledge alignment in boosting model performance and mitigating hallucination, with improvements noted up to 22.2% and 27.1% respectively. We also demonstrate the effectiveness of MixAlign in improving knowledge alignment by producing high-quality, user-centered clarifications.
Introduction: The Knowledge Alignment Problem
Retrieval-Augmented Generation (RAG) has become a standard for reducing hallucinations in Large Language Models (LLMs) by grounding responses in external data. However, a significant hurdle remains: the Knowledge Alignment Problem. This occurs when a user's query is ambiguous or poorly matched to the specific schema of the external knowledge base.
For example, if a user asks about the "America Open," the database might contain entries for the "U.S. Open" in both Tennis and Golf. Without knowing the database's structure, the user provides a "fuzzy" query. Passive LLMs often fail here; instead of seeking clarification, they rely on internal statistical biases (e.g., assuming the user meant the Tennis event in New York) and generate hallucinations, even when the correct data is present in the retrieved context.
The MIXALIGN Framework
To address this, we propose MIXALIGN, a mixed-initiative framework that bridges the gap between vague user queries and structured knowledge. MIXALIGN moves beyond passive retrieval by actively aligning the query with database constraints through a two-stage process:
- Explicit Knowledge Alignment: The system extracts potential constraints (such as "Event" or "Year") from the query. If the mapping to database attributes is ambiguous—for instance, if "America Open" could refer to multiple distinct entities—the LLM generates a clarifying question for the user (e.g., "Is the event you are referring to the U.S. Open?").
- Implicit Knowledge Alignment: If multiple database rows still satisfy the explicit constraints, the framework identifies "distinguishable attributes" (columns that differentiate the remaining candidates, like "City") and asks the user to specify the missing detail (e.g., "Which city hosted the event?").
This process creates a set of "clarifications" that act as a causal bridge, ensuring the final answer is derived from the evidence rather than the model's internal biases.
Experimental Evaluation
We evaluated MIXALIGN using FuzzyQA, a dataset derived from OTT-QA where questions were simplified to remove specific constraints, simulating real-world ambiguity. The study categorized misalignments into four types: Semantic (ambiguous terms), Contextual (missing conditions), Structural (untracked attributes), and Logical (complex multi-step conditions).
Key Results
- Performance Gains: MIXALIGN improved Gold Answer Coverage by up to 22.2% compared to passive baselines.
- Hallucination Reduction: By forcing alignment with the data, hallucinations were reduced by up to 27.1%.
- Efficiency: The framework is highly efficient, requiring an average of only 1.08 to 1.19 questions to resolve ambiguity, achieving a 100% acceptance rate in user simulations due to its grounded, structured approach.
Conclusion
MIXALIGN demonstrates that active knowledge alignment is critical for reliable RAG systems. While the framework currently focuses on tabular data and introduces some computational overhead (averaging 3.7 LLM inferences per query), it significantly outperforms passive models. Future work will explore extending this alignment to unstructured text and utilizing "weak-to-strong" generalization to reduce latency while maintaining high alignment quality.
Summary updated