When AI mistakes cascade, when should a human step in?
UC Berkeley researchers draw on mathematics used to study earthquake aftershocks to explore how the changing risk of AI failures could guide human oversight.

When an AI agent makes a mistake, the consequences may extend beyond a single wrong answer or action. An incorrect assessment of a software test could lead to an unnecessary code change, which then misleads the agent’s next decision. One error becomes the basis for another.
As AI agents take on increasingly complex tasks with less direct supervision, these cascading failures raise a pressing question: When should a human step in and take back control?
UC Berkeley researchers have developed a mathematical framework to explore that question, combining statistical modeling with reinforcement learning to determine when human oversight is most valuable.
In a new paper, “When Should a Human Take Back Control? Optimal Delegation under Turbulent AI Risk,” Haoze Yan, a Ph.D. student in UC Berkeley’s Department of Industrial Engineering and Operations Research, and his adviser, Assistant Professor Thibaut Mastrolia, work with Julien Roze and Ved Upadhyay of Stoa, an AI risk management company affiliated with Berkeley SkyDeck, and Unal Tatar of the University at Albany to explore how earlier AI failures can increase uncertainty and the likelihood of subsequent errors. The researchers then use that evolving risk to guide decisions about human intervention, balancing the benefits of AI autonomy against the costs of supervision.
In computer simulations, their approach achieved better risk-adjusted performance than strategies that kept either humans or AI in control throughout a task.
At the heart of the research is the Hawkes process, a statistical model used to study events that can trigger further events.
In seismology, an earthquake can produce aftershocks, increasing the likelihood of additional seismic activity. Rather than treating each event as independent, the Hawkes process captures how earlier events temporarily increase the rate of subsequent ones, with their influence diminishing over time.
The researchers propose using similar mathematics to model AI failures.
Their framework distinguishes between two types of incidents: errors in an AI system’s representation of its environment and actions inconsistent with its capabilities or permitted operations. It accounts for how one incident can increase the likelihood of another of the same type, known as self-excitation, or a different type, known as cross-excitation.
Unlike a standard Poisson process, which treats incidents as independent, the Hawkes process incorporates their timing and history into the evolving level of risk.
The researchers call this potential accumulation and propagation of failures “turbulent AI risk.” Their model also accounts for how heightened incident activity can make project outcomes less predictable, and how human supervision might weaken the propagation of errors.
Learning when to intervene
Human oversight can help contain cascading failures, but requiring people to supervise every decision is costly and can erode the efficiency gains of AI automation.
To address this trade-off, the team developed Hawkes-PPO, an approach combining Hawkes-process modeling with a reinforcement learning algorithm known as proximal policy optimization.
Using the timing of previous incidents and information about a project’s current condition, the algorithm learns how to balance risk, performance and supervision costs. Mathematical filters summarize the history of observed errors without requiring advance knowledge of the parameters governing their propagation.
The resulting strategy adjusts the likelihood of switching between autonomous AI and human-assisted control, while determining how much monitoring effort to allocate when humans are in charge.
In simulations, the adaptive approach outperformed strategies relying exclusively on AI or human control on a risk-adjusted measure of performance. It also approached the results of an idealized benchmark with more complete information.
The level of human involvement varied substantially with the modeled strength of cascading risk. In simulations beginning under AI control, humans were in charge for just 0.9% of project time when earlier incidents had relatively little influence on subsequent failures. Under stronger cascading effects, human involvement rose to 73.6%.
The findings illustrate the potential value of adapting supervision to changing risk rather than relying on constant oversight or fixed intervention rules.
Managing the risks of increasingly autonomous AI
The challenge extends beyond academia. In guidance issued Oct. 15, the Financial Stability Board urged financial institutions to tailor human oversight to the risk, autonomy and complexity of AI applications.
Mastrolia sees the research as part of a broader shift in cybersecurity, as organizations confront risks arising from the AI systems they deploy.
“AI safety opens a new frontier in cybersecurity: the threat has been internalized. Working with AI means working with an efficient, overly confident agent prone to misalignment and turbulent incidents requiring careful supervision,” Mastrolia said.
The framework could eventually inform how organizations supervise autonomous AI agents in software development, cybersecurity and other operational settings where mistakes can propagate through a system.
Mastrolia also envisions extending the framework to networks of AI agents where failures could propagate between interconnected systems for AI safety decision-making policies.
As AI agents become more capable, the lasting challenge may be less about whether to delegate tasks to AI and more about how to manage that delegation as risks change. The UC Berkeley research offers a mathematical approach to making those decisions.