TensorX
返回文献探索

Paper · arXiv 2308.07922

RAVEN: In-Context Learning with Retrieval Augmented Encoder-Decoder Language Models

Jie Huang, Wei Ping, Peng Xu, Mohammad Shoeybi, Kevin Chen-Chuan Chang, Bryan Catanzaro

19 upvotesAugust 15, 2023arXiv 预印本
AI 摘要

RAVEN enhances in-context learning in retrieval-augmented encoder-decoder models by combining masked and prefix language modeling, achieving superior performance with fewer parameters.

retrieval-augmented encoder-decoderATLAS modelin-context learningmasked language modelingprefix language modelingFusion-in-Context Learningfew-shot performance

Abstract

In this paper, we investigate the in-context learning ability of retrieval-augmented encoder-decoder language models. We first conduct a comprehensive analysis of the state-of-the-art ATLAS model and identify its limitations in in-context learning, primarily due to a mismatch between pretraining and testing, 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 or model modifications. Through extensive experiments, we demonstrate that RAVEN significantly outperforms ATLAS and achieves 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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号