Research
Gating Before Commitment: Anticipating Intent Divergence to Prevent Post-Interaction Decision Failures in Autonomous Driving
When an autonomous vehicle finishes interacting with another car — an oncoming vehicle passes, a merge completes — the planner can try to "correct" a perceived lateral offset in a way that…

- arXiv
- 2608.26074 · Preprint · not peer-reviewed
- Published
- 2026-08-26
- Authors
- Cong Xu, Ravi Sankar
In plain words
When an autonomous vehicle finishes interacting with another car — an oncoming vehicle passes, a merge completes — the planner can try to "correct" a perceived lateral offset in a way that contradicts what the interaction actually means, turning a brief perception disturbance into an unrecoverable departure from the road.
AI summary
Overview
Research area: Autonomous driving decision-making and safety — specifically intent prediction for interactive driving, runtime monitoring, and gating of a planner's maneuver before it is committed. It sits at the intersection of interaction-aware planning, small language models used as structured-input reasoning modules, and runtime verification / safety envelopes.
Technical level: Advanced. The paper assumes familiarity with planning cycles, control barrier functions, trajectory forecasting, calibration metrics (ECE), and ablation methodology, and it reports preregistered acceptance criteria and per-cycle latency measurements.
Scope (one sentence): The paper evaluates, under two frozen and fully disclosed configurations across ten replays per setting, whether a language-guided intent module that scores intent–geometry divergence can gate and repair a planned maneuver before commitment, on one replayed real-world off-road departure, four public crash clips, a nominal nuScenes proxy set, and an out-of-domain highway probe.
What This Paper Is About
When an autonomous vehicle finishes interacting with another car — an oncoming vehicle passes, a merge completes — the planner can try to "correct" a perceived lateral offset in a way that contradicts what the interaction actually means, turning a brief perception disturbance into an unrecoverable departure from the road. The paper asks what the decision layer should do in that window: instead of waiting for a geometric safety check to notice the car has already left its corridor, can the system anticipate that the ego's committed maneuver is diverging from the inferred intent of the interaction and repair the plan first? The authors build a layered system (perception, a language-guided intent module, gating and plan repair, and a reactive safety envelope) and test it twice: once as originally calibrated, and once after a preregistered redesign of how model uncertainty is scored.
Key Contributions
-
A reframing of a failure class as intent-level rather than perception-level. The authors argue that a category of interactive-driving failures comes from misreading ego and other-vehicle intent, not solely from degraded perception, and that the decision layer — not just the perception stack — is where the repair belongs.
-
A fully disclosed implementation and a deterministic replay protocol. The paper specifies the base model, LoRA adapter, rule-generated training data, calibration, and instant definitions (drift onset, corridor exit, commitment) such that every reported latency can be reproduced, and applies it to one real failure, four public crash clips, and a nominal-driving corpus.
-
A diagnosis of a specific scoring defect. In the first configuration (v1), treating an
uncertainintent as "half a conflict" (a table entry of 0.5) produced all nine nominal false triggers and, per the cycle logs, one coincidental detection on a crash clip. -
A preregistered abstention-semantics redesign plus two ablations that bound the authors' own headline component. The redesign (v2) treats uncertainty as abstention with dual-threshold hysteresis and cuts false triggers from 1.54 to 0.341 per minute; the ablations show the language model's demonstrated roles are fastest detection on these particular failures and an uncertainty veto on the model-free geometric rule — not, on in-domain tracks at matched false positives, better discrimination.
Main Findings
-
Gating is the only layer that repairs the plan. On the main case, the Baseline exits the road corridor in 10/10 replays, and the Envelope Only arm also exits in 10/10 (it rejects the committed trajectory at 100.0 ± 0.0 ms after t₀ but acts after commitment and does not modify the plan). Intent gating produces 0/10 exits in every configuration tested.
-
The gate fires inside the dangerous window. Under v1 the gate fires 72.2 ± 2.0 ms after drift onset and 161.1 ± 2.0 ms before corridor exit; under v2b it fires 67.7 ± 3.7 ms after onset and 165.6 ± 3.7 ms before exit, always before the corresponding commitment. The drift itself begins 167 ms after the oncoming vehicle clears the ego plane, and the Baseline leaves the corridor within 400 ms.
-
The defect was in one table entry, not the mechanism. All nine v1 false triggers on the nominal set share one anatomy: a routine pass is labeled
uncertainwith moderate confidence, scored as half a conflict, and the exponentially weighted average crosses the threshold. A post-hoc replay zeroing that single entry on stored logits removes all nine. -
The v2 redesign reduces false triggers but does not eliminate them. v1 drew 9 triggers in 5.9 minutes (1.537/min); v2a and v2b each draw 2 (0.341/min) on the identical 703-cycle nominal set. Both surviving v2b triggers route through semantic
passcycles rather thanuncertain, and both need the (1 − c) confidence term to clear the lowered threshold (θ_on = 0.35): one at c = 0.53, one on a singlecrosses_lanecycle at c = 0.76 where the disagreement term alone reaches only 0.24 after smoothing. -
One preregistered criterion is reported as failed, not redefined. Criterion A2 asked for a flag before drift onset in all five cases; v2b achieves 3/5. Clip 000228 misses by 1.1 s, and the main case misses by 67.7 ± 3.7 ms (it precedes the corridor exit by 165.6 ± 3.7 ms, which the authors say is the anchor the criterion should have named). A mixed-anchor criterion would have passed 4/5; the authors did not rewrite it.
-
A replay defect had reversed the ablation result, and the correction is disclosed. An earlier run reported all scoring variants firing in identical cycles because the replay driver ignored the variant switch; after the one-line fix and an independent recomputation, the full score detects fastest on four of five failures under the deployed eligibility and three of five against the unvetoed rule (000871 by one cycle; 000228 by a pre-onset fire on an uncertain stretch). Dropping the confidence term costs two of the five detections.
-
The uncertainty veto is doing measurable work. Under pure, model-free eligibility the geometric rule moves to cycle 15 (000676) and cycle 12 (000228), both before onset; the abstention veto pushes both past it, suppressing pre-onset geometric triggers. The genuinely model-free rule draws four nominal false triggers (0.68/min) against the full score's two and the d-only variant's none; the veto removes all four without losing the deployed gate's five detections.
-
When the cue lives in the other agent, the model's advantage shrinks to near-nothing at matched precision. On 394 positive and 1,863 negative nuScenes tracks read at each variant's own best point, the geometric rule has a Youden J of 0.683 against 0.287, while model-driven scores anticipate more conflicts (67 and 71 versus 45). Held at the same 0.093 false-positive rate, the full score detects 0.234 and anticipates 21 with a 1.5 s median lead, versus the geometric rule's 0.800 detection, 19 anticipated, and 2.5 s lead. On the 55 block-only tracks the matched geometric rule still detects more (0.527 against 0.364), and neither variant anticipates any of them.
-
The calibration does not transfer out of domain. On eight comma2k19 highway segments (4,792 cycles, 8.0 min), v1 draws 203 triggers (25.4/min) and v2b draws 60 (7.5/min) — both far above the usability bound. The lane estimator keys on a yellow centerline this corpus lacks (fits on 4.5% of frames), the ground plane falls back to a default horizon, and 44 of the 60 v2b triggers pair a
blockhypothesis at median confidence 0.84 with an ambiguous forecast in dense car-following. -
The merge control improves but stays partial. A preregistered control (A4) on 10 merge scenes: Yellow rose in the merge windows in 6/10 scenes in both rounds, while Red fell from 6/10 (v1) to 4/10 (v2b).
-
Detection lead and recoverability are separate. On the four crash clips (5 s pre-crash cuts) the ego is already at the corridor boundary when the gate fires, so repair mitigates but cannot restore containment (0/4 in both rounds), even where the flag precedes drift onset by up to 1400 ms.
Methodology in Plain English
The system is a stack of four layers, and the experiments isolate them by switching layers on and off.
Perception and memory. A single monocular camera feed is processed with YOLOv8s detection plus ByteTrack tracking for other vehicles, color-based fits for the lane centerline and edge line, and a pinhole ground-plane model anchored on the lane-line vanishing point to convert image positions into meters of range and lateral offset. A lightweight "digital twin" renders a bird's-eye road corridor (lane width measured at 3.41 m on the main case, corridor centered on the lane with a fixed half-width).
The intent module. Each moment in an interaction is written down as a fixed-schema text record: relative longitudinal and lateral position, closing speed, heading offset, lane assignment, occlusion flag, interaction phase, and the geometric predictor's motion mode. A small language model — Qwen2.5-0.5B, 496M parameters including a LoRA adapter of rank 16 and alpha 32 on the q/k/v/o projections — reads that text and outputs scores over five labels (yield, block, merge, pass, uncertain). It never generates free text and never emits control commands; the scores are read directly from five label-token logits.
Training without humans. Fine-tuning uses 55,433 interaction windows from nuScenes v1.0-trainval (majority class capped), labeled by a deterministic rule applied to each agent's future annotated kinematics over 2.0 s (e.g., merge if it enters the ego lane while closing laterally; pass if its relative longitudinal position changes sign while staying out of the ego lane; yield if it decelerates by at least 1.5 m/s while the gap does not shrink). The distribution is heavily skewed: uncertain 30,296, pass 15,148, block 4,572, merge 4,452, yield 965. Windows are split 80/20 by scene. Temperature is fit by negative log-likelihood (τ = 0.885), yielding 0.889 validation accuracy and ECE 0.008 on 4,000 held-out-scene windows, though per-label accuracy is uneven (merge 0.23, yield 0.05).
Scoring and gating. The divergence score combines how unconfident the model is with how inconsistent its inferred intent is with the planner's committed maneuver, using a fixed lookup table: s = (1 − c) + λd, smoothed with an exponential moving average (α = 0.7), and flagged when the smoothed value crosses a threshold. When flagged, the system restricts the admissible maneuver set (suppressing lateral corrections in the post-interaction window) and pulls the committed trajectory back toward the lane center at a bounded rate — both before the 1 s horizon is handed to the tracker.
The v2 change. Instead of scoring uncertain as 0.5 (half a conflict), v2 scores it 0 and allows an uncertain cycle to raise at most a Yellow advisory, never Red. Red — and therefore gating — is reachable only on a cycle whose own top label is a real semantic hypothesis. A dual-threshold hysteresis band (θ_on = 0.35, θ_off = θ_on − 0.10) keeps the flag raised once set. The threshold was the only recalibrated parameter.
The replay test. Because the production planner is unavailable, a surrogate planner (pure pursuit on the perceived lane center with a lateral-offset correction term) is driven by the same descriptors. All timing anchors are defined by deterministic rules, so every replay of a configuration fires in the same cycle; reported standard deviations reflect only wall-clock jitter across 10 replays. The full intent-plus-gating-plus-repair path averages about 38 ms per 100 ms cycle, with the intent forward pass at 32.7 ms median (34.2 at p90) over 200 timed calls on a single RTX 5090 laptop GPU.
Why This Matters
For research: The paper makes two methodological points that matter beyond this system. First, it separates anticipation from reaction empirically, showing that a full-horizon corridor check is effectively a one-cycle detector on fast excursions but cannot repair anything, while an upstream intent gate can. Second, it demonstrates a discipline rarely applied to a paper's own headline component: a diagnosis of a training/scoring defect, a preregistered fix with criteria declared in advance, a failed criterion reported as failed, and a disclosed replay bug that reversed an ablation result against the authors' own interest.
Real-world applications:
- Post-interaction windows in production planners. The specific failure studied — a lateral correction committed one cycle after an oncoming vehicle clears the ego plane, escalating to road departure within 400 ms — is a concrete pattern that an interaction-aware gate can target.
- Runtime assurance monitors. The architecture (a small model issuing correction signals rather than commands, sitting upstream of a geometric envelope) is a template for a supervisory layer that constrains a planner without replacing it.
- Uncertainty-aware safety heuristics generally. The finding that scoring abstention as partial conflict manufactured both false alarms and a coincidental "detection" applies to any monitor that turns classifier uncertainty into a risk score.
- Edge-deployed language models as reasoning modules. A 0.5B-parameter model reading serialized descriptors at 32.7 ms median latency shows that a text-only semantic interface can be viable inside a 100 ms planning loop.
Industry relevance: The negative results are as useful as the positive ones for teams deciding where to spend engineering effort. On these five failures the language model buys the fastest detection; on in-domain tracks at matched false-positive rates it does not buy detection or discrimination over a simple geometric rule; on out-of-domain highway footage its triggers are dominated by semantic hypotheses generated from a broken lane estimator. That pattern argues for combining geometric and semantic cues in one score rather than substituting a model for a rule.
Future Directions
-
Combine the two cues instead of letting one stand in for the other. The authors state this directly as the work that would change their narrow result. The geometric rule wins on discrimination at matched precision, the model wins on fastest detection on the five replayed failures and supplies the abstention veto; a fused score is the obvious next construction.
-
Test interactions whose semantics kinematics cannot recover. The current positive class is defined by a rule whose lateral-velocity ingredient the geometric baseline also keys on, so both variants see part of the label's construction. Interactions where the cue is genuinely semantic (negotiation, implicit right-of-way, occlusion-driven ambiguity) remain unmeasured.
-
Fix the confidence-as-conflict pathway and the perception front end. The (1 − c) term is the remaining route by which mere unconfidence drives the score — it buys two of the five detections at the cost of both surviving nominal triggers. Separately, closing speeds beyond roughly 50 m become implausible (one v1 cycle carried 299.7 m/s) because the frozen serializer does not clip them; clipping is stated as belonging to the next freeze.
-
Establish calibration transfer, longer evaluation windows, and the cooperative extension. The gate was calibrated on nuScenes validation tracks and the highway probe shows the calibration does not transfer to out-of-domain perception; the crash clips are 5 s pre-crash cuts, too short to assess recoverability; and the V2V cooperative extension is explicitly not evaluated. A proper held-out split is also not claimed for the track-level ablation.
Target Audience
Researchers and senior engineers working on autonomous-driving planning and safety, particularly those interested in interaction-aware decision-making, runtime monitoring, and plan repair. It is also relevant to people applying small language models as structured-input reasoning modules inside real-time control loops, and to readers interested in evaluation methodology — preregistration, acceptance criteria, negative results, and self-audited ablations — since the paper's most transferable lessons are about how to report a component that only partially works. Beginners will find the architecture readable but the statistics and ablation accounting demanding.
Authors’ abstract
Intent misinterpretation during vehicle interactions causes recurring planning failures. We study a decision layer in which a language-guided intent module reads structured descriptors, computes a smoothed intent-geometry divergence score, and gates the planned maneuver before commitment, upstream of a corridor envelope. On a replayed off-road departure and four crash clips under a frozen, disclosed implementation, gating is the only layer that repairs the plan: on the main…
The full abstract on arXivRelated papers
- FLARE: A Failure-Aware Framework for Autonomous Correction and Recovery in Visual-Language Robotic Manipulation 2026-08-27 · cs.RO · Key terms of the title in common
- Roadside-Cooperative Autonomous Driving: From Data Platform to Vision-Language End-to-End Reasoning 2026-08-21 · cs.RO · Key terms of the title in common
- DA-WAM: Decision-Aligned Future Latents for Driving World Models 2026-08-19 · cs.RO · Key terms of the title in common
- Towards Trustworthy Autonomous Robots: An Explainable AI-Based Decision Framework 2026-09-02 · cs.RO · Key terms of the title in common
- BrainWAM: Action-Space Coordination of Semantic Priors and Predictive Dynamics for Autonomous Driving 2026-08-13 · cs.RO · Key terms of the title in common