atlas

Research map / Large language models / Language, safety and interpretability

Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning

ICLR 2025 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies how task recognition and task learning compete during LLM pre-training, correlates this competition with final ICL performance, analyzes pre-training factors, and proposes adaptive ensemble fusion of TR and TL checkpoints at inference.

Problem

The mechanism behind the emergence of in-context learning during pre-training, specifically how task recognition and task learning relate to each other and to ICL performance, is unclear.

Approach

Measures TR (random-label) and TL (abstract-label) accuracy across pre-training checkpoints, defines competition metrics where the two abilities change in opposite directions, finds competition intensity negatively correlates with final ICL, and fuses TR-best and TL-best checkpoints via performance-weighted ensembling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fuse the best TR and TL checkpoints with adaptive weights instead of fixed equal weights (ablation)Pythia-1B TR + Pythia-1B TL · 16-dataset averageaccuracy: 56.16 -> 56.25Helped
Fuse the best TR and TL checkpoints with adaptive weights instead of fixed equal weights (ablation)Pythia-1B TR + Pythia-2.8B TL · 16-dataset averageaccuracy: 56.62 -> 56.83Helped
Fuse the best TR and TL checkpoints with adaptive weights instead of fixed equal weights (ablation)Pythia-1B TL + Pythia-2.8B TR · 16-dataset averageaccuracy: 55.23 -> 55.39Helped
Fuse the best TR and TL checkpoints with adaptive weights instead of fixed equal weights (ablation)Pythia-1B TR + MiniCPM-2B TL · 16-dataset averageaccuracy: 55.21 -> 55.31Helped
Fuse the best TR and TL checkpoints with adaptive weights instead of fixed equal weights (ablation)Pythia-1B TL + MiniCPM-2B TR · 16-dataset averageaccuracy: 54.31 -> 55.85Helped
Select the best TR and TL checkpoints instead of random checkpoints (ablation)Adaptive fusion of Pythia-1B TR + Pythia-1B TL · 16-dataset averageaccuracy: 52.66 -> 56.25Helped
Select the best TR and TL checkpoints instead of random checkpoints (ablation)Adaptive fusion of Pythia-1B TR + Pythia-2.8B TL · 16-dataset averageaccuracy: 48.10 -> 56.83Helped
Select the best TR and TL checkpoints instead of random checkpoints (ablation)Adaptive fusion of Pythia-2.8B TR + Pythia-1B TL · 16-dataset averageaccuracy: 52.48 -> 55.39Helped
Select the best TR and TL checkpoints instead of random checkpoints (ablation)Adaptive fusion of Pythia-1B TR + MiniCPM-2B TL · 16-dataset averageaccuracy: 53.99 -> 55.31Helped
Select the best TR and TL checkpoints instead of random checkpoints (ablation)Adaptive fusion of MiniCPM-2B TR + Pythia-1B TL · 16-dataset averageaccuracy: 52.07 -> 55.85Helped
Fuse TR and TL with adaptive ensemble learning rather than use either single modelPythia-1B TR + Pythia-1B TL · 16-dataset averageaccuracy: 44.55 -> 56.25Helped
Fuse TR and TL with adaptive ensemble learning rather than use either single modelPythia-1B TR + Pythia-2.8B TL · 16-dataset averageaccuracy: 45.38 -> 56.83Helped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 financial_phrasebank emotion poem_sentiment TREC tweet_eval_atheist tweet_eval_feminist tweet_eval_hate ethos_race ethos_gender ethos_national_origin ethos_religion

Benchmarks: SST-2 financial_phrasebank emotion poem_sentiment TREC tweet_eval_atheist tweet_eval_feminist tweet_eval_hate ethos_race ethos_gender ethos_national_origin ethos_religion

Metrics: accuracy competition intensity competition ratio Pearson correlation

Baselines: Amber-7B Pythia-6.9B Pythia-12B OLMo-7B Baichuan2-7B CrystalCoder-7B Pythia-1B Pythia-2.8B MiniCPM-2B fixed-weight fusion

Builds on: task recognition and task learning decomposition of ICL Pythia suite

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy