atlas

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

The Surprising Effectiveness of Test-Time Training for Few-Shot Learning

ICML 2025 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 4 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.

Shows that test-time training with LoRA adapters on leave-one-out in-context tasks, combined with augmented inference, substantially boosts few-shot accuracy of LMs on ARC and BIG-Bench Hard.

Problem

Language models struggle with structurally novel reasoning tasks even with in-context demonstrations; the paper asks whether updating parameters at test time using the few-shot examples can improve few-shot learning on ARC and BBH.

Approach

Build a test-time training dataset from each task's own in-context demonstrations (leave-one-out ICL tasks with permuted demonstration order and rule-based geometric augmentations), fine-tune per-task LoRA adapters at inference, and aggregate predictions with hierarchical voting over transformations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply TTT and augmented inference to the fine-tuned 8B modelFine-tuned Llama 3 8B · ARC validation setPass@2 accuracy: \num{18.25}\% -> \num{47.125}\%Helped
Apply our TTT pipeline to the BARC neural modelBARC neural model · ARC validation setPass@2 accuracy: \num{54.375}\% -> \num{53}\%No clear effect
Combine our TTT pipeline with BARC's neural model and synthesizerBARC · ARC validation setPass@2 accuracy: \num{54.375}\% -> \num{62.8}\%Helped
Use leave-one-out in-context tasks instead of direct input-output training (ablation)TTT · BIG-Bench Hard, 10-shotaccuracy: \num{51.5}\% -> \num{57.8}\%Helped
Use multiple shuffled versions of the in-context prompt (ablation)TTT · BIG-Bench Hard, 10-shotaccuracy: 55.7\% -> \num{57.8}\%Helped
Add loss on demonstration outputs (ablation)TTT · BIG-Bench Hard, 10-shotaccuracy: 54.4\% -> \num{57.8}\%Helped
Add loss on inputs as well as outputs (ablation)TTT · BIG-Bench Hard, 10-shotaccuracy: \num{57.8}\% -> 55.9\%Hurt
Use a shared adapter across tasks instead of task-specific adapters (ablation)TTT · BIG-Bench HardaccuracyHelped
Use a shared adapter across tasks instead of task-specific adapters (ablation)TTT · ARCaccuracy: 7 tasksHurt
Add geometric transformations to the TTT dataset (ablation)TTT · ARC validation subset, 80 tasksaccuracy: 55\% -> 29\%Helped
Use in-context leave-one-out tasks instead of direct I/O data (ablation)TTT · ARC validation subset, 80 tasksaccuracy: 38\%Helped
Add demonstration-output loss (ablation)TTT · ARC validation subset, 80 tasksaccuracy: 26\% -> 29\%Helped

Surprising findings

Limitations

Experimental setup

Datasets: ARC public training/validation ReARC BIG-Bench Hard LARC

Benchmarks: ARC public validation ARC public evaluation BIG-Bench Hard

Metrics: pass@2 accuracy accuracy

Baselines: ICL Direct I/O Zero-shot BARC Claude 3.5 Sonnet GPT-4o OpenAI o1 preview DeepSeek r1 OpenAI o3

Builds on: LoRA test-time training meta-ICL self-consistency BARC

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