让生成模型同时满足物理规律和分布准确,且不互相干扰。
Physics vs Distributions: Pareto Optimal Flow Matching with Physics Constraints
- 训练时用无冲突梯度更新强制物理约束
- 在三个偏微分方程任务中实现最优权衡
- 无需手动调参,适合科学计算场景
物理约束生成建模旨在生成既符合物理规律又分布准确的高维样本,但因目标常冲突而困难。尽管流匹配与扩散模型提升了生成效率,融入物理约束往往损害生成质量或需昂贵推理修正。本文首次识别出分布准确性与物理一致性之间的权衡。基于此,提出物理引导流匹配(PBFM),通过训练时无冲突梯度更新与回溯机制缓解Jensen差距,避免人工损失平衡,实现生成与物理目标的同步优化。结果表明,物理约束不影响推理性能。在三个典型偏微分方程基准上验证,PBFM达到帕累托最优,具备竞争力的推理速度,并可泛化至多种物理约束生成任务,为科学机器学习提供实用工具。代码与数据集见:https://github.com/tum-pbs/PBFM。
原文摘要 · Abstract (English)
Physics-constrained generative modeling aims to produce high-dimensional samples that are both physically consistent and distributionally accurate, a task that remains challenging due to often conflicting optimization objectives. Recent advances in flow matching and diffusion models have enabled efficient generative modeling, but integrating physical constraints often degrades generative fidelity or requires costly inference-time corrections. Our work is the first to recognize the trade-off between distributional and physical accuracy. Based on the insight of inherently conflicting objectives, we introduce Physics-Based Flow Matching (PBFM) a method that enforces physical constraints at training time using conflict-free gradient updates and unrolling to mitigate Jensen's gap. Our approach avoids manual loss balancing and enables simultaneous optimization of generative and physical objectives. As a consequence, physics constraints do not impede inference performance. We benchmark our method across three representative PDE benchmarks. PBFM achieves a Pareto-optimal trade-off, competitive inference speed, and generalizes to a wide range of physics-constrained generative tasks, providing a practical tool for scientific machine learning. Code and datasets available at https://github.com/tum-pbs/PBFM.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。