Improving Bayesian In-Context Learning in Markov Transformers
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:32 UTC · c2cdf0e05866 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "XXitLkRU4q"- }- ],- "title": "Improving Bayesian In-Context Learning in Markov Transformers",- "authors": [],- "abstract": "A transformer can enter a generalizing in-context learning regime while remaining far from the corresponding optimal predictor. What prevents it from closing this residual gap? We study this question in Markov-chain prediction, where the Bayes posterior is available exactly and the learned attention circuit can be inspected. We introduce Symmetry-Aware In-context Pre-training (SAIP) for two-block transformers. SAIP guides the formation of previous-token attention early in training and lightly regularizes predictions toward the closed-form posterior throughout training. Inference uses the two-block model without evaluating auxiliary losses. Across 18 task-pool/seed settings, SAIP reduces mean KL divergence to the bigram posterior by 89.3%, with at least a 69.8% reduction in every setting. It also strengthens previous-token attention and moves the empirical generalization boundary to smaller task pools. Ablations attribute most of the accuracy gain to posterior regularization, while attention measurements reveal a sharper previous-token circuit. These results show how training can improve the accuracy of Bayesian in-context prediction while changing the attention circuit that implements it.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "5806d1e3-1620-473d-8010-be36bf4f545b"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Improving Bayesian In-Context Learning in Markov Transformers",+ "authors": [],+ "abstract": "A transformer can enter a generalizing in-context learning regime while remaining far from the corresponding optimal predictor. What prevents it from closing this residual gap? We study this question in Markov-chain prediction, where the Bayes posterior is available exactly and the learned attention circuit can be inspected. We introduce Symmetry-Aware In-context Pre-training (SAIP) for two-block transformers. SAIP guides the formation of previous-token attention early in training and lightly regularizes predictions toward the closed-form posterior throughout training. Inference uses the two-block model without evaluating auxiliary losses. Across 18 task-pool/seed settings, SAIP reduces mean KL divergence to the bigram posterior by 89.3%, with at least a 69.8% reduction in every setting. It also strengthens previous-token attention and moves the empirical generalization boundary to smaller task pools. Ablations attribute most of the accuracy gain to posterior regularization, while attention measurements reveal a sharper previous-token circuit. These results show how training can improve the accuracy of Bayesian in-context prediction while changing the attention circuit that implements it.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}