RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Models
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
In this paper, we investigate the in-context learning ability of retrieval-augmented encoder-decoder language models. We first conduct a comprehensive analysis of existing models and identify their limitations in in-context learning, primarily due to a mismatch between pretraining and inference, as well as a restricted context length. To address these issues, we propose RAVEN, a model that combines retrieval-augmented masked language modeling and prefix language modeling. We further introduce Fusion-in-Context Learning to enhance the few-shot performance by enabling the model to leverage more in-context examples without requiring additional training. Through extensive experiments, we demonstrate that our simple yet effective design significantly improves performance, achieving results comparable to the most advanced language models in certain scenarios, despite having substantially fewer parameters. Our work underscores the potential of retrieval-augmented encoder-decoder language models for in-context learning and encourages further research in this direction.
Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 42 of its 52 references that are in the map. First posted on arXiv 15 Aug 2023.
Builds on
42 of 52 references.
Closest ancestors · 6
Same direction, newest first
- 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Study13 Apr
- 2023REPLUG: Retrieval-Augmented Black-Box Language Models30 Jan
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP28 Dec
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
- 2022kNN-Prompt: Nearest Neighbor Zero-Shot Inference27 May
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
Other references · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
24 more
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2022Towards Reasoning in Large Language Models: A Surveycited by 596
- 2019ELI5: Long Form Question Answeringcited by 575
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 488
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 335
- 2022UL2: Unifying Language Learning Paradigmscited by 295
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 200
- 2022TemporalWiki: A Lifelong Benchmark for Training and Evaluating Ever-Evolving Language Modelscited by 119
- 2021Time Waits for No One! Analysis and Challenges of Temporal Misalignmentcited by 91
- 2023Why Does ChatGPT Fall Short in Providing Truthful Answers?cited by 54
- 2022Bidirectional Language Models Are Also Few-shot Learnerscited by 48
- 2023Citation: A Key to Building Responsible and Accountable Large Language Modelscited by 20
Built on by
Citing papers per year: 2023: 4; 2024: 23; 2025: 8; 2026: 2.
37 papers.
Sort:
By area:
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
- 2023Retrieval meets Long Context Large Language Modelscited by 115
- 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 71
- 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretrainingcited by 53
- 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 53
- 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Modelscited by 27
- 2024Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMscited by 24
- 2024Efficient Knowledge Injection in LLMs via Self-Distillationcited by 24
- 2024Benchmarking Vision, Language, & Action Models on Robotic Learning Taskscited by 23
- 2024RAG-RewardBench: Benchmarking Reward Models in Retrieval Augmented Generation for Preference Alignmentcited by 23
25 more
- 2024Natural Language Processing in the Patent Domain: A Surveycited by 20
- 2023TextGenSHAP: Scalable Post-hoc Explanations in Text Generation with Long Documentscited by 17
- 2025FinRAGBench-V: A Benchmark for Multimodal RAG with Visual Citation in the Financial Domaincited by 16
- 2024SynthesizRR: Generating Diverse Datasets with Retrieval Augmentationcited by 13
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2024Enhancing Q&A with Domain-Specific Fine-Tuning and Iterative Reasoning: A Comparative Studycited by 11
- 2024PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrievalcited by 8
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervisioncited by 7
- 2024Enhancing Robustness of Retrieval-Augmented Language Models with In-Context Learningcited by 6
- 2025Single-Pass Document Scanning for Question Answeringcited by 6
- 2024TorchOpera: A Compound AI System for LLM Safetycited by 4
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compressioncited by 4
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Boundscited by 4
- 2024The Impact of Quantization on Retrieval-Augmented Generation: An Analysis of Small LLMscited by 3
- 2025RAG in the Wild: On the (In)effectiveness of LLMs with Mixture-of-Knowledge Retrieval Augmentationcited by 3
- 2025ARC-Encoder: learning compressed text representations for large language modelscited by 3
- 2024WIKIGENBENCH: Exploring Full-length Wikipedia Generation under Real-World Scenariocited by 2
- 2024FlashBack: Efficient Retrieval-Augmented Language Modeling for Fast Inferencecited by 1
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generationcited by 1
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorizationcited by 0
- 2024Retrieval-Augmented Language Model for Extreme Multi-Label Knowledge Graph Link Predictioncited by 0
- 2025RE2: Improving Chinese Grammatical Error Correction via Retrieving Appropriate Examples with Explanationcited by 0
- 2025Chain of Summaries: Summarization Through Iterative Questioningcited by 0
- 2026CTRAG: An In-Context Retrieval-based Framework for Automated Compliance Checking using LLMscited by 0
- 2026Retrieval-Based In-Context Learning: A Domain Adaptation Frameworkcited by 0
- 2026Retrieval-Based In-Context Learning: A Domain Adaptation Framework5 Oct 2026
- 2026CTRAG: An In-Context Retrieval-based Framework for Automated Compliance Checking using LLMs3 Aug 2026
- 2025Chain of Summaries: Summarization Through Iterative Questioning12 Nov 2025
- 2025ARC-Encoder: learning compressed text representations for large language models23 Oct 2025
- 2025RE2: Improving Chinese Grammatical Error Correction via Retrieving Appropriate Examples with Explanation30 Sep 2025
- 2025RAG in the Wild: On the (In)effectiveness of LLMs with Mixture-of-Knowledge Retrieval Augmentation26 Jul 2025
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Bounds3 Jun 2025
- 2025FinRAGBench-V: A Benchmark for Multimodal RAG with Visual Citation in the Financial Domain23 May 2025
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generation15 May 2025
- 2025Single-Pass Document Scanning for Question Answering4 Apr 2025
- 2024Efficient Knowledge Injection in LLMs via Self-Distillation19 Dec 2024
- 2024RAG-RewardBench: Benchmarking Reward Models in Retrieval Augmented Generation for Preference Alignment18 Dec 2024
25 more
- 2024Benchmarking Vision, Language, & Action Models on Robotic Learning Tasks4 Nov 2024
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervision3 Oct 2024
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression28 Aug 2024
- 2024Enhancing Robustness of Retrieval-Augmented Language Models with In-Context Learning8 Aug 2024
- 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilities19 Jul 2024
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Survey18 Jul 2024
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs2 Jul 2024
- 2024TorchOpera: A Compound AI System for LLM Safety16 Jun 2024
- 2024The Impact of Quantization on Retrieval-Augmented Generation: An Analysis of Small LLMs10 Jun 2024
- 2024Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs4 Jun 2024
- 2024Retrieval-Augmented Language Model for Extreme Multi-Label Knowledge Graph Link Prediction21 May 2024
- 2024SynthesizRR: Generating Diverse Datasets with Retrieval Augmentation16 May 2024
- 2024FlashBack: Efficient Retrieval-Augmented Language Modeling for Fast Inference7 May 2024
- 2024Enhancing Q&A with Domain-Specific Fine-Tuning and Iterative Reasoning: A Comparative Study17 Apr 2024
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorization2 Apr 2024
- 2024Natural Language Processing in the Patent Domain: A Survey6 Mar 2024
- 2024PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrieval29 Feb 2024
- 2024WIKIGENBENCH: Exploring Full-length Wikipedia Generation under Real-World Scenario28 Feb 2024
- 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Models5 Feb 2024
- 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAG18 Jan 2024
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec 2023
- 2023TextGenSHAP: Scalable Post-hoc Explanations in Text Generation with Long Documents3 Dec 2023
- 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretraining11 Oct 2023
- 2023Retrieval meets Long Context Large Language Models4 Oct 2023
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
- 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 71
- 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretrainingcited by 53
- 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 53
- 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Modelscited by 27
- 2024RAG-RewardBench: Benchmarking Reward Models in Retrieval Augmented Generation for Preference Alignmentcited by 23
- 2025FinRAGBench-V: A Benchmark for Multimodal RAG with Visual Citation in the Financial Domaincited by 16
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervisioncited by 7
- 2024Enhancing Robustness of Retrieval-Augmented Language Models with In-Context Learningcited by 6
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Boundscited by 4
- 2024The Impact of Quantization on Retrieval-Augmented Generation: An Analysis of Small LLMscited by 3
12 most cited of 16 All 16 (JSON)
- 2025RAG in the Wild: On the (In)effectiveness of LLMs with Mixture-of-Knowledge Retrieval Augmentation26 Jul 2025
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Bounds3 Jun 2025
- 2025FinRAGBench-V: A Benchmark for Multimodal RAG with Visual Citation in the Financial Domain23 May 2025
- 2025DACL-RAG: Data Augmentation Strategy with Curriculum Learning for Retrieval-Augmented Generation15 May 2025
- 2024RAG-RewardBench: Benchmarking Reward Models in Retrieval Augmented Generation for Preference Alignment18 Dec 2024
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervision3 Oct 2024
- 2024Enhancing Robustness of Retrieval-Augmented Language Models with In-Context Learning8 Aug 2024
- 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilities19 Jul 2024
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Survey18 Jul 2024
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs2 Jul 2024
- 2024The Impact of Quantization on Retrieval-Augmented Generation: An Analysis of Small LLMs10 Jun 2024
- 2024Retrieval-Augmented Language Model for Extreme Multi-Label Knowledge Graph Link Prediction21 May 2024
12 newest of 16 All 16 (JSON)
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2023TextGenSHAP: Scalable Post-hoc Explanations in Text Generation with Long Documentscited by 17
- 2024Enhancing Q&A with Domain-Specific Fine-Tuning and Iterative Reasoning: A Comparative Studycited by 11
- 2025ARC-Encoder: learning compressed text representations for large language modelscited by 3
- 2025ARC-Encoder: learning compressed text representations for large language models23 Oct 2025
- 2024Enhancing Q&A with Domain-Specific Fine-Tuning and Iterative Reasoning: A Comparative Study17 Apr 2024
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec 2023
- 2023TextGenSHAP: Scalable Post-hoc Explanations in Text Generation with Long Documents3 Dec 2023
- 2024Efficient Knowledge Injection in LLMs via Self-Distillationcited by 24
- 2024Efficient Knowledge Injection in LLMs via Self-Distillation19 Dec 2024
- 2024TorchOpera: A Compound AI System for LLM Safetycited by 4
- 2024TorchOpera: A Compound AI System for LLM Safety16 Jun 2024
- 2023Retrieval meets Long Context Large Language Modelscited by 115
- 2024Natural Language Processing in the Patent Domain: A Surveycited by 20
- 2024SynthesizRR: Generating Diverse Datasets with Retrieval Augmentationcited by 13
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2024PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrievalcited by 8
- 2025Single-Pass Document Scanning for Question Answeringcited by 6
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compressioncited by 4
- 2024WIKIGENBENCH: Exploring Full-length Wikipedia Generation under Real-World Scenariocited by 2
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorizationcited by 0
- 2025RE2: Improving Chinese Grammatical Error Correction via Retrieving Appropriate Examples with Explanationcited by 0
- 2025Chain of Summaries: Summarization Through Iterative Questioningcited by 0
- 2026CTRAG: An In-Context Retrieval-based Framework for Automated Compliance Checking using LLMscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Retrieval-Based In-Context Learning: A Domain Adaptation Framework5 Oct 2026
- 2026CTRAG: An In-Context Retrieval-based Framework for Automated Compliance Checking using LLMs3 Aug 2026
- 2025Chain of Summaries: Summarization Through Iterative Questioning12 Nov 2025
- 2025RE2: Improving Chinese Grammatical Error Correction via Retrieving Appropriate Examples with Explanation30 Sep 2025
- 2025Single-Pass Document Scanning for Question Answering4 Apr 2025
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression28 Aug 2024
- 2024SynthesizRR: Generating Diverse Datasets with Retrieval Augmentation16 May 2024
- 2024Towards Better Generalization in Open-Domain Question Answering by Mitigating Context Memorization2 Apr 2024
- 2024Natural Language Processing in the Patent Domain: A Survey6 Mar 2024
- 2024PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrieval29 Feb 2024
- 2024WIKIGENBENCH: Exploring Full-length Wikipedia Generation under Real-World Scenario28 Feb 2024
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024RARe: Retrieval Augmented Retrieval with In-Context Examples
- 2025Efficient Knowledge Feeding to Language Models: A Novel Integrated Encoder-Decoder Architecture
- 2024RAVEN: Multitask Retrieval Augmented Vision-Language Learning
- 2022Decoupled Context Processing for Context Augmented Language Modeling
- 2023Learning to Retrieve In-Context Examples for Large Language Models
- 2024Reference Trustable Decoding: A Training-Free Augmentation Paradigm for Large Language Models
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
- 2023In-context Autoencoder for Context Compression in a Large Language Model