Elamur Research

Making Retrieval-Augmented Language Models Robust to Irrelevant Context

Paper · 2023 · Ori Yoran, Tomer Wolfson, Ori Ram et al.

Summary

A search result can contain familiar names and still answer the wrong question. In one of the paper’s examples, Llama-2-13B correctly identifies Steve Burton as the actor playing Jason on General Hospital when it answers unaided. Given a passage about Jason Gerhardt, who played Cooper on the same show, it goes astray. The authors use retrieval-augmented generation to study this kind of failure in open-domain question answering. They ask whether a system can benefit from useful search results while retaining its ability to answer when the text it receives is irrelevant.

The study covers five benchmarks. Natural Questions asks for facts that a system can look up directly. Bamboogle and 2WikiMQA ask questions whose wording helps identify the steps needed to answer them. StrategyQA and Fermi also require several steps, but the system must work out more of the approach on its own. For these multi-hop tasks, retrieval accompanies the original question and the follow-up questions the system generates. An irrelevant passage can therefore change an intermediate answer or alter the next question the system decides to ask. In the prompted Llama-2-13B comparisons, top-1 Google Search results improve performance on the direct and explicit tasks, while scores fall on StrategyQA and Fermi. Passages retrieved for other questions in the same dataset cause substantial declines on all five benchmarks.

The authors first test a way to protect a system whose parameters they cannot update. It generates an answer with retrieval and another without it. A natural language inference classifier then checks whether the retrieved text supports the answer produced with retrieval, including the intermediate question–answer pairs when there are several steps. If the check fails, the system returns the unaided answer. This recovers much of the performance lost to irrelevant passages, although it also rejects cases where retrieval helped. Sometimes the classifier misses support that is present. Sometimes a passage contributes a useful clue and the system supplies the missing knowledge itself.

The second approach uses fine-tuning to teach Llama-2-13B how to respond to passages of varying quality. The authors build training inputs from highly ranked, low-ranked, and randomly assigned results. For multi-hop questions, a separate generator produces candidate decompositions. The authors check them against annotated intermediate answers where available and otherwise use agreement across several attempts that reach the correct final answer. Natural Questions uses 1,000 training examples. On the tasks where it was trained, the resulting system gains more from top Google results than the prompted systems and the system trained without passages. With randomly assigned passages, it scores similarly to the counterpart trained and tested without retrieval. Within those tasks, the same training procedure improves the use of good evidence and reduces the penalty for having bad evidence in the input.

Deep dive: Making Retrieval-Augmented Language Models Robust to Irrelevant Context

This study tests when retrieved passages derail question answering and how evidence checks and fine-tuning help systems handle irrelevant text. · about 37 minutes to read

The problem and its context

Why a useful search system can still make a weaker assistant

An open-domain question can ask about an obscure person, a fact that has changed, or information spread across several pages. A language model can draw on what was encoded in its parameters during training. The paper calls this source parametric memory. The authors describe its limits in terms of the range and freshness of the information a question-answering system needs. A system may be able to write a convincing answer even when the particular fact the question calls for is missing or hard to recover from its parameters. The paper places this problem in the tradition of open-domain question answering over Wikipedia and relates it to earlier work on how much knowledge can be stored in a system’s parameters.

Retrieval provides an additional source of information at the time of the question. A retriever searches a collection and ranks passages for a query. A generator receives the chosen text and uses it while composing a response. Earlier work described in the paper built retrieval into training, as in REALM and Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. The paper also draws on in-context retrieval augmentation, where a system can be given retrieved sentences before the question without being trained afresh to use them. The latter approach makes it convenient to add search to an existing generator. It also makes the effect of a passage experimentally accessible. One can hold the generator fixed and change which text, if any, accompanies the question.

The retriever’s task and the generator’s task differ. A passage can rank highly because it discusses the right television show, contains an overlapping name, or belongs to the right general subject. The answer may depend on a finer distinction, such as whether a name refers to an actor or to the character being portrayed. Once a passage has been placed in the prompt, the generator must make that distinction. A relevant passage can also answer only part of what the user asks. Its value then depends on what the generator can infer or recall in addition to what it reads. The paper’s objective concerns what happens after a retrieved passage is handed over.

The authors describe robustness through two comparisons with answering unaided. A relevant passage should improve performance. An irrelevant passage should leave performance intact. These requirements capture different behavior. A system that discards every passage can preserve its unaided score in the presence of noise and still miss every opportunity to learn from search. A system that uses a well-chosen passage effectively can still be distractible when the passage changes. Testing both conditions reveals whether the system is making useful distinctions among the inputs it receives.

Why follow-up questions change the failure

A single-hop question calls for an answer without a generated sequence of subquestions. The generator can make an error by lifting the wrong name from the retrieved passage or by producing an unrelated answer of its own. With multi-hop reasoning, the generator also chooses the intermediate questions. A passage can influence that choice before the system has formed a final answer. An incorrect intermediate answer may become part of the next query, while an incorrect intermediate question can prompt a search for information that was never required. A passage returned in response to that query may be a good match for the newly generated question even though it contributes little to the original task.

The distinction matters for how the study sets up retrieval. If the system receives a single bundle of documents at the start, one can study how that bundle changes an answer or a reasoning chain. When retrieval and reasoning are interleaved, earlier generated text changes the information available later. A wrong turn can therefore change both subsequent reasoning and the evidence the system sees. The paper follows the line of work represented by Self-Ask and IR-CoT, in which intermediate questions or steps can initiate further searches. Its robustness test applies to an answering process with repeated opportunities to make use of evidence or get distracted by it.

The benchmarks also vary in how much of the approach is apparent from the question. An explicit multi-hop question may specify relations that can be turned into separate lookups. With implicit questions, recognizing the facts that would settle the question is part of solving it. Different chains can be reasonable, particularly when commonsense is involved. Evidence may therefore be assessed at several points. It can help the system recognize a useful line of inquiry, answer an intermediate factual question, or combine the facts it has collected. A method that checks only the final string would leave these roles hard to distinguish.

What earlier work had addressed

The paper situates its study alongside findings that extra text can interfere with reading comprehension, factual predictions, and other generation tasks. It also notes arithmetic experiments in which showing examples with distracting material, or giving instructions tailored to the task, improved the handling of irrelevant information. That observation gives a reason to test prompting as a remedy. It does not determine which kinds of demonstrations will help when new passages arrive during a chain of questions.

Other work described in the paper tries to decide when retrieval should occur. Active Retrieval Augmented Generation is discussed as an approach that focuses retrieval on cases of low confidence. Work on parametric and non-parametric memory motivates retrieval for rare entities. Those decisions can reduce unnecessary searches. The present study examines a complementary decision that arises even after a search is justified. The system still has to judge what use it can make of the returned text.

The closest training comparison in the related work is a system with controllable working memory, intended to help a generator disregard irrelevant material. The authors report that this earlier work fine-tuned on over 200K training examples. Their own study focuses on using 1,000 questions or fewer and on generating the training material automatically. Repeated retrieval adds a further requirement. For multi-hop questions, the training material has to describe what the generator should do at intermediate points, including which follow-up to ask or how to answer it.

The authors also distinguish their focus from the problem of conflicting knowledge. Earlier work studied cases in which a retrieved claim and information encoded in the parameters disagree. Here, the central difficulty can arise with a passage whose claims are perfectly compatible with the correct answer. A true statement about the actor who played Cooper still provides poor evidence about who played Jason. That difference motivates the study’s tests with low-ranked results and passages found for other questions. The experiments vary the fit between the passage and the task without first having to construct an explicit contradiction.

The method, step by step

What the generator sees

The system begins with a question. For single-hop tasks, it retrieves a passage, places it before the question, and asks the generator to produce an answer. For multi-hop tasks, the generator works in the Self-Ask format. It can produce a follow-up question, obtain evidence for that question, and then answer it. The emerging decomposition, meaning the original question and the sequence of intermediate questions and answers used to solve it, becomes part of the input as generation continues. Retrieval runs for the original question and again whenever a new follow-up is available. When the generator has enough information, it produces the final answer.

An intermediate question has two roles in this setup. It records what the system thinks it needs to know, and it serves as a query to the retriever. An intermediate answer then supplies information to later steps. The generator can use previous questions, previous answers, and the context accumulated for those questions. The model thus receives evidence at particular points in the answering process. In the experiments, the authors can replace the text returned at those points while retaining the same overall procedure.

Interleaving retrieval and answering in Self-Ask

The steps in order.

Interleaving retrieval and answering in Self-AskStep 1: Receive the original question1. Receive the original questionStep 2: Retrieve context for the original question2. Retrieve context for the original questionStep 3: Generate a follow-up question when needed3. Generate a follow-up question when neededStep 4: Retrieve context for that follow-up4. Retrieve context for that follow-upStep 5: Generate the intermediate answer5. Generate the intermediate answerStep 6: Repeat with another follow-up if needed6. Repeat with another follow-up if neededStep 7: Generate the final answer7. Generate the final answer

The paper first formalizes ordinary autoregressive generation, in which the system predicts each token from preceding tokens.

p_LM = ∏ᵢ₌₁ⁿ p_θ(xᵢ | x₍₍ᵢ₎)

Here p_LM is the probability assigned to the full sequence by the ordinary language model, with LM identifying that system. The product sign ∏ multiplies the conditional probabilities, with i indexing the token position from 1 through n, the sequence length. The token at position i is xᵢ. The prefix x₍₍ᵢ₎ denotes the sequence of tokens at positions smaller than i. The vertical bar reads as “given,” and p_θ is the next-token probability distribution defined by the parameters θ. The equality identifies the sequence probability with the product of those next-token probabilities.

With retrieval, the same conditional prediction also has access to text returned for the prefix.

p_RALM = ∏ᵢ₌₁ⁿ p_θ(xᵢ | R_C(x₍₍ᵢ₎) ⧺ x₍₍ᵢ₎)

Here p_RALM is the full sequence probability for the retrieval-augmented language model, abbreviated RALM. The product ∏ again runs from the first token position, i = 1, to the last, i = n. The term p_θ gives the probability of the current token xᵢ under parameters θ, conditional on the input to the right of the vertical bar. The prefix x₍₍ᵢ₎ includes the tokens preceding position i. The operation R_C retrieves evidence from the corpus C, a collection available for search. The concatenation sign ⧺ places the retrieved text before the generated prefix. The equality gives the resulting joint probability over the token sequence. As in the paper, this notation leaves additional conditioning inputs implicit.

The product is a statement about how probabilities are assigned. In the question-answering implementation, retrieval is tied to questions, so a new token inside an intermediate answer does not by itself call for a new search. In the multi-hop case, the generated history can be understood as the portion of a decomposition already available at the current step. Its associated context includes retrieved material for the questions in that history. The distinction between the general probability expression and the retrieval schedule matters because errors have different consequences at different points in the schedule.

For producing decompositions in the main runs, the authors use greedy decoding. At each generation position the procedure selects the highest-probability next token. The paper describes the multi-hop tasks as requiring between 2-4 decomposition steps and imposes a limit of 5 generation steps. A run can reach the limit without a final answer. This outcome is recorded as a failure, which allows the experiments to capture cases where the system gets stuck and never offers a final prediction to score.

Use an evidence check without updating the generator

The first intervention is designed for black-box access. The generator can be asked to answer, while its parameters are unavailable for training. The authors produce a retrieval-assisted prediction and a prediction without retrieval. They then use a natural language inference classifier to choose between them.

Natural language inference takes a premise and a hypothesis. Entailment means that the hypothesis follows from the premise. A contradiction means that the two are incompatible. The neutral class covers cases in which the premise supplies insufficient information for either judgment. The paper draws on earlier work that applied inference classifiers to factual consistency and question-answer attribution. In its own test, the retrieved passages serve as the premise. The hypothesis is formed by putting the question together with the proposed answer, so it preserves what the answer is meant to assert. A name by itself would give the classifier much less to evaluate.

For the television example, the relevant distinction is whether a passage about Jason Gerhardt and Cooper supports an answer identifying Steve Burton as the actor who plays Jason. The overlap with both the name Jason and the show explains why the passage can look relevant to a search system. The entailment decision concerns the specific relationship asserted by the answer. Both the neutral and contradiction outcomes trigger the same fallback in the paper’s setup.

The 407-million-parameter classifier uses BART-Large trained for textual inference on the MNLI dataset. The component draws on BART and the MNLI inference corpus. A question–answer pair passes when the classifier assigns the entailment label a probability of at least 0.5. This threshold concerns the evidence classifier’s judgment. It is distinct from the probability that the generator assigns to its own answer.

For a multi-hop prediction, the classifier also checks the intermediate question–answer pairs. Each is tested against the retrieved evidence taken together, and the retrieval-assisted generation is accepted only if all required checks pass. Otherwise the system returns the result from the separate run without retrieval. The fallback is at the level of the generated answer or chain. An unsuccessful check can therefore cause the system to switch away from a generation containing several useful steps as well as the step that failed the check. The method’s protective effect and its cost both follow from that decision rule.

Build direct-answer training examples

The training intervention gives the generator practice responding to passages that vary in usefulness. For a direct question, the authors start with a benchmark question and its reference answer. They add a retrieved passage to the input and keep the same reference answer as the target. The chosen passage can be the highest-ranked result for the question, a low-ranked result for it, or a passage retrieved for a different question in the same dataset. The key difference among those cases is what the target answer demands from the supplied context. On some examples the text can provide the answer. On others the system must recover it in spite of what it has been given.

D = {([r_q ⧺ q], a)}

Here D is the dataset made up of the input–target pairs inside the braces. The symbol q is a benchmark question and a is its reference answer. The passage chosen for that question is r_q, with the subscript identifying the question to which it has been assigned. The concatenation sign ⧺ places the passage before the question, and the brackets enclose the resulting input. The parentheses pair that input with the target a. The equality defines the dataset assembled by repeating this construction across the selected questions.

The authors also filter direct questions using a separate generator. They exclude questions for which code-davinci-002 fails to give the reference answer unaided. This is a check on whether a strong generator can answer the underlying question. It gives the training procedure a way to remove some unsuitable examples before assigning contexts. The authors point out that the check leaves open whether the answer is in the selected passage or accessible to the Llama system being trained. In particular, success by the generator used to prepare the data establishes answerability for that generator under the test prompt.

