arXiv:2610.23613cs.CLOct 2026

Manuscript Offprint

arXiv:2610.23613

Trajectory-Triggered Sparse Collaborative Decoding

Amit Ranjan Trivedi, Sruthikesh Surineni, Kyong Ho Lee, Mohit Mittal, Steven Li, Rex Hill

Abstract

Dense assistance methods such as speculative decoding repeatedly verify draft tokens with a target model, keeping target computation coupled to generation. We study sparse collaborative decoding, where a draft model generates most tokens and a target model is invoked only for short corrective segments. The key problem is deciding when to call the target. We show that local uncertainty is a weak trigger: entropy, negative log-likelihood, logit margin, top-k mass, and velocity features give near-chance failure prediction, with AUC 0.50–0.53. In contrast, aggregate trajectory-shape features over the draft confidence path reach AUC 0.86 using a lightweight logistic predictor trained only from draft correctness labels. This induces a trigger-timing tradeoff: early calls have more leverage but weaker evidence, while later calls have stronger evidence but less ability to redirect the trajectory. Used online, learned sparse collaborative decoding improves over the best open-loop schedule by +5.3 to +20.0 accuracy points across five GSM8K draft-target pairs. On MATH-500, it gains 7.0–13.5 points when early prediction and target competence align, but loses when either is weak. On StrategyQA, it improves over open-loop by 5.0–8.3 points, showing transfer beyond arithmetics.

1 Introduction

Small language models reduce inference cost, latency, and memory use, but remain unreliable on multi-step reasoning tasks. Stronger models are more reliable, but require substantially more storage and computation, motivating small-large collaboration at inference time. Existing methods spend target-model computation coarsely. Speculative decoding repeatedly verifies draft tokens with a target model, preserving target-model behavior but coupling target computation to generation throughout decoding (Leviathan et al., 2023; Chen et al., 2023a). Cascades route entire examples to a

Figure

Figure 1: Trajectory-triggered sparse collaborative decoding. A draft model generates most of the reasoning trajectory, while a stronger target model is invoked only at selected points. Triggers use the evolving confidence trajectory rather than fixed schedules or local uncertainty spikes. Early calls have higher leverage but weaker evidence; later calls have less leverage.

larger model before generation (Chen et al., 2023b). These methods either spend target computation continuously or decide only before generation; they do not ask whether the current partial trajectory would benefit from a short target-generated correction. We study when target computation should be spent inside the trajectory.

We address this question through sparse collaborative decoding. A draft model generates most tokens, while a stronger target model is invoked only for short corrective text segments, after which generation returns to the draft. The intervention is purely textual: the target segment is appended to the visible context, and no logits, hidden states, attention activations, or parameters are modified. This makes the setting compatible with black-box targets and API-based deployment.

The central problem is target-call placement. Calling too early can waste target computation on trajectories the draft would have solved alone. Call-ing too late leaves little ability to redirect an already committed trajectory. A natural trigger is local uncertainty, such as high entropy, low margin, high negative log-likelihood, or rapidly changing confidence at the current token. We find that this signal is unreliable: across our reasoning settings, per-token uncertainty and velocity features provide near-chance prediction of final failure. A draft can be locally confident on a wrong path, or locally uncertain while still recoverable.

Meanwhile, we find that trajectory shape is a stronger signal. We summarize the draft confidence path using aggregate features of entropy, negative log-likelihood, margin, probability concentration, temporal variation, and position-dependent behavior. A lightweight logistic predictor over these features reaches AUC 0.86 for failure prediction. Used online, this predictor estimates failure risk from the partial trajectory and calls the target when risk crosses a threshold. The target then generates a bounded corrective segment, and the draft resumes. This creates a trigger-timing tradeoff: early calls have more leverage but weaker evidence, while later calls have stronger evidence but less ability to redirect the trajectory.

Our contributions are threefold. First, we show that local uncertainty is a weak intervention trigger, while aggregate confidence-trajectory features provide a much stronger failure signal. Second, we convert this signal into an online sparse collaborative decoding policy that decides where to spend target computation inside a draft trajectory. Third, we evaluate against draft-only, target-only, self-consistency, posthoc rewriting, cascade routing, open-loop SCD, and speculative decoding. Across five GSM8K draft-target pairs, learned triggering improves over the best open-loop schedule by 5.3 to 20.0 accuracy points. It also transfers to StrategyQA and improves on MATH-500 when early prediction and target competence align. The results show that efficient small-large reasoning depends not only on access to a stronger model, but on placing bounded target calls when they are reliable enough to justify and early enough to matter.

References (14)