atlas

Research map / Architectures and efficiency / Attention and transformers

In-context Learning in Presence of Spurious Correlations

NeurIPS 2026 · Architectures and efficiency › Attention and transformers · approach: Training dynamics of in-context learning · 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.

Trains transformer in-context learners for spurious-feature classification by permuting embedding dimensions and using intermediate queries, showing single-task ICL learners match ERM/GroupDRO but generalize poorly, and that diverse synthetic iNaturalist tasks yield a more general learner.

Problem

Conventional in-context learner training on classification with spurious features leads to in-weights learning (ignoring context) and non-robustness to shifts in label-spurious correlation; it is unclear whether a robust classifier can be learned purely via meta-training.

Approach

Randomly permute input embedding dimensions per sequence to induce in-context learning from a single task, and form ICL sequences with interleaved intermediate queries drawn from a group-balanced distribution (with custom attention mask and position indices) so that context representations are agnostic to queries, simulating distribution shift in-context.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Waterbirds iNaturalist CelebA MultiNLI CUB-200

Benchmarks: Waterbirds Waterbirds-severe iNaturalist OOD test CelebA MultiNLI CUB-200

Metrics: worst-group accuracy majority-group accuracy minority-group accuracy overall accuracy

Baselines: 1-NN ERM GroupDRO Naive ICL approach

Builds on: in-context learning transformers (regression-style ICL training) GroupDRO induction heads

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