Build and check the multi-hop targets

For a multi-hop question, a reference final answer leaves the intermediate work unspecified. A training example for the next follow-up needs an appropriate question as its target. A training example for the next answer needs the corresponding intermediate answer. A plausible-looking chain can also reach the right final label for a poor reason, especially on a binary or comparison question. The data procedure therefore separates writing the steps from deciding which chains are adequate to train on.

The writer of the candidate decompositions is GPT-3 code-davinci-002, with 175B parameters. It is prompted in the Self-Ask format without retrieval. This separates candidate generation from the later assignment of passage quality. For 2WikiMQA, which supplies intermediate answers, the authors keep chains that contain those answers. The benchmark annotations therefore constrain the content of the chain as well as its final prediction.

StrategyQA supplies the final answer for this process, so the authors use self-consistency to screen candidates. In the paper’s procedure, they sample 5 decompositions for a question. One is obtained with greedy decoding and four use temperature 0.7. Temperature adjusts how much the sampling procedure favors the more probable continuations, allowing the sampled runs to explore different wording or approaches. The greedy decomposition is retained only if all the attempts end at the same correct answer. The repeated agreement is evidence that the final result is reproducible across attempts. The greedy chain supplies the training steps.

The authors manually inspect 50 generated decompositions per dataset to check the quality of this process. They report correctness rates of roughly 90% on StrategyQA and over 95% on 2WikiMQA. These are judgments on the inspected decompositions. The benefit of the two screening procedures is that they can be applied at scale with the annotations each benchmark offers. The manual inspection provides a separate check of how well the retained chains serve their intended role.

A retained chain is split into step-level examples. To predict a follow-up, the generator receives the preceding history and the contexts already assigned. To predict an intermediate answer, it can also receive the passage corresponding to the newly available question. The final-answer target is learned from the history that precedes it. The split lets the system practice each kind of decision under retrieved text of varying quality.

D = {([r_x ⧺ x], y)}

Here D is the dataset of step-level input–target pairs. The symbol x represents the portion of the question and decomposition available before the current target. The symbol r_x denotes the contexts for the questions or steps already in x, with the subscript relating those contexts to that history. The concatenation sign ⧺ adds those contexts before the history, and the brackets delimit the complete input. The target y is the appropriate next output, which can be a follow-up question, an intermediate answer, or the final answer. The parentheses pair input and target, the braces collect the resulting examples, and the equality defines the constructed training dataset.

Vary the evidence and train the generator

At every step in SA-RetRobust, the authors are equally likely to select top-1 evidence, low-ranked evidence, or evidence at random. In a multi-hop training chain, the quality of the context can consequently change as the chain progresses. The target is taken from the retained decomposition in every case. A highly ranked passage can make it easier to produce the target, while an unrelated one creates practice in continuing the chain without being pulled towards the passage’s subject. The training examples supervise the next output directly. The decision about how much to use the context is learned through that output objective.

The paper uses standard maximum likelihood. In this setting, training increases the probability of the reference output given the constructed input. For a direct question, the target is the answer. For a multi-hop task, it is whichever step the example asks the generator to produce. The authors use QLoRA, a parameter-efficient fine-tuning method, with the base Llama-2 variant described in the paper. They train for 5 epochs, meaning 5 passes over the training examples, with a learning rate of 2e-4 and a linear schedule on a single GPU. Each training run took at most 3.5 hours in their setup. The paper makes the code, data, prompts, and trained models available under the name ret-robust.

The comparison systems change what evidence accompanies the answer or decomposition targets. SA-NoRet is trained without retrieved text. SA-Ret@1 is trained with the top-ranked result alone. SA-RetRobust uses the mixture. These variants let the experiments distinguish extra task supervision from practice with retrieved passages, and practice with retrieved passages from practice with different qualities of retrieval. The multi-hop counts also distinguish questions from examples. In that setting, several learning targets can come from the same question, so the amount of supervision is described more precisely by giving both counts.

Experiments and results

Tasks, metrics, and retrieval conditions

Natural Questions is the single-hop benchmark, abbreviated NQ. 2WikiMQA and Bamboogle represent explicit multi-hop reasoning. StrategyQA and Fermi represent implicit multi-hop reasoning. The implicit classification describes the work required to formulate a useful approach. StrategyQA can admit different reasoning chains that reach the same answer. Fermi poses estimation questions, and the transfer experiment requires the system to produce an equation before giving its final answer. These differences make the tasks informative about where retrieval might affect answering, while also making it important to preserve the distinct scoring rules.

The authors use exact match, abbreviated EM, for NQ and StrategyQA. This metric assesses whether the prediction matches the reference answer. They report F1 for 2WikiMQA and Bamboogle. F1 can give credit for partial overlap with the reference by combining precision and recall. Fermi uses the benchmark’s official order-of-magnitude evaluation, which concerns the scale of an estimate. The appendix states that all 286 Real Fermi Problems are used and that the system receives the unit of measurement from the reference, such as meters or litres. The general development-set protocol is to draw 500 examples at random. For the smaller transfer evaluations, the paper gives the available support as 120 cases for Bamboogle and 286 for Fermi.

Failure to produce a final answer also has a defined score. The study awards 0.5 in StrategyQA and 0 on the other datasets when generation reaches its limit without an answer. A change in the rate of unfinished outputs can therefore affect the overall score, and the same unfinished behavior is treated differently across datasets. The reported results are best read by keeping the task and its metric attached to every comparison. An average of score-point changes across tasks summarizes their direction and size under those metrics, while the underlying units still differ.

For information retrieval and search, the authors use Google Search and ColBERTV2. Their Google queries include the English Wikipedia domain with the question. For ColBERTV2, they search the 2018 Wikipedia collection associated with Dense Passage Retrieval. The highest-ranked result defines top-1 retrieval. In Google Search, the low-ranked condition uses the last result returned by the search interface, at rank 9.3 on average. The random condition substitutes the top result for a different original or intermediate question from the same dataset. For ColBERTV2 the experiments use top-1 results.

These conditions vary the relationship between a search result and the active question. The low-ranked condition still starts with the actual query, so some passages can be useful or plausibly related. A randomly assigned result has been retrieved successfully for another query. It is a coherent search result presented to the wrong question, with accidental relevance still possible. Without retrieval, neither sort of passage is present. This gives the robust training comparison a useful reference for testing whether having irrelevant text in the input leaves the system close to its unaided performance.

The prompted and trained comparisons

The few-shot learning baselines demonstrate Self-Ask in the prompt using 4-6 examples. The demonstrations supply the expected form of a response, including decompositions for questions that require them. The paper uses six exemplars each for NQ, 2WikiMQA, and StrategyQA, while Fermi gets five and Bamboogle gets four. These examples are supplied as text during inference. The pretrained weights stay fixed, following the approach associated with few-shot language modeling.

