Entangled by Design: Spurious Intra-Variable Signal Routing in Tabular In-Context Learners
Athanasios Vlontzos, Giorgos Papanastasiou, Bernhard Kainz, Sotirios Tsaftaris
Abstract
Consider a model trained at a single hospital to predict patient recovery, where the measured feature bundles the patient's true health signal () with a systematic artefact from that hospital's equipment (). Within that hospital, the artefact correlates with outcomes through unmeasured confounders such as patient demographics; an in-context learner rationally routes predictions through , not , and fails silently when deployed at a new hospital with different equipment. We formalise this as \emph{spurious routing in composite representations}: when a feature encodes a causal signal and a spurious signal in distinct subspaces, the ICL cannot determine which drives predictions. We prove that under ridge ICL, a linear in-context learner, this routing is unavoidable regardless of context size; TabPFN, a state-of-the-art pretrained tabular ICL model, shows qualitatively consistent behaviour empirically. We derive a closed-form characterisation, , confirmed at for linear ICL and for TabPFN. Contrary to intuition, larger context sharpens commitment to the dominant in-context signal, amplifying spurious routing by up to ; in the high-spurious corner, more expressive models show greater vulnerability empirically ( CSR gap at high entanglement). We introduce two lightweight mitigations: environment-stratified context construction and S-swap augmentation, that require only weak environment labels and no knowledge of the causal partition. S-swap reduces spurious routing by for linear ICL and for TabPFN, with TabPFN's causal sensitivity increasing simultaneously: the model does not become agnostic, it reroutes through the causal signal.
Create a lesson
Related papers
CORE: In-Context Reconstruction for Unified Tabular Anomaly Detection
Shared title terminologycs.AIYunfeng Zhao, Qingfeng Chen, Yue Tan et al.
Context Assembly as the Controlled Variable: A Control-Theoretic View of Harness Policies for Frozen LLM Agents
Shared title terminologycs.AIDebjyoti Paul
What Is a Theory Worth to an LLM Solver? Measuring, Inducing, and Merging Theories in Context
Shared title terminologycs.AIJun Gao, Shuchao Bi
EgoUseBench: Benchmarking Computer-Use Agents under Evolving First-Person Contexts
Shared title terminologycs.AIYurun Chen, Biao Yi, Qihang Yu et al.
MeterRouter: Budget-Aware Dynamic Routing for Multi-Agent Systems
Shared title terminologycs.AIYue Xu, Leikun Yin, Ruiming Min et al.
SOLO: Towards Sample-Faithful and Detectable LLM Watermarking under Repeated Sampling via Content-Anchored Single-Owner Contexts
Shared title terminologycs.AIZhongliang Guo, Yan Lin, Yifei Qian et al.