atlas

Research map / Large language models / Retrieval and knowledge

Making Retrieval-Augmented Language Models Robust to Irrelevant Context

ICLR 2024 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 21 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analyzes how irrelevant retrieved context hurts retrieval-augmented LLMs on five ODQA benchmarks, then proposes an NLI-based back-off filter and QLoRA fine-tuning on automatically generated mixed relevant/irrelevant contexts to make Llama-2-13B robust.

Problem

Retrieval-augmented language models can be distracted by irrelevant retrieved passages, degrading accuracy on single-hop and multi-hop open-domain QA, especially when retrieved evidence is not helpful.

Approach

Use an off-the-shelf NLI model (BART-Large-MNLI) as a back-off filter that falls back to no-retrieval generation when retrieved context does not entail the answer, and fine-tune the LLM with automatically generated training data that mixes top-1, low-ranked, and random contexts so it learns when to use retrieval, including interleaved multi-hop decompositions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train on a mixture of relevant and irrelevant retrieved contexts rather than without retrieval (ablation)Llama-2-13B SA-RetRobust · NQ, Google Search @RandomEM: 31.1$\pm$0.1 -> 33.8$\pm$0.2Helped
Train on a mixture of relevant and irrelevant retrieved contexts rather than without retrieval (ablation)Llama-2-13B SA-RetRobust · 2WikiMQA, Google Search @RandomF1: 40.4$\pm$0.8 -> 41.6$\pm$0.2Helped
Train on a mixture of relevant and irrelevant retrieved contexts rather than without retrieval (ablation)Llama-2-13B SA-RetRobust · StrategyQA, Google Search @RandomEM: 66.6$\pm$0.7 -> 69.9$\pm$1.8Helped
Train on a mixture of relevant and irrelevant retrieved contexts rather than only top-1 evidence (ablation)Llama-2-13B SA-RetRobust · 2WikiMQA, Google Search @RandomF1: 37.5$\pm$1.0 -> 41.6$\pm$0.2Helped
Train on a mixture of relevant and irrelevant retrieved contexts rather than without retrieval (ablation)Llama-2-13B SA-RetRobust · NQ, Google Search @1EM: 42.8$\pm$0.8 -> 45.7$\pm$0.6; 46.3$\pm$0.6 -> 45.7$\pm$0.6Mixed
Use NLI to filter contexts and back off to the no-retrieval answer when entailment is absentLlama-2-13B prompted RALM · StrategyQA, Google Search @RandomEM: 52.7 -> 65.6Helped
Use NLI to filter contexts and back off to the no-retrieval answer when entailment is absentLlama-2-13B prompted RALM · 2WikiMQA, Google Search @1F1: 53.1 -> 39.0Hurt
Add retrieved passages to the few-shot exemplars instead of using no-retrieval exemplarsLlama-2-13B prompted RALM · NQ, Google Search @1EM: 41.0 -> 39.0Mixed
Increase model size from 13B to 70BPrompted Llama-2 on NQ · NQ, Google Search @1EM: 45.7 vs 42.4Hurt
Train and evaluate without retrieval rather than with retrieval-robust training (ablation)OOD-trained Llama-2-13B · Fermi, Google Search @Randomorder-of-magnitude accuracy: 29.3 vs 27.6Mixed

Surprising findings

Limitations

Experimental setup

Datasets: NQ 2WikiMQA StrategyQA

Benchmarks: NQ 2WikiMQA Bamboogle StrategyQA Fermi

Metrics: exact match F1 order-of-magnitude accuracy

Baselines: SA-NR SA-R@1 SA-R@10 SA-RMix SA-NoRet SA-Ret@1 BART-Large-MNLI NLI filter

Builds on: Self-Ask IR-CoT in-context RALMs QLoRA self-consistency

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy