Manuscript Offprint
arXiv:2610.40922Confidence-Modulated Safety Filtering for End-to-End Policies
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Javier Borquez
Jaime F. Fisac
Department of Electrical and Computer Engineering, Princeton University
{javier.borquez, jfisac}@princeton.edu
Abstract: End-to-end policies, from task-specific controllers to robot foundation models, learn complex behavior from raw observations but are not guaranteed to remain safe, so they are often wrapped in a safety filter. The resulting system operates under two domains: the filter's operational design domain (ODD), where its assumptions hold and safety is certified, and the policy's competence domain, where it is reliable. Filters typically fix their conservativeness regardless of the policy's competence, trading performance inside the ODD against margin beyond it. We ask whether the policy's confidence should set that level, and propose a filter-agnostic pipeline that modulates it at runtime: inside the ODD, where every setting is safe, confidence buys performance; beyond it, low confidence adds margin, which helps when it flags where the filter's model fails. Preliminary FITENTH simulations, where this holds, show the modulated filter combining the strengths of permissive and conservative filters.
Keywords: Safety Filters, Policy Confidence, End-to-End Control
1 Introduction
End-to-end policies that map observations directly to actions have become a practical route to capable autonomous decision-making, from task-specific controllers [1, 2, 3] to generalist robot foundation models [4, 5, 6]. Trained on enough data, they often perform well and, much of the time, act safely. But not always: their competence is tied to the domain of the inputs they were trained on, and away from it their behavior is unspecified. A racing policy that drives a familiar track flawlessly may steer into a wall once the lighting changes or the tires lose grip [7, 8]. Worse, such failures arrive without warning: the policy issues an action exactly as it always does, and nothing in its action signals that it has left the regime in which its behavior was learned [9, 10]. A standard remedy for safety-critical deployment is to wrap the policy in a safety filter that monitors its proposed actions and overrides them when they threaten to drive the system into failure [11, 12, 13].
A safety filter, however, is only as good as the assumptions behind it. Its certificate rests on a model of the world, such as the system dynamics, a map of free space, a bound on disturbances, and holds only within the operational design domain (ODD) where those assumptions are met. Inside the ODD, the filter keeps the system safe regardless of the policy it guards; beyond it, the filter keeps acting, but nothing is guaranteed [11, 14]. The learned policy has its own competence domain, the conditions under which its training makes its behavior reliable. The two domains do not need to coincide, yet standard safety-filtered pipelines treat the policy as an arbitrary black box and ignore whether it is operating within its competence domain [15, 16].
Blind to the policy's competence, standard filters commit to a single level of conservativeness, set by design parameters such as a barrier decay rate or a safety-value threshold [17, 18]. Inside the ODD every setting is safe, but a conservative filter overrides a competent policy early and often, eroding its performance, while a permissive one lets an unreliable policy reach the boundary of the safe set, where abrupt fallback interventions are costly [19, 20]. Beyond the ODD, losing the certificate does not make failure inevitable: the filter becomes an imperfect one, and its conservativeness sets
CoRL 2026, The Science of Physical AI Safety Workshop, Austin TX, USA.

