summaries: The paper tackles the problem of open-ended knowledge-grounded natural language generation, in the context of free-form QA or knowledge-grounded dialogue, where models must ground their generations on passages relevant to the input context. Specifically, the authors explore improving the retrieval component of retrieval-augmented systems by utilizing posterior signal from the label. A “guide retriever” learns the relevant passage to retrieve by including the target output in its input context, and then, using an ELBo loss, provides this signal to the normal, in-system retriever. The authors find that their model improves three-fold over baselines: 1) it retrieves relevant passages more frequently; 2) its generations are more grounded in retrieved passages; and 3) its generations are closer to human generations.

summaries: In this paper authors describe an approach to use the responses/ answers to guide retrieval during training of document grounded response generator. By having the retriever being trained using the posterior (p(document|response,context)), the model could learn a better (supervised) retrieval network (based on ColBERT) which could be used to guide the training of the prior ( p(document|context)).  Documents are retrieved using the dialog context and the top-k documents are used for training the posterior as well as the prior. Since the expectation for ELBOLoss cannot be computed exactly (due to the large document set),  it is computed by sampling documents from the top-r retrieved documents -- from either the posterior or the prior, guided by a parameter called alpha which governs the sampling proportion. The idea of doing variational training using a posterior network isn't particularly novel but the authors have made it work for open-ended response generation using this approximation for computing the ELBOLoss. The networks use BART for language generation and CoLBERT for modeling the retrievers. Experiments have been presented using the Wizard of Wikipedia dataset and the MSMARCO NLGEN. Experiments show an improvement over the baseline model (RAG - referred to as MarginalizedLoss) in both retrieval (success@k, MRR) as well as response generation (text-F1 overlap between response and grounded document and textF1 overlap between response and ground-truth output response). Overall this is a well written easy to read paper

summaries: The paper tackles a problem of knowledge-grounded open-ended generation and proposes a new model that is an extension of an end-to-end training of the retrieval and the generator. In particular, there is another model called “posterior-guide” that is jointly trained with the other two models using ELBo. Intuitively, this posterior-guide is similar to the retriever that scores the evidence, but conditioned on not only the question but also the response. It is used as a weight of each evidence in the generation in order to encourage the generator to ground more to the evidence that is more relevant to the response. The retriever is also trained to be close to the posterior-guide (minimizing KL-divergence). To my understanding, this is a very clever way to give supervision to the model when it is not easy to obtain distant supervision data (unlike in short answer generation where the gold evidence is easily obtained by whether the short answer is included in the evidence or not).  Experiments are done on Wizard of Wikipedia and MS Marco NLGen. The model achieves significant improvements over the baseline retriever, based on three evaluation metrics: relevance, groundedness and generation quality.

summaries: This work focuses on the knowledge grounded text generation tasks. They argue that multiple passages can be valid and relevant to the context, but not all of them are observed/used in the target response. Therefore they propose that, during training, the target response should be utilized to train a "guide-retriever",  which predicts P(passage|context, response) and provides passage weight for the generator. A retriever is jointly trained with the generator and the guide-retriever, and the KL divergence between the retriever and the guide-retriever is included in the loss function.  The contribution of this paper is that they proposed a potential solution to the challenge that the model may be not effectively trained in case that multiple passages are valid but only one of few are used.

abstractText: Many text generation systems benefit from using a retriever to retrieve passages from a textual knowledge corpus (e.g., Wikipedia) and providing these passages as additional context to the generator. For open-ended generation tasks (like generating informative utterances in conversations) many varied passages may be equally relevant and we find that existing methods that jointly train the retriever and generator underperform: the retriever may not find relevant passages even amongst the top-10 and the generator may hence not learn a preference to ground its generated output in them. We propose using an additional guide retriever that is allowed to use the target output and “in hindsight” retrieve relevant passages during training. We model the guide retriever after the posterior distribution Q of passages given the input and the target output and train it jointly with the standard retriever and the generator by maximizing the evidence lower bound (ELBo) in expectation over Q. For informative conversations from the Wizard of Wikipedia dataset, with posterior-guided training, the retriever finds passages with higher relevance in the top-10 (23% relative improvement), the generator’s responses are more grounded in the retrieved passage (19% relative improvement) and the end-to-end system produces better overall output (6.4% relative improvement).

authors:
Negar Arabzadeh
Alexandra Vtyurina
Xinyi Yan
Charles LA Clarke

title: Shallow pooling for sparse labels

venue: arXiv preprint arXiv:2109.00062,

authors:
Ondřej Bojar
Christian Buck
Christian Federmann
Barry Haddow
Philipp Koehn
Johannes Leveling
Christof Monz
Pavel Pecina
Matt Post
Herve Saint-Amand
Radu Soricut
Lucia Specia
Aleš Tamchyna

title: Findings of the 2014 workshop on statistical machine translation

venue: In Proceedings of the Ninth Workshop on Statistical Machine Translation,

authors:
Deng Cai
Yan Wang
Wei Bi
Zhaopeng Tu
Xiaojiang Liu
Shuming Shi

title: Retrievalguided dialogue response generation via a matching-to-generation framework

venue: In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP),

authors:
Danqi Chen
Adam Fisch
Jason Weston
Antoine Bordes

title: Reading Wikipedia to answer open-domain questions. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)

authors:
Emily Dinan
Stephen Roller
Kurt Shuster
Angela Fan
Michael Auli
Jason Weston

title: Wizard of wikipedia: Knowledge-powered conversational agents

venue: In International Conference on Learning Representations,

