Reproduce “RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jie Huang, Wei Ping, Peng Xu, Mohammad Shoeybi, Kevin Chen-Chuan Chang, Bryan Catanzaro
The RAVEN model, a retrieval-augmented encoder-decoder, enhances in-context learning by addressing pretraining-inference mismatch and context length constraints through a combined training objective and Fusion-in-Context Learning (FiCL). This model achieves strong performance comparable to significantly larger decoder-only models; for instance, RAVEN 3B surpassed PaLM 540B on Natural Questions in zero-shot and one-shot settings.
Key insights
- Explicitly aligning the pretraining objective with the in-context learning inference format (e.g., through RAPLM) significantly enhances an encoder-decoder model's ICL abilities.
- The effective number of in-context examples can be scaled beyond strict context window limits using techniques like FiCL, which strategically distributes examples across retrieved passages.
- Retrieval-augmented encoder-decoder models, when properly trained, can achieve ICL performance comparable to much larger decoder-only LLMs with significantly fewer parameters, offering a more computationally efficient alternative.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.