SA-NR demonstrates the task without retrieved passages. It is used both for unaided answering and in a separate setup that supplies retrieval for the live question. SA-R@1 demonstrates answering with top-ranked Google results. SA-R@10 uses the lowest-ranked Google results, commonly at rank 10. SA-RMix alternates demonstrations with top-ranked and low-ranked contexts. The retrieved text in a demonstration and the text accompanying the test question are separate experimental choices. This design lets the authors ask whether seeing passages in examples actually prepares the generator to handle the passages it encounters on new questions.

The evidence-checking variants add the same inference procedure to the retrieval-enabled prompts and fall back to the unaided SA-NR answer when the check fails. The trained comparisons use Llama-2 in its 13B version, as do the main prompted comparisons. The paper also includes prompted Llama-2-70B on NQ. For fine-tuning, the authors use 1000 NQ examples, 500 questions yielding 1,539 step-level examples on 2WikiMQA, and 414 questions yielding 1,584 on StrategyQA. They reserve Bamboogle and Fermi for evaluation, since each contains less than 300 examples. The appendix reports the trained results averaged over three seeds.

When search helps and when it hurts

The main Google Search comparison uses the mixed-evidence prompt, SA-RMix, for the in-context system. With a top-1 result it improves over the unaided prompted reference on NQ, 2WikiMQA, and Bamboogle. Its scores decline on StrategyQA and Fermi. This is evidence that returning a highly ranked passage is insufficient on some tasks, even under a search setup restricted to Wikipedia. On the implicit tasks, the system also has to discover what to ask along the way, so improving the evidence for the original question can be only part of the job.

Random passages are a stronger stress test. Under random retrieval, the prompted in-context system loses more than 10 points on average against the unaided comparison. The paper reports a decline across all five datasets. The inference-based fallback mitigates the decline. In the top-1 Google comparison it prevents the losses observed on the implicit tasks, at a cost to some of the gains on tasks that benefit from retrieval. Similar prompted patterns appear with ColBERTV2, with lower overall performance than in the Google Search experiments.

SA-RetRobust achieves the highest scores among the main systems shown for the tasks with in-domain training. Against SA-NoRet, the paper reports average advantages of 2.7 points with top-1 Google results, 2.4 with low-ranked results, and 2.4 with random results in the comparison among trained variants at those inference settings. Against the variant trained with top-1 passages, the corresponding reported average advantages are 0.2, 0.4, and 3.2 points. The averages span the trained benchmarks and their respective metrics. Under top-1 ColBERTV2 retrieval, the corresponding advantages are 2.7 points over SA-NoRet and 0.3 points over the top-1 training variant.

The paper separately compares noisy retrieval to SA-NoRet evaluated without passages. This is the comparison to make when asking how much irrelevant text costs relative to a system that can answer unaided. With random Google passages, SA-RetRobust is within one standard deviation of that reference. With low-ranked passages, its NQ exact-match result is higher by 3.8 points and its 2WikiMQA F1 result is higher by 2.8 points. On StrategyQA exact match, it is slightly lower, with the difference within 1.2 points. The distinct baselines answer distinct questions. Comparisons under the same inference inputs show which training procedure copes best with those inputs. The unaided reference shows how close the robust system remains to answering with no passage present.

A larger prompted system on Natural Questions

The NQ comparison with Llama-2-70B tests whether the smaller trained system’s advantage might be matched by increasing the size of the prompted generator. Without retrieval, the prompted larger system scores 38.4 exact match, while the trained Llama-2-13B reference reported for that condition scores 34.1. The ranking changes under top-1 Google retrieval. The paper reports 45.7 exact match for SA-RetRobust and 42.4 for the strongest prompted Llama-2-70B result in that condition. The larger system’s unaided advantage shows why this comparison is informative. It can answer more questions on its own in the test, yet it gains less from the retrieval setup than the smaller system trained with varied passage quality.

Natural Questions exact match with top-1 Google Search passages

Mixed-context fine-tuning gives the smaller system a higher exact-match score than the best larger prompted variant.

Natural Questions exact match with top-1 Google Search passagesBest prompted Llama-2-70B: 42.4Best prompted Llama-2-70B42.4SA-RetRobust with Llama-2-13B (this paper): 45.7SA-RetRobust with Llama-2-13B (thispaper)45.7
The numbers
System or settingexact match
Best prompted Llama-2-70B42.4
SA-RetRobust with Llama-2-13B (this paper)45.7

This experiment compares the specific prompted and trained systems the authors ran. Its result isolates a practical limitation of relying on a larger prompted generator as a substitute for training on retrieved inputs. It also matters that the metric here is NQ exact match. The comparison gives no corresponding large-system result for the implicit multi-hop tasks, where formulating a sequence of queries introduces additional ways to fail.

Transfer to unseen benchmarks

In the out-of-distribution experiment, Bamboogle and Fermi serve as the evaluation datasets after the authors train on a mix of StrategyQA and 2WikiMQA. They provide one demonstration at inference time because the target task can require a different output form. For instance, Fermi calls for an equation during the process of answering. This experiment tests transfer with help in expressing the expected response, while the learning examples still come from different benchmarks.

SA-RetRobust is either the best trained variant or within one standard deviation of the best across the reported settings. The appendix also records cases in which training or retrieval reduces the score relative to an unaided reference. Without retrieval on Bamboogle, the prompted system scores 47.4 F1, compared with 40.8 F1 for the system trained without retrieval on the mixed source data. On Fermi, the system trained and evaluated without retrieval scores 29.3 on the order-of-magnitude measure. SA-RetRobust scores 27.9 with low-ranked passages and 27.6 with random passages on the same measure. The authors report more variability in this transfer experiment and point to the smaller evaluation sets as a possible reason. These results make the scope of the strong in-domain comparisons especially important.

What the ablations show

The value of training with deliberately poor passages

The comparison of SA-RetRobust with SA-Ret@1 asks what is learned from examples in which retrieved text is of mixed quality. Both systems practice generating the expected answer or decomposition with passages in their inputs. The top-only version sees the highest-ranked choice during training. The mixture additionally exposes the system to a low-ranked result for the same question and a result drawn from a different question. Changing that distribution makes the largest reported average difference under random Google retrieval, while the average top-1 advantage is small. The pattern is consistent with the intervention helping most when the input has the kind of distraction that training deliberately introduced.

The comparison with SA-NoRet addresses a different explanation. Fine-tuning can help simply because the system practices answering the task and, where appropriate, producing the expected reasoning format. The no-retrieval variant receives task training, so it provides a control for that benefit. When low-ranked passages support higher scores on NQ and 2WikiMQA for SA-RetRobust, they appear to retain usable information in some cases. When random passages bring the robust variant close to SA-NoRet evaluated unaided, it suggests that the trained generator can preserve useful answering behavior even with unrelated text in the prompt. The results on StrategyQA and on transferred Fermi tasks show that this behavior depends on the setting.

The random-passage result also clarifies the interpretation of the strong-retrieval scores. Gains with top-1 results alone could come from an increased tendency to use whatever text is supplied. That explanation would make it hard to account for maintaining performance near an unaided system under random retrieval. Conversely, performance under random retrieval alone would leave open whether the system learned to ignore passages indiscriminately. The two conditions together support the paper’s conclusion that the training procedure improves selective use, as measured by answer scores. The experiments judge that selectivity through behavior across conditions.

