mlsanityData to 7 Oct 2026

In-Context Graphical Inference

arXiv 2606.05042 ↗First posted 3 Jun 2026cs.LG cs.CL cs.SCcited by 0

Not on the map. Why?

Abstract (arXiv)

Marginal inference in discrete graphical models forces a choice between exactness and scalability: exact algorithms are intractable for high-treewidth graphs, while iterative approximations (Belief Propagation, variational methods) sacrifice convergence guarantees on frustrated topologies. We argue that this dichotomy stems from a mismatched inductive bias: iterative methods abandon the sequential elimination structure that makes exact inference correct. We introduce In-Context Graphical Inference (ICG-I), an autoregressive Graph Transformer that restores this structure by mimicking Variable Elimination with learned, Tensor- Train-compressed intermediate factors, paired with a Dirichlet output layer and Weighted Conformal Prediction for calibrated, distribution-free coverage guarantees under topological shift. We prove that TT compression errors propagate at most lincarly through the autoregressive chain, that the Dirichlet-Multinomial loss is a proper scoring rule, and that WCP maintains coverage with a quantifiable degradation under estimated density ratios. We conducted intensive experiments to evaluate ICG-I and achieved state-of-the-art performance across all benchmarks. ICG-I reduces MAE from 0.041 (best baseline) to 0.020 on standard instances and achieves 0.048 on N=500 frustrated spin glasses where BP diverges entirely.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 58 references that are in the map. First posted on arXiv 3 Jun 2026.

Builds on

20 of 58 references.

References · 20

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  3. 2017Graph Attention Networkscited by 8,854
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  5. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  6. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  7. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  8. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
  9. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  10. 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 728
  11. 2020A Generalization of Transformer Networks to Graphscited by 653
  12. 2018Predictive Uncertainty Estimation via Prior Networkscited by 555
8 more
  1. 2019Conformal Prediction Under Covariate Shiftcited by 511
  2. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  3. 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
  4. 2013Loopy Belief Propagation for Approximate Inference: An Empirical Studycited by 76
  5. 2020Neural Enhanced Belief Propagation on Factor Graphscited by 55
  6. 2018Inference in Probabilistic Graphical Models by Graph Neural Networkscited by 38
  7. 2020Belief Propagation Neural Networkscited by 31
  8. 2014A Comparative Study of Modern Inference Techniques for Structured Discrete Energy Minimization Problemscited by 16

Built on by

Not cited yet.