Figure 1: Confidence-modulated safety filtering. A confidence monitor estimates how much the task policy can be trusted on the current information and modulates the conservativeness of the safety filter (fallback , monitor , intervention ). Adapted from Hsu et al. [11].
a margin that may or may not translate into safety. On a race track, a wide margin may save a car whose filter assumes dry asphalt once the track turns wet, yet it also brakes the car on straights the policy has driven thousands of times. Whatever value is chosen is fixed and spent uniformly, whether or not the policy has proven reliable there.
A fixed conservativeness has been questioned before, with adaptation driven by performance [21, 22, 23], by the filter's own prediction errors [24], or by the policy's own uncertainty, which can tighten a CBF filter [25, 26] or trigger a switch to a fallback when inputs look novel [27]. Building on this line of work, we ask whether the task policy's confidence should set a safety filter's conservativeness: a confidence monitor estimates how much the task policy can be trusted on the current input and sets the filter's conservativeness (Fig. 1). When confidence is high, the policy is likely reliable and the filter steps back; when it is low, the policy's behavior is unpredictable and conservativeness costs little, provided that low confidence signals risk. Inside the ODD, safety is untouched, since every setting is certified, and modulation only buys performance; beyond it, modulation adds margin where the policy is less trustworthy. We give a filter-agnostic formulation, for any confidence measure and any filter whose conservativeness can be graded, and use the two domains to make explicit what modulation buys inside and beyond the ODD, and under which conditions.
Operational design domain. We call the operational design domain (ODD) the set of assumptions under which is valid: the dynamics , the disturbance set , a given perception stack, among others. Beyond the ODD, can potentially misrepresent the safety of the system.
Graded safety filters. We fix a base safety filter and assume its monitor is margin-valued: measures the margin to the unsafe set the system keeps after applying .
Definition 1 (Conservativeness). A safety filter is at least as conservative as , written , if for every certified and every , where is the base monitor.
That is, whatever the task policy proposes, a more conservative filter never leaves less margin, measured by the base monitor. Each filter acts through its intervention scheme, which queries its own monitor and may apply its own fallback, so changes to any of the three components are captured by the action it executes.
Definition 2 (Graded safety filter family). A family of safety filters , with totally ordered, is graded with respect to the base filter if (a) every satisfies the filter condition, and (b) , writing for the corresponding filters.
For example, a car must stop before an obstacle ahead. Its base filter monitors the stopping margin, the room left if it started braking now, and below a threshold blends the policy's command with a braking fallback at a fixed ratio. A harder-braking fallback, a larger threshold, or a blend leaning more on the fallback each stop the car at least as short, since braking harder or sooner never costs margin; varying them along one parameter yields a graded family.
Confidence-modulated safety filtering. A policy-confidence monitor scores how much the task policy can be trusted on the current information, , with meaning full trust. A non-increasing schedule then selects a member of a graded family at every step, , so lower confidence selects a more conservative filter, and the system executes . Because every member satisfies the filter condition, the modulated filter inherits the base certificate for any schedule as long as the ODD assumptions hold.
Hypothesis 1. Suppose that (i) the task policy is more likely to act unsafely where its confidence is low, and (ii) beyond the ODD, confidence is low where is not valid, either because those states are unfamiliar to the policy or because the model error itself drives the system into low-confidence states. Then, inside the ODD, a confidence-modulated filter is as performant as its least conservative member, ; beyond the ODD, it is as safe as its most conservative member, .
Each regime favors an opposite end of the family. Inside the ODD, every member is certified, so conservativeness buys no safety and only costs performance: modulation keeps the filter permissive while the policy is confident, and the conservative members act only where it is not, steering it away from the boundary before abrupt fallback interventions become necessary [19]. Beyond the ODD, nothing is certified, and the margin of the conservative members is what can keep an unreliable policy safe; modulation applies it where confidence drops, which pays off when that is where the policy would fail. One could instead switch between the two ends at the ODD boundary, but in general a deployed system cannot tell when its filter's assumptions stop holding. Modulation needs no such knowledge: the same pipeline runs everywhere, guided only by the policy's confidence.
3 Experiments
We evaluate confidence-modulated safety filtering in simulation, using the F1TENTH autonomous racing benchmark suite of f1tenth_benchmarks [28]. The task policy, an end-to-end TD3 agent [29], maps two stacked LiDAR scans to steering and speed, and is trained on five tracks with gentle left-hand corners (at most ). The confidence monitor maps the reconstruction error of an autoencoder trained on the policy's own observations [27]. The filter is a backup CBF [30] with three backup maneuvers, braking to a stop with the steering held straight, at full left, or at full right; its barrier is the clearance to the scanned boundary along the best backup. At each step, it applies the action closest to the policy's that satisfies the discrete-time CBF condition [31, 32]; ordered by decreasing , these filters form our graded family, and the schedule sets from 0.08 at no trust to 0.55 at full trust.
Table 1: Outcomes for 60 laps per method, inside and outside of the ODD.
| Inside ODD ( ) | Outside ODD ( ) | |||||||
|---|---|---|---|---|---|---|---|---|
| Complete | Timeout | Crash | Lap time (s) | Complete | Timeout | Crash | Lap time (s) | |
| No filter | 15 | 0 | 45 | 0 | 0 | 60 | - | |
| Fixed | 60 | 0 | 0 | 60 | 0 | 0 | ||
| Fixed | 60 | 0 | 0 | 48 | 2 | 10 | ||
| Modulated | 60 | 0 | 0 | 60 | 0 | 0 | ||
(a) Modulated only: one lap at (outside the ODD)
(b) Modulated : completes