authors:
Kelvin Guu
Kenton Lee
Zora Tung
Panupong Pasupat
Ming-Wei Chang

title: Retrieval augmented language model pre-training

venue: In Proceedings of the 37th International Conference on Machine Learning,

authors:
Gautier Izacard
Edouard Grave

title: Leveraging passage retrieval with generative models for open domain question answering

venue: In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume,

title: Distilling knowledge from reader to retriever for question answering

authors:
Herve Jegou
Matthijs Douze
Cordelia Schmid

title: Product quantization for nearest neighbor search

venue: IEEE transactions on pattern analysis and machine intelligence,

authors:
Jeff Johnson
Matthijs Douze
Hervé Jégou

title: Billion-scale similarity search with GPUs

venue: arXiv preprint arXiv:1702.08734,

authors:
Mandar Joshi
Eunsol Choi
Daniel Weld
Luke Zettlemoyer

title: TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension

venue: In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),

authors:
Vladimir Karpukhin
Barlas Oguz
Sewon Min
Patrick Lewis
Ledell Wu
Sergey Edunov
Danqi Chen
Wen-tau Yih

title: Dense passage retrieval for open-domain question answering

venue: In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 6769–6781,

authors:
Urvashi Khandelwal
Omer Levy
Dan Jurafsky
Luke Zettlemoyer
Mike Lewis

title: Generalization through memorization: Nearest neighbor language models

authors:
Omar Khattab
Matei Zaharia. Colbert

title: Efficient and effective passage search via contextualized late interaction over bert

venue: In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval,

authors:
Omar Khattab
Christopher Potts
Matei Zaharia

title: Relevance-guided Supervision for OpenQA with ColBERT

venue: Transactions of the Association for Computational Linguistics, 9:929–944,

authors:
Tom Kwiatkowski
Jennimaria Palomaki
Olivia Redfield
Michael Collins
Ankur Parikh
Chris Alberti
Danielle Epstein
Illia Polosukhin
Matthew Kelcey
Jacob Devlin
Kenton Lee
Kristina N. Toutanova
Llion Jones
Ming-Wei Chang
Andrew Dai
Jakob Uszkoreit
Quoc Le
Slav Petrov

title: Natural questions: a benchmark for question answering research

venue: Transactions of the Association of Computational Linguistics,

authors:
Kenton Lee
Ming-Wei Chang
Kristina Toutanova

title: Latent retrieval for weakly supervised open domain question answering

venue: In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics,

authors:
Omer Levy
Minjoon Seo
Eunsol Choi
Luke Zettlemoyer

title: Zero-shot relation extraction via reading comprehension

authors:
Peter J. Liu
Mohammad Saleh
Etienne Pot
Ben Goodrich
Ryan Sepassi
Lukasz Kaiser
Noam Shazeer

title: Generating wikipedia by summarizing long sequences

authors:
Nasrin Mostafazadeh
Nathanael Chambers
Xiaodong He
Devi Parikh
Dhruv Batra
Lucy Vanderwende
Pushmeet Kohli
James Allen

title: A corpus and cloze evaluation for deeper understanding of commonsense stories

venue: In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies,

authors:
Shashi Narayan
Shay B. Cohen
Mirella Lapata

title: Don’t give me the details, just the summary! Topic-aware convolutional neural networks for extreme summarization

venue: In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing,

authors:
Tri Nguyen
Mir Rosenberg
Xia Song
Jianfeng Gao
Saurabh Tiwary
Rangan Majumder
Li Deng

title: MS MARCO: A human generated machine reading comprehension dataset

venue: In CoCo@NIPS,

authors:
Fabio Petroni
Aleksandra Piktus
Angela Fan
Patrick Lewis
Majid Yazdani
Nicola De Cao
James Thorne
Yacine Jernite
Vladimir Karpukhin
Jean Maillard
Vassilis Plachouras
Tim Rocktäschel
Sebastian Riedel

title: KILT: a benchmark for knowledge intensive language tasks

venue: In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies,

title: Association for Computational Linguistics

venue: doi: 10.18653/v1/2021.naacl-main.200. URL https://aclanthology.org/2021.naacl-main.200.

authors:
Devendra Sachan
Mostofa Patwary
Mohammad Shoeybi
Neel Kant
Wei Ping
William L. Hamilton
Bryan Catanzaro

title: End-to-end training of neural retrievers for open-domain question answering

venue: In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers),

authors:
Kurt Shuster
Spencer Poff
Moya Chen
Douwe Kiela
Jason Weston

title: Retrieval augmentation reduces hallucination in conversation

venue: arXiv preprint arXiv:2104.07567,

authors:
James Thorne
Andreas Vlachos
Christos Christodoulopoulos
Arpit Mittal

title: FEVER: a large-scale dataset for fact extraction and VERification

title: Overview of the trec 2004 robust track

authors:
Zhilin Yang
Peng Qi
Saizheng Zhang
Yoshua Bengio
William W. Cohen
Ruslan Salakhutdinov
Christopher D. Manning

title: HotpotQA: A dataset for diverse, explainable multihop question answering

venue: In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP),

authors:
Wen Zheng
Natasa Milic-Frayling
Ke Zhou

title: Approximation of response knowledge retrieval in knowledge-grounded dialogue generation

title: Knowledge-grounded dialogue generation with term-level de-noising

venue: Online,

title: Alexandres Veliotes; December 28, 1921 – January 17, 2012) was an American singer, musician, composer, arranger, bandleader, talent scout, disc j.

heading: 1 INTRODUCTION