Demonstrating retrieval can encourage overuse

A striking prompted comparison concerns SA-NR when retrieval is still performed for the test question. The prompt shows the answering format without passages, but the live input includes retrieved text. In the paper’s experiments this prompt consistently beats the prompts with retrieved passages in their demonstrations when testing with top-1 ColBERTV2 or random Google results. Across datasets, SA-R@1 scores over two points lower on average than SA-NR even when the live input receives the highest-ranked Google evidence. The paper reports a similar trend for the larger prompted system on NQ.

Demonstrations convey both a response format and a pattern of behavior toward the input. A demonstration with a strong result frequently makes the answer appear recoverable from the passage. That example can be a poor guide when the live result is tangential. The authors interpret their comparison as evidence that showing retrieval in context can encourage excessive use of irrelevant passages. The result is specific to the demonstration designs they test. Its value is in separating the influence of the examples from the quality of the live retrieval, two choices that can otherwise be conflated in a single comparison.

The comparison also helps explain why mixing evidence during fine-tuning differs from alternating passages in a prompt. The mixture prompt contains examples with top-ranked and low-ranked contexts. The trained variant repeatedly learns to produce known outputs while receiving all the paper’s kinds of context, including randomly assigned passages. The performance difference concerns these complete interventions. The prompt experiment on its own leaves open which properties of individual examples make the system more likely to favor the passage over its unaided answer.

Where a weak passage changes the answer

The authors manually inspect cases where the automatic evaluation shows a correct answer without retrieval and a failure with retrieval. They select such cases from NQ, 2WikiMQA, and StrategyQA for the SA-RMix prompt, under both low-ranked and random retrieval. They annotate 40 examples in each setting, for 240 overall. They count a clear retrieval-induced error when the answer with retrieval is genuinely wrong and the unaided answer is sound. A plausible paraphrase or a reasonable answer to an ambiguous question can explain a mismatch with the automatic metric. They also identify cases where both runs are flawed, such as a bad decomposition that happens to produce the expected binary or comparison answer without retrieval.

True retrieval-induced errors make up 73% of the selected cases, with rates from 65%-85% across settings. The authors report a binomial test with a p-value below 0.01 against the hypothesis that the majority of apparent errors in these comparisons are spurious. The denominator is important. This study estimates how often a particular kind of automatic score reversal corresponds to a genuine loss in the inspected cases. The percentage does not describe how frequently retrieval harms an arbitrary question from a whole benchmark.

On NQ, when low-ranked passages lead to a wrong answer, the wrong entity appears in the passage in 77% of the analyzed cases. With random contexts, the entity appears in 37%. Topical overlap offers one interpretation of the difference. A low-ranked result for the real query may contain a plausible competing name. A passage returned for another query can still affect generation even when the incorrect answer is absent from the text. The paper includes an NQ example of this latter behavior. A check that simply looks for a wrong answer copied from the passage would capture many errors in the low-ranked condition and miss a substantial part of the wider effect.

Where a weak passage changes the plan

For the multi-hop tasks, the authors ask whether the error is primarily in a follow-up question or in its answer. With low-ranked evidence on explicit 2WikiMQA, 68% of the analyzed errors occur in intermediate answers. With the same type of evidence on implicit StrategyQA, 77% of the errors occur in intermediate questions. Under random retrieval on 2WikiMQA, 60% of the errors are in the questions. The paper offers a StrategyQA example in which random evidence changes the strategy the generator attempts.

These contrasts fit the distinction between determining an approach and carrying it out. When a task’s wording suggests a useful sequence, a passage can steer the generator toward an incorrect factual answer while leaving the sequence recognizable. If the task demands a less obvious strategy, the passage can influence which topic the generator chooses to investigate next. The change in 2WikiMQA under random retrieval also shows that the location of the error can shift with the kind of noise on the same benchmark. The annotations describe errors visible in the generated chains, giving a more direct view of the failure than the final score alone.

In the decomposition analysis, weak passages can also lead a run to use up its step budget. For 2WikiMQA the failure rate, meaning the share of runs that do not produce a final answer within 5 steps, is 0.4% under top-1 Google results and 37.0% under random contexts. For StrategyQA, the corresponding rates are 1.2% and 34.4%. The authors say these unfinished cases usually involve the generator getting caught in a loop. Counting them separately identifies a type of damage that would otherwise appear only as a low final-answer score.

2WikiMQA decomposition failure rate by retrieval condition

The prompted decomposition reaches the step limit without an answer much more often when given random passages.

2WikiMQA decomposition failure rate by retrieval conditionTop-1 Google Search passages (this paper): 0.4Top-1 Google Search passages (thispaper)0.4Random passages: 37.0Random passages37.0
The numbers
System or settingfailure %
Top-1 Google Search passages (this paper)0.4
Random passages37.0

Why the entailment gate gives up useful answers

The authors also examine the probability assigned to entailment by the inference classifier. They group it into low, medium, and high ranges. The low range is below 1/3, the medium range spans 1/3 through 2/3, and the high range is above 2/3. These ranges are for analysis. The actual fallback rule still uses the 0.5 threshold. On NQ and 2WikiMQA, retrieval helps in many cases where the classifier assigns low entailment probability. On StrategyQA most cases have low entailment scores, with a retrieval benefit in the smaller group at medium entailment. This helps explain why a single threshold offers protection while giving up some potential gains.

The authors then inspect 25 cases per dataset in which entailment is judged low and the retrieval-assisted SA-RMix system nonetheless answers correctly. About half of those cases show the classifier missing genuine support. Among the remaining cases, at least a third have a correct answer or chain that the retrieved text does not directly entail. The paper suggests that the generator can combine retrieved material with knowledge in its parameters. The first kind of case concerns an inference classifier’s accuracy. The second concerns what direct entailment can measure, even given an accurate classifier.

This distinction is especially important when acceptance requires every intermediate check to pass. A passage can help formulate or answer one follow-up while a different step depends on knowledge the model already has. If the complete retrieved context fails to establish that latter step, the whole retrieval-assisted generation can be rejected under the paper’s rule. An attribution test interested in support for each step may value that strictness. For a test aimed at improving answer scores, the same decision can discard a useful contribution. The authors point to the change in the probability of a generation as a possible way to study such contributions in future work.

Limitations

Limits the authors state

The strongest training results concern in-domain answering. The authors frame a generally robust retrieval-assisted system as a subject for further work. The transfer experiment gives a qualified result under a mixture of source tasks and an inference demonstration for each target format. On the smaller held-out benchmarks, the paper reports larger variability and some declines relative to answering without retrieval. The authors identify both imperfect generalization and the possible influence of the demonstration as explanations for unexpected transfer results. The experiment leaves those explanations unresolved.

The training data are filtered automatically, with safeguards that differ by benchmark. The authors explicitly say they cannot guarantee that the gold answer will appear in the retrieved text or be available in the parameters of the generator being trained. The direct-question filter uses a different, strong generator to check answerability. For multi-hop questions, they acknowledge that a correct final answer can be produced by an incorrect chain. Checking annotated intermediate answers or requiring agreement across attempts reduces the risk. Their manual inspections give evidence about the quality achieved under those procedures, with lower observed correctness on the implicit dataset than on the explicit one.

