Simplifying the Modeling of Arbitrary Conditionals in Natural Language
Not on the map. Why?
Abstract (arXiv)
Causal Transformers model sequences through an autoregressive factorization of the joint distribution, which enables efficient left-to-right decoding and conditional likelihood computation. However, they cannot tractably sample from or evaluate arbitrary conditionals -- e.g., a block of text conditioned on past and future tokens. Recent work aims to solve this problem through novel architectures, but they often lead to sub-optimal modeling of such conditionals and degraded generations. We propose Arbitrary Conditionals GPT (AC-GPT) which introduces a simple modification to standard causal Transformers to enable evaluating and sampling from arbitrary conditionals -- including past, future, and mixed contexts -- within a single forward pass. Unlike prior approaches, our method preserves the standard left-to-right ordering and next-token prediction objective essential for both strong performance and efficient training on natural language. Crucially, this compatibility allows existing LLMs to be fine-tuned for arbitrary conditioning. Our empirical results indicate that our method outperforms baselines on modeling arbitrary conditionals, without degrading standard left-to-right performance.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 22 references that are in the map. First posted on arXiv 12 Jun 2026.
Builds on
18 of 22 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2024Simple and Effective Masked Diffusion Language Modelscited by 800
- 2024Simplified and Generalized Masked Diffusion for Discrete Datacited by 606
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 385
6 more
- 2022Efficient Training of Language Models to Fill in the Middlecited by 248
- 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 184
- 2023Amortizing intractable inference in large language modelscited by 94
- 2022Training and Inference on Any-Order Autoregressive Models the Right Waycited by 64
- 2024Arrows of Time for Large Language Modelscited by 18
- 2025Any-Order GPT as Masked Diffusion Model: Decoupling Formulation and Architecturecited by 16
Built on by
Not cited yet.