(c) fixed : crashes

(d) fixed : completes
Figure 2: Modulated outside the ODD. (a) A full lap with the modulated filter, colored by : caution (low ) is applied at the sharp corners, where the policy's confidence is low. (b) Zooms into a sharp corner. (c–d) Same corner for fixed (crashes) and fixed (completes).
The filter is constructed with the simulator's own dynamics at the nominal friction , so its assumptions match the simulator there; this defines its ODD, and we go beyond it by lowering the friction to without informing the filter. We evaluate on three harder tracks with sharp corners (up to ), including right turns absent from training. Unfiltered (Table 1), the policy crashes in 45 of 60 laps inside the ODD and in all laps beyond it. Inside the ODD, no filter crashes, as its certificate predicts, and modulation closely matches the permissive filter , while being faster than the conservative one at . Beyond the ODD, the permissive filter crashes in 10 laps, while modulation completes all 60, like the conservative filter, yet 0.5 s faster. These preliminary results are consistent with Hypothesis 1.
Fig. 2 shows one lap beyond the ODD. The modulated filter stays permissive on straight and gentle corners, which resemble the training tracks, and turns conservative at the sharp corners, where the policy's confidence drops. At one such corner, the permissive filter crashes, while the modulated and the conservative filters complete it. The autoencoder cannot observe friction: its confidence drops at these corners because their geometry is unfamiliar, and that is also where low friction invalidates the monitor, the first route of condition (ii).
4 Conclusion
We proposed modulating a safety filter's conservativeness by the task policy's confidence, with one pipeline that buys performance inside the filter's ODD and safety margin beyond it. In preliminary F1TENTH experiments, the modulated filter matched the lap times of the most permissive fixed filter inside the ODD and the safety of the most conservative one beyond it. These results remain to be confirmed by broader tests, both in simulation and on real robots. Since it needs only a confidence score, the pipeline also extends to generalist policies such as robot foundation models, whose uneven competence across tasks makes a fixed conservativeness especially costly.
References
[1] M. Bojarski, D. Del Testa, D. Dworakowski, B. Firner, B. Flepp, P. Goyal, L. D. Jackel, M. Monfort, U. Muller, J. Zhang, X. Zhang, J. Zhao, and K. Zieba. End to end learning for self-driving cars. arXiv preprint, 2016.
[2] E. Kaufmann, L. Bauersfeld, A. Loquercio, M. Müller, V. Koltun, and D. Scaramuzza. Champion-level drone racing using deep reinforcement learning. Nature, 2023.
[3] I. Geles, L. Bauersfeld, A. Romero, J. Xing, and D. Scaramuzza. Demonstrating agile flight from pixels without state estimation. In Robotics: Science and Systems (RSS), 2024.
[4] B. Zitkovich, T. Yu, S. Xu, P. Xu, T. Xiao, et al. RT-2: Vision-language-action models transfer web knowledge to robotic control. In Conference on Robot Learning (CoRL), 2023.
[5] M. J. Kim, K. Pertsch, S. Karamcheti, T. Xiao, A. Balakrishna, et al. OpenVLA: An open-source vision-language-action model. In Conference on Robot Learning (CoRL), 2024.
[6] K. Black, N. Brown, D. Driess, A. Esmail, M. R. Equi, et al. : A vision-language-action flow model for general robot control. In Robotics: Science and Systems (RSS), 2025.
[7] A. Filos, P. Tigkas, R. McAllister, N. Rhinehart, S. Levine, and Y. Gal. Can autonomous vehicles identify, recover from, and adapt to distribution shifts? In International Conference on Machine Learning (ICML), 2020.
[8] P. de Haan, D. Jayaraman, and S. Levine. Causal confusion in imitation learning. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
[9] S. Hecker, D. Dai, and L. Van Gool. Failure prediction for autonomous driving. In IEEE Intelligent Vehicles Symposium (IV), 2018.
[10] C. Agia, R. Sinha, J. Yang, Z. Cao, R. Antonova, M. Pavone, and J. Bohg. Unpacking failure modes of generative policies: Runtime monitoring of consistency and progress. In Conference on Robot Learning (CoRL), 2024.
[11] K.-C. Hsu, H. Hu, and J. F. Fisac. The safety filter: A unified view of safety-critical control in autonomous systems. Annual Review of Control, Robotics, and Autonomous Systems, 2024.
[12] J. Borquez, K. Chakraborty, H. Wang, and S. Bansal. On safety and liveness filtering using Hamilton–Jacobi reachability analysis. IEEE Transactions on Robotics, 2024.
[13] A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath, and P. Tabuada. Control barrier functions: Theory and applications. In European Control Conference (ECC), 2019.
[14] SAE International. Taxonomy and definitions for terms related to driving automation systems for on-road motor vehicles. Recommended Practice J3016_202104, SAE International, 2021.
[15] K. P. Wabersich, A. J. Taylor, J. J. Choi, K. Sreenath, C. J. Tomlin, A. D. Ames, and M. N. Zeilinger. Data-driven safety filters: Hamilton-Jacobi reachability, control barrier functions, and predictive methods for uncertain systems. IEEE Control Systems Magazine, 2023.
[16] K. P. Wabersich and M. N. Zeilinger. A predictive safety filter for learning-based control of constrained nonlinear dynamical systems. Automatica, 2021.
[17] S. Bansal, M. Chen, S. Herbert, and C. J. Tomlin. Hamilton-Jacobi reachability: A brief overview and recent advances. In IEEE Conference on Decision and Control (CDC), 2017.
[18] A. Alan, A. J. Taylor, C. R. He, G. Orosz, and A. D. Ames. Safe controller synthesis with tunable input-to-state safe control barrier functions. IEEE Control Systems Letters, 2022.
[19] H. Hu, K. Nakamura, and J. F. Fisac. SHARP: Shielding-aware robust planning for safe and efficient human-robot interaction. IEEE Robotics and Automation Letters, 2022.
[20] H. Hu, D. Isele, S. Bae, and J. F. Fisac. Active uncertainty reduction for safe and efficient interaction planning: A shielding-aware dual control approach. The International Journal of Robotics Research, 2024.
[21] H. Parwana and D. Panagou. Rate-tunable control barrier functions: Methods and algorithms for online adaptation. In American Control Conference (ACC), 2025.
[22] T. Kim, R. I. Kee, and D. Panagou. Learning to refine input constrained control barrier functions via uncertainty-aware online parameter adaptation. In IEEE International Conference on Robotics and Automation (ICRA), 2025.
[23] T. Kim, R. I. Kee, and D. Panagou. Learning to adapt control barrier functions under epistemic and aleatoric uncertainty. arXiv preprint arXiv:2504.03038, 2025.
[24] S. Huriot, I. Tabbara, and H. Sibai. Safe control using learned safety filters and adaptive conformal inference. In Learning for Dynamics and Control Conference (L4DC), 2026.
[25] R. Yu, Z. Li, L. Xiong, W. Han, and B. Leng. Uncertainty-aware safety-critical decision and control for autonomous vehicles at unsignalized intersections. In IEEE International Conference on Intelligent Transportation Systems (ITSC), 2025.
[26] Z. Li, R. Yu, W. Zhang, M. Liu, L. Xiong, C. Sun, and B. Leng. A risk-sensitive and uncertainty-aware decision-making and control framework for safe and robust autonomous driving. arXiv preprint arXiv:2609.09650, 2026.
[27] C. Richter and N. Roy. Safe visual navigation via deep learning and novelty detection. In Robotics: Science and Systems (RSS), 2017.
[28] B. D. Evans, R. Trumpp, M. Caccamo, F. Jahncke, J. Betz, H. W. Jordaan, and H. A. Engelbrecht. Unifying F1TENTH autonomous racing: Survey, methods and benchmarks. arXiv preprint, 2024.
[29] S. Fujimoto, H. van Hoof, and D. Meger. Addressing function approximation error in actor-critic methods. In International Conference on Machine Learning (ICML), 2018.
[30] Y. Chen, M. Jankovic, M. Santillo, and A. D. Ames. Backup control barrier functions: Formulation and comparative study. In IEEE Conference on Decision and Control (CDC), 2021.
[31] A. Agrawal and K. Sreenath. Discrete control barrier functions for safety-critical control of discrete systems with application to bipedal robot navigation. In Robotics: Science and Systems (RSS), 2017.
[32] Y. Xiong, D.-H. Zhai, M. Tavakoli, and Y. Xia. Discrete-time control barrier function: High-order case and adaptive case. IEEE Transactions on Cybernetics, 2023.