The authors also identify the strictness of entailment filtering. The gate can protect performance where retrieval is distracting, but it gives up some of the gains where the text is useful. The case analysis points to one limit of the classifier and another of the criterion. Classifier errors can make supported answers look unsupported. Direct entailment can also be absent when a passage contributes information that helps a generator reach the correct answer. The measured tradeoff therefore depends on the inference component and on how the system defines adequate use of evidence.

Limits visible in the experimental design

The experiments operationalize noise through passage rank and cross-question assignment. Rank is a useful way to vary typical evidence quality, and its meaning remains tied to the search system. A top-ranked result can be irrelevant. A low-ranked result can contain helpful information. An unrelated query can occasionally return a passage relevant to the active one. Accordingly, the score comparisons establish behavior under the specified retrieval conditions. They give less direct evidence about success under a passage-by-passage, independently labeled definition of relevance. The manual studies add detail for selected reversals instead of providing those labels across the evaluation sets.

The random passages also have a particular character. Each was retrieved for another question from the same benchmark, so it is ordinary search text with the wrong assignment. A misleading passage crafted to be highly relevant to the query while asserting a false answer would test a different problem. Likewise, a setting with several competing documents and deliberately varied ordering could raise issues beyond the paper’s practice of selecting a passage for each search. The in-domain conclusions are most directly supported for the Wikipedia-based retrievers, the available task formats, and the kinds of noise the authors actually introduce.

Average benchmark performance leaves the behavior of individual questions open. A trained system could recover some answers with random passages and lose others while staying near the unaided score. Being within one standard deviation of the no-retrieval result summarizes proximity at the aggregate level. It leaves question-by-question agreement and statistical equivalence unestablished. Likewise, an advantage averaged across the tasks does not specify whether a particular user’s question will benefit. The study’s hand inspection supplies examples and conditional rates for some kinds of reversal, but the raw benchmark averages concern a broader population scored in a different way.

Final-answer accuracy also has a limited relationship to the quality of the chain. StrategyQA’s treatment of unfinished runs and the partial credit available under F1 are appropriate to their respective evaluation protocols. They contribute to what a score change means. The annotation study demonstrates that correct-looking outputs can arise from flawed decompositions and that automatic mismatches can include valid answers. In particular, agreement on a binary final answer provides weaker supervision for the correctness of individual steps than reference intermediate answers do. The decomposition inspections reduce that uncertainty for the examples examined, while the training procedure still treats the retained chains as targets.

The black-box intervention also requires two generations and inference checks, potentially for several pairs within a single chain. Its demonstrated gain is in robustness measured by task scores. Relative serving cost and latency are separate quantities. The fine-tuning experiment reports training time for the authors’ setup, giving a sense of the effort required there. Broad claims about serving costs, different hardware, or a wider family of generators would require additional measurements. In particular, the size comparison on NQ studies a larger prompted version against the smaller trained system. It leaves open how the larger version would behave with the same training recipe.

Taken together, the design supports a bounded claim about the questions, generators, and retrieval conditions the paper studies. Training on mixed evidence gives the generator practice making the right output under a useful passage and under a distracting one. That evidence concerns observed answering behavior. The study does not identify the internal computation that decides how much weight to give a passage, and it does not establish that each correct answer can be attributed to a particular source of knowledge. The difference between answer quality and attribution is visible even in the paper’s own comparison of retriever gains and entailment judgments.

What came after

Checking evidence and changing what the system retrieves

Self-RAG places retrieval, generation, and critique within a self-reflection framework. That framing carries forward a question raised by the inference fallback in this paper. Once the system can generate an answer conditioned on search results, where should it assess the usefulness of what it retrieved and the adequacy of what it generated? The 2023 robustness study demonstrates a separate classifier and a fallback decision after generation. Self-RAG’s stated focus connects those decisions to the design of the generation process itself.

Corrective Retrieval Augmented Generation takes up correction as part of retrieval augmentation. This is a closely related response to imperfect results. In the original paper, a retrieved input judged inadequate can cause the system to return its unaided answer. The corrective framing asks what can be done about weak retrieval on the retrieval-assisted path. It extends the design question from whether to use a generation produced with the current context to how a retrieval-assisted system might respond to a problem with that context.

REAR makes relevance explicit in a framework for open-domain question answering. The connection is especially close because the task is shared. In the robustness paper, relevance is varied through different ways of selecting evidence and studied through answers, intermediate steps, and entailment. A relevance-aware framework makes the relationship between the question and its retrieved material part of the system’s stated design. This emphasizes the same requirement that motivates the benchmark comparisons, namely that evidence from the search stage deserves different treatment depending on what it contributes to the question.

Chain-of-Note also addresses robustness inside retrieval-augmented generation. Its focus on a chain of notes draws attention to the text that mediates between retrieved passages and the final answer. The earlier study gives a reason to examine that intervening text. When the question–answer chain is visible, one can see whether the system moved towards an irrelevant line of inquiry, answered a useful follow-up incorrectly, or became stuck before reaching a conclusion. The connection is through the role of intermediate processing in the handling of evidence.

Learning under noise and studying what causes distraction

Adaptive Adversarial Training for noise robustness carries the training question forward. The robustness paper chooses among high-ranked, low-ranked, and cross-question passages during training, using the resulting examples to teach the desired output. Adaptive adversarial training, as described by the later work’s title, places the choice of challenging examples at the center of a training approach. The shared problem is how to prepare a generator for evidence it should handle selectively. A comparison of the two approaches would turn on how training noise is chosen and which evaluation conditions show a benefit.

The Distracting Effect makes irrelevant passages themselves the study object. It continues the question raised by the original paper’s manual analysis. A distractor can offer a competing answer, change which fact the system thinks it needs, or make the answer worse without supplying the erroneous entity. Studying that behavior as a subject in its own right complements experiments that score an intervention across a benchmark. The motivating phenomenon is the same even when the immediate research goal is to understand the passage’s effect.

Pandora’s Box or Aladdin’s Lamp likewise examines the role of noise in retrieval augmentation. The original paper’s use of both low-ranked and random passages already gives a concrete reason to ask about the type of noise. A search result for the right query can be partially informative and contain a plausible wrong answer. A search result for a different query can interfere in another way. The later analysis shares an interest in treating noise as a feature of the input to be investigated in its own right.

Astute RAG brings imperfect retrieval together with knowledge conflicts. These problems can meet in a single question. A system must decide whether the passage addresses the requested fact and what to do if it provides a different answer from the one the generator would otherwise give. The original paper treats conflicts as neighboring work and concentrates on irrelevant material. The later work’s stated scope connects those questions, including cases where relevant evidence presents competing claims.

Retrieval during reasoning

RQ-RAG focuses on learning to refine queries for retrieval-augmented generation. This addresses the query side of the loop that the robustness paper interleaves with Self-Ask. If a generated follow-up reflects a poor strategy, a search system can return a good match that still leads away from the original task. Query refinement and resistance to distractors address different points at which the quality of the process can deteriorate. The original paper makes the connection visible by examining errors in the questions as well as the answers.

