Bayes-Equivalent Prompts Reveal Hidden Nuisance Dependence in In-Context Learning
Name the authors, now that its review has ended
potentialpaper · 2026-11-24 17:28 UTC · 8d39b0d6a5f2 ·
paper.json modified
+++ b/paper.json@@ -1,7 +1,10 @@{"title": "Bayes-Equivalent Prompts Reveal Hidden Nuisance Dependence in In-Context Learning",- "authors": [],+ "authors": [+ "Bofan Zhang",+ "Lin Lin"+ ],"abstract": "In-context learners can closely match Bayesian predictions on synthetic tasks. But do they also learn which aspects of the input a Bayesian predictor knows to ignore? We introduce Bayes-equivalent prompts: inputs that differ in raw form but induce exactly the same posterior and posterior predictive distribution, a direct test of whether learned predictors acquire the Bayesian solution's invariances. In multilayer perceptrons (MLPs) and Transformers, sensitivity to Bayes-irrelevant variation falls during training and is attenuated more in later layers, yet the identity of the nuisance perturbation remains linearly decodable from final representations. In a separate twelve-seed Transformer study trained to 800k updates, fit keeps improving and responses to task-relevant changes stay close to the Bayesian reference, while sensitivity to the same physical change when it is Bayes-irrelevant declines but stays above a pre-specified, study-specific benchmark. A consistency penalty (one weight, short continuation) sharply reduces disagreement on the targeted perturbation but raises held-out Kullback–Leibler (KL) divergence; in the sampled-target branch, this gain does not clearly carry over to a second Bayes-equivalent transformation. A public pretrained regression Transformer also shows small but measurable sensitivity to an exactly posterior-preserving recoding. Predictive fit therefore does not determine invariance, and invariance gained on one transformation need not transfer: evaluating whether a model has captured a Bayesian procedure requires testing its invariances, not only its predictions.","license": {"metadata": "CC0-1.0","abstract": "CC0-1.0"