# Learn then Bet: Learning Interpretable Rules for Reliable Agent Intervention

arXiv: https://arxiv.org/abs/2611.17662 · HTML: https://mlsanity.com/paper/2611.17662/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 19 of its 73 references that are in the map.
- Submitted 13 Nov 2026.

## Builds on (most cited first, 19 of 19)

- [AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents](https://mlsanity.com/paper/2503.18666/) (2025)
- [Ministral 3](https://mlsanity.com/paper/2601.08584/) (2026)
- [Hypothesis testing with e-values](https://mlsanity.com/paper/2410.23614/) (2024)
- [ProbGuard: Proactive Runtime Monitoring for LLM Agent Safety via Probabilistic Prediction](https://mlsanity.com/paper/2508.00500/) (2025)
- [CausalFlow: Causal Attribution and Counterfactual Repair for LLM Agent Failures](https://mlsanity.com/paper/2605.25338/) (2026)
- [Generative Modeling for Mathematical Discovery](https://mlsanity.com/paper/2503.11061/) (2025)
- [More with Less: An Empirical Study of Turn-Control Strategies for Efficient Coding Agents](https://mlsanity.com/paper/2510.16786/) (2025)
- [Interpretable Two-level Boolean Rule Learning for Classification](https://mlsanity.com/paper/1511.07361/) (2015)
- [Quantifying Trust: Financial Risk Management for Trustworthy AI Agents](https://mlsanity.com/paper/2604.03976/) (2026)
- [Conformal Inference for Open-Set and Imbalanced Classification](https://mlsanity.com/paper/2510.13037/) (2025)
- [Four lectures on probabilistic methods for data science](https://mlsanity.com/paper/1612.06661/) (2016)
- [TRACE: Trajectory Reasoning through Adaptive Cross-Step Evidence Aggregation for LLM Agents](https://mlsanity.com/paper/2606.07054/) (2026)
- [Assumption-free stability for ranking problems](https://mlsanity.com/paper/2506.02257/) (2025)
- [Long-Horizon Plan Execution in Large Tool Spaces through Entropy-Guided Branching](https://mlsanity.com/paper/2604.12126/) (2026)
- [When Should an AI Workflow Release? Always-Valid Inference for Black-Box Generate-Verify Systems](https://mlsanity.com/paper/2605.12947/) (2026)
- [The Saturation Trap and the Subjectivity of Intervention Timing: Why Affect-Based Triggers and LLM Judges Fail to Time Interventions on Autonomous Agents](https://mlsanity.com/paper/2606.04296/) (2026)
- [AgentOpt v0.1 Technical Report: Client-Side Optimization for LLM-Based Agent](https://mlsanity.com/paper/2604.06296/) (2026)
- [Uncertainty-Aware Sequential Decision Rules for Event-Triggered LLM Invocation in Streaming Systems](https://mlsanity.com/paper/2607.13048/) (2026)
- [Betting for Sim-to-Real Performance Evaluation](https://mlsanity.com/paper/2604.24018/) (2026)

## Abstract (arXiv)

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.
