Skip to main content
QUICK REVIEW

[论文解读] User-defined Event Sampling and Uncertainty Quantification in Diffusion Models for Physical Dynamical Systems

Marc Finzi, Anudhyan Boral|arXiv (Cornell University)|Jun 13, 2023
Topic ModelingComputer Science被引用 3
一句话总结

本文提出了一种用于混沌物理动力系统扩散模型的用户定义事件采样与不确定性量化方法。通过推导条件得分函数的概率近似,该近似在噪声降低时收敛至真实分布,从而实现无需微调的精确条件采样,即使在分布尾部也能对非线性事件进行采样,同时为极端事件提供校准的似然估计。

ABSTRACT

Diffusion models are a class of probabilistic generative models that have been widely used as a prior for image processing tasks like text conditional generation and inpainting. We demonstrate that these models can be adapted to make predictions and provide uncertainty quantification for chaotic dynamical systems. In these applications, diffusion models can implicitly represent knowledge about outliers and extreme events; however, querying that knowledge through conditional sampling or measuring probabilities is surprisingly difficult. Existing methods for conditional sampling at inference time seek mainly to enforce the constraints, which is insufficient to match the statistics of the distribution or compute the probability of the chosen events. To achieve these ends, optimally one would use the conditional score function, but its computation is typically intractable. In this work, we develop a probabilistic approximation scheme for the conditional score function which provably converges to the true distribution as the noise level decreases. With this scheme we are able to sample conditionally on nonlinear userdefined events at inference time, and matches data statistics even when sampling from the tails of the distribution.

研究动机与目标

  • 使扩散模型能够作为洛伦兹吸引子、双摆和菲茨休-赫尔曼神经元等混沌物理系统的代理模型。
  • 解决在分布尾部采样罕见或极端事件的挑战。
  • 开发一种无需微调的推理时条件化机制,用于非线性用户定义事件(例如轨迹交叉或神经元放电)。
  • 为这些事件提供校准的不确定性量化与边缘似然估计。
  • 实现对罕见或复杂动力学行为的高效、摊销式查询。

提出的方法

  • 通过在给定噪声观测下对去噪样本分布进行矩匹配,推导出难以计算的条件得分函数的概率近似。
  • 在去噪分布的众数附近对约束函数 $ C $ 进行线性化,以近似 $ p(C(x_0) \mid x_t) $。
  • 使用近似式 $ p(C(x_0) \mid x_t) \approx \mathcal{N}(C(\hat{x}_0), \nabla C^\top \hat{\Sigma} \nabla C) $,其中 $ \hat{x}_0 $ 为去噪样本,$ \hat{\Sigma} $ 为其协方差。
  • 证明当噪声水平 $ \sigma_t \to 0 $ 时,该近似在分布上渐近精确,收敛至标准正态分布。
  • 利用扩散模型与神经ODE之间的联系,实现精确的似然计算与条件采样。
  • 采用重要性采样与直接采样方法,验证极端事件的边缘似然估计。
Figure 2: Relative error of sample diffusion model samples and pointwise median of $20$ samples when conditioned on initial condition compared to ground truth trajectories, NeuralODE rollouts, as well as errors for small perturbations of the initial condition evolved with the simulator, and independ
Figure 2: Relative error of sample diffusion model samples and pointwise median of $20$ samples when conditioned on initial condition compared to ground truth trajectories, NeuralODE rollouts, as well as errors for small perturbations of the initial condition evolved with the simulator, and independ

实验结果

研究问题

  • RQ1在无法访问底层微分方程的情况下,扩散模型能否有效用作混沌动力系统的代理模型?
  • RQ2能否在不微调的情况下,对任意非线性用户定义事件(如轨迹交叉或神经元放电)进行扩散模型采样?
  • RQ3该模型能否为罕见或极端事件提供校准的不确定性估计与准确的边缘似然?
  • RQ4所提出的条件得分近似在捕捉真实分布方面表现如何,尤其是在低噪声条件下?
  • RQ5该方法能否在保持数据统计特性的同时,高效地从分布尾部采样?

主要发现

  • 所提出的条件得分近似在噪声水平降低时,其分布收敛至真实条件分布,具有理论保证。
  • 该方法可在推理时直接实现对非线性事件(包括极端事件,如神经元放电与轨迹交叉)的精确采样,且无需微调。
  • 即使在高度非线性约束下,从分布尾部采样仍能匹配经验数据统计特性。
  • 通过直接采样获得的事件边缘似然(如菲茨休-赫尔曼模型中的神经元放电)与条件似然一致,验证准确。
  • 尽管约束具有非线性,该近似在低噪声水平(如 $ t < 0.5 $)下变得愈发精确。
  • 与标准拒绝采样相比,该方法在罕见事件采样方面计算效率更高,避免了高昂的模拟成本。
Figure 6: The empirical distribution of the event statistic $C(x_{0})$ computed over distinct sample paths given the value $x_{t}$ at a particular noise level for the events chosen in the two datasets. The linearized moment matching approximation loosely guides the generation at high noise levels, a
Figure 6: The empirical distribution of the event statistic $C(x_{0})$ computed over distinct sample paths given the value $x_{t}$ at a particular noise level for the events chosen in the two datasets. The linearized moment matching approximation loosely guides the generation at high noise levels, a

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。