Search-o1 connects agentic search with reasoning. Where a system can continue searching as it works, the reliability of a single passage is part of a changing sequence of decisions about what information to seek. The cascading errors observed in the robustness paper explain why later search steps deserve as much attention as the results of the initial query. DualRAG also focuses on integrating reasoning and retrieval for multi-hop question answering, the task setting in which this paper studies how a mistaken follow-up can redirect subsequent searches.

The later lines of work extend the original question in different directions. Some examine which information a retrieved passage actually supplies. Others change how a system searches, assesses evidence, or learns from poor retrieval. The original paper supplies a concrete test that remains relevant to all of them. Compare answering with useful evidence, answering with distracting evidence, and answering unaided. For a multi-hop task, inspect the intermediate chain as well as the final score. That combination makes it possible to see where retrieval contributes to a correct answer and where it changes the course of answering for the worse.

 Institutions

 Fields, topics and concepts

Cite

Cite as Ori Yoran, Tomer Wolfson, Ori Ram and Jonathan Berant. 2023. Making Retrieval-Augmented Language Models Robust to Irrelevant Context. arXiv:2310.01558.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2310.01558 · arXiv 2310.01558

@misc{yoran2023making,
  title = {{Making Retrieval-Augmented Language Models Robust to Irrelevant Context}},
  author = {Ori Yoran, Tomer Wolfson, Ori Ram and Jonathan Berant},
  year = {2023},
  doi = {10.48550/arxiv.2310.01558},
  eprint = {2310.01558},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2310.01558}
}

References

