mlsanityData to 14 Oct 2026

Discovering Non-monotonic Autoregressive Orderings with Variational Inference

arXiv 2110.15797 ↗First posted 27 Oct 2021cs.CL cs.AI cs.LGcited by 15

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2017Proximal Policy Optimization Algorithmscited by 15,215
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  7. 2013Auto-Encoding Variational Bayescited by 4,053
  8. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  10. 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
  11. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  12. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
36 more
  1. 2018Self-Attention with Relative Position Representationscited by 1,120
  2. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  3. 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 968
  4. 2015Pointer Networkscited by 895
  5. 2014Show and Tell: A Neural Image Caption Generatorcited by 879
  6. 2016Conditional Image Generation with PixelCNN Decoderscited by 862
  7. 2016Sequence-Level Knowledge Distillationcited by 801
  8. 2017Non-Autoregressive Neural Machine Translationcited by 463
  9. 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
  10. 2015MADE: Masked Autoencoder for Distribution Estimationcited by 307
  11. 2015Order Matters: Sequence to sequence for setscited by 237
  12. 2019Levenshtein Transformercited by 199
  13. 2018Learning Latent Permutations with Gumbel-Sinkhorn Networkscited by 175
  14. 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
  15. 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 125
  16. 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
  17. 2016Recurrent Neural Network Grammarscited by 109
  18. 2019Neural Machine Translation: A Review and Surveycited by 100
  19. 2016Neural Autoregressive Distribution Estimationcited by 95
  20. 2019FlowSeq: Non-Autoregressive Conditional Sequence Generation with Generative Flowcited by 89
  21. 2016Latent Predictor Networks for Code Generationcited by 73
  22. 2019Non-Monotonic Sequential Text Generationcited by 55
  23. 2019Insertion-based Decoding with automatically Inferred Generation Ordercited by 43
  24. 2019Synchronous Bidirectional Neural Machine Translationcited by 27
  25. 2019KERMIT: Generative Insertion-Based Modeling for Sequencescited by 22
  26. 2017Towards String-to-Tree Neural Machine Translationcited by 19
  27. 2018A Tree-based Decoder for Neural Machine Translationcited by 18
  28. 2018Beyond Error Propagation in Neural Machine Translation: Characteristics of Language Also Mattercited by 18
  29. 2017Reparameterizing the Birkhoff Polytope for Variational Permutation Inferencecited by 10
  30. 2018The Importance of Generation Order in Language Modelingcited by 9
  31. 2020Insertion-Deletion Transformercited by 9
  32. 2017Bidirectional Beam Search: Forward-Backward Inference in Neural Sequence Models for Fill-in-the-Blank Image Captioningcited by 8
  33. 2019Sequence Modeling with Unconstrained Generation Ordercited by 8
  34. 2018Top-down Tree Structured Decoding with Syntactic Connections for Neural Machine Translation and Parsingcited by 5
  35. 2018Middle-Out Decodingcited by 5
  36. 2018A Tight Analysis of Bethe Approximation for Permanentcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 1; 2022: 3; 2023: 0; 2024: 4; 2025: 5; 2026: 2.

15 papers.

Sort:

By area: