mlsanityData to 14 Oct 2026

Scaling Structured Inference with Randomization

arXiv 2112.03638 ↗First posted 7 Dec 2021cs.LG cs.CL cs.DScited by 2

Not on the map. Why?

Abstract (arXiv)

Deep discrete structured models have seen considerable progress recently, but traditional inference using dynamic programming (DP) typically works with a small number of states (less than hundreds), which severely limits model capacity. At the same time, across machine learning, there is a recent trend of using randomized truncation techniques to accelerate computations involving large sums. Here, we propose a family of randomized dynamic programming (RDP) algorithms for scaling structured models to tens of thousands of latent states. Our method is widely applicable to classical DP-based inference (partition, marginal, reparameterization, entropy) and different graph structures (chains, trees, and more general hypergraphs). It is also compatible with automatic differentiation: it can be integrated with neural networks seamlessly and learned with gradient-based optimizers. Our core technique approximates the sum-product by restricting and reweighting DP on a small subset of nodes, which reduces computation by orders of magnitude. We further achieve low bias and variance via Rao-Blackwellization and importance sampling. Experiments over different graphs demonstrate the accuracy and efficiency of our approach. Furthermore, when using RDP for training a structured variational autoencoder with a scaled inference network, we achieve better test likelihood than baselines and successfully prevent posterior collapse. code at: https://github.com/FranxYao/RDP

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 29 of its 52 references that are in the map. First posted on arXiv 7 Dec 2021.

Builds on

29 of 52 references.

References · 29

  1. 2016End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRFcited by 341
  2. 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
  3. 2013Black Box Variational Inferencecited by 319
  4. 2019Monte Carlo Gradient Estimation in Machine Learningcited by 283
  5. 2020Optimus: Organizing Sentences via Pre-trained Modeling of a Latent Spacecited by 114
  6. 2020Telescoping Density-Ratio Estimationcited by 108
  7. 2020Gradient Estimation with Stochastic Softmax Trickscited by 67
  8. 2018Learning Neural Templates for Text Generationcited by 61
  9. 2019Fast Structured Decoding for Sequence Modelscited by 59
  10. 2018Differentiable Dynamic Programming for Structured Prediction and Attentioncited by 58
  11. 2020Efficient Second-Order TreeCRF for Neural Dependency Parsingcited by 48
  12. 2019Unsupervised Recurrent Neural Network Grammarscited by 47
17 more
  1. 2020Torch-Struct: Deep Structured Prediction Librarycited by 40
  2. 2020Estimating Gradients for Discrete Random Variables by Sampling without Replacementcited by 31
  3. 2018Rao-Blackwellized Stochastic Gradients for Discrete Distributionscited by 24
  4. 2020Randomized Automatic Differentiationcited by 23
  5. 2020Scaling Hidden Markov Language Modelscited by 22
  6. 2021PCFGs Can Do Better: Inducing Probabilistic Context-Free Grammars with Many Symbolscited by 22
  7. 2020Efficient Marginalization of Discrete and Structured Latent Variables via Sparsitycited by 21
  8. 2018Differentiable Perturb-and-Parse: Semi-Supervised Parsing with a Structured Variational Autoencodercited by 19
  9. 2020The Return of Lexical Dependencies: Neural Lexicalized PCFGscited by 19
  10. 2020Posterior Control of Blackbox Generationcited by 16
  11. 2021Bias-Free Scalable Gaussian Processes via Randomized Truncationscited by 16
  12. 2019A Smoother Way to Train Structured Prediction Modelscited by 9
  13. 2020Latent Template Induction with Gumbel-CRFscited by 9
  14. 2014Conditional Random Field Autoencoders for Unsupervised Structured Predictioncited by 8
  15. 2019Efficient Optimization of Loops and Limits with Randomized Telescoping Sumscited by 7
  16. 2017CRF Autoencoder for Unsupervised Dependency Parsingcited by 6
  17. 2013A General Algorithm for Approximate Inference and its Application to Hybrid Bayes Netscited by 3

Built on by

Cited by year

Citing papers per year: 2022: 2.

2 papers.