52 references, from the paper's own bibliography.

  1. Bernd Bohnet, Vinh Q. Tran, Pat Verga, Roee Aharoni, Daniel Andor, Livio Baldini Soares, Massimiliano Ciaramita, Jacob Eisenstein, Kuzman Ganchev, Jonathan Herzig, Kai Hui, Tom Kwiatkowski, Ji Ma, Jianmo Ni, Lierni Sestorain Saralegui, Tal Schuster, William W. Cohen, Michael Collins, Dipanjan Das, Donald Metzler, Slav Petrov, and Kellie Webster. Attributed question answering: Evaluation and modeling for attributed large language models, 2023. our card
  2. Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 632–642, Lisbon, Portugal, September 2015. Association for Computational Linguistics. . URL https://aclanthology.org/D15-1075. our card
  3. Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html. our card
  4. Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. Reading Wikipedia to answer open-domain questions. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1870–1879, Vancouver, Canada, July 2017. Association for Computational Linguistics. . URL https://aclanthology.org/P17-1171. our card
  5. Hung-Ting Chen, Michael Zhang, and Eunsol Choi. Rich knowledge sources bring complex knowledge conflicts: Recalibrating models to reflect conflicting evidence. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 2292–2307, Abu Dhabi, United Arab Emirates, 2022. Association for Computational Linguistics. URL https://aclanthology.org/2022.emnlp-main.146. our card
  6. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code, 2021. our card
  7. Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. Palm: Scaling language modeling with pathways, 2022. our card
  8. Roi Cohen, Eden Biran, Ori Yoran, Amir Globerson, and Mor Geva. Evaluating the ripple effects of knowledge editing in language models, 2023. OpenAlex ↗ · Scholar ↗
  9. Antonia Creswell, Murray Shanahan, and Irina Higgins. Selection-inference: Exploiting large language models for interpretable logical reasoning. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=3Pf3Wg6o-A4. our card
  10. Ido Dagan, Oren Glickman, and Bernardo Magnini. The pascal recognising textual entailment challenge. In Joaquin Quiñonero-Candela, Ido Dagan, Bernardo Magnini, and Florence d'Alché Buc (eds.), Machine Learning Challenges. Evaluating Predictive Uncertainty, Visual Object Classification, and Recognising Tectual Entailment, pp. 177–190, Berlin, Heidelberg, 2006. Springer Berlin Heidelberg. ISBN 978-3-540-33428-6. OpenAlex ↗ · Scholar ↗
  11. Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. QLoRA: Efficient finetuning of quantized LLMs. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=OUIFPHEgJU. our card
  12. Bhuwan Dhingra, Jeremy R. Cole, Julian Martin Eisenschlos, Daniel Gillick, Jacob Eisenstein, and William W. Cohen. Time-aware language models as temporal knowledge bases. Transactions of the Association for Computational Linguistics, 10:0 257–273, 2022. . URL https://aclanthology.org/2022.tacl-1.15. our card
  13. Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle use a laptop? a question answering benchmark with implicit reasoning strategies. Transactions of the Association for Computational Linguistics, 9:0 346–361, 2021. . URL https://aclanthology.org/2021.tacl-1.21. our card
  14. Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat, and Ming-Wei Chang. Realm: Retrieval-augmented language model pre-training. In Proceedings of the 37th International Conference on Machine Learning, ICML'20. JMLR.org, 2020. our card
  15. Or Honovich, Roee Aharoni, Jonathan Herzig, Hagai Taitelbaum, Doron Kukliansy, Vered Cohen, Thomas Scialom, Idan Szpektor, Avinatan Hassidim, and Yossi Matias. TRUE: Re-evaluating factual consistency evaluation. In Proceedings of the Second DialDoc Workshop on Document-grounded Dialogue and Conversational Question Answering, pp. 161–175, Dublin, Ireland, 2022. Association for Computational Linguistics. . URL https://aclanthology.org/2022.dialdoc-1.19. our card
  16. Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane Dwivedi-Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. Atlas: Few-shot learning with retrieval augmented language models. Journal of Machine Learning Research, 240 (251):0 1–43, 2023. URL http://jmlr.org/papers/v24/23-0037.html. our card
  17. Robin Jia and Percy Liang. Adversarial examples for evaluating reading comprehension systems. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2021–2031, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. . URL https://aclanthology.org/D17-1215. OpenAlex ↗ · Scholar ↗
  18. Zhengbao Jiang, Frank Xu, Luyu Gao, Zhiqing Sun, Qian Liu, Jane Dwivedi-Yu, Yiming Yang, Jamie Callan, and Graham Neubig. Active retrieval augmented generation. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 7969–7992, Singapore, December 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.emnlp-main.495. our card
  19. Erik Jones and Jacob Steinhardt. Capturing failures of large language models via human cognitive biases. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=fcO9Cgn-X-R. OpenAlex ↗ · Scholar ↗
  20. Ashwin Kalyan, Abhinav Kumar, Arjun Chandrasekaran, Ashish Sabharwal, and Peter Clark. How much coffee was consumed during EMNLP 2019? fermi problems: A new reasoning challenge for AI. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 7318–7328, Online and Punta Cana, Dominican Republic, 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.emnlp-main.582. OpenAlex ↗ · Scholar ↗
  21. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 6769–6781, Online, 2020. Association for Computational Linguistics. . URL https://aclanthology.org/2020.emnlp-main.550. our card
  22. Nora Kassner and Hinrich Schütze. Negated and misprimed probes for pretrained language models: Birds can talk, but cannot fly. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 7811–7818, Online, July 2020. Association for Computational Linguistics. . URL https://aclanthology.org/2020.acl-main.698. our card
  23. O. Khattab, Keshav Santhanam, Xiang Lisa Li, David Leo Wright Hall, Percy Liang, Christopher Potts, and Matei A. Zaharia. Demonstrate-search-predict: Composing retrieval and language models for knowledge-intensive nlp. ArXiv preprint, abs/2212.14024, 2022. URL https://arxiv.org/abs/2212.14024. our card
  24. Omar Khattab and Matei Zaharia. Colbert: Efficient and effective passage search via contextualized late interaction over BERT. In Jimmy Huang, Yi Chang, Xueqi Cheng, Jaap Kamps, Vanessa Murdock, Ji-Rong Wen, and Yiqun Liu (eds.), Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval, SIGIR 2020, Virtual Event, China, July 25-30, 2020, pp. 39–48. ACM, 2020. . URL https://doi.org/10.1145/3397271.3401075. our card
  25. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:0 452–466, 2019. . URL https://aclanthology.org/Q19-1026. our card
  26. Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 7871–7880, Online, 2020a. Association for Computational Linguistics. . URL https://aclanthology.org/2020.acl-main.703. our card
  27. Patrick S. H. Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020b. URL https://proceedings.neurips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html. our card
  28. Daliang Li, Ankit Singh Rawat, Manzil Zaheer, Xin Wang, Michal Lukasik, Andreas Veit, Felix Yu, and Sanjiv Kumar. Large language models with controllable working memory. In Findings of the Association for Computational Linguistics: ACL 2023, pp. 1774–1793, Toronto, Canada, July 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.findings-acl.112. our card
  29. Shayne Longpre, Kartik Perisetla, Anthony Chen, Nikhil Ramesh, Chris DuBois, and Sameer Singh. Entity-based knowledge conflicts in question answering. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 7052–7063, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.emnlp-main.565. our card
  30. Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 9802–9822, Toronto, Canada, July 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.acl-long.546. our card
  31. Kanishka Misra, Julia Rayz, and Allyson Ettinger. COMPS: Conceptual minimal pair sentences for testing robust property knowledge and its inheritance in pre-trained language models. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pp. 2928–2949, Dubrovnik, Croatia, 2023. Association for Computational Linguistics. URL https://aclanthology.org/2023.eacl-main.213. OpenAlex ↗ · Scholar ↗
  32. Ella Neeman, Roee Aharoni, Or Honovich, Leshem Choshen, Idan Szpektor, and Omri Abend. DisentQA: Disentangling parametric and contextual knowledge with counterfactual question answering. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 10056–10070, Toronto, Canada, July 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.acl-long.559. our card
  33. Yasumasa Onoe, Michael Zhang, Eunsol Choi, and Greg Durrett. Entity cloze by date: What LMs know about unseen entities. In Findings of the Association for Computational Linguistics: NAACL 2022, pp. 693–702, Seattle, United States, July 2022. Association for Computational Linguistics. . URL https://aclanthology.org/2022.findings-naacl.52. our card
  34. Lalchand Pandia and Allyson Ettinger. Sorting through the noise: Testing robustness of information processing in pre-trained language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 1583–1596, Online and Punta Cana, Dominican Republic, 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.emnlp-main.119. OpenAlex ↗ · Scholar ↗
  35. Fabio Petroni, Patrick Lewis, Aleksandra Piktus, Tim Rocktäschel, Yuxiang Wu, Alexander H. Miller, and Sebastian Riedel. How context affects language models' factual predictions. In Automated Knowledge Base Construction, 2020. URL https://openreview.net/forum?id=025X0zPfn. our card
  36. 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, and Sebastian Riedel. KILT: a benchmark for knowledge intensive language tasks. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 2523–2544, Online, June 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.naacl-main.200. our card
  37. Ofir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah Smith, and Mike Lewis. Measuring and narrowing the compositionality gap in language models. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 5687–5711, Singapore, December 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.findings-emnlp.378. OpenAlex ↗ · Scholar ↗
  38. Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, and Yoav Shoham. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics, 11:0 1316–1331, 2023. . URL https://aclanthology.org/2023.tacl-1.75. our card
  39. Adam Roberts, Colin Raffel, and Noam Shazeer. How much knowledge can you pack into the parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 5418–5426, Online, 2020. Association for Computational Linguistics. . URL https://aclanthology.org/2020.emnlp-main.437. our card
  40. Ohad Rubin and Jonathan Berant. Long-range language modeling with self-retrieval, 2023. OpenAlex ↗ · Scholar ↗
  41. Freda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales, David Dohan, Ed Chi, Nathanael Schärli, and Denny Zhou. Large language models can be easily distracted by irrelevant context. In Proceedings of the 40th International Conference on Machine Learning, ICML'23. JMLR.org, 2023. our card
  42. Alon Talmor, Oyvind Tafjord, Peter Clark, Yoav Goldberg, and Jonathan Berant. Leap-of-thought: Teaching pre-trained models to systematically reason over implicit knowledge. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/e992111e4ab9985366e806733383bd8c-Abstract.html. our card
  43. James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. FEVER: a large-scale dataset for fact extraction and VERification. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 809–819, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. . URL https://aclanthology.org/N18-1074. our card
  44. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. Llama 2: Open foundation and fine-tuned chat models, 2023. our card
  45. Harsh Trivedi, Niranjan Balasubramanian, Tushar Khot, and Ashish Sabharwal. Interleaving retrieval with chain-of-thought reasoning for knowledge-intensive multi-step questions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 10014–10037, Toronto, Canada, July 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.acl-long.557. our card
  46. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=1PL1NIMMrw. our card
  47. Johannes Welbl, Pontus Stenetorp, and Sebastian Riedel. Constructing datasets for multi-hop reading comprehension across documents. Transactions of the Association for Computational Linguistics, 6:0 287–302, 2018. . URL https://aclanthology.org/Q18-1021. our card
  48. Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 1112–1122, New Orleans, Louisiana, 2018. Association for Computational Linguistics. . URL https://aclanthology.org/N18-1101. our card
  49. Tomer Wolfson, Mor Geva, Ankit Gupta, Matt Gardner, Yoav Goldberg, Daniel Deutch, and Jonathan Berant. Break it down: A question understanding benchmark. Transactions of the Association for Computational Linguistics, 8:0 183–198, 2020. . URL https://aclanthology.org/2020.tacl-1.13. our card
  50. Ori Yoran, Tomer Wolfson, Ben Bogin, Uri Katz, Daniel Deutch, and Jonathan Berant. Answering questions by meta-reasoning over multiple chains of thought. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 5942–5966, Singapore, December 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.emnlp-main.364. our card
  51. Zexuan Zhong, Zhengxuan Wu, Christopher Manning, Christopher Potts, and Danqi Chen. MQuAKE: Assessing knowledge editing in language models via multi-hop questions. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 15686–15702, Singapore, December 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.emnlp-main.971. our card
  52. Wenxuan Zhou, Sheng Zhang, Hoifung Poon, and Muhao Chen. Context-faithful prompting for large language models. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 14544–14556, Singapore, December 2023. Association for Computational Linguistics. . URL https://aclanthology.org/2023.findings-emnlp.968. our card

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/yoran-2023-making-retrieval-augmented-language-models/