Task Diversity Shortens the ICL Plateau

Jaeyeon Kim, Sehyun Kwon, Joo Young Choi, Jongho Park, Jaewoong Cho +2 more
10/7/2024
6 citations
cs.LGcs.CL

Official code: sehyunkwon/task-diversity-icl (6 stars, Python, last commit 2025-08-10).

Abstract

In-context learning (ICL) describes a language model's ability to generate outputs based on a set of input demonstrations and a subsequent query. To understand this remarkable capability, researchers have studied simplified, stylized models.

Show full abstract

These studies have consistently observed long loss plateaus, during which models exhibit minimal improvement, followed by a sudden, rapid surge of learning. In this work, we reveal that training on multiple diverse ICL tasks simultaneously shortens the loss plateaus, making each task easier to learn. This finding is surprising as it contradicts the natural intuition that the combined complexity of multiple ICL tasks would lengthen the learning process, not shorten it. Our result suggests that the recent success in large-scale training of language models may be attributed not only to the richness of the data at scale but also to the easier optimization (training) induced by the diversity of natural language training data.

View on arXivView PDF

Code Implementations(1)

This is an official code of "Task Diversity Shortens the ICL Plateau"

60Python, ShellOct 2, 20241 years ago

Similar Papers

Cite this paper

@article{kim2024task,
  title  = {Task Diversity Shortens the ICL Plateau},
  author = {Jaeyeon Kim and Sehyun Kwon and Joo Young Choi and Jongho Park and Jaewoong Cho and Jason D. Lee and Ernest K. Ryu},
  year   = {2024},
  eprint = {2410.05448},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.05448v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.05448.svg)](https://codeofpaper.com/paper/2410.05448)

Discussion