Merging Generated and Retrieved Knowledge for Open-Domain QA

Yunxiang Zhang, Muhammad Khalifa, Lajanugen Logeswaran, Moontae Lee, Honglak Lee, Lu Wang

Introduction

Open-Domain Question Answering (ODQA) has traditionally relied on two primary paradigms: Retrieval-Augmented Generation (RAG) and Generate-then-Read. RAG systems fetch factual passages from static corpora like Wikipedia, which provides high accuracy but often suffers from incomplete coverage. Conversely, Generate-then-Read approaches leverage Large Language Models (LLMs) to synthesize background knowledge. While LLM-generated passages are often highly relevant to the query, they are notoriously prone to hallucinations—generating fluent but factually incorrect information.

A significant challenge arises when these two sources conflict. If a retrieved Wikipedia snippet and an LLM-generated passage provide contradictory answers, standard models often favor the LLM's output due to its stylistic relevance. To address this, the COMBO (Compatibility-Oriented knowledge Merging for Better Open-domain QA) framework was developed to intelligently merge these disparate knowledge sources by evaluating their mutual compatibility.

The COMBO Framework

COMBO moves beyond simple concatenation of retrieved and generated text. Instead, it treats the problem as a matching task, ensuring that the final reader model focuses on the most reliable information pairs.

The COMBO pipeline compared to standard direct merging. COMBO uses a three-step process: compatibility scoring, pairwise matching, and prediction with passage pairs.

The framework operates through a three-step pipeline:

  1. Compatibility Scoring: For every pair of (Retrieved Passage, LLM-Generated Passage), COMBO computes a score using two specialized discriminators. The Evidentiality Discriminator ($D_E$) assesses if the retrieved passage contains the necessary evidence, while the Consistency Discriminator ($D_C$) checks if the LLM-generated passage aligns with that evidence.
  2. Optimal Matching: To prevent information overload, the framework employs the Hungarian algorithm to find the global maximum compatibility across all possible passage pairs. This ensures the model receives the most coherent set of information.
  3. Fusion-in-Decoder (FiD) Reader: These matched pairs are fed into a FiD model. By processing passages in pairs, the model learns to cross-reference the LLM’s relevance against the retriever’s factuality, effectively using the retriever as a fact-checker.

Resolving Knowledge Conflicts

The core strength of COMBO lies in its ability to navigate "hallucination traps." Analysis shows that standard models are misled by LLM hallucinations approximately 16% of the time when conflicts occur. COMBO mitigates this by enforcing consistency between the trusted retrieval source and the generative source.

An example of consistency checking. When a retrieved passage (RP1) and an LLM passage (LP1) both support the correct answer (1934), they are deemed consistent. If a passage is removed and the answer flips to a hallucination (1984), the system identifies the conflict.

As illustrated in the example above, the system can identify when a specific passage is essential for a correct prediction. By training on "silver labels"—automatically generated by observing how model predictions flip when passages are removed—the discriminators learn to identify which pairs are truly evidential and consistent.

Experimental Results

COMBO was evaluated across four major benchmarks: NaturalQuestions (NQ), TriviaQA (TQA), WebQuestions (WebQ), and HotpotQA (HQA).

  • Performance Gains: COMBO consistently outperformed competitive baselines. On NaturalQuestions, it achieved a 54.2 Exact Match (EM) score, representing a +1.5 improvement over direct merging methods.
  • Scaling Robustness: As the number of input passages increases, the probability of encountering conflicting information rises. While simpler merging methods often plateau or degrade under these conditions, COMBO’s performance continues to scale, demonstrating superior robustness to noise.
  • Attention to Truth: Analysis of the model's internal attention mechanisms revealed that COMBO successfully learns to assign higher weights to compatible pairs, effectively "ignoring" conflicting hallucinations during the final answer generation phase.

Conclusion and Future Work

COMBO demonstrates that the key to better ODQA is not just more data, but better data integration. By treating retrieval as a factual anchor for generative models, it significantly reduces the impact of LLM hallucinations.

Future research will focus on extending this pairwise matching logic to multi-hop reasoning tasks like HotpotQA, where simple consistency is harder to define. Additionally, the authors suggest exploring "in-context" compatibility scoring, where the LLM itself acts as the discriminator through few-shot prompting, potentially reducing the computational overhead of training dedicated discriminator models.

Summary updated

BibTeX
@inproceedings{zhang2023merging,
  author = {Yunxiang Zhang and Muhammad Khalifa and Lajanugen Logeswaran and Moontae Lee and Honglak Lee and Lu Wang},
  title = {{Merging Generated and Retrieved Knowledge for Open-Domain QA}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.286},
}
Figure