atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Disentangling Latent Shifts of In-Context Learning with Weak Supervision

NeurIPS 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Contrastive representation theory · 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.

Proposes WILDA, which uses ICL outputs as pseudo-labels to train a LoRA adapter (student) that reproduces demonstration-induced behavior from the query alone, and shows the student often beats its ICL teacher on GLUE and MMLU subsets.

Problem

In-context learning is unstable and scales poorly with demonstration count due to context length, ordering sensitivity and inference cost; existing latent-shift disentanglement methods rely on linear-attention approximations that intervene in attention heads or hidden states.

Approach

Treat ICL predictions as weak supervision: a teacher with demonstrations generates pseudo-labels on unlabeled queries, and a student (same LLM with a LoRA adapter toggled on, seeing only the query) is trained with cross-entropy to match them, encoding the demonstration-induced latent shift into reusable adapter weights that can be arithmetically merged and composed with in-context demonstrations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use WILDA-S instead of 16-shot ICLLlama 3 (8B) · GLUE and MMLU, 16-shot IDgeneralization score: absolute improvements ranging from $2.6\%$ to $11.9\%$Helped
Shuffle the same demonstrations at the beginning of each training epoch (WILDA-S versus WILDA-F) (ablation)WILDA · GLUE and MMLU, 16-shot IDgeneralization score and stabilityHelped
Resample demonstrations from the labeled pool each epoch (WILDA-R instead of fixed demonstrations) (ablation)WILDA · GLUE and MMLU, 16-shot IDstabilityHurt
Keep one fixed demonstration set throughout training (WILDA-F) rather than shuffling its order (ablation)WILDA · GLUE and MMLU, 16-shot IDstabilityHurt
Increase unlabeled training instances from 200 to 500 (ablation)WILDA-S · GLUE, 16-shot IDgeneralization scoreMixed
Sum adapters trained on multiple demonstration subsets (8×16 rather than a single subset)WILDA-S · GLUE and MMLU IDgeneralization scoreHelped
Combine 16 encoded demonstrations with 16 demonstrations at inference rather than use standard 32-shot ICLWILDA-S · GLUE and MMLU, 16/16 configurationaccuracyHelped
Use 32 encoded demonstrations rather than 16 encoded plus 16 in-context demonstrationsWILDA-S · GLUE and MMLUaccuracyMixed
Use WILDA-S (0/16) rather than 16-shot ICLLlama 3 (8B) · RTE, SST, QNLI, MNLI, CoLA, MRPC, QQP, MMLU Math and Miscaccuracy: 75.3 vs 86.0; 93.2 vs 96.1; 77.7 vs 81.4; 69.1 vs 73.1; 58.3 vs 64.3; 76.4 vs 77.7; 74.2 vs 73.1; 43.0 vs 49.5; 84.5 vs Helped
Increase the number of ICL demonstrations while retaining WILDA-S training (ablation)WILDA-S · GLUE and MMLU ID, Llama 3 (8B)generalization scoreHelped
Enable a task-specific adapter during evaluation on an unrelated domain (ablation)WILDA-S · Cross-domain GLUE dataset pairsaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: GLUE MMLU elementary math MMLU miscellaneous

Benchmarks: GLUE MMLU ARC-Challenge

Metrics: accuracy Matthew's correlation F1 standard deviation across seeds

Baselines: zero-shot standard n-shot ICL PBFT ICV Batch-ICL

Builds on: LoRA in-context vectors Batch-ICL weak-to-strong generalization

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