text:
In knowledge-intensive NLP tasks, models must use open-domain knowledge to answer questions (Kwiatkowski et al., 2019; Joshi et al., 2017), fact-check claims (Thorne et al., 2018), engage in informative conversations (Dinan et al., 2019), or otherwise facilitate information access through natural language (Nguyen et al., 2016). To leverage the information present in human-readable corpora (e.g., Wikipedia), many recent models for open-domain question answering (Lee et al., 2019; Khattab et al., 2021) are retrieval-augmented: they extract passages from the corpus using a learned retriever and process it with a task-specific reader. If the relevant passage is known, the retriever is supervised to find it; otherwise, it is weakly supervised with passages that contain the answer string (e.g., a name or a date). In recent work (e.g., Lewis et al., 2020), for end-to-end tasks with arbitrary text output, where relevant passages are not known, a jointly-trained generative sequence-to-sequence model provides the relevance signal.
Current methods work well for short-answer QA-like problems, where the query itself has high overlap with the relevant passage and there is a unique answer, for example factoid Open-domain QA such as Natural Questions (Kwiatkowski et al., 2019), HotPotQA (Yang et al., 2018), fact-checking (Thorne et al., 2018), and slot-filling (Levy et al., 2017). However, for open-ended generation tasks like free-form QA (MS-Marco NLGen), informative dialogue (Dinan et al., 2019), or Wikipedia abstract generation (Liu* et al., 2018), many responses can be equally acceptable and yet the data source (e.g., human-written answers, real-world conversations, Wikipedia abstracts) supplies only one plausible output from a space that includes many. Figure 1 illustrates this with a conversational context x and multiple relevant passages z: while only one of them zgold is useful for generating the gold-standard answer y, other passages could have led to other coherent responses. This setting with one input and many possible unobserved outputs (one-to-many) is challenging, as it creates a distinction between the numerous passages that are relevant to the input (which we dub contextrelevant passages) and the few passages that pertain to the observed target output (which we dub label-relevant passages). Had we known zgold corresponding to the target output, we could have supervised the retriever with zgold and trained the generator conditioned on zgold, but we don’t!
Current methods (Lewis et al., 2020) attempt to use the generator’s probability distribution Pθ(y|x, z) as a proxy for label relevance and train the retriever Pη(z|x) by marginalizing p(y|x) over retrieved documents z: P (y|x) = ∑ z∈top-k(Pη(.|x)) Pη(z|x)Pθ(y|x, z). We find empirically that for one-to-many tasks, this objective is suboptimal in three ways: the generator is less grounded in the retrieved passages (Figure 3), the retriever performance saturates at low recall (Figure 3), and at training time the top-k retrieved passages miss out on many label-relevant passages weakening the supervision (Table 1).
We propose explicitly estimating the label-posterior distribution Q(z|x, y) in the form of a guideretriever that has access to the target output, and with this “hindsight” can capture label-relevance precisely. We jointly optimize the retriever, posterior-guide, and generator using the evidence lower bound (ELBo): Ezi∼Q(.|x,y)[logPθ(y|x, z)] − DKL(Q|Pη). In theory, posterior-guided training is better for joint-training on open-ended tasks on all three counts: (1) The generator gets conditioned on passages weighted directly by their label-relevance from the label-posterior distribution, reducing the tendency of the generator to ignore the retrieved passage; (2) The retriever is trained with reverse-KL divergence, whose mode-seeking nature encourages the retriever’s probability distribution to match some modes with the guide (label-relevant passages), without explicitly penalizing other modes (other context-relevant passages); (3) As the label-posterior distribution Q(z|x, y) is modeled by a full-fledged retriever, it can retrieve label-relevant passages from the entire collection, which is a generalization of weak supervision approaches that use span overlap for short-answer QA.
Our main contribution in this paper is the HINDSIGHT training system that: (1) uses a guide-retriever to provide a stronger learning signal for both the generator and the retriever, (2) is amenable to index-updates with iterative closed-set training (Section 3). We thoroughly evaluate the retrievalaugmented systems, going beyond end-to-end performance with a granular evaluation of the individual models (retriever and generator) at varying passage depths, important for evaluating one-to-many open-ended generation tasks (Section 4). Using HINDSIGHT on the Wizard of Wikipedia dataset of informative conversations our retriever achieves a 23% relative improvement in success@10 (its ability to have the label-relevant passage among the top-10 retrieved passages), our generator is more grounded with 19% improvement in Novel-F1 overlap with the top-1 retrieved passage (i.e., its overlap with rare words from the retrieved passage that were not already in the input) and 6.4% relative improvement in Novel-F1@1 overlap with the gold utterance (the best matching generation when considering top-1 retrieved passage). We also validate that HINDSIGHT improves performance on the one-to-one generation task of free-form QA using the MS-MARCO NLGen dataset.

heading: 2 BACKGROUND

text:
Open-domain Question Answering While Question-Answering datasets originally focused on extracting the answer from a given passage (a.k.a. reading comprehension), recent work has made the task more challenging by not supplying a gold passage but instead expecting the model to con-
duct open-domain QA directly over a large document collection. The first neural system for answering open-domain factoid questions was Dr. QA (Chen et al., 2017), which used an off-the-shelf retriever (e.g., TF-IDF, BM25) to retrieve relevant passages and a separately trained reader to extract the answer span. The advent of efficient nearest-neighbour search algorithms (Jegou et al., 2010; Johnson et al., 2017) opened up the possibility of encoding the query and the passage collection into a vector space and finding the relevant passage as nearest neighbors to the query embedding. Subsequent work trained neural retrievers in various ways such as: pretraining with the inverse cloze task then weakly supervising using span matches (Lee et al., 2019), using gold passages with inbatch negatives (Karpukhin et al., 2020), and retrieval-guided supervision with span-based positives (Khattab et al., 2021).
Open-ended Generation Natural language generation tasks involve generating a sequence of tokens (maybe, word-pieces), often contextualized on some input (another sequence of tokens for sequence-to-sequence tasks, an image for an image captioning task). However, they differ in how open-ended they can be. Some tasks such as factoid question-answering having a single correct short answer are less open-ended than free-form long answers. For example, in informative dialogue the speakers can lead the conversation in many different directions (Dinan et al., 2019), also referred to as one-to-many generation. Thus it is more open ended, or, equivalently, it has a higher entropy than say machine translation Bojar et al. (2014) which has few correct translations that are very similar to each other. Many more generation tasks such as summarization (Narayan et al., 2018) and story generation (Mostafazadeh et al., 2016) lie on this spectrum.
Retrieval for Language Modeling To improve the perplexity of a pre-trained language model, Khandelwal et al. (2020) retrieve similar contexts from the training set at each time-step and increase the likelihood of tokens that were predicted in similar contexts. Guu et al. (2020) instead pretrain a retrieval-augmented masked language model using salient-span masking and fine-tune it on downstream QA tasks. Under the paradigm of retrieval-augmented generation, for input x and output y, Lewis et al. (2020) retrieve top-k passages (z) from a corpus with a retriever and jointly train the generator (Pθ) and the retriever (Pη) by maximizing the likelihood of the output marginalized over the top-k documents, which we refer to as the MARGINALIZEDLOSS:
P (y|x) = ∑
z∈top-k(Pη(.|x))
Pη(z|x)Pθ(y|x, z) (1)
Here Pθ(y|x, z) has two roles: supervision, i.e. providing label-relevance by scoring label-relevant passages higher than other passages and grounding, i.e. maximizing the probability of the target output given context-relevant passages. For one-to-many datasets, where few context-relevant passages are label-relevant, the two roles are at odds with each other. By increasing label-relevance signal the generator reduces the ability to ground in passages that are context-relevant but not label-relevant. By increasing grounding in all context-relevant passages it reduces the label-relevance signal.
Using label for direct supervision Zheng et al. (2020) use term-overlap with label as a heuristic to identify the gold-passage from a small set (5̃0 passages) and train a reranker. In Zheng et al. (2021) they increase grounding by using the label to reweigh passage tokens and in Cai et al. (2019) they increase grounding by feeding a corrupted version of the label as a stand-in for label-relevant passage to the generator during training. In the next section, we build upon the end-to-end paradigm introduced by Lewis et al. (2020) with a theoretically motivated method to identify label-relevant passages from the entire corpus, and train a full-corpus retriever along with a grounded generator.

heading: 3 TRAINING WITH HINDSIGHT

