← All papers  /  Nov 13, 2026
Agents · Safety

Learn then Bet: Learning Interpretable Rules for Reliable Agent Intervention

First page
Learn then Bet: Learning Interpretable Rules for Reliable Agent Intervention
The curator’s take

Researchers at Amazon and Yale introduce LeBet (Learn then Bet), which learns an interpretable OR-of-AND rule monitor that decides when to stop, upgrade or assist a long-running agent, with finite-sample guarantees on false interventions.

Ask this paper

Key points
01

Problem. Production agents are stopped by turn limits and keyword filters. These rules end runs that would have succeeded and let failing runs continue.

02

Method. LeBet learns a Boolean rule set over partial trajectory features and accumulates evidence with a fixed betting statistic, intervening when the evidence crosses a threshold. Stochastic local search proposes rule edits because the rule-learning problem is combinatorial.

03

Guarantees. Under within-class exchangeability and leave-one-out stability, it provides false-positive control and detection power conditional on the training data, using the same trajectories for learning and calibration without assuming i.i.d. trajectories.

04

Results. On SWE-bench Lite with a Ministral 3 8B coding agent, the learned monitor saves 34.46% of input-plus-output tokens and raises output precision from 18.33% to 21.59%, with an empirical false-positive rate of 13.64%.

Abstract

Autonomous agents now run for hundreds of steps with little or no human supervision. In practice, practitioners use runtime monitors such as turn limits and keyword filters to decide when a run should be stopped, upgraded, or assisted. However, these heuristics may stop runs that would otherwise succeed or allow failing runs to continue. To address this limitation, we introduce LeBet (Learn then Bet), a statistical learning framework that derives its learning objective from sufficient conditions for valid and powerful intervention. In particular, LeBet learns an interpretable OR-of-AND monitor and accumulates evidence through a fixed betting statistic, intervening when the evidence reaches a prescribed threshold. Under finite within-class exchangeability and leave-one-out stability, we derive finite-sample guarantees for false-positive control (validity) and detection power conditional on the training data, using the same trajectories for learning and calibration without assuming independent and identically distributed trajectories. To address the intractable combinatorial optimization problem in our learning formulation, we use stochastic local search that leverages the monitor's Boolean structure to propose rule edits aimed at improving empirical separation. On SWE-bench Lite with Ministral 3 8B, the learned monitor saves $34.46\%$ of input-plus-output tokens and increases output precision from $18.33\%$ to $21.59\%$. The empirical false-positive rate is $13.64\%$. Our results show how to formalize the learning problem over interpretable rule sets with statistical conditions and establish training-conditional guarantees for reliable intervention based on partial histories.

Every Monday
Get next week’s papers.
Subscribe on Substack