Lune

STOC2024顶会

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Parallel Sampling via Autospeculation 引用了 Parallel Sampling of Diffusion Models
  • Parallel Sampling via Autospeculation 引用了 Training and Inference on Any-Order Autoregressive Models the Right Way
  • Parallel Sampling via Autospeculation 引用了 Language Models are Few-Shot Learners
  • Parallel Sampling via Autospeculation 引用了 Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto Speculation
  • Parallel Sampling of Diffusion Models 引用了 Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving
  • Parallel Sampling of Diffusion Models 引用了 Fast Inference from Transformers via Speculative Decoding
  • Training and Inference on Any-Order Autoregressive Models the Right Way 引用了 Language Models are Few-Shot Learners
  • From Bits to Rounds: Parallel Decoding with Exploration for Diffusion Language Models 引用了 Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto Speculation
  • Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto Speculation 引用了 Parallel Sampling of Diffusion Models
  • Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto Speculation 引用了 Training and Inference on Any-Order Autoregressive Models the Right Way
  • Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto Speculation 引用了 Fast Inference from Transformers via Speculative Decoding
  • Fast Inference from Transformers via Speculative Decoding 引用了 Language Models are Few-Shot Learners
  • Accelerating Diffusion LLMs via Adaptive Parallel Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Accelerating Diffusion LLMs via Adaptive Parallel DecodingDaniel Israel, Guy Van den Broeck, Aditya GroverNeurIPS 2025 · 114 次引用
  2. Parallel Sampling via AutospeculationNima Anari, Carlo Baronio, CJ Chen, Alireza Haqi 等STOC 2026 · 5 次引用
  3. From Bits to Rounds: Parallel Decoding with Exploration for Diffusion Language ModelsHengyu Fu, Baihe Huang, Virginia Adams, Charles Wang 等ICML 2026
  4. Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Auto SpeculationHengyuan Hu, Aniket Das, Dorsa Sadigh, Nima AnariICML 2025

它引用的 Paper13

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  3. Parallel Sampling of Diffusion ModelsAndy Shih, Suneel Belkhale, Stefano Ermon, Dorsa Sadigh 等NeurIPS 2023 · 144 次引用
  4. Training and Inference on Any-Order Autoregressive Models the Right WayAndy Shih, Dorsa Sadigh, Stefano ErmonNeurIPS 2022 · 68 次引用
  5. Accelerating Feedforward Computation via Parallel Nonlinear Equation SolvingYang Song, Chenlin Meng, Renjie Liao, Stefano ErmonICML 2021 · 44 次引用

相关 Paper

  1. Predictive Sampling with Forecasting Autoregressive ModelsAuke J. Wiggers, Emiel HoogeboomICML 2020 · 18 次引用
  2. Predictive Querying for Autoregressive Neural Sequence ModelsAlex Boyd, Samuel Showalter, Stephan Mandt, Padhraic SmythNeurIPS 2022 · 6 次引用
  3. Anytime Sampling for Autoregressive Models via Ordered AutoencodingYilun Xu, Yang Song, Sahaj Garg, Linyuan Gong 等ICLR 2021 · 15 次引用
  4. Parallel Simulation for Log-concave Sampling and Score-based Diffusion ModelsHuanjian Zhou, Masashi SugiyamaICML 2025
  5. Optimal Sublinear Sampling of Spanning Trees and Determinantal Point Processes via Average-Case Entropic IndependenceNima Anari, Yang P. Liu, Thuy-Duong VuongFOCS 2022 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