text:
To precisely identify label-relevant passages, we propose explicitly modeling the posterior distribution: Q(z|x, y) with a learned neural model. Unlike the retriever, the label-posterior model has access to the target output and in hindsight can differentiate label-relevant from other context-relevant passages. We learn the label-posterior jointly with the retriever and the generator by maximizing the evidence lower bound, ELBOLOSS, as given by the formula:
logP (y|x) ≥ Ez∼Q(.|x,y)[logPθ(y|x, z)]−DKL(Q|Pη) (2)
For an intuitive understanding we look at the two terms separately. The first term is an expectation of the generator’s log-likelihood Pθ over the label-posterior Q. This ensures that the generator need attend only to the label-relevant passages and therefore learns to “trust” the retrieved passages better. The second term is the KL divergence from the retriever to the label-posterior, also referred to as reverse KL divergence:
DKL [ Q(z|x, y) | Pη(z|x) ] = ∑ z∼Q(.|x,y) Q(z|x, y) ( logQ(z|x, y)− Pη(z|x) ) This term is again weighted by Q(z|x, y), which is the probabilistic equivalent of implication: high Q(z|x, y) implies high P (z|x), i.e., label-relevance implies context-relevance but not vice-versa.
Posterior as a retriever While we can certainly model the label-posteriorQ(z|x, y) as a re-scorer that takes in documents as retrieved by the retriever Pη , we instead model it as a guide retriever that can retrieve label-relevant passages from the entire corpus. This is helpful because we can sample passages directly from the label-posterior distribution, and estimate the ELBOLOSS more accurately than using passages from Pη(z|x). The guide retriever generalizes weak supervision approaches (Lee et al., 2019; Guu et al., 2020) and relevance-guided supervision (Khattab et al., 2021), to posterior-guided supervision with a learned posterior retriever rather than brittle heuristics based on word-overlap.
Iterative closed-set training Prior work (Guu et al., 2020; Khattab et al., 2021) has shown the utility of intermittently updating the passage index during training. To allow for such a workflow, we organize our training into rounds (see Figure 2). At the beginning of each round, in the outer loop we encode the passages and the queries with various retrievers and find the highest scoring r passages that we dub the closed-set. In the inner loop that runs for many epochs, we sample passages from the closed-set (r = 100 for our experiments). This is fast because we are no longer retrieving from the entire corpus in the inner loop and also sufficient because the closed-set has a high recall. We update the retrievers (both document and query encoders) during the inner loop and use the latest model parameters for computing the loss functions. A round results in trained models that are then used for the next round. We find that 2 rounds are often sufficient, with decreasing marginal utility from the third round onward.
Distributional repositioning before inference According to ELBOLOSS, the expectations are computed over z ∼ Q(.|x, y). We cannot compute the expectations exactly because of the large size of the passage corpus, so we approximate it by sampling k passages from the closed-set Qtop-r(Q(.|x, y)). This leads to faster model training, especially at the beginning because passages from Q(.|x, y) provide better supervision. However, due to this sampling scheme, the models only ever get exposed to passages from the Q(.|x, y) distribution, which limits their ability to generalize over passages from Pη(.|x) during inference. To remedy this, we sample passages from an
α-mixture of the two distributions: z ∼ { Pη(.|x) w.p. α Q(.|x, y) w.p. 1− α . In the initial rounds we set low
values of α and increase it toward the end to reposition the passage distribution and better match with Pη(.|x) at test time. The retriever and the generator can be trained by sampling passages from different α-mixtures and we utilize this to avoid retriever overfitting (with α = 1) while maintaining generator groundedness (with α = 0.25, 0.5)
Training individual models to convergence A practical issue with joint training is that the retriever and generator train at different rates, reaching convergence at different times. The single term in MARGINALIZEDLOSS (Eq. 1) does not indicate convergence of individual models leading to situations where one model starts to overfit while the other model still hasn’t converged. With ELBOLOSS there are two terms in Eq. 2: the first connecting Q(z|x, y) and Pθ(y|x, z), the second connecting Q(z|x, y) and Pη(z|x). This allows us to fix the guide and train the retriever and generator independently for a differing number of gradient steps until each model reaches convergence.

heading: 4 EXPERIMENTAL EVALUATION

text:
We evaluate on two open-ended knowledge-intensive tasks: informative conversations and free-form question answering. We ask the following three research questions:
RQ1 Relevance: Are the retrieved passages more relevant? (Section 4.3) RQ2 Groundedness: Does the generator make better use of the retrieved passages? (Section 4.4) RQ3 Generation Quality: Does this lead to better end-to-end performance? (Section 4.5)

heading: 4.1 MODELS

text:
Retriever Models We use ColBERT (Khattab & Zaharia, 2020) to model the retriever Pη(z|x) and the guide-retriever Q. The query tokens qi and the document tokens dj are independently encoded using BERT and normalized to produce unit-vectors Eqi and Edj . The similarity between the query and the document is defined as Sq,d = ∑ imaxj EqiE T dj
. The late-interaction paradigm of ColBERT is more expressive than using just the [CLS] token, as in DPR (Karpukhin et al., 2020), because it allows the query and document tokens to retain their identities and provide finer-grained term-wise similarity. Recently, Khattab et al. (2021) has shown that ColBERT establishes state of the art retrieval results on open-domain QA benchmarks. To calculate the probability distributions during training, we sample a small set of documents R using a suitable sampling strategy (as explained in Section 3) and compute the softmax of the scores over R. For the posterior-retriever, we concatenate the input and the output to create the query, q = [x y]. ColBERT pre-trained on the MS-MARCO passage ranking dataset is widely used for other tasks and we use it for the Wizard
of Wikipedia task. However, MS-MARCO NLGen task contains queries from the passage ranking pre-training dataset. Therefore, following Lewis et al. (2020) we use Natural Questions to pre-train ColBERT for the MS-MARCO NLGen task.
Generation Model Following Lewis et al. (2020) we use pre-trained BART model and fine-tune it for the respective tasks during training. It is conditioned on both the context and the document and trained to produce the target. At test time, we decode using beam-search with 4 beams.

heading: 4.2 TASKS

text:
Informative conversations We first evaluate on generating utterances in informative conversations as a one-to-many generation task that is open-ended and knowledge-intensive. Informative conversations are one-to-many because they are open-ended and people have the agency to drive the conversation in a different direction at every turn. We use the Wizard of Wikipedia (WoW) dataset (Dinan et al., 2019), where an “apprentice” chats (via text) with a “wizard”, being curious about different topics, and the “wizard” grounds their response in a sentence from Wikipedia. The input for this task is the conversational history x and the output is the wizard’s utterance y with the models provided access to individual passages (z) from all of Wikipedia (≈26 million passages). We use the version of this dataset provided in the KILT benchmark (Petroni et al., 2021). As the test set outputs are not available to us, we show granular evaluation numbers on the dev set and report leaderboard performance on the test set.
Free-form Question Answering We also validate the efficacy of our method on on-to-one generation task: free-form open-domain QA. We use the MS-MARCO NLGen dataset (Nguyen et al., 2016) where the task is to generate natural-sounding answers to questions, which is more challenging than other extractive open-domain QA datasets. This is a subset of MS-MARCO questions whose answers were reviewed by a separate editor and rewritten if there was a high overlap between the answer and one of the provided passages (indicating that the original editor may have copied the passage directly). These “well-formed answers” are meant to be complete sentences (such as can be read out by a conversational assistant) and have a median length of 11 words. The input for this task is a query x, the output is a well-formed answer y, and the models are required to retrieve from the entire collection provided with the MS-MARCO QA consisting of 8.8 million passages from the web. As the public benchmark is no longer available we could not evaluate on the benchmark test set. Instead we split the public validation set into a validation and test set and show results on the test set.
While both datasets annotate the passages referred to by the person who wrote the target output (gold passages), we only use them for evaluation and validation and not for training.

heading: 4.3 RELEVANCE EVALUATION

text:
We investigate the quality of the retrieved passages (RQ1) by leveraging the gold passage labels supplied by each dataset. For one-to-many tasks, we want to know if any of the gold passages are in the top-k (k = {1, 5, 10}) retrieved passages. Thus, to evaluate relevance, we report Success@k
(S@k for short)1, the percentage of inputs for which any gold provenance passage is retrieved within the the top-k passages by each system. We also report Mean Reciprocal Rank (MRR), an evaluation metric commonly used to evaluate IR systems.
Our results are shown in Table 1. With Wizard of Wikipedia, we observe that our ELBOLOSS retriever markedly outperforms MARGINALIZEDLOSS at finding the label-relevant passage. While both systems easily handle 38.9–41.1% of the examples (evident in relatively high success@1), only the ELBOLOSS retriever continues to find many more relevant passages at larger retrieval depths k, reaching success@10 of 63.9% compared to MARGINALIZEDLOSS’s success@10 (at 52.8%). Interestingly, ELBOLOSS’s success@5 is higher than MARGINALIZEDLOSS’s success@100 (not reported in the table), where the latter saturates at 55.8% despite containing 20× more passages whereas ELBOLOSS’s success@100 reaches 69.3%. With MS MARCO NLGen, we notice that ELBoLoss still outperforms MarginalizedLoss by 1–2 points across our metrics, reflecting smaller— but nonetheless consistent—gains when compared with the one-to-many generation task. Based on manual inspection, we find many false negatives (corroborated by Arabzadeh et al. (2021)), i.e. passage that contain the answer but aren’t marked as gold, leading to a lower Success@1 compared to Wizard of Wikipedia.
Comparison with Gold-supervised retriever As an ablation, we assume that the gold-passage is available during training and train a retriever by maximizing its log-likelihood. We take random passages from ELBo Retriever’s round 1 closed-set as negatives (excluding top-10 to avoid false negatives). We find that the performance of Gold-sup. retriever is lower than using ELBo loss; it overfits easily. We also see lower performance when training with ELBOLOSS while sampling purely from Q(.|x, y) (i.e. α = 0, Table 7) because it is low-entropy and the same label-relevant passages get repeatedly sampled. By sampling from Pη(.|x), the KL divergence is minimized over a wider and realistic support set of passages. Perhaps, there are many passages that have some label-relevant phrases making them partially relevant and Q(z|x, y) “teaches” Pη(z|x) to capture these phrase-level relative differences. Sampling from Pη(.|x) leads to better generalization, has similarities to distillation and is an interesting direction for future work.
Overall, we find that ELBOLOSS improves relevance of retrieved passages over MARGINALIZEDLOSS for two qualitatively different tasks, with larger gains for the one-to-many generation task.

heading: 4.4 GROUNDEDNESS EVALUATION

text:
We now examine RQ2, studying the degree to which the generator relies on the retrieved passages for producing its output. To quantify this groundedness, we compute F1-overlap between a retrieved passage (not necessarily the gold passage) and the produced text when generation is conditioned on that passage.
1With a single gold passage they are numerically identical and sometimes used interchangeably; we prefer Success@k because is less ambiguous and widely used in the IR community since Voorhees (2004)
As an analogue of Success@k, we propose Max. F1@k, the largest F1-overlap exhibited by any generated output with the corresponding retrieved passage fed to the generator. We also propose Novel-F1, a new metric that discounts words the occur frequently and words that already appear in the context x, since otherwise these tokens dominate raw F1 in practice (up to 80%, see Appendix A.5) but are not indicative of grounding.
Our results are shown in Table 2 and Figure 3. For the Wizard of Wikipedia dataset, we observe that our ELBOLOSS generator outperforms MARGINALIZEDLOSS by 2.7 F1 (14.5% relative improvement) and 3.3 Novel-F1 (19% r.i.) when given the top retrieved passage. For the MS MARCO NLGen dataset, we observe smaller but consistent gains in groundedness (1–2 F1, Novel-F1) with MARGINALIZEDLOSS compared to ELBOLOSS. In Figure 3 (right), we can see that beyond the top passage, MARGINALIZEDLOSS generator’s overlap decays rapidly whereas ELBOLOSS (α = 0.25) generator’s overlap declines gradually. This shows that the ELBOLOSS generator stays grounded beyond just the top passage, a desirable property in one-to-many generation systems. We also see (in Figure 3, right) that groundedness increases as α decreases. However, in our experiments, we found that a generator trained with α = 0, despite being maximally grounded (Table 5), has lower end-to-end performance (Table 6) because it is unduly “trusting” of the provided passage (nearly flat line in Figure 3) and does not abstain from using irrelevant passages.

heading: 4.5 END-TO-END EVALUATION

text:
To evaluate the end-to-end quality of our systems, we calculate F1 and Novel-F1 (defined in Section 4.4) of the decoded output with the human-written gold output. To allow for the possibility of the generator using any part of the long passages (150 words) for the Wizard Of Wikipedia task, we use Knowledge-F1 (defined by Shuster et al. (2021)): F1 between the sampled generation and the gold passage. Since it is reasonable to expect the gold passage to be in top-k for k>1 for one-to-many tasks (as in Section 4.4), we also compute the Max. over top-k retrieved passages.
The results are summarized in Table 3. For the Wizard of Wikipedia dataset, using only the top retrieved passage ELBOLOSS leads to 6.7% relative improvement in Novel-F1@1. But in the oneto-many setting, the label-relevant passage is an arbitrary choice from amongst the context-relevant passages. We account for that using max. overlap over the top-5 passages and see larger improvements for ELBOLOSS with , namely 1 F1, 2 Novel-F1 (∼ 15% r.i.), and 1.5 K-F1 (∼ 10% r.i.). For MS Marco NLGen, we see a small but consistent increase due to ELBOLOSS over MARGINALIZEDLOSS: 1.5 F1 and 2 Novel-F1 across passage depths.
We also submit models trained using ELBOLOSS and MARGINALIZEDLOSS on Wizard of Wikipedia to the KILT leaderboard. The results are reported in Table 4. As shown, ELBOLOSS consistently outperforms the baseline MARGINALIZEDLOSS across all metrics. The table also reports Recall@5, which evaluates retrieval at a coarser granularity, namely at the full Wikipedia page level, though so far we have investigated it directly at the passage level. Consistent with the results in Table 1, our method also outperforms MARGINALIZEDLOSS in retrieval metrics. In fact, our ELBOLOSS model achieves state-of-the-art performance across all the generation metrics (F1, ROUGE-L, KILT-F1, KILT-ROUGE-L) on the leaderboard, though it is not the strongest on Recall@5.2
To conclude, we have evaluated the ELBOLOSS and MARGINALIZEDLOSS using a one-to-one freeform QA dataset and a one-to-many dataset of informative conversations. Our results show that our method ELBOLOSS trains a better retriever, a more grounded generator and improves end-to-end performance, especially in the one-to-many setting.

heading: 5 DISCUSSION

text:
Hallucination, grounding and correctness Shuster et al. (2021) show that providing retrieved passages to a generator has been shown to reduce hallucination. Our work increases grounding in the retrieved passage, promising to further reduce hallucination. Even though the generator is now more
2Earlier results on the KILT leaderboard for Wizard of Wikipedia should be interpreted with caution, as the KILT authors recently updates the train/dev splits due to anomalies in the preprocessing script. We have used the updated version for our model and baseline.
likely to use content from the provided passage (rather than hallucinating from parametric memory), that does not guarantee correctness.This is not captured perfectly by our token-level overlap metrics that evaluate grounding. There is scope for future work to address this gap with better generator training methods that not only produce grounded but also correct outputs.
Passage selection for controllable generation Our results show that the HINDSIGHT generator stays grounded beyond the top retrieved passage. When such systems are deployed in real-life settings (e.g., in open-domain socialbots), external business logic can select an appropriate passage from the top-k retrieved passages and exert considerable control over the generated content.
Modulating trust For tasks like QA, we want a “conservative” generator: it should abstain from using a passage that doesn’t contain the answer. For more open-ended tasks like informative conversations, we want the generator make use of diverse passages. In our work, we show that by changing the distribution of the passage from Pη(.|x) to Q(.|x, y), the generator increasingly trusts the retrieved passages (Figure 3). Based on the nature of the task, system designers can use the α-mixture to modulate the degree of trust placed by the generator in the retrieved passages.
Comparison with Fusion-in-Decoder Izacard & Grave (2021a) provide multiple passages to the generator simultaneously and in Izacard & Grave (2021b) they use the decoder’s attention weights over each passage for relevance supervision. While this is a valid mechanism, perhaps conditioning on individual passages like we do is more precise for relevance supervision. Indeed, recent work (Sachan et al., 2021) illustrates by using Fusion-in-Decoder during inference but foregoing the decoder’s attention weights and using an equivalent version of the MARGINALIZEDLOSS for training the retriever.
In this paper, we propose HINDSIGHT, a system that introduces a guide-retriever to improve supervision for both the retriever and the generator for retrieval-augmented, open-ended generation. During training, the guide retriever uses the target output of each example in order to find relevant passages, leading to better retrieval and more grounded generation. The resulting system achieves considerable empirical improvements over existing work, improving retrieval quality by up to 23%, grounding by up to 19%, and end-to-end output quality by up to 6.4%.

heading: A APPENDIX

text:
A.1 IS HIGHER GROUNDING PURELY DUE TO A BETTER RETRIEVER?
To test this hypothesis, we ran an ablation test, where we used the best retriever we had (from Hindsight, α = 0) and trained a generator using Marginalized loss while keeping the retriever itself fixed. This simulates the situation where we improved retrieval independently and we want to test if that is sufficient to explain increased grounding. We see in table 5 that that the better retriever in the ablation (Marg. Gen. with fixed ELBo Ret.) leads to increased grounding compared to the generator trained using MARGINALIZEDLOSS. However, the ablation is worse than ELBo Gen. (α = 0.25), demonstrating that the increased grounding is also due to ELBOLOSS.

heading: A.2 WITHOUT DISTRIBUTIONAL REPOSITIONING

text: ELBOLOSS doesn’t perform as well without distributional repositioning.

heading: A.3 EXAMPLES OF RETRIEVED PASSAGES

heading: A.3.1 CONVERSATION 1: ITALIAN CUISINE

text:
Other Ooh I like that! Stick some nice spicy arrabbiata sauce with it, ahhhh! Have you ever had bucatini before?
Self Oh yeah! I love that spicy garlic and tomato sauce. No I have not had bucatini. Is that a type of cheese?
Other Now you’re speakin’ my language. No no, it’s a style of noodle, like a really long straw. Bucatini amatraciana is insanely good.

heading: A.3.2 CONVERSATION 2: ROCK AND ROLL

text: Self Do you mean Elvis Aaron Presley, the American singer and actor? Other That’s the one. I think his nickname was the king of rock ’n roll. Self I had just heard of him being "The King". There probably would not have been a Sun Records if not for Elvis and Sam Phillips. Other He was revolutionary for his time. Many older people thought he was straight from the devil.

heading: A.4 EXAMPLES OF GENERATED OUTPUTS

text:
We look at a conversation that illustrates the differences in grounding between MARGINALIZEDLOSS generator and ELBOLOSS generator. We see that the MARGINALIZEDLOSS generator hallucinates in 4 out of 5 utterances and only uses retrieved passage content in 2 out of 5 utterances. On the other hand ELBOLOSS generator doesn’t hallucinate and uses retrieved passage content for all utterances.
Prior turns:
Self I’m still working on getting better proper nutrition (Cheetos get me) but moderate vigorous exercise feels great
Other Yes, we have a swimming pool so I’ve been able to get a bit more exercise, while enjoying the cool water during this hot summer.

heading: A.5 NOVEL-F1

text:
Rationale We conducted a small experiment with the generated output on Wizard of Wikipedia dataset using top-8 retrieved passages. We removed the gold passage and computed overlap of the generated output with the target output. We consistently found (across models and passage ranks) the F1 overlap to be close to 15. This meant that by conditioning on arbitrary passages the generator (likely by ignoring them altogether) is able to achieve around 80% of the F1-overlap of the best performing models (∼ 19 F1). This can be a confounding factor for selecting models based on high F1 overlap. A model that simply copies content from the input x can achieve high F1-overlap but fail to using the retrieved passage to generate the output. Removing commonly occurring words
reduces it to 8 F1, but removing words from input context reduces it further down to 4 F1. Thus we find Novel-F1 to be the cleanest measure of overlap as it discounts two confounding factors and only looks at “Novel” words, words that are rare and were not in the input text x.
We construct the list of common words based on their frequency in the training corpus. We sort words by frequency and take the most frequent words that contribute: 50% of the probability mass toward Wizard of Wikipedia utterances (amounting to 121 words) following Shuster et al. (2021). However, we found that using the same heuristic for MS-MARCO NLGen answers included numbers and rarer tokens that could potentially be in the answer span. So we instead use only 33% of the probability mass (amounting to 55 words). We also ran evaluation using 50% of the probability mass but found the trends to be consistent.
MS Marco NLGen list of common words (sorted by frequency) is, of, in, to, and, for, or, are, that, on, from, as, by, you, with, it, county, can, at, per, was, your, average, cost, be, between, which, used, one, united, states, there, years, located, name, not, new, have, takes, number, has, means, days, when, blood, system, year, should, no, most, first, hours, up, minutes, 1
Wizard of Wikipedia list of common words (sorted by frequency) is, of, in, to, and, for, or, are, that, on, from, as, by, you, with, it, county, can, at, per, was, your, average, cost, be, between, which, used, one, united, states, there, years, located, name, not, new, have, takes, number, has, means, days, when, blood, system, year, should, no, most, first, hours, up, minutes, 1 i, and, of, in, is, to, it, that, are, you, they, have, was, but, for, as, its, like, with, on, so, be, or, not, yes, do, can, from, there, by, well, also, one, my, know, has, some, he, their, love, most, people, think, really, all, about, just, too, them, im, which, sure, more, been, at, would, many, were, good, very, dont, when, thats, no, yeah, what, other, great, if, because, used, actually, first, since, lot, me, even, your, how, we, time, different, world, use, get, called, only, out, much, over, had, though, music, around, popular, his, am, made, than, such, back, up, us, make, usually, who, favorite, new, food, oh, long, she, now, did, pretty, any, where, years, this, way, go
B INTUITION BEHIND IMPROVEMENTS DUE TO ELBOLOSS
To understand the intuition behind suboptimality of MARGINALIZEDLOSS for open-ended generation tasks consider the following: We would want a good retriever to assign similar but high probabilities to all context-relevant passages because they are similarly relevant but a good generator to only assign high probabilities when using label-relevant passages because only label-relevant passages are pertinent to the target output. But the training signal to a model (partial derivative w.r.t the model and a passage) is modulated by the probability of the other model:
∂P (y|x) ∂Pη(zi|x) = Pθ(y|x, zi) ∂P (y|x) ∂Pθ(y|x, zi) = Pη(zi|x)
Since context-relevant passages have similar P (zi|x) the gradient encourages the generator to assign equal probabilities to the target output using all context-relevant passages. We see this issue play out empirically when using MARGINALIZEDLOSS for two different tasks: Open-Domain QA (Natural Questions by Kwiatkowski et al. (2019)) and informative dialogue (Wizard of Wikipedia by Dinan et al. (2019)) (Figure 4). We see that on the Natural Questions dataset, where there is typically one correct answer, the generator produces distribution with a sharp peak that can potentially serve as an accurate proxy for label-relevance and in turn train a good retriever. But on the Wizard of Wikipedia dataset, the generator produces a flatter distribution which is a bad proxy for label-relevance. This provides weaker supervision for the retriever which learns a flatter probability distribution as well and is less able to differentiate context-relevant from irrelevant passages.
We see in Figure 5 that for the Wizard of Wikipedia dataset with ELBOLOSS we obtain a sharp distribution for Q(z|x, y) (nearly as good as Pθ(y|x, z) on NQ from Figure 4) and that the Pη(z|x) and Pθ(y|x, z) are now sharper than MARGINALIZEDLOSS. While a sharper distribution does not imply a better retriever and generator (they may still assign high probability to the wrong passage), a flatter distribution limits their potential. As we will see in Section 4, ELBOLOSS indeed utilizes the potential and trains a better retriever and more a grounded generator.