Discovering Non-monotonic Autoregressive Orderings with Variational Inference
Not on the map. Why?
Abstract (arXiv)
The predominant approach for language modeling is to process sequences from left to right, but this eliminates a source of information: the order by which the sequence was generated. One strategy to recover this information is to decode both the content and ordering of tokens. Existing approaches supervise content and ordering by designing problem-specific loss functions and pre-training with an ordering pre-selected. Other recent works use iterative search to discover problem-specific orderings for training, but suffer from high time complexity and cannot be efficiently parallelized. We address these limitations with an unsupervised parallelizable learner that discovers high-quality generation orders purely from training data -- no domain knowledge required. The learner contains an encoder network and decoder language model that perform variational inference with autoregressive orders (represented as permutation matrices) as latent variables. The corresponding ELBO is not differentiable, so we develop a practical algorithm for end-to-end optimization using policy gradients. We implement the encoder as a Transformer with non-causal attention that outputs permutations in one forward pass. Permutations then serve as target generation orders for training an insertion-based Transformer language model. Empirical results in language modeling tasks demonstrate that our method is context-aware and discovers orderings that are competitive with or even better than fixed orders.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 48 of its 75 references that are in the map. First posted on arXiv 27 Oct 2021.
Builds on
48 of 75 references.
References · 48
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2013Auto-Encoding Variational Bayescited by 4,053
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
36 more
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 968
- 2015Pointer Networkscited by 895
- 2014Show and Tell: A Neural Image Caption Generatorcited by 879
- 2016Conditional Image Generation with PixelCNN Decoderscited by 862
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2017Non-Autoregressive Neural Machine Translationcited by 463
- 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
- 2015MADE: Masked Autoencoder for Distribution Estimationcited by 307
- 2015Order Matters: Sequence to sequence for setscited by 237
- 2019Levenshtein Transformercited by 199
- 2018Learning Latent Permutations with Gumbel-Sinkhorn Networkscited by 175
- 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
- 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 125
- 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
- 2016Recurrent Neural Network Grammarscited by 109
- 2019Neural Machine Translation: A Review and Surveycited by 100
- 2016Neural Autoregressive Distribution Estimationcited by 95
- 2019FlowSeq: Non-Autoregressive Conditional Sequence Generation with Generative Flowcited by 89
- 2016Latent Predictor Networks for Code Generationcited by 73
- 2019Non-Monotonic Sequential Text Generationcited by 55
- 2019Insertion-based Decoding with automatically Inferred Generation Ordercited by 43
- 2019Synchronous Bidirectional Neural Machine Translationcited by 27
- 2019KERMIT: Generative Insertion-Based Modeling for Sequencescited by 22
- 2017Towards String-to-Tree Neural Machine Translationcited by 19
- 2018A Tree-based Decoder for Neural Machine Translationcited by 18
- 2018Beyond Error Propagation in Neural Machine Translation: Characteristics of Language Also Mattercited by 18
- 2017Reparameterizing the Birkhoff Polytope for Variational Permutation Inferencecited by 10
- 2018The Importance of Generation Order in Language Modelingcited by 9
- 2020Insertion-Deletion Transformercited by 9
- 2017Bidirectional Beam Search: Forward-Backward Inference in Neural Sequence Models for Fill-in-the-Blank Image Captioningcited by 8
- 2019Sequence Modeling with Unconstrained Generation Ordercited by 8
- 2018Top-down Tree Structured Decoding with Syntactic Connections for Neural Machine Translation and Parsingcited by 5
- 2018Middle-Out Decodingcited by 5
- 2018A Tight Analysis of Bethe Approximation for Permanentcited by 2
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 0; 2024: 4; 2025: 5; 2026: 2.
15 papers.
Sort:
By area:
- 2024Simple and Effective Masked Diffusion Language Modelscited by 848
- 2024The pitfalls of next-token predictioncited by 160
- 2022Generative Flow Networks for Discrete Probabilistic Modelingcited by 114
- 2025Path Planning for Masked Diffusion Model Samplingcited by 80
- 2022Training and Inference on Any-Order Autoregressive Models the Right Waycited by 64
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 30
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policiescited by 22
- 2025Planner Aware Path Learning in Diffusion Language Models Trainingcited by 14
- 2024Discrete Diffusion Language Model for Efficient Text Summarizationcited by 8
- 2021Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spacescited by 7
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embeddingcited by 3
- 2026TUBE: Tangent Upper Bound on Evidence for Discrete Diffusion Language Modelscited by 2
3 more
- 2026Variational Learning for Insertion-based Generation1 Jun 2026
- 2026TUBE: Tangent Upper Bound on Evidence for Discrete Diffusion Language Models22 May 2026
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policies7 Oct 2025
- 2025Planner Aware Path Learning in Diffusion Language Models Training27 Sep 2025
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models12 Aug 2025
- 2025Distilling Specialized Orders for Visual Generation23 Apr 2025
- 2025Path Planning for Masked Diffusion Model Sampling5 Feb 2025
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embedding12 Sep 2024
- 2024Discrete Diffusion Language Model for Efficient Text Summarization25 Jun 2024
- 2024Simple and Effective Masked Diffusion Language Models11 Jun 2024
- 2024The pitfalls of next-token prediction11 Mar 2024
- 2022Towards Improving the Generation Quality of Autoregressive Slot VAEs3 Jun 2022
- 2024Simple and Effective Masked Diffusion Language Modelscited by 848
- 2025Path Planning for Masked Diffusion Model Samplingcited by 80
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 30
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policiescited by 22
- 2025Planner Aware Path Learning in Diffusion Language Models Trainingcited by 14
- 2024Discrete Diffusion Language Model for Efficient Text Summarizationcited by 8
- 2026TUBE: Tangent Upper Bound on Evidence for Discrete Diffusion Language Modelscited by 2
- 2026Variational Learning for Insertion-based Generationcited by 2
- 2026Variational Learning for Insertion-based Generation1 Jun 2026
- 2026TUBE: Tangent Upper Bound on Evidence for Discrete Diffusion Language Models22 May 2026
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policies7 Oct 2025
- 2025Planner Aware Path Learning in Diffusion Language Models Training27 Sep 2025
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models12 Aug 2025
- 2025Path Planning for Masked Diffusion Model Sampling5 Feb 2025
- 2024Discrete Diffusion Language Model for Efficient Text Summarization25 Jun 2024
- 2024Simple and Effective Masked Diffusion Language Models11 Jun 2024
- 2024The pitfalls of next-token predictioncited by 160
- 2022Generative Flow Networks for Discrete Probabilistic Modelingcited by 114
- 2022Training and Inference on Any-Order Autoregressive Models the Right Waycited by 64
- 2021Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spacescited by 7
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embeddingcited by 3
- 2022Towards Improving the Generation Quality of Autoregressive Slot VAEscited by 1
- 2025Distilling Specialized Orders for Visual Generationcited by 1
- 2025Distilling Specialized Orders for Visual Generation23 Apr 2025
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embedding12 Sep 2024
- 2024The pitfalls of next-token prediction11 Mar 2024
- 2022Towards Improving the Generation Quality of Autoregressive Slot VAEs3 Jun 2022
- 2022Training and Inference on Any-Order Autoregressive Models the Right Way26 May 2022
- 2022Generative Flow Networks for Discrete Probabilistic Modeling3 Feb 2022
- 2021Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces28 Oct 2021