Abstract
Retrieval-augmented generation (RAG) models often struggle with open-ended tasks where multiple passages may be topically relevant, but only one supports the specific target response. We present HINDSIGHT, a training framework that utilizes a "guide retriever" with access to the target output during training. By pinpointing the exact passage needed in hindsight, the model achieves significantly better retrieval accuracy and more grounded generation, setting new state-of-the-art performance on dialogue benchmarks like Wizard of Wikipedia.
The Bottleneck in Open-Ended RAG
Standard RAG systems fetch documents based on an input query to help a generator produce a response. While effective for factoid QA, this setup falters in open-ended scenarios like informative dialogue. The challenge lies in the "one-to-many" nature of these tasks: many documents might be relevant to the topic (context-relevant), but only a specific one matches the "gold" training label (label-relevant).
Current training methods, such as marginalized loss, treat all retrieved passages as equally likely to be correct. This creates a weak learning signal; the retriever fails to distinguish between being "on-topic" and being the actual source of the answer. Consequently, generators learn to ignore retrieved context, leading to hallucinations.
The HINDSIGHT Framework
HINDSIGHT addresses this by using the target output ($y$) to guide the retriever during training. The framework introduces a Guide Retriever (Posterior), $Q(z|x, y)$, which has access to the "future" answer. Because it can see the target, it can pinpoint exactly which passage was used in hindsight.
The system optimizes the Evidence Lower Bound (ELBO), jointly training the standard retriever (which only sees the input $x$), the guide retriever, and the generator. To maintain efficiency over large corpora, HINDSIGHT uses an iterative "closed-set" approach: an outer loop refreshes the top-100 passages, while a fast inner loop trains the models on this subset.
Key Insights and Results
By providing the "label-relevant" passage more frequently during training, the generator learns to "trust" the retrieved context rather than relying solely on its internal weights. This significantly reduces the tendency to hallucinate.
The framework was evaluated on the Wizard of Wikipedia (WoW) and MS-MARCO NLGen datasets. On WoW, the retriever saw a 23% relative improvement in Success@10. Furthermore, the generator became much better at utilizing retrieved info, showing a 19% relative improvement in "Novel-F1" (a metric for grounding). As of October 2021, HINDSIGHT achieved state-of-the-art results on the KILT leaderboard for WoW generation metrics.
Conclusion
HINDSIGHT demonstrates that looking at the target answer during training significantly improves retrieval quality and grounding in open-ended generation. By bridging the gap between context and label relevance, it paves the way for more reliable and informative AI conversationalists.
Summary updated