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.
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.
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.
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