digital · manufacturing
learning by crashing is not an option
Reinforcement learning agents cannot explore safely in physical environments
Source: NSF Safe Learning-Enabled Systems Program (NSF 23-562) Open ↗source: primaryLast updated: 2026-10-20
Problem statement
Reinforcement learning (RL) agents learn optimal behavior by trial and error — exploring actions, observing outcomes, and updating their policies. In simulation, exploration is free: a virtual robot can crash millions of times to learn to walk. In physical environments (real robots, power grids, chemical plants, autonomous vehicles), exploration failures have real consequences — equipment damage, safety hazards, and economic loss. NSF's 2023 award announcement names a lack of safety guarantees as a major obstacle for reinforcement learning: the agent must sometimes try actions whose outcomes it cannot predict, and some of those actions may violate safety constraints. The tension between exploration (necessary for learning) and safety (necessary for deployment) is fundamentally unresolved.
Why this matters
AI systems are being deployed in high-stakes settings — NSF's announcement names healthcare, commerce and transportation, and the projects it funded cover self-driving cars, home robots and power systems — where the safety of those systems becomes extremely important. NSF's summaries of two of the funded projects put the need in these terms: systems that can learn and adapt to unexpected changes and unknown obstacles, with principled tradeoffs between risks to system safety and active data collection and learning. Bridging this gap would unlock adaptive autonomy for systems where fixed control policies are suboptimal but unconstrained learning is unacceptable.
What’s been tried and why it hasn’t worked
The NSF Safe Learning-Enabled Systems solicitation describes why ordinary testing is not enough: traditional machine learning systems are evaluated pointwise against a fixed test set, and that static coverage gives only limited assurance under unprecedented conditions in high-stakes operating environments; verifying that learning components achieve safety guarantees for all possible inputs may be difficult, if not impossible. The projects funded under it, as NSF's announcement describes them, take several routes — runtime supervisors that continuously monitor an autonomous system and intervene as needed, conformal and distributional reinforcement learning with mathematical and empirical safety guarantees, a "Data-enabled Simplex" system that lets a learning-enabled system adapt to unexpected changes and unknown obstacles, and stress testing with rare but realistic failure scenarios. Other approaches — constrained formulations, reward shaping and barrier functions, sim-to-real transfer, Gaussian-process safe exploration and runtime shields — are not covered by the sources named here; on the write-up's own reading, each gives up either some exploration or some of the guarantee, because safety constraints define regions of state space that must never be entered while optimal behavior often lies near their boundary.
What would unlock progress
A theoretical framework that formally characterizes the minimum safety-compatible exploration needed to learn an optimal policy within a given state-action space — quantifying the fundamental tradeoff rather than treating safety and exploration as independent objectives. Algorithms that can provably learn from informative but safe trajectories near constraint boundaries without crossing them, perhaps using control-theoretic barrier certificates that adapt as the agent's model improves. Transfer learning approaches that can rigorously quantify the residual uncertainty when transferring from simulation to reality, enabling targeted minimal exploration in the real environment.
Where to start
A student team could implement and compare three safe RL algorithms (constrained policy optimization, control barrier function-augmented RL, and Gaussian process-based safe exploration) on a standard robot learning benchmark (OpenAI Safety Gym or Safety-Gymnasium), measuring the tradeoff between constraint violations during learning and final policy quality. Alternatively, a team could develop a Lyapunov-based safety certificate for a simple physical system (inverted pendulum, cart-pole) and demonstrate safe learning on real hardware. Relevant disciplines include control theory, machine learning, robotics, and applied mathematics.
Genes
Related problems
Stuck the same way, in other fields.
field: the built worldsix billion gallons lost through pipes we cannot seeNondestructive methods cannot yet reliably assess the remaining wall thickness of buried water pipes without excavationtested in the wrong worldsource: primaryfield: food & the living worldmeasuring ice loss at the wrong resolutionSatellite gravity measurements cannot resolve where ice sheets are losing mass fast enough to guide adaptationtested in the wrong worldsource: primaryfield: health & medicinerising onto a frame that can roll awayRollator users in care homes most often fell backward during transfers as the frame rolled; a powered robotic rollator gave no more successful chair rises than a plain one in a six-person German test, and lower handgrips on a UK frame helped mainly the more mobile userstested in the wrong worldsource: primaryfield: water & energyone atom thick, impossible to manufactureNanoporous graphene membranes cannot scale from lab to industrial desalinationtested in the wrong worldsource: primarySources
- NSF Safe Learning-Enabled Systems Program (NSF 23-562), accessed 2026-10-20. Link ↗
- NSF CPS Foundations and Connected Communities Program (NSF 25-543), accessed 2026-10-20, accessed 2026-02-15. Link ↗ Link 2 ↗
Revision notes
This brief gets checked against its sources and contains the following revisions. Future revisions get added here.
Worth knowing
- The sources are NSF funding announcements and solicitations; What Would Unlock Progress and the entry points are the write-up's own proposals.
Sources read
- NSF news release on its $10.9 million investment in safe AI (2023): full text
- NSF, Safe Learning-Enabled Systems solicitation (NSF 23-562): full text
- NSF, Future Computing Research solicitation (NSF 25-543): full text
- NSF, Cyber-Physical Systems program page: full text
What changed
- Not found in the sources, replaced with what they say: that no reinforcement-learning method yet guarantees safety while exploring (now NSF's description of a lack of safety guarantees as a major obstacle); that the method has reached only a handful of physical systems because of this problem, and a list of domains that could benefit (now the settings the sources name, from healthcare and transportation to self-driving cars, home robots and power systems); a list of methods with a failure mode for each (now what the solicitation says about the limits of testing and verification, and the routes the funded projects take; the method list stays as the write-up's own reading).
- Quotations: the program's stated objective now reads as NSF's page has it; a question attributed to the cyber-physical systems program, which its pages do not contain, was replaced with the research areas that program lists.
- Credit: the "Guaranteed Tubes" project is now credited to both the University of Illinois Urbana-Champaign and the University of South Carolina.
- Links: links added for the two NSF solicitations, which had none.
Left open
None noted in this check.