arXiv · 2612.02848
Order-Marginalized Scoring for Any-Order Autoregressive Models
Abstract
Any-order autoregressive models are trained under an objective that is symmetric over decoding orders, but at sampling time a single order must be committed to. A common task with such models is to evaluate the log-probability of a candidate sequence. We show that this evaluation depends substantially on the decoding order used to compute it: for a model trained on a synthetic grammar, different orders yield different most-likely completions; for a model pre-trained on OpenWebText, different orders rank the same candidates differently on most inputs. We characterize this phenomenon and propose Order-Marginalized Scoring (OMS), a simple Monte Carlo estimator of the per-order log-probability averaged over decoding orders. We use it in two algorithms: a reranker over a fixed candidate pool, and a stochastic best-of-N decoder. OMS helps on two structurally order-agnostic tasks: on Sudoku puzzles with 28 given digits, we show that OMS improves exact-match accuracy from 67% with single-order scoring to 85%; on a zero-shot protein-stability benchmark, OMS improves the Spearman correlation between log-probability scores and experimental folding stabilities for 335 out of 337 wild-type proteins. On text infilling, however, OMS does not improve accuracy over reranking with a single random order. These results suggest that OMS is a useful alternative to per-order scoring for order-agnostic tasks where log-likelihood tracks the quantity of interest.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Arthur Deng, Sebastian Thrun. 2026-12-01. Order-Marginalized Scoring for Any-Order Autoregressive Models. https://searcharxiv.org/abs/2612.02848
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.