RASSG: Repair-Aware Semantic Survival Gating for Streaming Tool Execution
Organizations: Beihang University
Abstract
Streaming speech assistants can launch tools before users finish speaking, overlapping execution with incoming speech to reduce user waiting time. However, subsequent self-corrections can invalidate apparently stable arguments, causing stale execution whose irreversible effects persist even after the final call is corrected. We propose Repair-Aware Semantic Survival Gating (RASSG) to jointly control tool launch and cancellation during streaming speech. RASSG launches a tool when three consecutive speech recognition results arrive with identical nonempty arguments, then combines calibrated argument invalidity risk with execution costs to decide cancellation at the last feasible opportunity before effects become irreversible. Evaluation on ReCAST, FDB-v3, and Audio2Tool uses a controlled execution clock with fixed tool runtimes and cancellation parameters. On ReCAST's prospective-repair subset, RASSG reduces the stale execution rate from LocalAgreement-2's 50.00% to 3.15%, with a mean delay of 3.676s across successful trajectories. The stale reduction also holds against every early-execution baseline on both public speech datasets. Ablations with identical initial launches support active cancellation, showing the value of controlling ongoing calls before their effects become irreversible. Code and data are available at https://github.com/daijinhu/RASSG.
Figures & tables
| ReCAST | FDB-v3 | Audio2Tool | ||||
|---|---|---|---|---|---|---|
| Method | Stale execution rate (%) | Successful delay (s) | Stale execution rate (%) | Successful delay (s) | Stale execution rate (%) | Successful delay (s) |
| EOU | 0.58 | 8.676 | 40.00 | 23.880 | 52.73 | 9.196 |
| LocalAgreement-2 | 50.00 | 3.954 | 65.00 | 9.210 | 62.91 | 8.135 |
| Confidence commit | 21.08 | 5.633 | 73.00 | 9.507 | 73.92 | 7.910 |
| Stream RAG | 50.00 | 5.312 | 86.00 | 19.997 | 84.50 | 8.255 |
| Speculative Tool Calling | 50.00 | 3.480 | 77.00 | 9.280 | 81.05 | 8.216 |
| Variant | Stale execution rate (%) | Successful delay (s) |
|---|---|---|
| RASSG (full) | 3.15 | 3.676 |
| Component removals | ||
| Remove active cancellation | 49.92 | 4.434 |
| Remove progress reuse | 3.06 | 4.510 |
| Launch consensus | ||
| One-arrival consensus | 28.78 | 3.038 |
Tool Use
Tool use studies how AI agents select, invoke, and combine external tools to solve tasks beyond their internal knowledge.
See all 91 papers