Parallel Sampling via Counting
Nima Anari, Ruiquan Gao, Aviad Rubinstein
摘要
We show how to use parallelization to speed up sampling from an arbitrary distribution µ on a product space [q]n, given oracle access to counting queries: ℙX∼ µ[XS=σS] for any S⊆ [n] and σS ∈ [q]S. Our algorithm takes O(n2/3· polylog(n,q)) parallel time, to the best of our knowledge, the first sublinear in n runtime for arbitrary distributions. Our results have implications for sampling in autoregressive models. Our algorithm directly works with an equivalent oracle that answers conditional marginal queries ℙX∼ µ[Xi=σi | XS=σS], whose role is played by a trained neural network in autoregressive models. This suggests a roughly n1/3-factor speedup is possible for sampling in any-order autoregressive models. We complement our positive result by showing a lower bound of Ω(n1/3) for the runtime of any parallel sampling algorithm making at most poly(n) queries to the counting oracle, even for q=2.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper4
- Accelerating Diffusion LLMs via Adaptive Parallel DecodingDaniel Israel, Guy Van den Broeck, Aditya GroverNeurIPS 2025 · 被引用 114 次
- Parallel Sampling via AutospeculationNima Anari, Carlo Baronio, CJ Chen, Alireza Haqi 等STOC 2026 · 被引用 5 次
- From Bits to Rounds: Parallel Decoding with Exploration for Diffusion Language ModelsHengyu Fu, Baihe Huang, Virginia Adams, Charles Wang 等ICML 2026
- Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto SpeculationHengyuan Hu, Aniket Das, Dorsa Sadigh, Nima AnariICML 2025
它引用的顶会 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 被引用 64,255 次
- Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 被引用 1,472 次
- Parallel Sampling of Diffusion ModelsAndy Shih, Suneel Belkhale, Stefano Ermon, Dorsa Sadigh 等NeurIPS 2023 · 被引用 144 次
- Training and Inference on Any-Order Autoregressive Models the Right WayAndy Shih, Dorsa Sadigh, Stefano ErmonNeurIPS 2022 · 被引用 68 次
- Accelerating Feedforward Computation via Parallel Nonlinear Equation SolvingYang Song, Chenlin Meng, Renjie Liao, Stefano ErmonICML 2021 · 被引用 44 次
相关 Paper
- Predictive Sampling with Forecasting Autoregressive ModelsAuke J. Wiggers, Emiel HoogeboomICML 2020 · 被引用 18 次
- Predictive Querying for Autoregressive Neural Sequence ModelsAlex Boyd, Samuel Showalter, Stephan Mandt, Padhraic SmythNeurIPS 2022 · 被引用 6 次
- Anytime Sampling for Autoregressive Models via Ordered AutoencodingYilun Xu, Yang Song, Sahaj Garg, Linyuan Gong 等ICLR 2021 · 被引用 15 次
- Parallel Simulation for Log-concave Sampling and Score-based Diffusion ModelsHuanjian Zhou, Masashi SugiyamaICML 2025
- Optimal Sublinear Sampling of Spanning Trees and Determinantal Point Processes via Average-Case Entropic IndependenceNima Anari, Yang P. Liu, Thuy-Duong VuongFOCS 2022 · 被引用 1 次
