Cost-Sensitive Reversibility of Non-Deterministic Actions

Giuseppe Canonaco, Alberto Pozanco, Daniel BorrajoarXiv 2026

It’s late, you’re tired, and you’re probably thinking about that one email you sent or that one online purchase you made where you immediately thought: “Can I take that back?”

In the world of AI planning, this is called reversibility. Until now, researchers mostly asked a binary question: Is an action reversible or not? But as anyone who has tried to return a mattress bought online knows, "reversible" and "cheaply reversible" are two very different things.

This paper from JPMorgan Chase AI Research introduces Cost-Sensitive Reversibility. It moves the goalposts from "Can I undo this?" to "Can I undo this without breaking the bank?"

TL;DR

The authors propose a framework for AI agents to calculate the "recovery cost" of an action before they take it. By distinguishing between "weak" (optimistic) and "strong" (guaranteed) recovery budgets, they provide a way for autonomous systems to decide when an action is safe to perform alone and when it’s time to ask a human for permission.

What Problem Does This Paper Address?

In Fully Observable Non-Deterministic (FOND) planning, actions are unpredictable. If you try to "Add to Cart," the item might successfully land in your cart, or it might suddenly become "Out of Stock."

Previous research categorized actions as "weakly reversible" (there’s a chance you can undo it) or "strong-cyclic reversible" (you’re guaranteed to undo it eventually, assuming you have enough "fair" chances).

The gap? These definitions are qualitative. They don't care if "undoing" an action takes five seconds or five years, or if it costs \$1 or \$1,000. For a real-world agent—like a trading bot or a home robot—an action that is "reversible" but costs a million dollars to fix is effectively a dead end. This paper adds the "budget" dimension to the math.

Methods

The authors introduce the concept of $k$-bounded reversibility, where $k$ is your maximum acceptable recovery cost. They break this down into two main flavors:

  • Weak Reversal Budget: The cost of the cheapest possible path back to the start. It’s the "best-case scenario" recovery.
  • Strong Reversal Budget: The cost of the worst-case path back. This is a much higher safety bar; it means no matter how the non-deterministic dice roll, you can get back to square one without exceeding cost $k$.

To make this work, they developed a reversibility lattice—a hierarchical map showing how these new cost-based notions relate to the old qualitative ones. They also created "compilations," which are essentially ways to translate these complex reversibility questions into standard planning problems that existing AI solvers can handle.

Figure 1: Transition graph for the online shopping-agent ex- ample. All actions have unit cost except return item, which has cost 10.

Datasets

The researchers evaluated their approach using a standard suite of 1,871 grounded actions from the FOND benchmark library. This includes classic AI "toy" problems like:

  • Acrobatics and Beam-Walk: Testing physical balance and recovery.
  • ZenoTravel: Logistics and transportation scenarios.
  • BlocksWorld: Moving and stacking blocks.

They tested these actions under three different cost models: Unit costs (every action costs 1), Effect-size costs (complex changes cost more), and Outcome-sensitive costs (actions with more possible failures are penalized).

Key Insights and Ideas

  • The "Fairness" Trap: In older models, "strong-cyclic" reversibility was the gold standard because it guaranteed you'd eventually get back. But the authors point out that "eventually" can involve infinite loops. From a cost perspective, a cycle is a disaster—it means your worst-case cost is effectively infinite.
  • Autonomy Boundaries: This research provides a mathematical "tripwire" for AI. If an action’s strong reversal budget exceeds a certain threshold, the agent should stop and ask for human approval.
  • Weak vs. Strong Asymmetry: Merging "weak" recovery policies is easy—adding more options can only make things cheaper. Merging "strong" policies is much harder because you have to ensure that new actions don't accidentally create expensive new "traps" or cycles.

Key Results

The authors successfully classified 1,871 actions based on their cost-sensitive safety.

Table 1: Classification of actions. "BStr" represents actions with a finite strong budget, while "SCyc" represents those that are reversible but might loop forever (infinite cost).

As seen in Figure 2, they found that out of 900 weakly reversible actions, only 383 had a finite strong budget. The other 506 were "strong-cyclic," meaning they are technically reversible but have no guaranteed upper bound on cost.

Table 2: Distribution of budgets. Under unit costs, the median strong recovery budget is just 1, but the median weak budget is 5.

In Figure 3, the data shows how the cost model drastically changes the "safety signal." For example, in the Zenotravel domain, actions have a median weak budget of 5 under unit costs, but this jumps to 20 when using more complex cost models.

Limitations and Future Work

The biggest limitation is the restricted search space. Currently, the system only looks at variables directly mentioned in an action's requirements. This is a "safe" shortcut, but it might miss clever, cheaper recovery paths that use other parts of the environment (what the authors call "cheaper detours").

The authors also note that while they can prove an action is expensive to reverse, their current "restricted" method can't always prove an action is impossible to reverse in the broader, full-domain context. Future work will focus on searching the full state space to find even more efficient recovery policies.

Summary updated

Abstract

Determining action reversibility requires checking whether the effects of an action can be undone. Recent work has extended reversibility to fully observable non-deterministic (FOND) planning. It distinguishes weak reversibility, where reversal may succeed, from strong-cyclic reversibility, where reversal is guaranteed under fairness. These notions are qualitative: they say whether reversal is possible, but not how costly it is. We introduce cost-sensitive reversibility for non-deterministic actions. Given positive action costs, we define weak and strong reversal budgets, $k$-bounded reversibility, and a distinction between finite strong reversal and strong-cyclic reversal with unbounded worst-case cost. We relate the resulting notions in a reversibility lattice, prove cost-aware policy-merging results, and show how to compute restricted weak and strong universal uniform reversal budgets using cost-optimal classical planning and worst-case-optimal FOND search, respectively. We also give an admissible lower-bound test for rejecting $k$-bounded reversibility. These notions support finer-grained safety decisions: a small finite strong budget bounds recovery cost, whereas a small weak budget certifies only a cheap possible recovery path. Actions without an acceptable strong bound may therefore warrant human approval, as in tool-using agent systems.
BibTeX
@misc{canonaco2026cost,
  author = {Giuseppe Canonaco and Alberto Pozanco and Daniel Borrajo},
  title = {{Cost-Sensitive Reversibility of Non-Deterministic Actions}},
  year = {2026},
  eprint = {2611.30399},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30399},
}
Figure