mlsanityData to 14 Oct 2026

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

arXiv 2404.03558 ↗First posted 4 Apr 2024cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

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 .

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 23 of its 34 references that are in the map. First posted on arXiv 4 Apr 2024.

Builds on

23 of 34 references.

References · 23

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  4. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  5. 2022In-context Learning and Induction Headscited by 964
  6. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  7. 2017An Overview of Multi-Task Learning in Deep Neural Networkscited by 803
  8. 2020Quantifying Attention Flow in Transformerscited by 775
  9. 2022Transformers learn in-context by gradient descentcited by 732
  10. 2022A Survey on In-context Learningcited by 721
  11. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  12. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
11 more
  1. 2021MetaICL: Learning to Learn In Contextcited by 454
  2. 2023Larger language models do in-context learning differentlycited by 394
  3. 2020Multi-Task Learning with Deep Neural Networks: A Surveycited by 375
  4. 2017Automated Curriculum Learning for Neural Networkscited by 257
  5. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
  6. 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
  7. 2023Pretraining Data Mixtures Enable Narrow Model Selection Capabilities in Transformer Modelscited by 45
  8. 2022A Survey of Multi-task Learning in Natural Language Processing: Regarding Task Relatedness and Training Methodscited by 42
  9. 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 41
  10. 2023Iterative Forward Tuning Boosts In-Context Learning in Language Modelscited by 15
  11. 2022Let the Model Decide its Curriculum for Multitask Learningcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.