Predictive Querying for Autoregressive Neural Sequence Models
Alex Boyd, Sam Showalter, Stephan Mandt, Padhraic Smyth

TL;DR
This paper introduces a framework for efficiently performing probabilistic queries on neural autoregressive sequence models, enabling complex query answering beyond simple next-event predictions.
Contribution
It develops a typology of predictive queries and new estimation methods, making arbitrary probabilistic queries tractable in large sequence models.
Findings
Query estimation methods outperform naive approaches
Beam search and importance sampling offer different cost-accuracy tradeoffs
Demonstrated on large datasets and GPT-2 model
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Machine Learning in Healthcare · Explainable Artificial Intelligence (XAI)
MethodsAttention Is All You Need · Linear Layer · Byte Pair Encoding · Layer Normalization · Cosine Annealing · Refunds@Expedia|||How do I get a full refund from Expedia? · Residual Connection · Dropout · Discriminative Fine-Tuning · Weight Decay
