English

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

Computation and Language 2024-08-28 v2 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2307.14856,
  title  = {Exploiting the Potential of Seq2Seq Models as Robust Few-Shot Learners},
  author = {Jihyeon Lee and Dain Kim and Doohae Jung and Boseop Kim and Kyoung-Woon On},
  journal= {arXiv preprint arXiv:2307.14856},
  year   = {2024}
}

Comments

Accepted to COLM'2024

R2 v1 2026-06-28T11:41:50.517Z