arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.14856cs.CLcs.AI
收藏

挖掘Seq2Seq模型作为鲁棒少样本学习器的潜力

Exploiting the Potential of Seq2Seq Models as Robust Few-Shot Learners

Kakao Corp.(Kakao公司);NVIDIA(英伟达公司);Kyunghee University(庆熙大学)

Jihyeon Lee, Dain Kim, Doohae Jung, Boseop Kim, Kyoung-Woon On

AI总结:

本文首次广泛比较了decoder-only与encoder-decoder模型的上下文少样本学习能力,并提出目标对齐提示与基于融合的方法,使seq2seq模型超越大六倍的模型并取得显著性能提升。

摘要:

上下文学习相比微调具有显著优势,目前主要见于decoder-only模型中,而encoder-decoder(即seq2seq)模型则擅长依赖权重更新的方法。近期少数研究证明了seq2seq模型进行少样本学习的可行性,但仅限于与seq2seq架构高度契合的任务,如摘要和翻译。受此启发,我们首次进行了广泛实验,在多种任务上比较decoder-only和encoder-decoder模型的上下文少样本学习能力。此外,我们提出两种方法以更有效地激发seq2seq模型的上下文学习能力:目标对齐提示和基于融合的方法。值得注意的是,我们的方法超越了规模大六倍的decoder-only模型,且在多种设置下相比传统seq2seq模型表现出显著的性能提升。我们推断,凭借合适的配置和提示设计,seq2seq模型能成为适用于广泛应用的高效少样本学习器。

英文摘要:

In-context learning, which offers substantial advantages over fine-tuning, is predominantly observed in decoder-only models, while encoder-decoder (i.e., seq2seq) models excel in methods that rely on weight updates. Recently, a few studies have demonstrated the feasibility of few-shot learning with seq2seq models; however, this has been limited to tasks that align well with the seq2seq architecture, such as summarization and translation. Inspired by these initial studies, we provide a first-ever extensive experiment comparing the in-context few-shot learning capabilities of decoder-only and encoder-decoder models on a broad range of tasks. Furthermore, we propose two methods to more effectively elicit in-context learning ability in seq2seq models: objective-aligned prompting and a fusion-based approach. Remarkably, our approach outperforms a decoder-only model that is six times larger and exhibits significant performance improvements compared to conventional seq2seq models across a variety of settings. We posit that, with the right configuration and prompt design, seq2seq models can be highly effective few-shot learners for a wide spectrum of applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