Papers › DiffPhyCon: A Generative Approach to Control Complex Physical Systems

DiffPhyCon: A Generative Approach to Control Complex Physical Systems

9 Jul 2024arXiv:2407.06494archive 2025-07-28

Long Wei, Peiyan Hu, Ruiqi Feng, Haodong Feng, Yixuan Du, Tao Zhang, Rui Wang, Yue Wang, Zhi-Ming Ma, Tailin Wu

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.06494")

Code

Syntology Ran 7 of 13 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 5 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ai4science-westlakeu/diffphycon officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 7 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
5ran
6unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from AI4Science-WestlakeU/diffphycon. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MLP AI4Science-WestlakeU/diffphycon/baselines/BC_burgers/net.py official repository ran MIT (permissive) · 4941b3d35f5f6a94 · report
apply_conditioning AI4Science-WestlakeU/diffphycon/baselines/BC_jellyfish/modules.py official repository ran · our draft was wrong MIT (permissive) · b3d593fb33f79ac5 · report
compute_orthonormal AI4Science-WestlakeU/diffphycon/utils.py official repository ran fingerprinted MIT (permissive) · 9aa3ee4d1c86d92e · report
cosine_beta_schedule AI4Science-WestlakeU/diffphycon/baselines/BC_jellyfish/modules.py official repository ran · honoured contract MIT (permissive) · b6113e0f43155a33 · report
get_device AI4Science-WestlakeU/diffphycon/train/train_surrogate_models_jellyfish.py official repository ran MIT (permissive) · a0b5708a7ead4d9f · report
get_time AI4Science-WestlakeU/diffphycon/utils.py official repository ran MIT (permissive) · 35d5144a8f9cae87 · report
soft_clamp AI4Science-WestlakeU/diffphycon/baselines/BC_burgers/net.py official repository ran MIT (permissive) · c8dc65736e6bef1e · report
GaussianDiffusion ai4science-westlakeu/diffphycon/diffusion/diffusion_1d_burgers.py official repository unverified MIT (permissive) · 0f4fbff3e621e12e · report
cosine_beta_schedule ai4science-westlakeu/diffphycon/diffusion/diffusion_1d_burgers.py official repository unverified MIT (permissive) · b2861c16f8920d11 · report
display_name AI4Science-WestlakeU/diffphycon/phi/model.py official repository unverified MIT (permissive) · 7d3807f597feb193 · report
extract AI4Science-WestlakeU/diffphycon/baselines/BC_jellyfish/modules.py official repository unverified MIT (permissive) · 09c8479d9a5b3e06 · report
linear_transform AI4Science-WestlakeU/diffphycon/utils.py official repository unverified MIT (permissive) · 26f8f5ab9f799b05 · report
synchronized_method AI4Science-WestlakeU/diffphycon/phi/model.py official repository unverified MIT (permissive) · 35eb6064f0c2c7a2 · report

Tasks

Reinforcement Learningreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections