paper-with-me

홈 › Papers

Scaling Structured Inference with Randomization

2021-12-07 · Yao Fu, John P. Cunningham, Mirella Lapata

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

📄 PDF Abstract BibTeX arXiv:2112.03638

Code (1)

franxyao/rdp 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Randomization Inference: Theory and Applications

2024-06-13 · David M. Ritzwoller, Joseph P. Romano, Azeem M. Shaikh

We review approaches to statistical inference based on randomization. Permutation tests are treated as an important special case. Under a certain group invariance property, referred to as the ``randomization hypothesis,'…

valid

ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Calling

2025-10-16 · Jianghao Lin, Yuanyuan Shi, Xin Peng, Renjie Ding 외 arxiv

Large language models (LLMs) excel at function calling, but inference scaling has been explored mainly for unstructured generation. We propose an inference-scaling framework for structured outputs that combines fine-grai…

Finely Stratified Rerandomization Designs

2024-07-03 · Max Cytrynbaum

We study estimation and inference on causal parameters under finely stratified rerandomization designs, which use baseline covariates to match units into groups (e.g. matched pairs), then rerandomize within-group treatme…

On the Optimality of Randomization in Experimental Design: How to Randomize for Minimax Variance and Design-Based Inference

2020-05-06 · Nathan Kallus

I study the minimax-optimal design for a two-arm controlled experiment where conditional mean outcomes may vary in a given set. When this set is permutation symmetric, the optimal design is complete randomization, and us…

Experimental Design

Fit CATE Once: Model-Assisted Randomization Tests Without Sample Splitting

2026-05-09 · Fangnan Zheng, Yao Zhang arxiv

Randomization tests and flexible treatment-effect models offer complementary strengths for analyzing data from randomized panel experiments: the former provide valid inference under the known assignment mechanism, while …