mlsanityData to 7 Oct 2026

Predictive Querying for Autoregressive Neural Sequence Models

arXiv 2210.06464 ↗First posted 12 Oct 2022cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

In reasoning about sequential events it is natural to pose probabilistic queries such as "when will event A occur next" or "what is the probability of A occurring before B", with applications in areas such as user modeling, medicine, and finance. However, with machine learning shifting towards neural autoregressive models such as RNNs and transformers, probabilistic querying has been largely restricted to simple cases such as next-event prediction. This is in part due to the fact that future querying involves marginalization over large path spaces, which is not straightforward to do efficiently in such models. In this paper we introduce a general typology for predictive queries in neural autoregressive sequence models and show that such queries can be systematically represented by sets of elementary building blocks. We leverage this typology to develop new query estimation methods based on beam search, importance sampling, and hybrids. Across four large-scale sequence datasets from different application domains, as well as for the GPT-2 language model, we demonstrate the ability to make query answering tractable for arbitrary queries in exponentially-large predictive path-spaces, and find clear differences in cost-accuracy tradeoffs between search and sampling methods.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 46 references that are in the map. First posted on arXiv 12 Oct 2022.

Builds on

18 of 46 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2016Pointer Sentinel Mixture Modelscited by 2,992
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  7. 2019Predicting Dynamic Embedding Trajectory in Temporal Interaction Networkscited by 443
  8. 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 205
  9. 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learningcited by 82
  10. 2021Language Model Evaluation Beyond Perplexitycited by 77
  11. 2019Program Synthesis and Semantic Parsing with Learned Code Idiomscited by 34
  12. 2017Recurrent Neural Networks as Weighted Language Recognizerscited by 30
6 more
  1. 2020Incremental Sampling Without Replacement for Sequence Modelscited by 23
  2. 2018Recurrent Neural Network Attention Mechanisms for Interpretable System Log Anomaly Detectioncited by 21
  3. 2021Context-Aware Target Apps Selection and Recommendation for Enhancing Personal Mobile Assistantscited by 11
  4. 2021Conditional Poisson Stochastic Beam Searchcited by 11
  5. 2021Massive-scale Decoding for Text Generation using Latticescited by 8
  6. 2021What Do You Get When You Cross Beam Search with Nucleus Sampling?cited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 1; 2024: 1; 2025: 1; 2026: 1.

5 papers.