Controlling the evolution of complex physical systems is a fundamental task across science and engineering. Classical techniques suffer from limited applicability or huge computational costs. On the other hand, recent deep learning and reinforcement learning-based approaches often struggle to optimize long-term control sequences under the constraints of system dynamics. In this work, we introduce Diffusion Physical systems Control (DiffPhyCon), a new class of method to address the physical systems control problem. DiffPhyCon excels by simultaneously minimizing both the learned generative energy function and the predefined control objectives across the entire trajectory and control sequence. Thus, it can explore globally and plan near-optimal control sequences. Moreover, we enhance DiffPhyCon with prior reweighting, enabling the discovery of control sequences that significantly deviate from the training distribution. We test our method on three tasks: 1D Burgers' equation, 2D jellyfish movement control, and 2D high-dimensional smoke control, where our generated jellyfish dataset is released as a benchmark for complex physical system control research. Our method outperforms widely applied classical approaches and state-of-the-art deep learning and reinforcement learning methods. Notably, DiffPhyCon unveils an intriguing fast-close-slow-open pattern observed in the jellyfish, aligning with established findings in the field of fluid dynamics. The project website, jellyfish dataset, and code can be found at https://github.com/AI4Science-WestlakeU/diffphycon.
翻译:控制复杂物理系统的演化是科学与工程领域的一项基础任务。经典方法存在适用性有限或计算成本高昂的问题。另一方面,近期基于深度学习和强化学习的方法往往难以在系统动力学约束下优化长期控制序列。本文提出扩散物理系统控制(DiffPhyCon),一种解决物理系统控制问题的新方法。DiffPhyCon 通过同时最小化学习到的生成能量函数与预定义控制目标在整个轨迹和控制序列上的值,实现了全局探索并规划出接近最优的控制序列。此外,我们通过先验重加权技术增强 DiffPhyCon,使其能够发现显著偏离训练分布的控制序列。我们在三个任务上验证了该方法:一维伯格斯方程、二维水母运动控制及二维高维烟雾控制,其中生成的水母数据集已作为复杂物理系统控制研究的基准数据发布。本方法在性能上超越了广泛应用的经典方法以及最先进的深度学习与强化学习方法。值得注意的是,DiffPhyCon 揭示了水母运动中一种有趣的"快闭-慢开"模式,这与流体动力学领域的既有发现相一致。项目网站、水母数据集及代码可通过 https://github.com/AI4Science-WestlakeU/diffphycon 获取。