CLLGApr 4, 2024

How does Multi-Task Training Affect Transformer In-Context Capabilities? Investigations with Function Classes

arXiv:2404.03558v132 citationsh-index: 4Has CodeNAACL
Originality Incremental advance
AI Analysis

This work addresses the challenge of building robust and efficient generalist models for AI practitioners, though it is incremental as it builds on existing ICL and multi-task learning approaches.

The paper tackles the problem of improving in-context learning (ICL) in large language models by combining it with multi-task training, proposing curriculum learning strategies that enhance data efficiency and convergence stability, resulting in models that effectively learn difficult tasks through progressive training.

Large language models (LLM) have recently shown the extraordinary ability to perform unseen tasks based on few-shot examples provided as text, also known as in-context learning (ICL). While recent works have attempted to understand the mechanisms driving ICL, few have explored training strategies that incentivize these models to generalize to multiple tasks. Multi-task learning (MTL) for generalist models is a promising direction that offers transfer learning potential, enabling large parameterized models to be trained from simpler, related tasks. In this work, we investigate the combination of MTL with ICL to build models that efficiently learn tasks while being robust to out-of-distribution examples. We propose several effective curriculum learning strategies that allow ICL models to achieve higher data efficiency and more stable convergence. Our experiments reveal that ICL models can effectively learn difficult tasks by training on progressively harder tasks while mixing in prior tasks, denoted as mixed curriculum in this work. Our code and models are available at https://github.com/harmonbhasin/curriculum_learning_icl .

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes