@0xLogicrw: OpenAI post-training core member Weng Jiayi previously proved that 'purely relying on a large model to write code can beat Atari games.' Fluid dynamics PhD student Paul Garnier has now brought this approach to the more hardcore field of fluid dynamics control. He never trained any neural network. He simply had Codex 5.5 act as a programmer...
Summary
A fluid dynamics PhD student used OpenAI's Codex 5.5 model to achieve fluid dynamics control purely through code generation, without training any neural network. It surpassed reinforcement learning baselines in multiple tests, with low cost and interpretable results.
View Cached Full Text
Cached at: 05/20/26, 06:27 AM
OpenAI post-training core member Weng Jiayu previously proved that “pure large language model code can beat Atari games.” Now fluid dynamics PhD student Paul Garnier has applied this approach to the far more demanding field of fluid mechanics control.
He never trained a single neural network. He simply let Codex 5.5 act as a programmer, reading simulation test scores and diagnostic logs to self-debug and iteratively rewrite Python scripts. In this industrial script test, Codex 5.5 outperformed Claude Opus 4.7 and Gemini 3 Pro, beating the top deep reinforcement learning (DRL) baselines in over half of the physical scenarios.
Reducing drag on cars, calming turbulence in pipes — industry previously could only throw compute at the problem, brute-forcing an opaque black-box model to control airflow valves. Codex sidesteps this dead end. The rules it writes are extremely straightforward, e.g., “when local curvature is too large, delay jet injection.” A few dozen lines of short code grounded in physical intuition directly replace the neural network’s mindless brute-force trial and error.
Replacing the black box with code eliminates the brittleness of neural networks. Previously, if the hardware changed even slightly (e.g., the number of control nozzles increased from 5 to 10), the old model would immediately break and require expensive retraining. Now, just change a constant in the code, and the system instantly adapts to new hardware.
When test time was forcibly extended fourfold, the traditional DRL models left their comfort zone and completely collapsed; but the LLM-generated code, which directly follows physical logic, ran steadily. The entire control strategy cost only 21.25 million tokens, with a total expense under $14.
pg (@pg_dons): 1/5 TLDR; We used Codex to discover and maintain heuristic learning for hard fluid dynamics control cases.
I’ve been applying DRL and GNN to physics since 2019, and over the past 3 months I’ve been toying with the idea of using agents in our processes. Inspired by the blog post
Similar Articles
@0xLogicrw: Former OpenAI post-training core member Jiayi Weng proposed a new reinforcement learning paradigm called "Heuristic Learning" in his personal capacity and open-sourced all experimental code. He used Codex (GPT-5.4) to repeatedly play the Atari game Breakout, but GPT-5.4 was never retrained...
Former OpenAI researcher Jiayi Weng proposed a new paradigm called "Heuristic Learning", which uses large language models to generate and iteratively modify Python code to solve reinforcement learning tasks. Knowledge is stored in interpretable code rather than neural network parameters, effectively avoiding catastrophic forgetting. It has achieved excellent results on Atari and MuJoCo benchmarks and the code has been open-sourced.
@php_martin: OpenAI Codex is now free. But what really shocked me isn't the free part — it's that local open-source models can deliver AI Agent performance close to the cloud experience. The video demonstrates 4 real-world scenarios: fixing a crashed space game, building a Whac-A-Mole web game in minutes, generating an Apple-style product homepage, and even launching a browser to search, download, and save files on its own.
OpenAI Codex is now free, but even more surprising is that local open-source models can achieve AI Agent performance close to the cloud, demonstrating scenarios like fixing games and developing web games without requiring API keys or internet.
@qloog: Stop calling AI a mere efficiency booster. This OpenAI-endorsed Codex tutorial lets one person do an entire team’s job—iOS app, code, investor deck—end-to-end. Two levers: custom skills (reusable know-how) + automation (exponential speed).
OpenAI-endorsed Codex tutorial enables solo developers to build iOS apps, write code, and generate investor decks through reusable custom skills and automation.
@QingQ77: 开源的"代码即动作"科研智能体,用持久化内核运行真正的 Python/R 代码而不是固定工具表,让研究者靠便宜模型(豆包 ¥9.9/月)复现 Claude Science 级别的科研自动化。 https://github.com/PKU-…
开源的科研智能体 OpenAI4S,通过持久化内核运行真正的 Python/R 代码,结合 JSON 工具编排,让研究者可以用极低成本(豆包 ¥9.9/月)复现 Claude Science 级别的科研自动化。
@berryxia: Small model, big wisdom? It's now real! A 7B small model now acts as the boss of top large models like GPT-5, Claude Sonnet 4, Gemini 2.5 Pro. A new paper shows an RL-trained 7B model learned to write natural language subtasks, assign them to different models, precisely...
A new paper proposes training a 7B small model via reinforcement learning as a task scheduler, automatically decomposing subtasks and assigning them to top models like GPT-5 and Claude. It surpasses individual frontier models on several hard benchmarks, demonstrating that end-to-end reward learning can effectively replace manual prompt engineering and multi-agent pipeline design.