arXiv:2610.37299cs.LGOct 2026

Manuscript Offprint

arXiv:2610.37299

Structured Representation Probing for Risk Anticipation in End-to-End Autonomous Driving

Jiawei Liang, Tianrui Lou, Le Yang, Xianghao Jiao, Wei Wang, Xiaochun Cao

Jiawei Liang, Tianrui Lou, Le Yang, Xianghao Jiao, Wei Wang, and Xiaochun Cao

Abstract—End-to-end driving policies form structured internal representations of traffic, ego behavior, and road constraints. These representations offer a monitoring interface for anticipating failures, complementing risk signals from trajectories, controls, and manually designed features. We introduce the Structured Representation Probe (SRP), a lightweight monitor that reads actor, ego, and map representations from a frozen policy. SRP learns a separate linear risk direction for each source and aggregates element scores through cardinality-normalized log-mean-exp pooling, retaining sensitivity to salient evidence while reducing dependence on token count. Event-window supervision links the readout to upcoming hard failures, and auxiliary event type heads jointly train the source directions across failure modes. Online alerting uses a single generic score without modifying the driving policy. Bench2Drive experiments on DriveTransformer, UniAD, and VAD show higher frame-level PR-AUC and ROC-AUC than the evaluated runtime baselines. On DriveTransformer at a horizon of 2 seconds, ROC-AUC reaches 0.833 versus 0.715 for temporal consistency, with 2.67% readout runtime overhead. The trained probes also retain the ability to distinguish impending failures on new routes.

Index Terms—Autonomous driving, vehicle safety, failure anticipation, representation probing.

I. INTRODUCTION

MODERN end-to-end autonomous driving models increasingly maintain structured internal representations of surrounding actors, the ego vehicle, and road geometry. These representations support interaction reasoning and planning within the driving policy [1]–[6]. A deployed policy also needs timely warnings of impending failures. The internal computation used to select driving actions offers a complementary source of evidence for this task.

Failure anticipation asks whether information available at the current policy step can predict a hard failure within a short future window. The relevant signal is therefore tied to the policy's evolving decisions, not simply to whether the scene is unusual. Runtime monitors use signals such as output trajectories, control stability, and rule compliance [7]–[16]. These signals characterize observable behavior and execution context. Internal representations offer a complementary view of how the policy relates scene information to its intended behavior. We study whether this evidence from the policy's

Figure

Fig. 1. Our key insight is that an existing end-to-end driving policy already carries early safety cues in its internal representations, making those representations a natural substrate for risk anticipation.

decision making can be read out for early warning while reusing the computation already performed by the policy (Figure 1).

The organization of the driving task motivates a source-specific readout. Actor, ego, and map representations play different roles in decision making [1]–[3], so the information they carry about impending failures need not be accessible through the same readout. A source-specific monitor can retain these distinctions while combining evidence into a generic warning score. Within a source, informative elements may also be sparse: averaging a large collection can weaken a concentrated signal, whereas an aggregation dominated by set size can conflate the amount of representation with the strength of risk evidence. The design challenge is to emphasize informative elements without discarding source identity or allowing the size of the representation set alone to drive the score. This favors a compact readout that preserves source distinctions over an undifferentiated embedding.

For policies exposing representations of actors, ego behavior, and maps [1]–[3], we introduce the Structured Representation Probe (SRP). By treating warning prediction as a separate readout, SRP learns from failure outcomes without changing the driving policy. It learns a linear risk direction in each source space, then aggregates element scores into a generic warning through cardinality-normalized log-mean-exp pooling. This design preserves evidence from each source, emphasizes salient elements, and reduces dependence on token count. Event-window labels constructed from closed-loop failures provide supervision for anticipation [17], [18]. Auxiliary supervision by event type adds guidance for individual failure types to the shared directions, while online alerting uses a single generic score. This separates supervision organized by event type from the compact interface needed for online alerting.

On Bench2Drive [18], SRP yields higher frame-level PR-AUC and ROC-AUC than the evaluated runtime baselines

Jiawei Liang, Tianrui Lou, Xianghao Jiao, Wei Wang, and Xiaochun Cao are with the School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University, Shenzhen 518107, China. Le Yang is with the School of Mathematics, Sun Yat-sen University, Guangzhou 510275, China, and also with the School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University, Shenzhen 518107, China. E-mail: Jiawei Liang (liangjw57@mail2.sysu.edu.cn); Xiaochun Cao (caoxiaochun@mail.sysu.edu.cn). Corresponding author: Xiaochun Cao.

across DriveTransformer [1], UniAD [2], and VAD [3]. SRP also achieves the highest penalized lead time (pLead) across all three policies and the highest event recall ( RER_{E}) on UniAD. On DriveTransformer at a horizon of 2 seconds, ROC-AUC is 0.833 versus 0.715 for temporal consistency, and pLead is 0.701 versus 0.633 seconds; event recall is similar at 0.497 versus 0.505. The same probes trained on the original routes retain discriminative performance on new test routes.

Our contributions are threefold:

• We formulate failure anticipation as lightweight monitoring of a frozen driving policy through its structured actor, ego, and map representation interfaces.

• We propose SRP, which combines separate linear risk directions for each source, cardinality-normalized evidence pooling, and auxiliary supervision by event type in a single generic warning monitor.

• We evaluate SRP across driving policies and evaluation settings. Results show improved frame discrimination and warning lead over the evaluated runtime monitors.

References (38)