arXiv(opens in a new tab)cs.LGAug 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2608.27911

TACIT-Switch: Cost-Aware Model Escalation for LLM Agents from Censored Supervision

Ji'an Lei, Jian Huang

ABSTRACT

Agents with smaller language-model backbones are less expensive but can drift into persistent failure modes, whereas those with larger backbones are generally more reliable but more costly. This reliability-cost trade-off motivates routing methods that decide when to invoke an agent with a larger backbone: before execution, after a fixed trajectory prefix, or locally at individual steps. Our method, TACIT-SWITCH, learns permanent handoff policies from accumulated trajectory evidence and Teacher-Annotated Censored Intervention Times (TACIT). It represents each annotation as an interval-censored observation on a cumulative-risk scale. The resulting mixture-cure threshold model estimates the probability that the paired Strong rollout succeeds and, conditional on success, the handoff threshold; no teacher is required at deployment. In a mechanism-based multi-step simulation, TACIT-SWITCH improves success by 7.4–11.1 percentage points over task-level, step-level, and fixed-prefix routing baselines at comparable cost. Within that controlled simulation, ablations show that task features and cumulative trajectory risk provide complementary information. With operating points selected on development data, TACIT-SWITCH achieves the highest held-out success among learned policies on both ALFWorld (48.5% with 4B Cheap; 45.5% with 9B Cheap) and DABench (73.1%).

1 INTRODUCTION

Efficient agent deployment requires deciding when to use language-model backbones with different capabilities and inference costs. For a one-shot request, routing is largely a static model-selection problem: choose a model before generation begins. In interactive agents, however, routing becomes a sequential decision problem. Each action alters the state from which later decisions must proceed, while evidence of looping, protocol violations, or stalled progress often emerges only as the trajectory unfolds. Handing off immediately to the larger model sacrifices the cost advantage of the smaller model; handing off too late may leave little opportunity for recovery. Routing therefore becomes a recoverability-aware stopping-time problem: deciding whether and when to hand control to the larger model.

Existing methods make routing decisions at different points in execution (Figure 1). Request-level methods do so without observing an evolving environment trajectory: RouteLLM chooses a model before generation, whereas FrugalGPT uses a learned cascade (Ong et al., 2025; Chen et al., 2024). ReDAct and TRIM make step-local, non-permanent interventions after which control returns to the smaller model (Piatrashyn et al., 2026; Kapoor et al., 2026); SWE-Router makes one continue-or-restart decision after a fixed prefix (Son et al., 2026). EvoRoute instead repeatedly selects models across explicit workflow subtasks (Zhang et al., 2026). We study a different control structure: an adaptively timed, one-way transfer for the remainder of the episode, which we call a permanent handoff.

*Corresponding author: j.huang@polyu.edu.hk

Figure

Figure 1: Four model-routing strategies distinguished by when they make routing decisions: task routing (one pre-execution model choice), SWE-Router (one post-prefix decision to continue with C or restart with S), ReDAct (step-local, non-permanent deferral), and TACIT-SWITCH (an adaptive one-way handoff from the current trajectory). Here C and S denote Cheap and Strong, respectively.

TRIM assumes delimited reasoning steps and step-level correctness scores, whereas EvoRoute assumes a role-structured multi-model workflow and an experience base. Neither method maps directly to our fixed two-model setting, so we compare task-, step-, and fixed-prefix routing policies under the same protocol.

Learning when to hand off is difficult because the desired supervision is counterfactual. A “do not hand off” label is ambiguous: the trajectory may not yet require intervention, or the stronger model may be unable to rescue the task at all. We instead collect one full-episode rollout from each model and ask an offline teacher to mark a coarse handoff window. The teacher window provides timing supervision, analogous to expert-intervention labels (Spencer et al., 2020). Records whose paired Strong rollout from the initial state succeeds form the paired-Strong-success stratum ( Bi=1B_{i}=1). When Cheap fails and Strong succeeds, the teacher marks either a post-action checkpoint or a short range of checkpoints at which handoff appears useful and recovery remains feasible. A single marked checkpoint is treated as a one-step interval, so both forms locate the latent threshold on the cumulative-risk scale.

When both models succeed, Bi=1B_{i} = 1 is observed but there is no rescue time because Cheap completes the task without handoff. When the paired Strong rollout fails, the data provide no observed evidence that switching would rescue the task. We call this supervision Teacher-Annotated Censored Intervention Times (TACIT).

We separate two uncertainties: whether the paired Strong rollout succeeds and, conditional on that outcome, where the handoff threshold lies on the cumulative-risk scale. This incidence–threshold decomposition adapts the logic of mixture-cure models (Farewell, 1982; Kuk & Chen, 1992). Coarse teacher intervals are represented as interval-censored observations (Turnbull, 1976), and a log-normal AFT-style parameterization models the positive, task-dependent threshold κi\kappa_i (Wei, 1992). The corresponding handoff step is not modeled directly; it is induced by the first crossing, τi⋆=inf⁡{t:Ri(t)≥κi}\tau_i^\star = \inf\{t : R_i(t) \geq \kappa_i\}. Under this working factorization,

qi(t)=πγ(xi)Fβ,s(Ri(t)∣xi)(1)q_{i}(t)=\pi_{\gamma}(x_{i})F_{\beta,s}(R_{i}(t)\mid x_{i}) \tag{1}

is the product of the estimated probability that the paired Strong rollout succeeds and the conditional probability that its threshold has been crossed. On the development set, we choose a threshold α\alpha to balance success and cost. At deployment, the policy permanently hands control to Strong when qi(t)≥αq_i(t) \geq \alpha. The risk scale is learned, and the teacher's coarse interval may depend on the observed trajectory. We therefore use the survival model as a practical model for switching decisions, not as a literal description of how agent behavior is generated.

Practical implications. Training avoids exhaustive checkpoint-level counterfactual rollouts by using one full-episode rollout from each model plus a coarse offline annotation. The deployed router uses trajectory diagnostics and a fitted statistical score, with no teacher or separate LLM/value head. Since qi(t)≤πγ(xi)q_i(t) \leq \pi_\gamma(x_i), the incidence term caps the score and can suppress costly handoffs when paired-Strong success is unlikely. A teacher range that brackets the latent threshold retains timing information without an exact checkpoint; Theorem 1 quantifies local stability to limited interval corruption.

We evaluate the method in three settings. A correctly specified model-based simulation examines parameter and score recovery. A separate mechanism-based simulation examines decision utility when trajectories are generated by dynamics outside the fitted model; ablations within this simulation measure the contributions of task features and online risk. Interactive experiments on ALFWorld and DABench compare held-out success and cost with task-, step-, and fixed-prefix routing.

References (34)