← Latest papers
💻 computer science

Control-aware training of physical neural networks for closed-loop regulation

This paper demonstrates that optimizing physical neural networks with control-aware objectives, which prioritize preserving candidate-action rankings over static regression accuracy, significantly enhances closed-loop regulation performance and robustness against perturbations in tasks like homeostatic regulation and Cart-Pole stabilization.

Original authors: Yuzhan Zhang

Published 2026-08-25
📖 6 min read🧠 Deep dive

Original authors: Yuzhan Zhang

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of modern computing, there is a growing movement to build machines that think not just with silicon chips, but with the raw, physical laws of the universe itself. These are called physical neural networks. Instead of simulating a brain on a standard computer, these systems use real, controllable physical processes—like light passing through glass or the vibration of tiny mechanical oscillators—to perform calculations. They are fast and efficient, but they are also messy. The physical world is full of small, unavoidable imperfections: temperature shifts, slight manufacturing differences, and random noise. When a computer program runs on a standard processor, these tiny errors usually don't matter much. But when a machine is used to control something in real time, like balancing a pole or regulating a chemical reaction, even a tiny mistake in calculation can lead to a wrong decision. If a controller misjudges the best move by a fraction, it might choose a slightly worse action. In a feedback loop, that small error can compound, sending the system down a path that eventually leads to failure. The central question for scientists is whether these physical machines can be trained to ignore their own imperfections and make the right choices, even when the numbers they calculate are slightly off.

A researcher named Yuzhan Zhang tackled this problem by asking a different question about how these machines should be taught. Traditionally, engineers train these physical systems by trying to make their output numbers match a perfect target as closely as possible, much like a student trying to get every answer on a math test exactly right. Zhang's work suggests that for machines that control physical systems, getting the numbers exactly right is not the most important goal. Instead, the most important goal is to ensure the machine picks the right order of actions. If a controller has to choose between moving left or right, it does not need to know the exact value of "left" and "right" to the last decimal point. It only needs to know that "left" is better than "right" by enough of a margin to be sure. The study shows that by training the physical network to protect this ranking of choices, rather than just minimizing numerical errors, the system becomes much more robust when things go wrong in the real world.

To test this idea, the researcher built two different types of physical computing systems in a simulation. One system used a model of light interfering with itself, similar to how waves in a pond overlap, while the other used a network of twenty-four tiny, connected oscillators that swing back and forth like pendulums. These systems were tasked with a job called homeostatic regulation, which is essentially keeping a set of internal variables, such as energy and temperature, within a safe, healthy range. The systems had to constantly decide whether to charge up, cool down, or repair themselves to avoid a dangerous state. The researcher trained two versions of the controller for each system. The first version was trained in the traditional way, trying to match the perfect numbers as closely as possible. The second version was trained with a new method that focused on keeping the ranking of the best actions correct, even if the numbers themselves were a bit fuzzy.

The results were striking. When the systems were tested under normal, perfect conditions, both controllers performed almost identically. They made the same decisions and kept the internal variables in the safe zone with nearly the same efficiency. However, the true test came when the researcher introduced realistic disturbances, such as random noise in the sensors or slight changes in the physical properties of the machine. Under these stressed conditions, the traditional controller began to falter. It started making choices that led to higher costs and a greater risk of failure. The controller trained with the new, ranking-focused method, however, held its ground. In the light-based system, this new approach reduced the cost of keeping the system alive by nearly eighteen percent when facing moderate to strong disturbances. In the oscillator system, the improvement was even more dramatic, cutting the cost by nearly twenty-nine percent. Crucially, this improvement happened even though the new controller was not better at predicting the exact numbers; in fact, in some tests, its raw numerical predictions were slightly worse than the traditional model. The advantage came entirely from its ability to maintain the correct order of choices when the environment was noisy.

To ensure these findings were not just a fluke of one specific task, the researcher also tested the method on a classic control problem known as the Cart-Pole, where a machine must balance a pole on a moving cart. This is a standard test for control systems, unrelated to the homeostatic task. Again, the two controllers were matched so that their ability to predict numbers was nearly identical. When the system was subjected to strong disturbances, the controller trained to protect the ranking of actions reduced the rate of failure by more than half compared to the traditional controller. It kept the pole balanced for significantly longer periods, surviving hundreds of steps where the other model failed quickly. The study also looked at whether the new controller was simply being more cautious, perhaps doing less work to avoid risk. By carefully comparing the two systems when they were forced to do the exact same amount of work, the researcher confirmed that the improved performance was not due to laziness or reduced effort. The new controller was genuinely better at making the right decision in the moment, which prevented the system from drifting into a dangerous state.

The research also included a check against real-world data from other experiments to see if the level of difficulty used in the simulations was realistic. The study found that the disturbances used in the tests were comparable to the errors seen in actual physical computing hardware reported in other scientific papers. This suggests that the improvements found in the simulation are relevant to real machines that might be built in the future. The work does not claim to have solved all problems with physical computing, and it acknowledges that in one specific test on the oscillator system, the improvement was small and did not meet a strict threshold for success. However, the overall pattern is clear: when a physical machine is embedded in a feedback loop, training it to care about the consequences of its choices is more effective than training it to be a perfect calculator. The study concludes that for closed-loop control, the structure of the decision matters more than the precision of the number. By teaching these physical networks to value the correct ordering of actions, engineers can build systems that are far more resilient to the inevitable messiness of the physical world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →