Self-Regulation and Requesting Interventions So Yeon Min, Yue Wu, Jimin Sun, Max Kaufmann, Fahim Tajwar, Yonatan Bisk, Ruslan Salakhutdinov Abstract Human intelligence involves metacognitive abilities like self-regulation, recognizing limitations, and seeking assistance only when needed. While LLM Agents excel in many domains, they often lack this awareness. Overconfident agents risk catastrophic failures, while those that seek help excessively hinder efficiency. A key challenge is enabling agents with a limited intervention budget C C is to decide when to request assistance. In this paper, we propose an offline framework that trains a “helper” policy to request interventions, such as more powerful models or test-time compute, by combining LLM-based process reward models (PRMs) with tabular reinforcement learning. Using state transitions collected offline, we score optimal intervention timing with PRMs and train the helper model on these labeled trajectories. This offline approach significantly reduces costly intervention calls during training. Furthermore, the integration of PRMs with tabular RL enhances robustness to off-policy data while avoiding the inefficiencies of deep RL. We empirically find that our method delivers optimal helper behavior. 1 Introduction Human intelligence is distinguished by metacognitive abilities, particularly self-regulation — the capacity to monitor limitations — and requesting targeted assistance only when needed (Fig 1 ). By recognizing and communicating uncertainties, individuals can delegate tasks or seek help before failure becomes inevitable. This approach prevents costly mistakes and fosters trust, as admitting uncertainty and asking for help at the right time is reassuring. Despite advancements in Large Language Models (LLMs), current AI agents often lack metacognitive awareness. Overconfident agents risk catastrophic errors, while those seeking help excessively are inefficient. Ideally, an AI agent should gauge uncertainty and selectively request assistance, ensuring reliability and efficient use of human effort. While existing AI safety research addresses unintended and malicious behaviors ( Gabriel, 2020 ; Christiano et al., 2017 ; Bai et al., 2022 ) , reliability with true agency also requires the ability to recognize and communicate limitations. Figure 1: Unreliable agents and training challenges. (a) An unreliable agent neither completes the assigned task nor communicates its inability, causing surprise and catastrophe. (b) When there is a budget C on interventions requested during inference, a key challenge is determining a reward function that guides the agent to request help appropriately. (c) For both behavior cloning/reinforcement learning, obtaining an optimal demonstration is complicated by the exponential space of possible trajectories, difficult even with human effort. A key challenge in training an intervention-requesting agent within a limited intervention budget C is deciding when to request help. This involves balancing reward design and policy optimization (Fig. 1 (b)): overly incentivizing help requests exhausts the budget prematurely, while under-incentivizing them leads to avoiding help altogether. Designing effective reward functions is non-trivial and can require the costly iterations of training, evaluation, and adjustment. Similarly, generating annotated trajectories for supervised fine-tuning under budget constraints is resource-intensive (Fig. 1 (c)), as the trajectory space is exponentially large, and even human annotators can struggle to identify optimal intervention timing for every different budget constraint. Additionally, collecting data for policy training can be highly expensive, especially when real-world interventions rely on human effort or costly external services. This raises important questions: Can we perform intervention-based data collection once and reuse it across multiple budget constraints? Furthermore, can we also control the number of interventions during training? Even if we train a policy to adhere to the budget C is during inference, managing intervention usage during training is equally critical. To address the challenges of efficient reward-policy search and minimizing intervention costs, we propose an offline and hybrid framework that collects intervention data in a single pass and combines deep scoring functions with classical tabular reinforcement learning (RL). This three-step method (Fig. 4 ) integrates LLM-based process reward models (PRMs) with tabular RL to enable efficient trajectory generation and policy optimization under both inference and training budget constraints: 1. Transition Model Collection and PRM Training : We collect state transitions with randomly triggered interventions, approximating environment dynamics. PRMs for the base actor and intervention are learned. 2. Iterative Reward and Usage/Policy Search : We apply tabular dynamic programming (DP) with PRMs and the transition model to compute optimal trajectories that respect budget constraints. A key output of DP is the expected number of help requests from the initial state. We iterate until reaching the target budget, without having to retrain the policy for each reward configuration. 3. Policy Training : The annotated trajectories are used to fine-tune the helper policy, enabling it to make effective intervention decisions within budget constraints. This offline approach greatly reduces costly intervention calls during training. Its hybrid design leverages PRMs alongside tabular RL, enhancing robustness to off-policy data and avoiding the inefficiencies of deep RL. Empirical results on Situated Instruction Following tasks show that our method—using powerful models and test-time compute (e.g., MCTS) as interventions—achieves performance comparable to a system that employs interventions at every step (e.g., eight per task), yet requires far fewer interventions (e.g., only one per task). By training LLM agents to self-regulate and request assistance judiciously, we take a step toward reliable deployment of LLM-based systems. 2 Related Work LLM agents Recent breakthroughs in LLM agents ( Yao et al., 2023 ; Yang et al., 2024 ; Shinn et al., 2024 ) have allowed the creation of AI systems which can complete a range of real-world tasks in an open-ended environment ( Nakano et al., 2021 ; Schick et al., 2023 ; Wang et al., 2024c ) . Most previous work on training such LLM agents focuses on SFT for tool-use ( Schick et al., 2023 ) , prompting closed-source LLMs ( Yang et al., 2024 ; Wang et al., 2024b ; Wang et al., 2024c ) , or applying RL in domains with a clear objective such as code generation or math ( Dubey et al., 2024 ; Chen et al., 2024b ) . We instead focus on applying RL techniques to an environment with ambiguous instructions ( Min et al., 2025 ) . Although previous works attempt to train LLM agents in such environments ( Zhai et al., 2024 ; Gehring et al., 2024 ) , they do not address how to enable them to request interventions, which is the central focus of our work. Safe and Trustworthy AI Prior work on AI safety often focuses on value alignment —ensuring AI systems follow human values ( Gabriel, 2020 ; Christiano et al., 2017 ; Bai et al., 2022 ) —and AI security —ensuring robustness to adversarial attacks ( Hendrycks et al., 2021 ; Brundage et al., 2018 ) . However, these alone may not guarantee safety in high-stakes contexts, where an agent’s limited capabilities can lead to harmful failures (e.g., prescribing the wrong medicine ( Ruan et al., 2024 ) ). We therefore situate our work under the more expansive concpet of Trustworthy AI ( Díaz-Rodríguez et al., 2023 ) , which includes the requirement that agents pursue tasks robustly without unintended failures. Figure 2: (a) A SIF task requires the agent to locate objects, interact with humans, and perform household tasks in a sequence of discrete actions. Assuming perfect visual perception, the relevant segment is highlighted in orange; states are represented in text. (b) A brief overview of Self-Regulation and Requesting Intervention, in comparison to the base agent. Self-improvement for LLMs Previous work in self-improvement has explored the potential of enhancing LLM responses. Environmental feedback ( Gou et al., 2024 ; Qiao et al., 2024 ; Liu et al., 2024 ; Chen et al., 2024a ; Anonymous, 2025 ) and model-generated critiques ( Madaan et al., 2023 ; Wang et al., 2023 ; Welleck et al., 2023 ; Lin et al., 2024 ; Qu et al., 2024 ) have enabled models to perform better in subsequent iterations. Reward models combined with search algorithms further guide decoding toward better answers ( Nakano et al., 2021 ; Uesato et al., 2022 ; Zelikman et al., 2022 ; Xie et al., 2023 ; Lightman et al., 2024 ) . However, most such methods assume the model can inherently solve the task, with the challenge lying in eliciting that capability. When a task exceeds the model’s ability, intervention of more capable models/augmented compute is needed. Confidence Estimation & Meta-cognition. Meta-cognitive agents that recognize their own limitations can guide human trust and seek external knowledge to improve accuracy ( Mallen et al., 2023 ; Asai et al., 2024 ) . Previous work estimates confidence via semantic entropy ( Kuhn et al., 2023 ) , logit values ( Jiang et al., 2021 ; Kadavath et al., 2022 ) , direct questioning ( Zhou et al., 2023 ; Lin et al., 2024 ; Xiong et al., 2024 ) , or conformal prediction ( Ren et al., 2023 ) . Although these methods can help decide when to intervene, their estimates are calculated from logits, and may be biased by training data and fail out-of-distribution ( Xiao et al., 2022 ; Zhou et al., 2023 ) . Another approach is learning an RL policy that treats assistance seeking as an action ( Chi et al., 2019 ; Nguyen et al., 2021 ; Liu et al., 2022 ; Singh et al., 2022 ; Xie et al., 2022 ; Hu et al., 2024 ) . In contrast, we use a process reward model with tabular RL to flexibly adapt to varying budget constraints without additional training. 3 Task and Setup Task We use the Situated Instruction Following (SIF) task ( Min et al., 2025 ) , which requires finding objects, interacting with humans, and performing household tasks in highly uncertain and dynamic environments (Fig. 2 ). To the best of our knowledge, SIF is among the most suitable benchmarks for evaluating how well LLM-driven agents handle nuanced and uncertain instructions. The environment and the instructions become uncertain because the speaker’s intent is not always fully specified, and the human may dynamically alter the scene (e.g., placing an object in a different room or moving to a new location). Even advanced models like GPT-4o struggle with these tasks due to such inherent ambiguities ( Min et al., 2025 ) . Our setup provides perfect visual perception, allowing the agent to receive textual environment descriptions at each step. Its action space includes discrete commands such as Go to Room X and Explore Room X , forming a multi-turn, text-based setting suitable for LLMs. Even with perfect perception, agents must calibrate their uncertainty to interpret ambiguous instructions: humans may move objects around or relocate themselves, forcing the agent to determine whether it should gather more evidence, search additional rooms, or attempt to clarify instructions. Following SIF, we use two task types. PnP is a straightforward pick-and-place scenario. S_obj is more challenging: it involves ambiguous human hints, partial observability, and the possibility of objects being moved. We use 1,000 training tasks and 40 validation/test tasks per split. Reliable Behaviors We focus on two key strategies that can achieve reliable agent behaviors: self-regulation and requesting interventions (Fig. 2 (b)). Self-regulation involves the agent autonomously deciding to stop task execution when it cannot successfully complete the task. This prevents the agent from continuing in scenarios where failure is likely, thereby conserving resources and maintaining reliability. In contrast, requesting interventions refers to the agent making state-wise requests for assistance during specific states within the task, receiving help at critical points. Base Actors and Interventions We employ two base actors: GPT-4o-mini ( Achiam et al., 2023 ) and LLaMA 3B ( Dubey et al., 2024 ) . LLaMA models are trained on GPT-4o and GPT-4o-mini trajectories for the S_obj and PnP tasks, respectively. For requesting interventions , we employ three kinds of interventions: Depth-1 MCTS: A simple Monte Carlo Tree Search approach that, guided by a process reward model, generates up to five candidate actions and selects the best. Details on MCTS implementation are in Appendix A . More Powerful Models: For a GPT-4o-mini base actor, we invoke GPT-4o . For a LLaMA 3B base actor, we use a LLaMA 3B with a better performance, that has been fine-tuned on oracle-agent trajectories for the train tasks. Oracle: We use oracle trajectories for task-wise intervention results of Sec. 4.3 . However, oracle trajectories are static and cannot be used for all settings; details are in Sec. 4.3 . 4 Self-Regulation with PRMs and Limitations We first address self-regulation: Can an agent stop executing the task if it deems it cannot complete the task (Fig. 1 (a)). 4.1 Method We measure the difficulty of a state s as 1-p(s) , where p(s) is the probability of success from s up to a terminal state. To decide when to self-regulate, we train a Process Reward Model (PRM) by rolling out trajectories of base actors, following the approach of ( Wang et al., 2024a ) . Concretely, a 3B LLaMA model with a scalar head is fine-tuned (SFT) on (\text{state},\text{outcome}) pairs, where the outcome is binary success or failure for the trajectory originating at that state; the PRM is trained to learn p(s) . Finally, we calibrate the PRM’s threshold using a held-out validation set. 4.2 Self-Regulation Performance To evaluate self-regulation performance, we first identify the maximum (1-\text{PRM score}) encountered in a trajectory before the final step. This value serves as a proxy for 1-p(s) and reflects the PRM’s estimation of the most difficult state in the trajectory. We then set a threshold on this maximum (1-\text{PRM score}) to optimize overall accuracy (binary success/failure) on a held-out validation set. Table 1 reports the accuracy, precision, and recall metrics (labeling task success as 1) on the test set for two base actors, GPT-4o-mini and LLaMA, each with its own separately trained PRM. These results demonstrate high precision and recall, indicating that the PRM score is indeed a strong indicator of p(s) . Table 1: Self-regulation performance for base actors. GPT 4o-mini Llama Pnp S_Obj Pnp S_Obj Accuracy 90% 90% 88% 90% Precision 88% 70% 88% 83% Recall 100% 100% 100% 83% 4.3 Can PRM Thresholding Work for Multi-Step Intervention Requests? We now investigate whether the PRM thresholding strategy, which worked for self-regulation, can also be used for multi-step intervention requests. Formally, consider a stochastic process with states s\in\mathcal{S} and transition probabilities P(s^{\prime}\mid s) . Each state s , whether terminal or non-terminal, has a probability p(s) of eventually leading to task success. At each non-terminal state s , the helper chooses either help or nohelp . Unlike self-regulation—where the agent simply halts and asks for help once—multi-step interventions occur at each step of the process. In practice, the intervention could come from a more capable model, an MCTS approach, or an oracle actor. The question is whether we can rely on the same measure (1-p(s)) from the PRM, without explicitly accounting for the dynamics P(s^{\prime}\mid s) , to identify states requiring intervention in this more granular setting. We consider two settings: 1. I(s_{t}) (a.k.a. State-wise intervention): Interventions are selectively applied to states s_{t} during the task. 2. I(s_{t}\rightarrow T) (a.k.a. Task-wise intervention): Once a state s_{t} is identified, the intervention continues for the remainder of the task T . Details on implementation of I(s_{t}) and I(s_{t}\rightarrow T) are in Appendix B . Table 5 summarizes the results across different interventions, including oracle actors, larger models, and MCTS. We find the following: 1. For I(s_{t}\to T) , PRM scores consistently identify tasks that require help, aligning with self-regulation results. 2. However, I(s_{t}) consistently outperforms I(s_{t}\to T) . Under similar intervention budgets, intervening selectively at difficult states can be more effective than intervening for all states of difficult tasks . 3. PRM thresholding is ineffective for I(s_{t}) . We provide an in-depth discussion of these three points in Appendix B . Here, we highlight why PRM scores are ineffective for I(s_{t}) . As illustrated in Figure 3 , once an intervention briefly reduces the difficulty (and increases p(s) ), the base actor immediately takes control. Before long, the difficulty surpasses the threshold again, prompting another intervention. This repeated “toggling” between the intervention and the base actor leads to suboptimal performance and illustrates the pitfalls of using only difficulty-based thresholds without accounting for sequential dependencies. Consequently, we cannot rely on the same measure (1-p(s)) used in self-regulation without explicitly incorporating transition dynamics \bigl(P(s^{\prime}\mid s)\bigr) to identify states that need intervention in this more granular setting. Figure 3: p(s) measured by the PRM across the task. Interventions on PRM-chosen states (red line and stars) cause repeated toggling that traps the agent in low- p(s) regions, resulting in worse outcomes than random interventions (blue line and stars), which ends at step 10 with task success. Figure 4: Method Overview. (a) We combine tabular state dynamics with a process reward model (PRM), implemented as a large language model, to perform offline tabular reinforcement learning. Our method consists of iterative usage/policy computation. \pi_{s}=\text{help} denoted as \pi_{s}=1 for space. (b) We run this offline tabular RL procedure to generate trajectory annotations for training tasks. (c) Finally, we train another large language model with a scalar head via supervised fine-tuning (SFT), with the trajectory annotations from step (b). 5 Method: Requesting Targeted Interventions Determining when to ask for help is challenging, especially under a constrained usage budget . Although a PRM can estimate success probabilities, it does not capture how help requests affect future states, highlighting the need for transition dynamics (Sec. 4.3 , Fig. 3 ). Fully accounting for state dynamics, difficulty, usage, and help-asking policies requires searching over both rewards and policies. However, running a complete deep RL pipeline for iterative reward and policy optimization can be prohibitively expensive, requiring substantial training time, many interventions, and extensive hyperparameter tuning. In addition, collecting data for policy training is costly and constrained, prompting the question of how to effectively gather and reuse data across multiple budgets while controlling the number of interventions for collecting training data. We propose a method that is both offline , requiring only a single pass of intervention data collection for training, and hybrid , integrating a learned PRM with classical tabular RL. This method keeps usage —the number of times an intervention is used during inference — under the given budget, while finding the optimal policy —deciding whether to request help at non-terminal states. The key components of our method are as follows (Fig. 4 ): Transition Model Collection , Dynamic Programming (DP) for Usage/Policy Iteration (Fig. 4 (a)), Reward Search (Fig. 4 (b)), and Final Training (Fig. 4 (c)). Their details are explained in Sec. 5.3 . This approach offers several advantages. First, the DP step is extremely fast, completing in minutes without requiring GPUs or additional intervention requests. We do NOT have to train the policy itself for reward search; we only need to repeat the quick DP process. Second, the off-line nature enables adaptability across budgets. Intervention data only needs to be collected once in the transition model collection, and can be reused to obtain trajectories for different budgets. Third, using learned PRMs with tabular RL enhances robustness while avoiding the inefficiencies of deep RL. The claims on robustness are supported by results of Sec. 6.2 . 5.1 Reward Regime and Notations Agents can request help at non-terminal states to boost success, balancing help costs. We want to maximize task success rate, while calling less than C interventions in the test set. For this, we define the reward structure as follows: Reward Regime At any non-terminal state s , the helper chooses either help or nohelp . • Intermediate states: – help: incurs an immediate reward of -r . – nohelp: immediate reward of 0. • Terminal States: success yields a reward of +1 and failure 0 . The cost C is embedded in r and we aim to find the reward r , together with the entailing policy, that incurs cost C . Notations Success probability under help / nohelp are denoted \displaystyle p_{\text{nohelp}}(s) \displaystyle=\Pr(\text{success at terminal state after }s\mid\text{nohelp}), \displaystyle p_{\text{help}}(s) \displaystyle=\Pr(\text{success at terminal state after }s\mid\text{help}). at state s . Similarly, we denote state transition dynamics under help / nohelp at state s as P_{\mathrm{nohelp}}(s^{\prime}\mid s) , P_{\mathrm{help}}(s^{\prime}\mid s) . 5.2 Derivaion of Usage/Policy Iteration Overview We derive the usage/policy iteration algorithm (Fig. 4 (a)), effectively equivalent to value iteration, by decomposing the value function into success and usage components. Unlike standard value iteration, usage/policy iteration is offline and integrates PRMs for robust classical RL. Summary of Usage/Policy Iteration Derivation The value function V_{s}(r) for an optimal policy \pi^{*} represents the expected return from state s under the reward regime: \displaystyle V_{s}(r) \displaystyle=\text{(expected discounted reward from $s$,} \displaystyle\text{with $-r$ per help, $+1$ at success)}. It satisfies the piecewise Bellman Equation V_{s}(r)=\begin{cases}\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)V_{s^{\prime}}(r),&\text{if nohelp at $s$},\\[6.0pt] -r+\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)V_{s^{\prime}}(r),&\text{if help at $s$},\end{cases} with V_{s_{\text{term}}}(r)=1 at terminal success states and V_{s_{\text{term}}}(r)=0 at terminal failure states. We can disentangle V_{s} into success and usage components: V_{s}(r)\;=\;S_{s}\;-\;r\,M_{s}(r),\quad\text{where} S_{s}=\mathbb{E}_{\pi^{*}}\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,1_{\text{success at time }t}\Bigr] M_{s}(r)=\mathbb{E}_{\pi^{*}}\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,1_{\text{help at time }t}\Bigr] This decomposition, together with the piecewise Bellman equation, leads us to the recursive definition of optimal usage and policy. [formula] where we denote \Delta p_{s}=p_{\text{help}}(s)-p_{\text{nohelp}}(s) and \Delta M_{s}=p_{\text{help}}(s)M_{s}^{\text{help}}-p_{\text{nohelp}}(s)M_{s}^{\text{nohelp}}. Usage/policy iteration (the boxed equation) is a direct consequence of (i) substituting V_{s}(r)=S_{s}-r\,M_{s}(r) into the Bellman recursion and (ii) deriving and applying the threshold condition of r for comparing help vs. nohelp. Please see Appendix C for more detailed derivation. Consequences and Explanations Iterating the boxed equation converges to a unique fixed point M^{*}(r) (Proof in Appendix D ). The optimal DP policy \pi^{*}(r) is then obtained by determining which branch each state s selects in the stable solution: help if \Delta p_{s}/\Delta M^{*}_{s}>r , and nohelp otherwise. Intuitively, help is optimal precisely if \text{(extra success)}\;>\;r\text{(extra cost)}\Longleftrightarrow\Delta p_{s}\;>\;r\;\Delta M^{*}_{s} 5.3 Algorithm An overview of the algorithm to compute the fixed point M^{*}(r) and \pi^{*}(r) is provided in Fig. 4 . The process begins with collecting a table of transition dynamics. Using these dynamics and a learned PRM, the algorithm iteratively alternates between reward search (Fig. 4 (b)) and usage/policy search (Fig. 4 (a)) to converge on the desired solution. Phase 1: Exploration and Building Transition Model We collect transitions by randomly triggering interventions using the base actor on training tasks. For each transition, we update the count as follows: \texttt{count}[s][a][s^{\prime}]{+}{+}. Specifically, we perform three randomly seeded repetitions of rollouts where interventions are triggered with probabilities of 0.0, 0.1, 0.3, 0.5, 0.7, 0.9, and 1.0 for each task. For scenarios involving multiple interventions (see Table 3 ), we collect transitions for each intervention individually and additionally for combinations of intervention probabilities, with 0.1/0.1, 0.3/0.3, 0.1/0.3, and 0.3/0.1 per intervention. After exploration, raw counts are normalized to estimate the transition probabilities, where a\in\{\text{help},\text{nohelp}\} . \hat{P}(s^{\prime}\mid s,a)=\frac{\texttt{count}[s][a][s^{\prime}]}{\sum_{x}\texttt{count}[s][a][x]}. Phase 2: Offline DP for Iterative Reward/Policy Search We seek a cost parameter r that meets usage budget constraint C (Sec. 5.1 ). In practice, we can systematically search over possible r values (e.g. via binary search) and, for each candidate r , run a fast offline DP to obtain both the expected usage \mathbb{E}[U] and the associated policy. Concretely, for a given r (see Fig. 4 ), we initialize usage estimates M^{\text{help}}_{s},\,M^{\text{nohelp}}_{s} and iterate the boxed equation of Sec. 5.2 . We then compare \mathbb{E}[U]=M_{s_{0}} with the usage budget or other constraints, and adjust r as necessary. Since each iteration is purely tabular, it is very fast and does not require new environment rollouts. Initialization. Set M_{s}^{(0)}=0 (or any other guess) for all states s\in\mathcal{S} collected in Phase 1, and set \texttt{iteration}=0 . Usage Computation For each state s , compute M_{s}^{\text{help}}\;\leftarrow\;1\;+\;\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,M_{s^{\prime}}^{(\texttt{iteration}-1)}, M_{s}^{\text{nohelp}}\;\leftarrow\;\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,M_{s^{\prime}}^{(\texttt{iteration}-1)}. Policy Computation First, compute \Delta p_{s},\Delta M_{s} as defined in Sec. 5.2 . If \Delta M_{s} is (numerically) very close to zero, default to nohelp . Otherwise, \text{ratio}\;=\;\frac{\Delta p_{s}}{\Delta M_{s}},M_{s}^{(\texttt{iteration})}\;=\;\begin{cases}M_{s}^{\text{help}},&\text{if }r<\text{ratio}\\[4.0pt] M_{s}^{\text{nohelp}},&\text{otherwise}.\end{cases}\vskip-3.00003pt We iteratively repeat usage computation/policy computation for \texttt{iteration}=1,2,\dots,\texttt{max\_iters} or until we hit the convergence critertion: \Delta_{\max}<\varepsilon (the tolerance), where \Delta_{\max}\;=\;\max_{s\in\mathcal{S}}\bigl|M_{s}^{(\texttt{iteration})}\;-\;M_{s}^{(\texttt{iteration}-1)}\bigr|. We can obtain the following outcomes from the converged M_{s}(r) . First, the DP policy \pi^{*}(r) is then: \pi_{s}^{*}(r)\;=\;\begin{cases}\texttt{help},&\text{if }M_{s}(r)=M_{s}^{\text{help}},\\[3.0pt] \texttt{nohelp},&\text{otherwise}.\end{cases} The expected usage from the start state s_{0} is \mathbb{E}[U]=M_{s_{0}}(r) . We compare \mathbb{E}[U] to the usage budget C and, if unsatisfactory, adjust r and re-run the above offline DP. This approach supports quick re-solving for multiple r values without further data collection. Phase 3: Final Policy Training via SFT After deriving tabular \pi^{*}(r) for all states s\in\mathcal{S} collected in Phase 1, we train the helper model using standard supervised finetuning (SFT). Concretely, the helper model learns to replicate the DP policy \pi^{*}(r) ’s help/nohelp decisions from the train tasks for downstream deployment. This helper is plugged in as in Fig. 2 (b) and is evaluated on the test set. 5.4 Extension to Multiple Interventions Our algorithm extends to multiple intervention types, each with its own budget. The same framework in Sections 5.2 / 5.3 can be applied, with adaptations to handle multiple interventions with individual budget constraints, each with a different cost and expected usage (e.g. r_{1} , M_{s}^{1} for help1 and r_{2} , M_{s}^{2} for help2 ). In short, we can adapt Phase 2 to select the action with minimal combined cost \;r_{1}\,M_{s}^{1}+r_{2}\,M_{s}^{2} . Details are in Appendix E and results are in Tab. 3 . Table 2: Performance and intervention usage comparison of our method and baselines, across task types. A more powerful model was used as the intervention. S_Obj Pick N Place SR \uparrow SPL \uparrow L\downarrow U\downarrow \mathbb{E}[U] SR \uparrow SPL \uparrow L\downarrow U\downarrow \mathbb{E}[U] 0% Interv. 30.0 26.6 12.3 0.0 - 35.0 30.1 8.0 0.0 - 100% Interv. 67.5 65 7.8 7.8 - 60.0 52.0 4.6 4.6 - Random 10% 47.5 38 10.5 1.1 - 37.5 32.9 6.8 0.6 - 30% 50 44.1 8.9 2.9 - 50 42.6 5.8 1.5 - State-wise PRM Thresholding 10% 42.5 35.5 11.8 1.0 - 32.5 27.1 7.0 0.6 - 30% 42.5 35.5 11.1 1.8 - 57.5 39.3 4.8 3.2 - Our Method r high 47.5 39.3 11.4 0.4 0.4 47.5 36.6 6.0 1.2 0.7 r mid 62.5 57.5 9.1 1.0 0.8 60.0 49.7 5.7 1.6 0.9 r low 60.0 54.5 8.7 2.2 1.1 64.9 58.9 5.2 2.9 1.8 6 Results We provide results for our method, with the LLaMa base actor and better model/MCTS interventions. We plug in our trained helper from Sec. 5 , as in Fig. 2 (b), to call intervention(s) when the helper chooses help . As baselines, we compare to triggering intervention with random state selection and the PRM state selection in Sec. 4.3 . Table 3: Performance and intervention usage comparison of our method and baselines, across intervention types, evaluated on S_obj tasks. Our method achieves performance close to using intervention 100%, while using much fewer interventions. A More Powerful Model MCTS Multiple Interventions SR \uparrow SPL \uparrow L\downarrow\ U\downarrow \mathbb{E}[U] SR \uparrow SPL \uparrow L\downarrow\ U\downarrow \mathbb{E}[U] SR \uparrow SPL \uparrow L\downarrow\ U_{1}\downarrow U_{2}\downarrow \mathbb{E}[U_{1}] \mathbb{E}[U_{2}] 0% Interv. 30 27 12.3 0 – 30 27 12.3 0 – 0% Interv. 30 27 12.3 0 – – – 100% Interv. 68 65 7.8 7.8 – 63 52 9.4 9.4 – – – – – – – – – Random 10% 48 38 10.5 1.1 – 43 37 11.3 1.4 – 10%, 10% 43 33 11.3 1.1 0.8 – – 30% 50 44 8.9 2.9 – 48 38 11.2 3.7 – 30%, 30% 48 40 9.9 3.2 2.6 – – State-wise PRM Thresholding 10% 43 36 11.8 1.0 – 40 31 12.1 1.1 – 20% & random 40 29 12.4 0.6 0.9 – – 30% 43 36 11.1 1.8 – 38 30 11.6 2.5 – 50% & random 48 39 10.8 2.0 2.2 – Our Method r high 48 39 11.4 0.4 0.4 38 27 12.3 0.5 0.7 r_{1} high, r_{2} high 38 34 11.5 0.1 1.2 0.3 0.8 r mid 63 58 9.1 1.0 0.8 45 37 11.6 1.4 1.0 r_{1} high, r_{2} mid 43 35 10.7 0.1 1.8 0.4 1.0 r low 60 55 8.7 2.2 1.1 50 36 10.3 3.2 1.3 r_{1} mid, r_{2} high 48 42 9.9 2.0 0.6 1.0 0.7 6.1 Main Results Results across tasks Table 2 compares our method to baselines in terms of success rate ( \mathrm{SR} ), path-length weighted success ( \mathrm{SPL} ), task execution length ( L ), observed intervention usage ( U ), and expected intervention usage ( \mathbb{E}[U] ). We compute \mathbb{E}[U] by averaging M(s_{0}) for starting states s_{0} under \pi^{*} . Note that \mathbb{E}[U] is only applicable to our method, since it is not straightforward to know this for other methods. We train our approach using different reward scale values ( r high, mid, low), inducing varying intervention frequencies. With just a fraction of the interventions used by a policy that always intervenes (7.8 and 4.5 times on average), our method nearly matches that policy’s performance. For example, in S_obj , we achieve a 62.5\% success rate using only 1.0 intervention on average, outperforming baselines with similar or higher usage. Moreover, \mathbb{E}[U] closely matches observed usage, especially for smaller U (e.g. U is 0.4 and \mathbb{E}[U] is also 0.4). They tend to diverge more with higher r ’s, but \mathbb{E}[U] still provides good expectations of the model’s intervention usage, allowing us to select r based on training data alone, without exhaustive training and evaluation. Figure 5: Example Trajectory with interventions and base actor. We find that performance drops at r high are driven by the base LLaMA actor, not our method. With frequent interventions, the base actor encounters more out-of-distribution (OOD) states and produces invalid actions. Because the base actor was trained only on its own trajectories, these new, intervention-driven states lie outside its familiar distribution and makes the base actor produce invalid actions (for instance, actions not in the allowed set). This explains about 75% of failures at r high , but under 5% at r low and 15% at r mid . We do not observe these anomalies for PnP or other interventions (Table 3 ), likely because the strategy employed by MCTS or the stronger intervention model remains closer to the base actor’s distribution in those scenarios. Moreover, this behavior does not appear in training tasks, where the success rate at r high exceeds that at r mid or r low (Tab. 4 ). A likely reason is that repeated interventions on the same tasks the base actor was trained on keeps it in the distribution that the base actor has effectively memorized. Results across interventions Table 3 compares our method and baselines on the more challenging S_obj split, evaluating three intervention setups: a better model, MCTS, or both. For multiple interventions, we use the Phase 3 extension from Sec. 5.4 to assign individual budgets. Consequently, we present results with different (r_{1},r_{2}) configurations, where r_{1} controls usage of the better model and r_{2} controls MCTS. For baselines for multiple interventions, we randomly select states (10% or 30%) for each intervention, resulting, for example, in 10%,10% and 30%,30%. In the state‐wise PRM thresholding baseline, we calibrate thresholds for 20% and 50% of states and trigger each intervention randomly half of the times. For single interventions, we follow the same protocols as in Table 2 . In general, the trends from Table 2 hold here as well. First, our method optimally calls interventions, whether MCTS or both, achieving higher performance than baselines while using fewer interventions (e.g., with only 0.5 MCTS calls on average, we match the success rate of a 30% PRM thresholding baseline that uses 2.5 calls). Second, using multiple interventions does not yield substantially better results than a single intervention under similar usage constraints, likely due to strategy clashes (Fig. 3 ). Nevertheless, our method still outperforms multi-intervention baselines. Finally, we find that \mathbb{E}[U] remains a reliable predictor of actual usage U , especially at higher r values, providing a useful guide for choosing budgets in advance. Figure 6: Seen vs. unseen states in the training data of the helper. The orange region highlights all states collected in Phase I (Sec. 5.3 ), each labeled with \pi^{*} ( Nohelp or Help action). The green arrow illustrates \pi^{*} rollout from the initial state s_{0} . Qualitative example Figure 5 shows an S_obj task execution comparing the base actor to our helper approach, which applies MCTS-based interventions with r=0.5 (see Table 3 ). The primary challenge is locating a stuffed toy in a cluttered environment, where ambiguous descriptions can point to multiple potential locations. The base actor begins by visiting different rooms but soon becomes stuck, repeatedly exploring Room 3. In contrast, our helper detects this stall point and calls for just two well-timed interventions, enabling a shift toward a more effective strategy and resulting in successful task completion. 6.2 Analysis A key concern of off-line and tabular state collection is coverage and robustness to unseen states. Table 4 investigates how different training data selections (selecting different outcomes from the DP process) influence the helper model’s performance and intervention usage. We compare two strategies for using the outcomes of the DP (Phase 2) as training data for the helper (Fig. 6 ): All States – Includes every (s,a) pair of \pi^{*} , for all s collected in Phase 1 (the primary approach in Tables 3 and 2 ). Trajectory Only – Starting from s_{0} , follow \pi^{*} (green arrow of Fig. 6 ) and use the (s,a) pair from this trajectory (the red states only); if \pi^{*} encounters an unseen state, do not include this task/trajectory for training the helper. We then evaluate them under splits of the train set (Fig. 6 ): Seen tasks – The task terminates following \pi^{*} . Unseen tasks – Unseen state encountered while rolling \pi^{*} . Note that we do not have \pi^{*} on val/test sets (since DP searches for trajectories), and this splitting is only applicable to train tasks. Under Trajectory Only method, the helper policy struggles in Unseen tasks – showing high intervention usage (U) , low success rates (SR), and a large discrepancy between realized and expected usage (e.g., 5.4 vs. 1.14 ). By contrast, All States maintains better alignment between U and \mathbb{E}[U] alongside higher SR. Broader sampling in Phase I could further improve performance for Unseen tasks. Table 4: Performance and Intervention Usage Comparison ( S_obj only; SPL columns omitted). Unseen Seen Exp Usage Overall SR Usage SR Usage Train SR Test SR Our Method (All States) r high 26 0.25 55 0.46 0.49 46 48 r mid 49 0.78 63 0.92 0.43 56 63 r low 52 1.81 60 1.86 0.92 60 60 Trained on Trajectory Only r high 16 1.82 62 2.19 0.18 43 43 r mid 29 3.35 60 3.33 0.45 48 50 r low 37 5.86 64 4.92 0.76 54 60 7 Conclusion We introduce an offline framework that uses classical RL combined with LLM-based PRMs to train a helper model for targeted intervention requests. By collecting transition probabilities offline and annotating tasks with optimal help-seeking strategies, our approach effectively balances performance and cost, as demonstrated in Situated Instruction Following tasks. These results show a step towards LLM agents that can self-regulate and request for interventions. Impact Statement This paper focuses on enhancing the reliability of large language model (LLM) agents, with particular attention to their ability to self-regulate and ask for targeted interventions. This paper has potential societal implications regarding safety and reliability of LLM agents. Beyond these considerations, we have not identified any additional consequences that require further discussion. Appendix A MCTS Implementation Details UCT=Q(s,a)+c\times\sqrt{\frac{\ln N(s)}{N(s,a)}} We train a separate PRM to get Q(s,a) (the PRM in Sec. 4.1 takes only s as input) to judge the compatibility of action a with state s . The UCT score c\times\sqrt{\frac{\ln N(s)}{N(s,a)}} is calculated from N(s) and N(s,a) that count the number of times state s has been visited and (s,a) has been proposed in the current task. We propose five actions a from a the base actor but with temperature 1.0 (we use 0.0 without MCTS), and we use c=0.25 . In steps where MCTS is not used (in case wehre it is applied to selected states as in Tab. 3 ), we update the chosen N(s) and N(s,a) by multiplying the chosen count by five times. Appendix B Detailed Explanation of Section 4.3 In this section, we provide a thorough examination of the claims made in Sec. 4.3 regarding the limitations of using PRM thresholding for multi-step intervention requests. We reference the results reported in Table 5 to support each claim. B.1 Implementation of I(s_{t}\rightarrow T) and I(s_{t}) To identify states or tasks requiring intervention, we examine two approaches: PRM-based thresholding For I(s_{t}) , in a held-out val set, states are ranked by PRM scores, and the threshold for top 10%/30% most difficult states are selected. For I(s_{t}\rightarrow T) , we evaluate two strategies: (a) I(s_{[0:5]}\rightarrow T) (a.k.a. First five steps): A PRM score threshold is thresholded on val set, based on the initial five steps of the task. On test set, if the threshold is met, intervention is applied for the entire task onward from the sixth step. (b) I(s_{[0:-1]}\rightarrow T) (a.k.a. all steps): The base actor completes the task to determine whether intervention is needed. If so, the task is restarted, and intervention is applied from s_{0} . Random selection States s_{t} or tasks T are selected randomly as a baseline for comparison. B.2 Interperting Table 5 Table 5 shows the success rate (SR), success-per-length (SPL), and intervention usage rates (%) across several intervention schemes, including both task-wise (top gray-shaded block) and state-wise (bottom gray-shaded block) strategies. The table is subdivided into three overarching intervention types: oracle (columns 2–5), more powerful model delegation (columns 6–11), and MCTS (columns 12–17). Each intervention type has further subdivisions for task-wise (rows labeled “Random %” or “PRM-Thresholded: All steps” / “PRM-Thresholded: First five steps” under the Task-wise Intervention header) and state-wise (rows labeled “Random %” or “PRM-Thresholded” under the State-wise Intervention header). Note that oracle trajectories are not applicable to state-wise interventions, since they are static trajectories (not models) and cannot adapt to new states. By contrast, the A More Powerful Model and MCTS columns (6–11 and 12–17, respectively) apply to both task-wise and state-wise triggers, thereby showing how multi-step or partial usage of these interventions fares. B.3 Explanation of Section 4.3 We reference Tab. 5 and explain how PRM scores can identify difficult tasks but struggle with sequential dependence. Below are the claims in Sec. 4.3 and their evidence. 1) PRM scores reliably identify tasks needing assistance Looking at Table 5 under Task-wise Intervention , we see that PRM-Thresholded usage (rows titled “PRM-Thresholded: All steps” or “PRM-Thresholded: First five steps”) frequently achieves higher or comparable SR relative to Random usage with similar or lower Usage. For example, under the Oracle columns for GPT4o mini (columns 2–3), • Random 30% obtains SR = 38% and SPL = 28%. • PRM-Thresholded: All steps 30% achieves SR = 75% with SPL = 58%. Here, using a PRM threshold nearly doubles the SR (75% vs. 38%). The trend persists in other settings under Oracle as well. 2) State-wise interventions typically outperform task-wise methods. Comparing the Task-wise Intervention block (rows 8–18 in the table) with the State-wise Intervention block (rows 20–25), even random state-wise triggers often achieve higher SR for the same or lower usage. For instance, under A More Powerful Model for GPT4o mini (columns 6–8): • Task-wise Random 30% achieves SR = 38% and SPL 28% with usage = 2.8. • Task-wise PRM-Thresholded all steps 10% achieves SR = 45% and SPL =33% with usage = 4.1. • Task-wise PRM-Thresholded first five steps 10% achieves SR = 28% and SPL 19% with usage = 1.4. • State-wise Random 10% yields SR = 48% and SPL=33% with usage = 1.2%. As we see, state-wise intervention yields the best SR and SPL, compared to task-wise interventions with more usage. This trend frequently persists throughout Table 5 and it underscores how intervening selectively at difficult states can be more effective than intervening for the remainder of an entire task. 3) PRM-based selection can underperform random selection due to transition dynamics (the “toggling” issue). Despite PRM-based triggers being more principled for picking out tough states, Table 5 shows examples where PRM-Thresholded with a low percentage budget does (much) worse than Random . Focusing on the A More Powerful Model columns for GPT4o mini (columns 6–8): • At 10% budget, Random 10% yields SR = 48% and SPL=33% for intervention usage = 1.2. • At 30% budget, PRM-Thresholded 30% has SR = 45% and SPL=26%, which is lower, at usage = 2.5. In this example, one can see that PRM-thresholded, despite involving learning, uses much more usage than Random, while leading to low performance. Table 5 shows that PRM-thresholded frequently lags behind random across various interventions and base actors. The text in the main paper (Sec. 4.3 and Appendix B ) explains that once an intervention lowers the difficulty for the next step, the PRM score may immediately drop below the threshold, handing control back to the base actor too soon. When the difficulty rises again, another intervention triggers, leading to repeated back-and-forth “toggling” that is inefficient. Such a phenomenon is not captured by a PRM approach that only scores state difficulty in isolation, thus harming performance in multi-step scenarios. Table 5: Task-wise and state-wise interventions performances. Oracle A More Powerful Model MCTS GPT4o mini SFT-ed Llama GPT4o mini SFT-ed Llama GPT4o mini SFT-ed Llama SR \uparrow SPL \uparrow SR \uparrow SPL \uparrow SR \uparrow SPL \uparrow Usage \downarrow SR \uparrow SPL \uparrow Usage \downarrow SR \uparrow SPL \uparrow Usage \downarrow SR \uparrow SPL \uparrow Usage \downarrow 0% 23 16 30 27 23 16 0 30 27 0 23 16 0 30 27 0 100% 100 100 100 100 70 54 9.4 68 65 7.8 55 34 11.0 63 52 9.4 Task-wise Intervention ( I(s_{t}\rightarrow T) ) Random 10% 28 20 40 37 28 20 0.9 38 35 0.7 26 18 1.2 35 31 1.0 Random 30% 38 28 53 51 38 28 2.8 42 39 2.7 33 21 3.3 38 34 2.9 Random 70% 56 41 76 76 56 41 6.8 57 54 5.4 51 32 7.5 48 40 6.6 PRM-Thresholded: All steps ( I(s_{[0:-1]}\rightarrow T) ) 10% 60 53 43 40 45 33 4.1 35 46 1.5 38 26 4.7 38 34 1.0 30% 75 68 70 67 53 39 5.3 50 31 3.8 43 29 6.6 48 42 4.2 PRM-Thresholded: First five steps ( I(s_{[0:5}\rightarrow T) ) 10% NA NA NA NA 28 19 1.4 38 32 0.6 30 20 1.9 35 29 1.0 30% NA NA NA NA 50 34 4.5 38 32 3.5 38 21 4.9 55 40 3.2 State-wise Intervention ( I(s_{t}) ) Random 10% NA NA NA NA 48 33 1.2 48 38 1.1 25 16 1.0 43 37 1.4 Random 30% NA NA NA NA 65 47 4.0 50 44 2.9 32.5 21 3.9 47 38 3.7 PRM-Thresholded 10% NA NA NA NA 30 18 0.9 43 35 1.0 23 11 1.2 40 31 1.1 30% NA NA NA NA 45 26 2.5 43 36 1.8 50 30 2.5 38 30 2.5 Appendix C Detailed Derivation of Usage/Policy Iteration Part I: Decomposing Value Function into Success and Usage If \pi is any policy, then the value under \pi is the expected sum: V_{s}^{\pi}(r)\;=\;\mathbb{E}_{\pi}\Biggl[\sum_{t=0}^{\infty}\gamma^{t}\bigl(1_{\text{success at time }t}\;-\;r\,1_{\text{help at time }t}\bigr)\;\Big|\;s_{0}=s\Biggr]. Rewriting, \displaystyle V_{s}^{\pi}(r) \displaystyle=\underbrace{\mathbb{E}_{\pi}\!\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,1_{\{\text{success at }t\}}\Bigr]}_{\text{(discounted successes)}} \displaystyle\quad-\,r\,\underbrace{\mathbb{E}_{\pi}\!\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,1_{\{\text{help at }t\}}\Bigr]}_{\text{(discounted helps)}}. (1) Hence, V_{s}^{\pi}(r)\;=\;S_{s}^{\pi}\;-\;r\,M_{s}^{\pi}(r). where we denote S_{s}^{\pi}\;=\;\mathbb{E}_{\pi}\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,1_{\text{success at time }t}\Bigr],\quad M_{s}^{\pi}(r)\;=\;\mathbb{E}_{\pi}\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,1_{\text{help at time }t}\Bigr]. When taking the \max over all policies \pi , we get V_{s}(r)=S_{s}^{*}-r\,M_{s}(r) , where S_{s}^{*} and M_{s}(r) come from the optimal policy. Thus, we can decompose the value function into \underbrace{(\text{expected discounted success})}_{S_{s}}\;-\;r\,\underbrace{(\text{expected discounted helps})}_{M_{s}(r)}, Part II: Arriving at Piecewise Definition of Usage Now, let’s substitute \boldsymbol{V_{s}(r)=S_{s}-r\,M_{s}(r)} into the Bellman Equation of Section : V_{s}(r)=\;\begin{cases}\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,V_{s^{\prime}}(r),&\text{if nohelp at $s$},\\[6.0pt] -r\;+\;\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,V_{s^{\prime}}(r),&\text{if help at $s$},\end{cases} (2) and V_{s_{\mathrm{term}}}(r)=\begin{cases}1,&\text{if task success},\\[6.0pt] 0,&\text{if task failure}.\end{cases} for terminal states. As we plug in \boldsymbol{V_{s}(r)=S_{s}-r\,M_{s}(r)} to each case 1. if nohelp at s S_{s}-r\,M_{s}(r)\;=\;\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,\Bigl(S_{s^{\prime}}-r\,M_{s^{\prime}}(r)\Bigr). From the piecewise definition of S_{s} (eq. 5 ), we have S_{s}\;=\;\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,S_{s^{\prime}}, . Thus, -r\,M_{s}(r)\;=\;-\,r\,\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r). Dividing through by -r (assuming r>0 ) gives M_{s}(r)\;=\;\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r), for the nohelp branch. 2. The help branch. S_{s}-r\,M_{s}(r)\;=\;-r\;+\;\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,\Bigl(S_{s^{\prime}}-r\,M_{s^{\prime}}(r)\Bigr). Again using the piecewise defintiion of eq. 5 that \gamma\displaystyle\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\;S_{s^{\prime}}^{\pi} , we can isolate the usage terms: -r\,M_{s}(r)\;=\;-\,r\;-\;r\,\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r), \iff\ r\,\Bigl(1-\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r)\Bigr)\;=\;r\,M_{s}(r). Dividing through by r and rearranging yields M_{s}(r)\;=\;1\;+\;\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r). Thus, in the help branch, we add \,1 for the immediate usage plus the (discounted) future usages under help transitions. Thus, we get \boxed{M_{s}(r)=\begin{cases}\gamma\displaystyle\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r)\text{ if nohelp},\\[8.0pt] 1\;+\;\gamma\displaystyle\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r)\text{ if help}.\end{cases}}(3) Part III: Arriving at Optimal Policy and Usage First, let’s derive the threshold condition. From the value function Bellman Equation (eq. 2 ), help is chosen iff: -r\;+\;\gamma\!\!\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,V_{s^{\prime}}(r)>\gamma\!\!\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,V_{s^{\prime}}(r) Rewriting V_{s}(r)=S_{s}-r\,M_{s}(r) and isolating the cost component -r yields the threshold condition: r\;<\;\frac{\Delta p_{s}}{\Delta M_{s}}, where we denote \displaystyle\Delta p_{s} \displaystyle=\;p_{\mathrm{help}}(s)\;-\;p_{\mathrm{nohelp}}(s), \displaystyle\Delta M_{s} \displaystyle=\;\underbrace{p_{\mathrm{help}}(s)\Bigl[1+\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r)}_{\text{help\_val}_{s}}\Bigr] \displaystyle-\;\underbrace{p_{\mathrm{nohelp}}(s)\Bigl[\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,M_{s^{\prime}}(r)}_{\text{nohelp\_val}_{s}}\Bigr]. Intuitively, \Delta p_{s} and \Delta M_{s} capture how much additional success probability vs. usage we get by choosing help over nohelp at s . Hence, we arrive at \boxed{\pi_{s}(r)\;=\;\begin{cases}\text{{help}},&\text{if }r<\frac{\Delta p_{s}}{\Delta M_{s}},\\[4.0pt] \text{{nohelp}},&\text{otherwise}.\end{cases}} (4) Now, combining eq. C and eq. 4 , we get [formula] Lemma: Piecewise Definition of \boldsymbol{S_{s}} (Help vs. Nohelp). If S_{s} is interpreted as the discounted probability of eventually reaching success under a policy \pi that may choose either \mathrm{help} or \mathrm{nohelp} , we can write S_{s}^{\pi}\;=\;\mathbb{E}_{\pi}\Bigl[\,\sum_{t=0}^{\infty}\gamma^{t}\,1_{\{\text{state at time }t\text{ is success}\}}\;\Big|\;s_{0}=s\Bigr]. In an MDP setting with two possible actions, \mathrm{help} or \mathrm{nohelp} , the policy \pi dictates which action to take at each state s . Correspondingly, the recursion for S_{s}^{\pi} becomes: S_{s}^{\pi}\;=\;\begin{cases}1,&\text{if $s$ is a terminal success state},\\[6.0pt] 0,&\text{if $s$ is a terminal failure state},\\[6.0pt] \gamma\displaystyle\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\;S_{s^{\prime}}^{\pi},&\text{if $\pi$ chooses {nohelp} at $s$},\\[6.0pt] \gamma\displaystyle\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\;S_{s^{\prime}}^{\pi},&\text{if $\pi$ chooses {help} at $s$}.\end{cases} (5) • If s is success: We set S_{s}^{\pi}=1 . This means that if you start in a success state, the probability of “having achieved success” (discounted or not) is exactly 1. • If s is nonterminal: Then there is no immediate success contribution at s itself, and we simply recurse to the next state via either P_{\mathrm{nohelp}}(\cdot\mid s) or P_{\mathrm{help}}(\cdot\mid s) , multiplied by the factor \gamma . Thus, no explicit \mathbf{1}\{\text{$s$ is success}\} is needed inside the sum, because we have already distinguished the success case in the first line of the piecewise definition. Thus, under a given policy \pi , each nonterminal state s follows whichever transition probabilities ( \mathrm{nohelp} or \mathrm{help} ) \,\pi prescribes at that state. The boundary condition S_{s_{\mathrm{term}}}^{\pi}=1 applies to all terminal success states. Appendix D Proof of Convergence In Appendix C , we showed that the boxed equation [formula] is equivalent to the standard Bellman recursion for V^{\pi}_{s}(r)=\;\begin{cases}\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}\mid s)\,V^{\pi}_{s^{\prime}}(r),&\text{if nohelp},\\[4.0pt] -r\;+\;\gamma\sum_{s^{\prime}}P_{\mathrm{help}}(s^{\prime}\mid s)\,V^{\pi}_{s^{\prime}}(r),&\text{if help}.\end{cases} where V^{\pi}_{s_{\mathrm{term}}}(r)=\begin{cases}1,&\text{if task success},\\[4.0pt] 0,&\text{if task failure}.\end{cases} Because solving value iteration for the above V^{\pi}_{s}(r) converges to a unique fixed point V_{s}(r) and the corresponding policy \pi^{*}(r) , we know that the iteration of the boxed equation also converges to a unique fixed point M^{*}(r) and \pi^{*}(r) . Appendix E Details on Extensions to Multiple Interventions Our algorithm naturally extends to multiple intervention types, as explained in Sec. 5.4 . We explain the details. E.1 Formulation and Reward Regime We consider a stochastic process with states s\in\mathcal{S} and transition probabilities P(s^{\prime}\mid s) . At any non-terminal state s , the agent may choose from multiple interventions \{\text{help1},\text{help2},\dots,\text{help}K\} or nohelp . Each intervention \text{help}_{i} can improve the probability of success at the cost of incurring usage. Conversely, nohelp avoids usage costs but may have a lower chance of success. We aim to maximize the task success rate while keeping the expected discounted number of each intervention (or total usage) below a certain budget C . Concretely, let \gamma\in(0,1) be the discount factor. Suppose from an initial state s_{0} , we want \displaystyle\mathbb{E}\bigl[\text{(Success)}\bigr] \displaystyle\text{subject to} \displaystyle\mathbb{E}\Bigl[\sum_{t=0}^{\infty}\gamma^{t}\,\#(\text{helps at time }t)\Bigr]\;\leq\;C. One can equivalently encode this via a cost (r_{1},r_{2},\dots,r_{K}) for each intervention \text{help}i , or treat it via a usage-based dynamic programming approach. Below, we use a reward regime that translates each help call into a negative reward. This allows standard value-iteration (VI) or usage-based iteration for an MDP with multiple interventions. Reward Regime. At each non-terminal state s , the agent chooses among: \text{Actions}\;=\;\{\text{nohelp},\,\text{help}_{1},\,\dots,\text{help}_{K}\}. The immediate reward is: • \text{help}_{i} : a reward of -r_{i} . • nohelp : a reward of 0 . • Terminal States: success yields a reward of +1 , failure yields 0 . Hence, if an agent eventually succeeds, it gains +1 minus the sum of costs \sum_{i}r_{i} times the discounted number of times each \text{help}_{i} was used. Notation for Success Probabilities. When analyzing usage or success, we often use a probability-of-success model: p_{\text{nohelp}}(s)\;=\;\Pr(\text{success}\mid s,\text{nohelp}), p_{\text{help}_{i}}(s)\;=\;\Pr(\text{success}\mid s,\text{help}_{i}). We likewise denote state transition kernels P_{\text{nohelp}}(s^{\prime}|s) or P_{\text{help}_{i}}(s^{\prime}|s) to capture the distribution over next states under each chosen action. E.2 Derivation of Usage/Policy Iteration for Multiple Interventions Overview. We start from value iteration, as in Sec. 5.2 . The value function is: \displaystyle V(s) \displaystyle=\max\Bigl\{0+\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}|s)\,V(s^{\prime}), \displaystyle\{-r_{i}+\gamma\sum_{s^{\prime}}P_{\mathrm{help}i}(s^{\prime}|s)\,V(s^{\prime})\}_{i=1}^{K}\Bigr\}. with V(s_{\mathrm{success}})=1 and V(s_{\mathrm{failure}})=0 for terminal states. Now, we drive a usage-based DP from this: \displaystyle M_{s}^{i} \displaystyle=\text{expected discounted \# of times we use intervention }i, \displaystyle\text{starting from }s. If we pick \text{help}_{i} in state s , then M_{s}^{i}(\text{help}_{i})=1+\gamma\!\sum_{s^{\prime}}P_{\mathrm{help}_{i}}(s^{\prime}|s)\;M_{s^{\prime}}^{i}, M_{s}^{j}(\text{help}_{i})=0+\gamma\!\sum_{s^{\prime}}P_{\mathrm{help}_{i}}(s^{\prime}|s)\;M_{s^{\prime}}^{j}, for j\neq i . If we pick nohelp , M_{s}^{i}(\text{nohelp})\;=\;\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}|s)\;M_{s^{\prime}}^{i},\quad\forall i=1,\dots,K. Threshold Conditions for Multiple Interventions. In the single-intervention case, we derived \mathrm{ratio}=\dfrac{\Delta\text{success}}{\Delta\text{usage}} . For multiple interventions, each \text{help}_{i} has: \Delta p^{i}_{s}\;=\;p_{\mathrm{help}_{i}}(s)\;-\;p_{\mathrm{nohelp}}(s), \Delta M^{i}_{s}\;=\;p_{\mathrm{help}_{i}}(s)\,\bigl[M_{s}^{i}(\text{help}_{i})\bigr]\;-\;p_{\mathrm{nohelp}}(s)\,\bigl[M_{s}^{i}(\text{nohelp})\bigr]. We say \text{help}_{i} is cost-effective (vs. nohelp) if \mathrm{ratio}_{i}(s)\;=\;\frac{\Delta p^{i}_{s}}{\Delta M^{i}_{s}}\;>\;r_{i}. If \mathrm{ratio}_{i}(s)\leq r_{i} for all i , we choose nohelp . If exactly one \text{help}_{i} is cost-effective, we pick \text{help}_{i} . If multiple helps pass the ratio test, we pick whichever yields the smallest combined cost \bigl(r_{1}\,M_{s}^{1},\,r_{2}\,M_{s}^{2},\,\dots,r_{K}\,M_{s}^{K}\bigr)\Longrightarrow\text{minimize }\,\sum_{i=1}^{K}r_{i}\,M_{s}^{i}(\text{help}_{i}). These local decisions define a policy update at each state s . Iterating the usage functions \{M_{s}^{i}\} and reselecting among \{\text{help}_{i},\text{nohelp}\} converges to a stable fixed point. This final stable policy is \pi^{*} . This \pi^{*} is exactly the same solution a standard value iteration approach (with reward \{-r_{i}\} ) would find, with arguments similar to Appendix D . E.3 Algorithm The algorithm for the multiple intervention setting are in three main phases: Phase 1: Data Collection and Transition Model. • Collect transitions offline by running partial-rollouts with \{\text{help}i,\text{nohelp}\} chosen randomly or by partial heuristics. • Maintain counts \texttt{count}[s][a][s^{\prime}] for each action a\in\{\text{help}1,\dots,\text{help}K,\text{nohelp}\} . • Estimate \hat{P}(s^{\prime}|s,a)=\texttt{count}[s][a][s^{\prime}]/\sum_{x}\texttt{count}[s][a][x], for a\in\{\text{nohelp},\,\text{help}_{1},\,\dots,\text{help}_{K}\} Phase 2: Offline Usage/Policy Iteration (Multiple Interventions). First, initialize usage counters \{M_{s}^{i}\}_{i=1}^{K} to zero (or any guess). Then, Repeat until convergence: 1. Compute usage for each action : \displaystyle M_{s}^{i}(\text{help}j) \displaystyle=\begin{cases}1+\gamma\sum_{s^{\prime}}P_{\mathrm{help}j}(s^{\prime}|s)\,M_{s^{\prime}}^{i},&\text{if }i=j,\\ \gamma\sum_{s^{\prime}}P_{\mathrm{help}j}(s^{\prime}|s)\,M_{s^{\prime}}^{i},&\text{if }i\neq j,\end{cases} \displaystyle M_{s}^{i}(\text{nohelp}) \displaystyle=\gamma\sum_{s^{\prime}}P_{\mathrm{nohelp}}(s^{\prime}|s)\,M_{s^{\prime}}^{i}. 2. Compute \Delta p^{i}_{s} and \Delta M^{i}_{s} , then check the ratio test \mathrm{ratio}_{i}(s)>\!r_{i} . 3. Policy update : \displaystyle\pi_{s} \displaystyle=\arg\min_{a\in\{\text{help}1,\dots,\text{help}K,\text{nohelp}\}}\Bigl\{\sum_{i=1}^{K}r_{i}\,M_{s}^{i}(a)\Bigr\} \displaystyle\text{subject to}\quad\mathrm{ratio}_{i}>r_{i}. 4. Update counters : \displaystyle M_{s}^{i}\;\leftarrow\;M_{s}^{i}(\pi_{s}). 5. Check convergence : if \max_{s,i}\bigl|M_{s}^{i}-\text{old}_{s}^{i}\bigr|<\varepsilon , stop. Finally, we output the stable usage counters \{M_{s}^{i}\}_{i=1}^{K} and the final policy \pi^{*} . Phase 3: Final Policy Representation (SFT or Other). • We store the final help/nohelp decisions in a table \pi^{*}(s) . • For states s in the training data, we know exactly which action the usage-based DP prescribes. • Train the actual “helper” model (e.g. a neural policy or large language model) via supervised finetuning to mimic \pi^{*}(s) on the collected states s . Relation to Single-Intervention Case. If K=1 , the above steps reduce exactly to the single-intervention usage-based iteration. If r_{1}=r_{2}=\cdots=r_{K}=r , then each help has the same cost, and we can unify them if needed.