End-to-End Learning of Safe Optimal Feedback Control in High Dimensions with Control Barrier Function Layers

arXiv cs.LG Papers

Summary

This paper presents a scalable method for end-to-end learning of safe feedback controllers in high-dimensional systems by embedding a control barrier function-based safety filter as an optimization layer, using operator splitting and Jacobian-Free Backpropagation to overcome computational bottlenecks.

arXiv:2607.20674v1 Announce Type: new Abstract: We consider the problem of learning high-dimensional semi-global feedback controllers under hard safety constraints enforced by control barrier functions (CBFs). Incorporating CBFs into end-to-end policy training requires embedding a quadratic-program-based safety filter as an optimization layer, but computational and differentiation bottlenecks have largely restricted prior approaches to low-dimensional systems, typically with at most 16 state dimensions. We address this limitation by combining operator splitting with the recently developed Jacobian-Free Backpropagation (JFB) method to enable scalable end-to-end training while preserving hard safety guarantees through the CBF safety filter. We justify this training methodology theoretically using nonsmooth analysis techniques and demonstrate its effectiveness on high-dimensional multi-agent nonlinear control problems with state and control dimensions up to 1200 and 400, respectively.
Original Article
View Cached Full Text

Cached at: 07/24/26, 05:13 AM

# End-to-End Learning of Safe Optimal Feedback Control in High Dimensions with Control Barrier Function Layers
Source: [https://arxiv.org/html/2607.20674](https://arxiv.org/html/2607.20674)
Xingjian Li1\\equalcontrib, Kelvin Kan2\\equalcontrib, Deepanshu Verma3\\equalcontrib, Krishna Kumar1, Stanley Osher2, Samy Wu Fung4

###### Abstract

We consider the problem of learning high\-dimensional semi\-global feedback controllers under hard safety constraints enforced by control barrier functions \(CBFs\)\. Incorporating CBFs into end\-to\-end policy training requires embedding a quadratic\-program\-based safety filter as an optimization layer, but computational and differentiation bottlenecks have largely restricted prior approaches to low\-dimensional systems, typically with at most 16 state dimensions\. We address this limitation by combining operator splitting with the recently developed Jacobian\-Free Backpropagation \(JFB\) method to enable scalable end\-to\-end training while preserving hard safety guarantees through the CBF safety filter\. We justify this training methodology theoretically using nonsmooth analysis techniques and demonstrate its effectiveness on high\-dimensional multi\-agent nonlinear control problems with state and control dimensions up to 1200 and 400, respectively\.

## Introduction

We consider the problem of end\-to\-end learning of safe feedback controllers for high\-dimensional nonlinear control systems\. Specifically, we consider systems of the form

minu∈U\\displaystyle\\min\_\{u\\in U\}\\quad∫0TL​\(t,zx,u\)​𝑑t\+ω​G​\(zx​\(T\)\),\\displaystyle\\int\_\{0\}^\{T\}L\(t,z\_\{x\},u\)\\,dt\+\\omega G\(z\_\{x\}\(T\)\),\(1a\)s\.t\.z˙x=f​\(t,zx\)\+g​\(t,zx\)​u​\(t\),\\displaystyle\\dot\{z\}\_\{x\}=f\(t,z\_\{x\}\)\+g\(t,z\_\{x\}\)u\(t\),\(1b\)h​\(zx​\(t\)\)≥0,zx​\(0\)=x,\\displaystyle h\(z\_\{x\}\(t\)\)\\geq 0,\\quad z\_\{x\}\(0\)=x,\(1c\)wherezx∈ℝnz\_\{x\}\\in\\mathbb\{R\}^\{n\}denotes the state variable initialized atxx,u​\(t\)∈U⊂ℝmu\(t\)\\in U\\subset\\mathbb\{R\}^\{m\}is the control,LLis the running cost, andGGis the terminal cost weighted byω\>0\\omega\>0\. The functionh​\(zx​\(t\)\):ℝn→ℝh\(z\_\{x\}\(t\)\)\\colon\\mathbb\{R\}^\{n\}\\to\\mathbb\{R\}defines the safe set through its superlevel set, and the constrainth​\(zx​\(t\)\)≥0h\(z\_\{x\}\(t\)\)\\geq 0requires the trajectory to remain safe for all time\. Our goal is to learnu⋆​\(t,z\)u^\{\\star\}\(t,z\), that approximately solves \([1](https://arxiv.org/html/2607.20674#Sx1.E1)\) simultaneously for allx∼ρx\\sim\\rho, thereby yielding a semi\-global controller that works for a wide range of\(t,z\)\(t,z\)without online retraining\(Onkenet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib71); Ruthottoet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib51)\)\.

![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/single_integrator_swarm_traj.png)
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/quadcopter_100_finetune_traj.png)

Figure 1:High\-dimensional control examples: trajectories of 50 single integrators \(left\) and 100 quadcopters \(right\) generated by trained*semi\-global feedback*controllers\.A widely used framework for enforcing safety constraints is given by control barrier functions \(CBFs\)\(Ameset al\.[2016](https://arxiv.org/html/2607.20674#bib.bib6),[2019](https://arxiv.org/html/2607.20674#bib.bib10); Xiao and Belta[2021](https://arxiv.org/html/2607.20674#bib.bib90)\)\. CBFs guarantee forward invariance of the safe set by imposing a pointwise inequality on the control input\. In practice, this condition is typically enforced through a quadratic program \(QP\) solved at each time step, which minimally modifies a nominal control input to ensure safety\.

For neural feedback policies, this naturally leads to a QP\-based safety filter embedded as an optimization layer within the training loop\. This end\-to\-end formulation is attractive because*the learned controller can account for the downstream safety filter during training, rather than treating safety only as a post\-processing step*\. However, differentiating through QP layers introduces substantial computational overhead, and existing end\-to\-end approaches have largely been restricted to low\-dimensional systems, typically on the order of tens of state variables\. Scaling such methods to high\-dimensional nonlinear control problems therefore remains a major computational challenge\.

In this work, we address this challenge by developing a scalable end\-to\-end training framework for semi\-global neural feedback controllers with CBF\-QP filters\. By combining operator splitting with Jacobian\-Free Backpropagation \(JFB\), our approach avoids the differentiation bottlenecks that arise when training through high\-dimensional QP layers\. This enables end\-to\-end learning for controlling safety\-critical nonlinear systems at scale far beyond those considered in prior work, while retaining the hard safety guarantees provided by the embedded CBF filter \(see Figure[1](https://arxiv.org/html/2607.20674#Sx1.F1)\)\.

### Our Contributions

Several lines of work address constraints in learning\-to\-control problems\. Differentiable programming approaches for optimal control, including differentiable MPC\(Amoset al\.[2018](https://arxiv.org/html/2607.20674#bib.bib25)\), Pontryagin Differentiable Programming\(Jinet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib27)\), and their extensions\(Oshinet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib26); Jinet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib28)\), enable end\-to\-end differentiation through trajectory optimization but are fundamentally local trajectory solvers rather than approaches for learning feedback policies\. Work such as\(Onkenet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib72); Drgoňaet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib21); Cortezet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib23); Yooet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib74); Mowlavi and Nabi[2023](https://arxiv.org/html/2607.20674#bib.bib76); Drgoňaet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib22)\)incorporates safety constraints through soft penalties, which simplify optimization but cannot guarantee constraint satisfaction\. More closely related are projection\-based safety layers built on differentiable optimization layers such as OptNet\(Amos and Kolter[2017](https://arxiv.org/html/2607.20674#bib.bib1)\)and CVXPY Layers\(Agrawalet al\.[2019a](https://arxiv.org/html/2607.20674#bib.bib29)\)\. While these methods enable end\-to\-end training with hard safety guarantees\(Chenet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib33); Xiaoet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib69); Min and Azizan[2024](https://arxiv.org/html/2607.20674#bib.bib31)\), they have largely been limited to relatively small\-scale problems due to the computational cost and optimization challenges associated with differentiating through optimization layers\. Due to space limitations, we defer a comprehensive review of related work to the Appendix\.

We propose a new framework for end\-to\-end learning of safe semi\-global feedback controllers that overcomes the computational and theoretical limitations of prior approaches\. Our main contributions are as follows\.

1. 1\.Operator\-splitting and Jacobian\-free backpropagation for scalable end\-to\-end training\.We develop a scalable end\-to\-end training framework for neural feedback controllers with embedded CBF\-based safety layers by combining three\-operator splitting with Jacobian\-Free Backpropagation\. The operator\-splitting formulation decomposes the CBF induced QPs into simple subproblems, rendering high\-dimensional scaling possible, while JFB enables efficient differentiation through the resulting fixed\-point iterations without solving large linear systems\. Together, these ingredients make end\-to\-end training through high\-dimensional safety filters computationally tractable by avoiding the formulation of the full KKT system, and reducing the cost of backpropagation significantly compared to implicit differentiation method\.
2. 2\.Convergence guarantees under nonsmooth safety layers\.Leveraging the theory of Clarke generalized Jacobians, we establish convergence guarantees under gradient flow for the proposed training procedure despite nonsmoothness introduced by the CBF layers\. This analysis provides a rigorous foundation for training safety\-constrained implicit networks with JFB, even when active constraints induce discontinuities in the gradient\.
3. 3\.Numerical validation across dynamics, constraints, and scale\.We demonstrate the effectiveness of the proposed framework on a range of high\-dimensional nonlinear multi\-agent control problems with embedded CBF safety layers\. The experiments span different dynamics, safety constraints, and problem sizes, including settings with state dimensions exceeding10001000and control dimensions exceeding100100\. These results show that the proposed approach scales well beyond the dimensions considered in prior end\-to\-end safe control learning methods\.

Together, these results demonstrate that high\-dimensional safety\-critical feedback control can be learned end\-to\-end in regimes previously considered computationally prohibitive\.

## Background

### Control Barrier Functions

Consider the control\-affine system \([1b](https://arxiv.org/html/2607.20674#Sx1.E1.2)\), whereffandggare locally Lipschitz\. We drop the subscript inzxz\_\{x\}for ease of presentation\. Let the safe set be defined by

𝒞:=\{z∈ℝn:h​\(z\)≥0\},\\mathcal\{C\}:=\\\{z\\in\\mathbb\{R\}^\{n\}:h\(z\)\\geq 0\\\},\(2\)whereh:ℝn→ℝh:\\mathbb\{R\}^\{n\}\\to\\mathbb\{R\}is continuously differentiable\. Control barrier functions \(CBFs\) enforce forward invariance of𝒞\\mathcal\{C\}by imposing a pointwise constraint on the control input\.

For a control\-affine system, the time derivative ofhhalong trajectories is

h˙​\(z\)=∇h​\(z\)⊤​f​\(t,z\)\+∇h​\(z\)⊤​g​\(t,z\)​u\.\\dot\{h\}\(z\)=\\nabla h\(z\)^\{\\top\}f\(t,z\)\+\\nabla h\(z\)^\{\\top\}g\(t,z\)u\.\(3\)A standard CBF condition requires the existence of an extended class\-𝒦\\mathcal\{K\}functionα\\alpha, i\.e\., a continuous, strictly increasing function satisfyingα​\(0\)=0\\alpha\(0\)=0, such that

h˙​\(z\)\+α​\(h​\(z\)\)≥0,\\dot\{h\}\(z\)\+\\alpha\(h\(z\)\)\\geq 0,\(4\)Importantly, \([4](https://arxiv.org/html/2607.20674#Sx2.E4)\) is affine in the control actionuu\.

###### Theorem 1\(Forward invariance under CBF constraints\(Ameset al\.[2019](https://arxiv.org/html/2607.20674#bib.bib10)\)\)\.

Let functionhhbe continuously differentiable and let𝒞\\mathcal\{C\}be defined as above\. Supposeu​\(t\)u\(t\)is locally Lipschitz,z​\(0\)∈𝒞z\(0\)\\in\\mathcal\{C\}, and \([4](https://arxiv.org/html/2607.20674#Sx2.E4)\) holds for allt≥0t\\geq 0\. Then𝒞\\mathcal\{C\}is forward invariant underu​\(t\)u\(t\)\. In particular,z​\(t\)∈𝒞z\(t\)\\in\\mathcal\{C\}for allt≥0t\\geq 0, as such the safety conditionh​\(z​\(t\)\)≥0h\(z\(t\)\)\\geq 0is maintained\.

In words, the CBF condition ensures that trajectories cannot leave the safe set by requiring the derivative of the safety function to be sufficiently nonnegative near the boundary of𝒞\\mathcal\{C\}\. Thus, safety can be enforced by restricting the control input to satisfy the constraint set consisting of the control\-affine inequality induced by \([4](https://arxiv.org/html/2607.20674#Sx2.E4)\):

C​\(z\):=\{u∈ℝm:A​\(z\)​u≤b​\(z\)\}\.C\(z\):=\\left\\\{u\\in\\mathbb\{R\}^\{m\}:A\(z\)u\\leq b\(z\)\\right\\\}\.\(5\)During training, the safety filter maps the nominal neural feedback controluθ​\(t,z\)u\_\{\\theta\}\(t,z\)to its projection onto this feasible set:

uθ⋆​\(t,z\)=PC​\(z\)​\(uθ​\(t,z\)\)=arg​minu∈C​\(z\)⁡12​‖u−uθ​\(t,z\)‖22\.u\_\{\\theta\}^\{\\star\}\(t,z\)=P\_\{C\(z\)\}\(u\_\{\\theta\}\(t,z\)\)=\\operatorname\*\{arg\\,min\}\_\{u\\in C\(z\)\}\\frac\{1\}\{2\}\\left\\lVert u\-u\_\{\\theta\}\(t,z\)\\right\\rVert\_\{2\}^\{2\}\.\(6\)Thus,uθ⋆​\(t,z\)u^\{\\star\}\_\{\\theta\}\(t,z\)is obtained by solving a CBF\-based quadratic program \(CBF\-QP\) computed at every time step, and for every trajectory that ensures that \([4](https://arxiv.org/html/2607.20674#Sx2.E4)\) is satisfied\. In this work we also employ High Order Control Barrier Functions \(HOCBFs\), the details of which we include in the Appendix\.

### Davis–Yin Splitting and Jacobian\-Free Backpropagation

The CBF\-QP safety filter in \([6](https://arxiv.org/html/2607.20674#Sx2.E6)\) must be evaluated and differentiated through at every time step of every sampled trajectory during training\. Although each projection is often inexpensive at each step, stacking them over time can add to significant increase in computation, more importantly, backward differentiating through the QP can become a major computational bottleneck in high\-dimensional problems\.

#### Davis–Yin Splitting

To make this step scalable, we follow\(McKenzieet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib12)\)and solve the CBF\-QP using Davis–Yin splitting \(DYS\)\(Davis and Yin[2017](https://arxiv.org/html/2607.20674#bib.bib15)\), which represents the projection through the fixed point of a splitting operator\. We then use Jacobian\-Free Backpropagation \(JFB\)\(Funget al\.[2022](https://arxiv.org/html/2607.20674#bib.bib3); Yinet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib45); Knutsonet al\.[2026](https://arxiv.org/html/2607.20674#bib.bib53)\)to differentiate through this fixed\-point representation without backpropagating through all solver iterations or solving the linear systems required by classical implicit differentiation\(Baiet al\.[2019](https://arxiv.org/html/2607.20674#bib.bib32); Lorraineet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib34); El Ghaouiet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib4); Fung and Berkels[2026](https://arxiv.org/html/2607.20674#bib.bib52)\)\. This allows the CBF\-QP layer to be embedded efficiently within end\-to\-end feedback\-control training\.

In particular, we first introduce slack variabless∈ℝcs\\in\\mathbb\{R\}^\{c\}for theccinequality constraints and lety=\(u,s\)∈ℝm\+cy=\(u,s\)\\in\\mathbb\{R\}^\{m\+c\}\. Then the inequality \([5](https://arxiv.org/html/2607.20674#Sx2.E5)\) can be written as

A​\(z\)​u\+s=b​\(z\),s≥0\.A\(z\)u\+s=b\(z\),\\qquad s\\geq 0\.\(7\)This gives the lifted feasible set

C~​\(z\):=C1∩C2​\(z\),\\widetilde\{C\}\(z\):=C\_\{1\}\\cap C\_\{2\}\(z\),\(8\)where

C1\\displaystyle C\_\{1\}:=\{\(u,s\):s≥0\},\\displaystyle=\\left\\\{\(u,s\):s\\geq 0\\right\\\},\(9\)C2​\(z\)\\displaystyle C\_\{2\}\(z\):=\{\(u,s\):A​\(z\)​u\+s=b​\(z\)\}\.\\displaystyle=\\left\\\{\(u,s\):A\(z\)u\+s=b\(z\)\\right\\\}\.Both projections are simple:PC1P\_\{C\_\{1\}\}is obtained by thresholding the slack variables, whilePC2​\(z\)P\_\{C\_\{2\}\(z\)\}is projection onto an affine subspace\. Let

Qu=\[I,0\]∈ℝm×\(m\+c\)Q\_\{u\}=\[I,0\]\\in\\mathbb\{R\}^\{m\\times\(m\+c\)\}\(10\)denote the matrix that extracts the control component fromy=\(u,s\)y=\(u,s\)\. The projection problem \([6](https://arxiv.org/html/2607.20674#Sx2.E6)\) is equivalently written in lifted variables as

yθ⋆=arg​miny∈C1∩C2​\(z\)⁡12​‖Qu​y−uθ​\(t,z\)‖22,uθ⋆​\(t,z\)=Qu​yθ⋆\.y\_\{\\theta\}^\{\\star\}=\\operatorname\*\{arg\\,min\}\_\{y\\in C\_\{1\}\\cap C\_\{2\}\(z\)\}\\frac\{1\}\{2\}\\left\\lVert Q\_\{u\}y\-u\_\{\\theta\}\(t,z\)\\right\\rVert\_\{2\}^\{2\},\\ \\ u\_\{\\theta\}^\{\\star\}\(t,z\)=Q\_\{u\}y\_\{\\theta\}^\{\\star\}\.\(11\)For a step sizeζ\>0\\zeta\>0, DYS defines the fixed\-point operator

Tθ​\(y;z\)=y−PC1​\(y\)\\displaystyle T\_\{\\theta\}\(y;z\)=y\-P\_\{C\_\{1\}\}\(y\)\(12\)\+PC2​\(z\)​\(2​PC1​\(y\)−y−ζ​Qu⊤​\(Qu​PC1​\(y\)−uθ​\(t,z\)\)\)\\displaystyle\+P\_\{C\_\{2\}\(z\)\}\\left\(2P\_\{C\_\{1\}\}\(y\)\-y\-\\zeta Q\_\{u\}^\{\\top\}\\big\(Q\_\{u\}P\_\{C\_\{1\}\}\(y\)\-u\_\{\\theta\}\(t,z\)\\big\)\\right\)whereuθ​\(t,z\)u\_\{\\theta\}\(t,z\)is the nominal control\. The safety\-filtered control is recovered from a fixed point

y⋆=Tθ​\(y⋆;z\)y^\{\\star\}=T\_\{\\theta\}\(y^\{\\star\};z\)\(13\)by applying a finalC1C\_\{1\}projection

uθ⋆​\(t,z\)=Qu​PC1​\(y⋆\)=Qu​y⋆\.u\_\{\\theta\}^\{\\star\}\(t,z\)=Q\_\{u\}P\_\{C\_\{1\}\}\(y^\{\\star\}\)=Q\_\{u\}y^\{\\star\}\.\(14\)The final equality holds becausePC1P\_\{C\_\{1\}\}only modifies the slack variables and leaves the control component unchanged\.

The principal advantage of DYS lies in its ability to decompose a complex optimization problem into inexpensive projection and gradient evaluations\(Ryu and Yin[2022](https://arxiv.org/html/2607.20674#bib.bib35)\)\. By avoiding the repeated solution of large coupled KKT systems, DYS is particularly attractive for large\-scale optimization and scales naturally to multi\-agent problems with hundreds or even thousands of state variables\.

#### Jacobian\-Free Backpropagation

The DYS formulation provides an efficient fixed\-point method for computing the CBF\-QP projection\. However, differentiating through this fixed point remains costly as one must either backpropagate through all DYS iterations or use implicit differentiation, which requires solving a large linear system accurately at each time step\. Indeed, differentiating \([13](https://arxiv.org/html/2607.20674#Sx2.E13)\) with respect toθ\\thetagives

d​yθ⋆d​θ=∂Tθ∂y​d​yθ⋆d​θ\+∂Tθ∂θ,\\frac\{dy\_\{\\theta\}^\{\\star\}\}\{d\\theta\}=\\frac\{\\partial T\_\{\\theta\}\}\{\\partial y\}\\frac\{dy\_\{\\theta\}^\{\\star\}\}\{d\\theta\}\+\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\},\(15\)where the partial derivatives are evaluated at\(yθ⋆;z\)\(y\_\{\\theta\}^\{\\star\};z\)\. Rearranging the terms yields

d​yθ⋆d​θ=\(I−∂Tθ∂y\)−1​∂Tθ∂θ\.\\frac\{dy\_\{\\theta\}^\{\\star\}\}\{d\\theta\}=\\left\(I\-\\frac\{\\partial T\_\{\\theta\}\}\{\\partial y\}\\right\)^\{\-1\}\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\.\(16\)In high\-dimensional problems, evaluating this expression can dominate the cost of training, as this must be done*at each time step and for each trajectory with high accuracy*\.

To avoid this bottleneck, we use Jacobian\-Free Backpropagation \(JFB\)\(Funget al\.[2022](https://arxiv.org/html/2607.20674#bib.bib3); Heatonet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib54); Heaton and Fung[2023](https://arxiv.org/html/2607.20674#bib.bib55)\), which replaces the inverse term in \([16](https://arxiv.org/html/2607.20674#Sx2.E16)\) by an identity:

d​yθ⋆d​θ≈∂Tθ∂θ\.\\frac\{dy\_\{\\theta\}^\{\\star\}\}\{d\\theta\}\\approx\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\.\(17\)Thus, JFB avoids both solver unrolling and implicit linear solves, reducing the per\-time\-step gradient cost for each trajectory from𝒪​\(\(m\+c\)3\+\(m\+c\)2​p\)\\mathcal\{O\}\(\(m\+c\)^\{3\}\+\(m\+c\)^\{2\}p\)to𝒪​\(\(m\+c\)​p\)\\mathcal\{O\}\(\(m\+c\)p\)whereppis the total network parameter count\. The cost of factorizing a dense matrix and performing the subsequent matrix multiplication is incurred at every time step and scales linearly with both the batch size and the trajectory length\. In contrast, JFB requires only gradients with respect to the trainable parameters, making the computational savings substantial\. Notably, while\(McKenzieet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib12)\)establishes descent for a single QP layer, our setting embeds CBF\-QPs throughout semi\-global optimal\-control trajectories; our analysis accounts for this repeated, trajectory\-level composition\.

## End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories

We now describe the full semi\-global optimal\-control training problem with embedded CBF\-QP safety filters\. The training objective is

minθ⁡𝔼x∼ρ​Jx​\(θ\)\\displaystyle\\min\_\{\\theta\}\\;\\mathbb\{E\}\_\{x\\sim\\rho\}\\;J\_\{x\}\(\\theta\):=∫0TL​\(t,zx,uθ⋆\)​𝑑t\+ω​G​\(zx​\(T\)\),\\displaystyle:=\\int\_\{0\}^\{T\}L\(t,z\_\{x\},u^\{\\star\}\_\{\\theta\}\)\\,dt\+\\omega G\(z\_\{x\}\(T\)\),\(18a\)s\.t\.z˙x=f​\(t,zx\)\\displaystyle\\text\{s\.t\.\}\\quad\\dot\{z\}\_\{x\}=f\(t,z\_\{x\}\)\+g​\(t,zx\)​uθ⋆,zx​\(0\)=x,\\displaystyle\+g\(t,z\_\{x\}\)u^\{\\star\}\_\{\\theta\},\\quad z\_\{x\}\(0\)=x,\(18b\)uθ⋆\\displaystyle u^\{\\star\}\_\{\\theta\}=Qu​yθ⋆,yθ⋆=Tθ​\(yθ⋆;zx\),\\displaystyle=Q\_\{u\}y\_\{\\theta\}^\{\\star\},\\quad y\_\{\\theta\}^\{\\star\}=T\_\{\\theta\}\(y\_\{\\theta\}^\{\\star\};z\_\{x\}\),\(18c\)whereTθT\_\{\\theta\}is the DYS operator defined in \([12](https://arxiv.org/html/2607.20674#Sx2.E12)\)\. The fixed\-point equation in \([18c](https://arxiv.org/html/2607.20674#Sx3.E18.3)\) computes the CBF\-QP projection at each state along the trajectory, which ensures that the filtered control satisfies the CBF constraints during both training and deployment\. As previously mentioned, the semi\-global nature of the formulation comes from optimizing over a distribution of initial conditionsx∼ρx\\sim\\rho, rather than a single trajectory\(Onkenet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib72); Vidalet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib49); Vermaet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib94); Menget al\.[2026](https://arxiv.org/html/2607.20674#bib.bib48)\)\. This differs from trajectory\-specific differentiable optimal\-control approaches\(Jinet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib27),[2021](https://arxiv.org/html/2607.20674#bib.bib28)\)and is essential for learning feedback controllers that generalize across initial states\. The main computational challenge is that each sampled trajectory requires many CBF\-QP solves, each of which must be differentiated through during training\. Alg\.[1](https://arxiv.org/html/2607.20674#alg1)summarizes the resulting DYS\-JFB training procedure, Despite the computational advantage JFB can be implemented trivially with minimal code changes\. The remainder of this section analyzes the convergence of this trajectory\-level training scheme, which accounts for both the embedded CBF\-QP projections and the JFB gradient approximation\. To the best of our knowledge this is the first convergence proof for policy training with embedded nonsmooth projection layers\.

Algorithm 1End\-to\-End Training with DYS\-JFB Scheme1:Input:learning rate

η\\eta, horizon

TT, step size

Δ​t\\Delta t, total time steps

NtN\_\{t\}, DYS operator

TθT\_\{\\theta\}, batch size

BB, initial state distribution

ρ\\rho, policy network

uθu\_\{\\theta\}
2:Initializepolicy parameters

θ\\theta
3:whilenot convergeddo

4:Sample

\{xi\}i=1B∼ρ\\\{x\_\{i\}\\\}\_\{i=1\}^\{B\}\\sim\\rho
5:

J←0J\\leftarrow 0
6:for

i=1,…,Bi=1,\\dots,Bdo

7:

z0\(i\)←xiz\_\{0\}^\{\(i\)\}\\leftarrow x\_\{i\}
8:for

k=0,…,Nt−1k=0,\\dots,N\_\{t\}\-1do

9:

tk←k​Δ​tt\_\{k\}\\leftarrow k\\Delta t
10:

uθnom←uθ​\(tk,zk\(i\)\)u\_\{\\theta\}^\{\\mathrm\{nom\}\}\\leftarrow u\_\{\\theta\}\(t\_\{k\},z\_\{k\}^\{\(i\)\}\)
11:Initialize

yy
12:stop\-gradient

13:whileDYS not convergeddo

14:

y←Tθ​\(y;zk\(i\),uθnom\)y\\leftarrow T\_\{\\theta\}\(y;z\_\{k\}^\{\(i\)\},u\_\{\\theta\}^\{\\mathrm\{nom\}\}\)
15:endwhile

16:

y←Tθ​\(y;zk\(i\),uθnom\)y\\leftarrow T\_\{\\theta\}\(y;z\_\{k\}^\{\(i\)\},u\_\{\\theta\}^\{\\mathrm\{nom\}\}\)⊳\\trianglerightJFB update & enable\-gradient

17:

uk⋆←Qu​yu\_\{k\}^\{\\star\}\\leftarrow Q\_\{u\}y
18:

zk\+1\(i\)←zk\(i\)\+Δ​t​\(f​\(tk,zk\(i\)\)\+g​\(tk,zk\(i\)\)​uk⋆\)z\_\{k\+1\}^\{\(i\)\}\\leftarrow z\_\{k\}^\{\(i\)\}\+\\Delta t\\big\(f\(t\_\{k\},z\_\{k\}^\{\(i\)\}\)\+g\(t\_\{k\},z\_\{k\}^\{\(i\)\}\)u\_\{k\}^\{\\star\}\\big\)
19:

J←J\+Δ​t​L​\(tk,zk\(i\),uk⋆\)J\\leftarrow J\+\\Delta t\\,L\(t\_\{k\},z\_\{k\}^\{\(i\)\},u\_\{k\}^\{\\star\}\)
20:endfor

21:

J←J\+ω​G​\(zNt\(i\)\)J\\leftarrow J\+\\omega G\(z\_\{N\_\{t\}\}^\{\(i\)\}\)
22:endfor

23:

J←J/B,θ←θ−η​∇θJJ\\leftarrow J/B,\\quad\\theta\\leftarrow\\theta\-\\eta\\nabla\_\{\\theta\}J
24:endwhile

25:Output:trained policy network

uθ​\(t,z\)u\_\{\\theta\}\(t,z\)

### Convergence Analysis

The convergence analysis is complicated as a result of \(i\) the nonsmoothness of the DYS operator and \(ii\) the biased stochastic gradients induced by JFB\. Importantly we note that the safety layer involves a projection onto the nonnegative slack variables, soTθT\_\{\\theta\}need not be differentiable everywhere\. We therefore use Clarke generalized Jacobians to handle the nonsmooth dependence of the fixed\-point map\.

###### Definition 2\(Clarke Generalized Jacobian\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13)\)\)\.

LetF:ℝn→ℝmF:\\mathbb\{R\}^\{n\}\\to\\mathbb\{R\}^\{m\}be locally Lipschitz\. The Clarke generalized Jacobian ofFFatxxis

∂CF\(x\)=conv\{limk→∞JF\(xk\)\|xk→x,Fis differentiable atxk\},\\begin\{split\}\\partial^\{C\}F\(x\)=\\mathrm\{conv\}\\Big\\\{\\lim\_\{k\\to\\infty\}JF\(x\_\{k\}\)\\;\\Big\|\\;x\_\{k\}\\to x,\\;\\\\ F\\text\{ is differentiable at \}x\_\{k\}\\Big\\\},\\end\{split\}\(19\)whereJ​F​\(xk\)JF\(x\_\{k\}\)denotes the classical Jacobian andconv​\(⋅\)\\mathrm\{conv\}\(\\cdot\)denotes the convex hull\. Any matrixM∈∂CF​\(x\)M\\in\\partial^\{C\}F\(x\)is called a generalized Jacobian ofFFatxx\. Whenm=1m=1,∂CF​\(x\)\\partial^\{C\}F\(x\)is the Clarke subdifferential, and anyv∈∂CF​\(x\)v\\in\\partial^\{C\}F\(x\)is called a Clarke subgradient\.

##### JFB approximation of Generalized Jacobian

WhenTθT\_\{\\theta\}is not differentiable with respect toyyat certain points, the implicit differentiation \([16](https://arxiv.org/html/2607.20674#Sx2.E16)\) can be realized in the Clarke sense\. Specifically, by the Clarke chain rule\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Corollary 2\.6\.6\),

∂θyθ⋆∈\{\(I−My\)−1∂Tθ∂θ\|My∈∂yCTθ\}=:∂θCyθ⋆\.\\partial\_\{\\theta\}y\_\{\\theta\}^\{\\star\}\\in\\left\\\{\\left\(I\-M\_\{y\}\\right\)^\{\-1\}\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\\middle\|M\_\{y\}\\in\{\\partial\}\_\{y\}^\{C\}T\_\{\\theta\}\\right\\\}=:\\partial\_\{\\theta\}^\{C\}y\_\{\\theta\}^\{\\star\}\.\(20\)
To avoid the computational bottleneck of matrix inversion in \([20](https://arxiv.org/html/2607.20674#Sx3.E20)\), we employ JFB and use the approximate Jacobian defined in \([17](https://arxiv.org/html/2607.20674#Sx2.E17)\)\. Interestingly, by using this approximation, we get rid of the generalized Jacobian\.

Consider the trajectory costJx​\(θ\)J\_\{x\}\(\\theta\)defined in \([18a](https://arxiv.org/html/2607.20674#Sx3.E18.1)\)–\([18c](https://arxiv.org/html/2607.20674#Sx3.E18.3)\)\. The Clarke subdifferential of the trajectory cost atxxandttis given by

\{\(∂θuθ⋆​\(t,zx​\(t\)\)\)⊤​hθ,x​\(t\)\|∂θuθ⋆​\(t,zx​\(t\)\)∈∂θCuθ⋆​\(t,zx​\(t\)\)\}=\{\(∂θyθ⋆​\(t,zx​\(t\)\)\)⊤​Qu⊤​hθ,x​\(t\)\|∂θyθ⋆​\(t,zx​\(t\)\)∈∂θCyθ⋆​\(t,zx​\(t\)\)\}=\{\(\(I−My\)−1​∂Tθ∂θ\)⊤​Qu⊤​hθ,x​\(t\)\|My∈∂yCTθ\}=:∂θCJx,t\(θ\)\.\\displaystyle\\begin\{split\}&\\left\\\{\\left\(\{\\partial\_\{\\theta\}\{u\_\{\\theta\}^\{\\star\}\}\(t,z\_\{x\}\(t\)\)\}\\right\)^\{\\top\}h\_\{\\theta,x\}\(t\)\\middle\|\{\\partial\_\{\\theta\}\{u\_\{\\theta\}^\{\\star\}\}\(t,z\_\{x\}\(t\)\)\}\\in\{\\partial^\{C\}\_\{\\theta\}\{u\_\{\\theta\}^\{\\star\}\}\(t,z\_\{x\}\(t\)\)\}\\right\\\}\\\\ &=\\left\\\{\\left\(\{\\partial\_\{\\theta\}\{y\_\{\\theta\}^\{\\star\}\}\(t,z\_\{x\}\(t\)\)\}\\right\)^\{\\top\}Q\_\{u\}^\{\\top\}h\_\{\\theta,x\}\(t\)\\middle\|\{\\partial\_\{\\theta\}\{y\_\{\\theta\}^\{\\star\}\}\(t,z\_\{x\}\(t\)\)\}\\in\{\\partial^\{C\}\_\{\\theta\}\{y\_\{\\theta\}^\{\\star\}\}\(t,z\_\{x\}\(t\)\)\}\\right\\\}\\\\ &=\\left\\\{\\left\(\\left\(I\-M\_\{y\}\\right\)^\{\-1\}\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\\right\)^\{\\top\}Q\_\{u\}^\{\\top\}h\_\{\\theta,x\}\(t\)\\middle\|M\_\{y\}\\in\{\{\\partial\}\_\{y\}^\{C\}\}T\_\{\\theta\}\\right\\\}\\\\ &=:\\partial^\{C\}\_\{\\theta\}J\_\{x,t\}\(\\theta\)\.\\end\{split\}\(21\)This expression follows from the Clarke chain rule\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Theorem 2\.6\.6\)\. The first equality is a direct consequence of the linear relationship betweenuθ⋆u\_\{\\theta\}^\{\\star\}andyθ⋆y\_\{\\theta\}^\{\\star\}established in \([18c](https://arxiv.org/html/2607.20674#Sx3.E18.3)\)\. The second equality uses \([20](https://arxiv.org/html/2607.20674#Sx3.E20)\)\. Moreover,

hθ,x​\(t\)\\displaystyle h\_\{\\theta,x\}\(t\)=∇uL​\(t,zx​\(t\),uθ⋆​\(t,zx​\(t\)\)\)\+g​\(t,zx​\(t\)\)⊤​px​\(t\)\\displaystyle=\\nabla\_\{u\}L\\\!\\big\(t,z\_\{x\}\(t\),u^\{\\star\}\_\{\\theta\}\(t,z\_\{x\}\(t\)\)\\big\)\+g\(t,z\_\{x\}\(t\)\)^\{\\top\}p\_\{x\}\(t\)withggdefined in \([1](https://arxiv.org/html/2607.20674#Sx1.E1)\)\.hθ,x​\(t\)h\_\{\\theta,x\}\(t\)is the gradient of the Hamiltonian with respect to the control input, wherepx​\(t\)p\_\{x\}\(t\)is the adjoint variable satisfying the adjoint equation\(Evans[2013](https://arxiv.org/html/2607.20674#bib.bib16)\)\.

In contrast to the set\-valued Clarke subdifferential, the corresponding JFB approximation is

wθ,x​\(t\)=\(∂Tθ∂θ​\(yθ⋆​\(t,zx​\(t\)\);zx​\(t\)\)\)⊤​Qu⊤​hθ,x​\(t\)\.\\displaystyle\\begin\{split\}w\_\{\\theta,x\}\(t\)&=\\left\(\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\(y\_\{\\theta\}^\{\\star\}\(t,z\_\{x\}\(t\)\);z\_\{x\}\(t\)\)\\right\)^\{\\top\}Q\_\{u\}^\{\\top\}h\_\{\\theta,x\}\(t\)\.\\end\{split\}\(22\)Note that the approximation \([22](https://arxiv.org/html/2607.20674#Sx3.E22)\) not only avoids the expensive matrix inversion in the true Clarke subdifferential \([21](https://arxiv.org/html/2607.20674#Sx3.E21)\), which is required at each discretized time step and each sample trajectory during training, but also replaces the set\-valued Clarke subdifferential with a single\-valued function\. Thus, for eachxx, the JFB approximated gradient of the trajectory costJx​\(θ\)J\_\{x\}\(\\theta\)is given by

dxJFB​\(θ\)=∫0Twθ,x​\(t\)​𝑑t\.\\displaystyle d^\{\\mathrm\{JFB\}\}\_\{x\}\(\\theta\)=\\int\_\{0\}^\{T\}w\_\{\\theta,x\}\(t\)\\,dt\.\(23\)

### Assumptions

We first state the main assumptions, which are largely standard in control and optimization theory\.

###### Assumption 3\(Well\-conditioned CBF function\)\.

The matrixA​\(z\)∈ℝc×mA\(z\)\\in\\mathbb\{R\}^\{c\\times m\}has full row rank for allzz\.

###### Assumption 4\(Compactness\)\.

The domains ofxx,zzandθ\\thetaare compact\.

Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)–[4](https://arxiv.org/html/2607.20674#Thmthm4)are essential in establishing[Appendix˜D](https://arxiv.org/html/2607.20674#A4.SSx6)and[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3): the DYS operator is contractive with respect toyy, hence the fixed point algorithm always converges\.

###### Assumption 5\(Smoothness\)\.

The following holds\.

1. 1\.TθT\_\{\\theta\}isC1C^\{1\}with respect to\(θ,z\)\(\\theta,z\)and Lipschitz continuous in\(y,z\)\(y,z\)uniformly inθ\\theta\. Furthermore,F​\(θ\)=𝔼x​\[Jx​\(θ\)\]F\(\\theta\)=\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]is Lipschitz continuous with respect toθ\\thetaand is bounded from below\.
2. 2\.dxJFB​\(θ\)\{d^\{\\mathrm\{JFB\}\}\_\{x\}\(\\theta\)\}is uniformly bounded overxxandθ\\theta\.
3. 3\.uθ⋆​\(t,zx\)u\_\{\\theta\}^\{\\star\}\(t,z\_\{x\}\)is continuous with respect tottandxxfor allθ\\theta\.
4. 4\.there exists an integrable functionk​\(t,x\)k\(t,x\)with𝔼x​\[∫0Tk​\(t,x\)​𝑑t\]<∞\\mathbb\{E\}\_\{x\}\[\\int\_\{0\}^\{T\}k\(t,x\)dt\]<\\inftysuch that∀x\\forall\\,xandtt,uθ⋆​\(t,zx\)u\_\{\\theta\}^\{\\star\}\(t,z\_\{x\}\)isk​\(t,x\)k\(t,x\)\-Lipschitz continuous with respect toθ\\theta\.

Here, Assumption[5](https://arxiv.org/html/2607.20674#Thmthm5)generally holds for the optimal control problems \([18a](https://arxiv.org/html/2607.20674#Sx3.E18.1)\)–\([18c](https://arxiv.org/html/2607.20674#Sx3.E18.3)\) we consider\. Assumptions[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[1](https://arxiv.org/html/2607.20674#Sx3.I2.i1)–[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[2](https://arxiv.org/html/2607.20674#Sx3.I2.i2)are standard regularity conditions for proving convergence of the training algorithm; see also\(Gelphmanet al\.[2026b](https://arxiv.org/html/2607.20674#bib.bib18), Assumption 4\.1\)\. Assumptions[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[3](https://arxiv.org/html/2607.20674#Sx3.I2.i3)–[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[4](https://arxiv.org/html/2607.20674#Sx3.I2.i4)let us differentiate the objective \([18a](https://arxiv.org/html/2607.20674#Sx3.E18.1)\) through its integrals over timettand initial conditionxx\. Roughly speaking, by\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Theorem 2\.7\.2\), they let us move∂θ\\partial\_\{\\theta\}inside the integrals\. This is an essential property to establish convergence; see the proof of[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)for more details\.

###### Assumption 6\(Conditioning and coupling of the JFB integrand matrices\)\.

LetMθu≔Qu​∂Tθ∂θ​\(yθ⋆​\(t,z\);z\)∈ℝm×pM^\{u\}\_\{\\theta\}\\coloneqq Q\_\{u\}\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\(y\_\{\\theta\}^\{\\star\}\(t,z\);z\)\\in\\mathbb\{R\}^\{m\\times p\}denote the Jacobian corresponding to the controluu\. We assume that for allθ,t,z\\theta,t,z:

1. \(i\)*\(rank\)*Mθu∈ℝm×pM^\{u\}\_\{\\theta\}\\in\\mathbb\{R\}^\{m\\times p\}has full row rank; writeGθ≔Mθu​\(Mθu\)⊤∈ℝm×mG\_\{\\theta\}\\coloneqq M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\in\\mathbb\{R\}^\{m\\times m\},Gθ≻0G\_\{\\theta\}\\succ 0, and letσ\+2≥σ−2\>0\\sigma\_\{\+\}^\{2\}\\geq\\sigma\_\{\-\}^\{2\}\>0denote its largest and smallest eigenvalues;
2. \(ii\)*\(conditioning\)*∃γeff\>0\\exists\\gamma\_\{\\mathrm\{eff\}\}\>0, s\.t\.κ​\(Gθ\)=σ\+2σ−2<1γeff\\displaystyle\\kappa\(G\_\{\\theta\}\)=\\frac\{\\sigma\_\{\+\}^\{2\}\}\{\\sigma\_\{\-\}^\{2\}\}<\\frac\{1\}\{\\gamma\_\{\\mathrm\{eff\}\}\};
3. \(iii\)*\(weak coupling, informal\)*the contribution of the slackssto the alignment‖Ξθ‖2\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}between the true and JFB gradients, is uniformly bounded by an explicit thresholdρθ\\rho\_\{\\theta\}\.

Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)is modified from standard assumptions in the JFB literature\(Funget al\.[2022](https://arxiv.org/html/2607.20674#bib.bib3); Gelphmanet al\.[2026b](https://arxiv.org/html/2607.20674#bib.bib18)\), which typically requires the Jacobian∂Tθ∂θ​\(y⋆;z\)\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\(y^\{\\star\};z\)in the JFB approximation \([22](https://arxiv.org/html/2607.20674#Sx3.E22)\) to be sufficiently well\-conditioned\. Part \(iii\) is stated informally here for brevity; the precise condition is given in the Appendix\.

###### Assumption 7\(Variance Bound\)\.

∀θ,t,x\\forall\\theta,t,x, and measurable selectionvθ,x​\(t\)∈∂θCJx,t​\(θ\)v\_\{\\theta,x\}\(t\)\\in\\partial\_\{\\theta\}^\{C\}J\_\{x,t\}\(\\theta\),∃0<δv​a​r<ρθ−‖Ξθ‖21−γ\\exists 0<\\delta\_\{var\}<\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}such that

max\(Varx​\[vθ,x​\(t\)\],Varx​\[wθ,x​\(t\)\]\)2≤δv​a​r∥𝔼x\[hθ,x\]∥22,\\max\(\\sqrt\{\\text\{Var\}\_\{x\}\[v\_\{\\theta,x\}\(t\)\]\},\\sqrt\{\\text\{Var\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\]\}\)^\{2\}\\leq\\delta\_\{var\}\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\},\(24\)wherewθ,xw\_\{\\theta,x\}is defined in[22](https://arxiv.org/html/2607.20674#Sx3.E22),ρθ\\rho\_\{\\theta\}is defined in \([76](https://arxiv.org/html/2607.20674#A5.E76)\) in the Appendix,γ\\gammais the contraction constant in Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)\.

Assumption[7](https://arxiv.org/html/2607.20674#Thmthm7)is needed to establish the descent condition in[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3): the mean subgradient𝔼x​\[vθ,x\]\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\]and the mean JFB integrand𝔼x​\[wθ,x\]\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\]have nonnegative inner product\. It does so by controlling the variance of the sample\-wise integrandsvθ,xv\_\{\\theta,x\}andwθ,xw\_\{\\theta,x\}\. This assumption is similar to variance bounds for standard convergence guarantees of SGD; see, e\.g\.,\(Bottouet al\.[2018](https://arxiv.org/html/2607.20674#bib.bib91)\)\.

###### Assumption 8\.

For allθ,x,\\theta,x,tt, and measurable selectionvθ,x​\(t\)∈∂θCJx,t​\(θ\)v\_\{\\theta,x\}\(t\)\\in\\partial\_\{\\theta\}^\{C\}J\_\{x,t\}\(\\theta\), the following hold\.

1. 1\.Each element in the vectorsvθ,x,wθ,xv\_\{\\theta,x\},w\_\{\\theta,x\}is integrable on\[0,T\]\[0,T\]with respect tott\. Moreover,vθ,x,wθ,xv\_\{\\theta,x\},w\_\{\\theta,x\}are integrable on\[0,T\]×Ω\[0,T\]\\times\\Omega, whereΩ\\Omegais the sample space of the distribution of initial conditions,ρ\\rho\.
2. 2\.∃δv,δw,av,aw≥0​and​ϵv\>0\\exists\\ \\delta\_\{v\},\\delta\_\{w\},a\_\{v\},a\_\{w\}\\geq 0\\text\{ and \}\\epsilon\_\{v\}\>0such that ‖𝔼x​\[vθ,x​\(t\)−Cv\]‖2≤av\+δv​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖2,\\displaystyle\\\|\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\(t\)\-C\_\{v\}\]\\\|\_\{2\}\\leq a\_\{v\}\+\\delta\_\{v\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\},‖𝔼x​\[wθ,x​\(t\)−Cw\]‖2≤aw\+δw​‖𝔼x​\[dxJ​F​B\]‖2,\\displaystyle\\\|\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]\\\|\_\{2\}\\leq a\_\{w\}\+\\delta\_\{w\}\\left\\\|\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\]\\right\\\|\_\{2\},and max\(av\+δvinfϕ∈∂θC𝔼x​\[Jx​\(θ\)\]∥ϕ∥2,aw\+δw∥𝔼x\[dxJ​F​B\]∥2\)2\\displaystyle\\max\(a\_\{v\}\+\\delta\_\{v\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\},a\_\{w\}\+\\delta\_\{w\}\\left\\\|\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\]\\right\\\|\_\{2\}\)^\{2\}≤δv,θ2−ϵvT2​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22,\\displaystyle\\leq\\delta\_\{v,\\theta\}^\{2\}\-\\frac\{\\epsilon\_\{v\}\}\{T^\{2\}\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\},wherewθ,xw\_\{\\theta,x\}is defined in \([22](https://arxiv.org/html/2607.20674#Sx3.E22)\),Cv=1T​∫0Tvθ,x​\(t\)​𝑑tC\_\{v\}=\\frac\{1\}\{T\}\\int\_\{0\}^\{T\}v\_\{\\theta,x\}\(t\)dt,Cw=1T​∫0Twθ,x​\(t\)​𝑑tC\_\{w\}=\\frac\{1\}\{T\}\\int\_\{0\}^\{T\}w\_\{\\theta,x\}\(t\)dt, andδv,θ:=ρθ−‖Ξθ‖21−γ−δv​a​r​‖𝔼x​\[hθ,x\]‖2\\delta\_\{v,\\theta\}:=\\sqrt\{\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\-\\delta\_\{var\}\}\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}\.

Assumption[8](https://arxiv.org/html/2607.20674#Thmthm8)controls the deviation of the sample\-wise integrandsvθ,xv\_\{\\theta,x\}andwθ,xw\_\{\\theta,x\}from their time averages and is a standard assumption for optimal control problems; see, e\.g\.,\(Gelphmanet al\.[2026a](https://arxiv.org/html/2607.20674#bib.bib95)\)and can be numerically supported in Figure[4](https://arxiv.org/html/2607.20674#A6.F4)in the Appendix\. It establishes[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3): the JFB update𝔼x​\[dxJ​F​B​\(θ\)\]\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]is a descent direction\.

Problem\(\# agents, \# obstacles\)dims\(n,m\)\(n,m\)DYS\-JFB\(Ours\)DYS\-ADCVXPYLayers\(IFT\)CVXPYLayers\(IFT \+ reg\.\)Single Integrator\(50, 2\)\(150,150\)\(150,150\)\(82\.28, 7\.49e\-1\)\(117\.70, 1\.50e1\)\(75\.87, 1\.28e\-1\)\(76\.28, 1\.24e\-1\)Double Integrator\(1,3\)\(4,2\)\(0\.14, 4\.91e\-3\)\(0\.36, 1\.01e0\)\(0\.23, 1\.25e\-3\)\(0\.33, 6\.33e\-4\)Double Integrator\(6,3\)\(24,12\)\(24,12\)\(5\.19, 1\.32e\-2\)\(5\.92, 1\.06e\-1\)\(5\.46, 6\.16e\-4\)\(5\.39, 5\.82e\-4\)Quadcopter\(5,3\)\(60,20\)\(60,20\)\(23\.14, 1\.23e\-1\)\(23\.75, 6\.57e\-2\)–\(25\.40, 3\.15e\-2\)Quadcopter\(30,3\)\(360,120\)\(360,120\)\(172\.07, 1\.82e\-1\)\(173\.60, 8\.88e\-1\)––Quadcopter\(100,3\)\(1200,400\)\(1200,400\)\(795\.33, 1\.66e0\)–––Table 1:Results across system configurations\.\(n,m\)\(n,m\)denotes the state and control dimensions\. We report both the average running costLLand terminal costGGover random initial states \(both lower the better\)\. “–” indicates training divergence due to memory/runtime blow\-up or numerical instability\.Our method is the only one which successfully solves all the problems\.
### Convergence Results

For brevity, we present only the main results here and defer all proofs to the Appendix\. The analysis proceeds in three steps: \(i\) contraction of the DYS operator, \(ii\) descent direction, and \(iii\) convergence\.

\{restatable\}

\[Contraction ofTθT\_\{\\theta\}with respect toyy\]corcorcontraction Under Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)and[4](https://arxiv.org/html/2607.20674#Thmthm4), and if the DYS hyperparameterζ∈\(0,1\)\\zeta\\in\(0,1\), then there existγ∈\(0,1\)\\gamma\\in\(0,1\)such that for anyMy∈∂yCTθ​\(y;z\)M\_\{y\}\\in\\partial^\{C\}\_\{y\}T\_\{\\theta\}\(y;z\),

‖My‖2≤γ,\\left\\lVert M\_\{y\}\\right\\rVert\_\{2\}\\leq\\gamma,\(25\)for allθ\\theta,yyandzz\. Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)guarantees that the DYS operator \([12](https://arxiv.org/html/2607.20674#Sx2.E12)\) is contractive inyy, uniformly inθ\\thetaandzz, which establishes the descent conditions that follow\. Crucially,the bound holds for every generalized JacobiansMy∈∂yCTθ​\(y;z\)M\_\{y\}\\in\\partial^\{C\}\_\{y\}T\_\{\\theta\}\(y;z\), extending the theory in the literature\. In\(Gelphmanet al\.[2026b](https://arxiv.org/html/2607.20674#bib.bib18)\), this condition is only assumed\. In\(McKenzieet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib12)\), this condition is proved only for a single selection of generalized Jacobian\. We prove it for all via new technical tool detailed in the Proof of Contraction in the Appendix\.

\{restatable\}

lemlemexpected Under Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)–[8](https://arxiv.org/html/2607.20674#Thmthm8), for any selection of Clarke subgradientvθ,x​\(t\)∈∂θCJx,t​\(θ\)v\_\{\\theta,x\}\(t\)\\in\\partial^\{C\}\_\{\\theta\}J\_\{x,t\}\(\\theta\)that is measurable with respect toxxandtt,

⟨𝔼x​\[vθ,x\],𝔼x​\[wθ,x\]⟩≥δv,θ2≥0,∀t,θ\.\\left\\langle\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\],\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\]\\right\\rangle\\geq\\delta\_\{v,\\theta\}^\{2\}\\geq 0,\\quad\\forall t,\\theta\.\(26\)
\{restatable\}

\[Descent Direction\]thmthmdescent Under Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)–[8](https://arxiv.org/html/2607.20674#Thmthm8), we have, for any Clarke subgradientξ∈∂θC𝔼x​\[Jx​\(θ\)\]\\xi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]

⟨ξ,𝔼x​\[dxJ​F​B​\(θ\)\]⟩≥ϵv​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22,\\langle\\xi,\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]\\rangle\\geq\\epsilon\_\{v\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\},\(27\)whereϵv\\epsilon\_\{v\}is defined in Assumption[8](https://arxiv.org/html/2607.20674#Thmthm8)and∂θC𝔼x​\[Jx​\(θ\)\]\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]is set of Clarke subdifferential of𝔼x​\[Jx​\(θ\)\]\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\. Lemma[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)and Theorem[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)show that the JFB update is a descent direction for all Clarke subgradientsξ∈∂θC𝔼x​\[Jx​\(θ\)\]\\xi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\.The guarantee is uniform over the entire subdifferentialrather than a single element andholds despite the bias of the JFB update\(also verified numerically in Figure[4](https://arxiv.org/html/2607.20674#A6.F4)in the Appendix\)\. Our derivation achieves both by handling the nondifferentiability introduced by the DYS operator; see the Proof of Descent Direction in the Appendix\.

\{restatable\}

\[Convergence\]thmthmconvergence Under Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)–[8](https://arxiv.org/html/2607.20674#Thmthm8), letθ​\(τ\)\\theta\(\\tau\)be the trajectory generated by the continuous\-time gradient flow dynamics

d​θ​\(τ\)d​τ=−𝔼x​\[dxJ​F​B​\(θ​\(τ\)\)\],subject toθ​\(0\)=θinit\.\\frac\{d\\theta\(\\tau\)\}\{d\\tau\}=\-\\mathbb\{E\}\_\{x\}\\left\[d\_\{x\}^\{JFB\}\(\\theta\(\\tau\)\)\\right\],\\quad\\text\{subject to\}\\quad\\theta\(0\)=\\theta\_\{\\rm init\}\.\(28\)Then, the trajectory asymptotically converges to a Clarke stationary point in the sense that

lim infτ→∞infϕ∈∂θC𝔼x​\[Jx​\(θ​\(τ\)\)\]‖ϕ‖2=0\.\\liminf\_\{\\tau\\to\\infty\}\\inf\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\tau\)\)\]\}\\left\\\|\\phi\\right\\\|\_\{2\}=0\.Here,∂θC𝔼x​\[Jx​\(θ\)\]\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]is set of Clarke subdifferential of𝔼x​\[Jx​\(θ\)\]\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\. Theorem[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)shows that the JFB gradient flow converges to a Clarke stationary point\. While policy learning methods with embedded nonsmooth safety layers exist, to the best of our knowledge, this is the first convergence guarantee for such methods\. Nondifferentiability renders traditional convergence proof techniques inapplicable\. Our main technical invention is to carefully analyze the behavior of Clarke subgradientsξ^∈∂θC𝔼x​\[Jx​\(θ^​\(τ\)\)\]\\hat\{\\xi\}\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\hat\{\\theta\}\(\\tau\)\)\]atθ^​\(τ\)\\hat\{\\theta\}\(\\tau\)in a neighborhood ofθ​\(τ\)\\theta\(\\tau\)\. Combined with the descent conditions, this yields the convergence guarantee\.

Problem\(\# agents\)dims\(n,m\)\(n,m\)MethodPeak CPU Mem\.\(MB\)Peak GPU Mem\.\(MB\)Single Integrator \(50\)\(150,150\)\(150,150\)DYS\-JFB \(Ours\)1591\.4564\.5DYS\-AD4175\.06206\.5CVXPYLayers \(IFT\)7127\.1121\.9Double Integrator \(1\)\(4,2\)\(4,2\)DYS\-JFB \(Ours\)1547\.823\.0DYS\-AD2023\.141\.2CVXPYLayers \(IFT\)1995\.628\.9Double Integrator \(6\)\(24,12\)\(24,12\)DYS\-JFB \(Ours\)1562\.236\.3DYS\-AD3991\.1294\.0CVXPYLayers \(IFT\)3021\.039\.6Quadcopter \(5\)\(60,20\)\(60,20\)DYS\-JFB \(Ours\)1597\.638\.3DYS\-AD5892\.4556\.5CVXPYLayers \(IFT\)2942\.7112\.8Quadcopter \(30\)\(360,120\)\(360,120\)DYS\-JFB \(Ours\)1603\.2235\.2DYS\-AD7051\.34027\.9CVXPYLayers \(IFT\)6441\.12239\.7Quadcopter \(100\)\(1200,400\)\(1200,400\)DYS\-JFB \(Ours\)1604\.31997\.6DYS\-AD7837\.4–CVXPYLayers \(IFT\)33206\.0–Table 2:Training memory usage across system configurations\.\(n,m\)\(n,m\)denotes the state and control dimensions\. Both CPU and GPU memories correspond to peak usage during training\. Lower is better for all metrics\. For100100quadcopter example, both AD and CVXPY Layers exceed the1616GB VRAM allocation cap\.

## Numerical Results

Our numerical experiments consist of a total of six different control tasks\. We consider three different dynamical models under varying obstacle configurations\. Specifically, we consider a single\-integrator model in 3D, commonly used in swarm control; a double\-integrator model in 2D, standard in control literature; and, finally, a quadcopter model in 3D that exhibits nonlinear dynamics and a high\-dimensional state space\. For each example, we consider multi\-agent path planning tasks with multiple obstacles, adding to the difficulty of the problems\. This ensures that our claims are thoroughly supported and that our proposed approach is robust\. In addition to our proposed approach, we conduct comparative experiments under two different settings: a baseline that uses automatic differentiation \(AD\) to unroll all projection layers, preserving exact gradient information but incurring high computational cost; and a CVXPY Layer–based projection solver that leverages implicit differentiation for gradient calculation, which is the current standard approach for end\-to\-end training under safety constraints\.

Due to limited space, we defer details of the experiments to the Appendix\. Numerical results regarding trained models’ performance are presented in Table[1](https://arxiv.org/html/2607.20674#Sx3.T1)where we report the results over different initial states after each training run\. We note thatour proposed approach is the only method that can successfully solve all test examples without numerical blowup or memory/time explosion\.Additional to that our approach generally achieves competitive performance across the benchmarks and outperforms the AD counterpart\. In examples where CVXPY Layers\-based solvers converge we notice that they can achieve lower terminal costs, though our approach generally yields lower running costs, indicating smoother trajectories\.

We also note that CVXPY Layers, while commonly presented as the standard method for such solvers, can struggle with numerical instability in the presence of complex dynamics\. To ensure a fair comparison, we additionally test with a regularized QP at each projection step by introducing relaxation variables\. While this improves the numerical stability of training, the solver still struggles as we increase the dimensionality of the problem due to gradient explosion and solver breakdown\. We attribute this to the ill\-conditioning of the KKT system during backpropagation, as documented in\(Baiet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib81),[2021](https://arxiv.org/html/2607.20674#bib.bib82)\)\. In contrast, the JFB update we use does not require explicit Jacobian inverse, ensuring stable numerical performance across all experiments\.

Aside from performance and training stability, a more prominent advantage of our approach and key to its scalability lies in its efficiency\. Memory usage poses as a main bottleneck when scaling existing solvers to high\-dimensional problems\. We compare peak memory usage across all methods in Table[2](https://arxiv.org/html/2607.20674#Sx3.T2),our proposed approach achieves significantly lower memory footprint on both CPU and GPU across all examples, and in some cases over10×10\\timesreduction\. We observe similar significant savings in training time as well when comparing to both AD and CVXPY Layers\-based solvers, these results are included in the Appendix and Figure[5](https://arxiv.org/html/2607.20674#A7.F5)\. We attribute these improvements to two main factors\. First, DYS yields a closed\-form projection update, rendering each fixed\-point iteration fast and cheap\. Second, the JFB update neither requires tracking and storing large computation graphs nor solving additional linear systems during backpropagation, making it both time and memory efficient\.

Safety is ensured by design of our approach, to validate this, we present numerical results in Figure[3](https://arxiv.org/html/2607.20674#A0.F3)in the Appendix evaluating the barrier values along trajectory rollouts\. Notice here the minimum barrier values remain above zero, indicating the constraints are always satisfied, thus finalizing and substantiating all of our claims\.

## Conclusion

In this work, we introduce a scalable end\-to\-end training framework for safe semi\-global feedback control with embedded CBF\-QP safety filters\. By combining Davis–Yin splitting with Jacobian\-Free Backpropagation, our method avoids the computational bottlenecks of gradient unrolling and implicit differentiation while retaining hard safety guarantees\. We provide convergence guarantees for the resulting nonsmooth optimization problem using novel techniques and demonstrate the approach across a range of nonlinear multi\-agent systems\. Comparisons and numerical results show that the proposed framework scales to substantially larger problems than existing methods while requiring significantly smaller training time and memory usage\.

## References

- Differentiable convex optimization layers\.Advances in neural information processing systems32\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1),[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p1.1),[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p1.7),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- A\. Agrawal, S\. Barratt, S\. Boyd, E\. Busseti, and W\. M\. Moursi \(2019b\)Differentiating through a cone program\.arXiv preprint arXiv:1904\.09043\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p1.6)\.
- S\. Agrawal, W\. Lee, S\. W\. Fung, and L\. Nurbekyan \(2022\)Random features for high\-dimensional nonlocal mean\-field games\.Journal of Computational Physics459,pp\. 111136\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- A\. D\. Ames, S\. Coogan, M\. Egerstedt, G\. Notomista, K\. Sreenath, and P\. Tabuada \(2019\)Control barrier functions: theory and applications\.In2019 18th European control conference \(ECC\),pp\. 3420–3431\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1),[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p3.1),[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p3.1),[Introduction](https://arxiv.org/html/2607.20674#Sx1.p2.1),[Theorem 1](https://arxiv.org/html/2607.20674#Thmthm1)\.
- A\. D\. Ames, X\. Xu, J\. W\. Grizzle, and P\. Tabuada \(2016\)Control barrier function based quadratic programs for safety critical systems\.IEEE Transactions on Automatic Control62\(8\),pp\. 3861–3876\.Cited by:[Introduction](https://arxiv.org/html/2607.20674#Sx1.p2.1)\.
- B\. Amos, I\. Jimenez, J\. Sacks, B\. Boots, and J\. Z\. Kolter \(2018\)Differentiable mpc for end\-to\-end planning and control\.Advances in neural information processing systems31\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p2.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- B\. Amos and J\. Z\. Kolter \(2017\)Optnet: differentiable optimization as a layer in neural networks\.InInternational conference on machine learning,pp\. 136–145\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1),[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- S\. Bai, J\. Z\. Kolter, and V\. Koltun \(2019\)Deep equilibrium models\.Advances in neural information processing systems32\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx5.SSS0.Px3.p1.1),[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- S\. Bai, V\. Koltun, and J\. Z\. Kolter \(2020\)Multiscale deep equilibrium models\.Advances in neural information processing systems33,pp\. 5238–5250\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p4.5),[Numerical Results](https://arxiv.org/html/2607.20674#Sx4.p3.1)\.
- S\. Bai, V\. Koltun, and J\. Z\. Kolter \(2021\)Stabilizing equilibrium models by jacobian regularization\.arXiv preprint arXiv:2106\.14342\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p4.5),[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx5.SSS0.Px3.p1.1),[Numerical Results](https://arxiv.org/html/2607.20674#Sx4.p3.1)\.
- R\. G\. Bartle and D\. R\. Sherbert \(2000\)Introduction to real analysis\.Vol\.2,Wiley New York\.Cited by:[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.4.p4.6)\.
- L\. Bottou, F\. E\. Curtis, and J\. Nocedal \(2018\)Optimization methods for large\-scale machine learning\.SIAM review60\(2\),pp\. 223–311\.Cited by:[Assumptions](https://arxiv.org/html/2607.20674#Sx3.SSx2.p5.4)\.
- S\. Boyd, N\. Parikh, E\. Chu, B\. Peleato, and J\. Eckstein \(2011\)Distributed optimization and statistical learning via the alternating direction method of multipliers\.Foundations and Trends® in Machine learning3\(1\),pp\. 1–122\.Cited by:[Appendix H](https://arxiv.org/html/2607.20674#A8.SS0.SSS0.Px2.p2.1)\.
- L\. Brunke, M\. Greeff, A\. W\. Hall, Z\. Yuan, S\. Zhou, J\. Panerati, and A\. P\. Schoellig \(2022\)Safe learning in robotics: from learning\-based control to safe reinforcement learning\.Annual Review of Control, Robotics, and Autonomous Systems5\(1\),pp\. 411–444\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- J\. C\. Butcher \(2016\)Numerical methods for ordinary differential equations\.John Wiley & Sons\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p2.8)\.
- A\. Chambolle and T\. Pock \(2011\)A first\-order primal\-dual algorithm for convex problems with applications to imaging\.Journal of mathematical imaging and vision40\(1\),pp\. 120–145\.Cited by:[Appendix H](https://arxiv.org/html/2607.20674#A8.SS0.SSS0.Px2.p2.1)\.
- B\. Chen, P\. L\. Donti, K\. Baker, J\. Z\. Kolter, and M\. Bergés \(2021\)Enforcing policy feasibility constraints through differentiable projection for energy optimization\.InProceedings of the Twelfth ACM International Conference on Future Energy Systems,pp\. 199–210\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- J\. Choi, F\. Castaneda, C\. J\. Tomlin, and K\. Sreenath \(2020\)Reinforcement learning for safety\-critical control under model uncertainty, using control lyapunov functions and control barrier functions\.arXiv preprint arXiv:2004\.07584\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- H\. Chu, S\. Wei, T\. Liu, Y\. Zhao, and Y\. Miyatake \(2024\)Lyapunov\-stable deep equilibrium models\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 11615–11623\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx5.SSS0.Px3.p1.1)\.
- F\. H\. Clarke \(1990\)Optimization and nonsmooth analysis\.SIAM\.Cited by:[Appendix E](https://arxiv.org/html/2607.20674#A5.SSx4.1.p1.9),[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.1.p1.1),[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.4.p4.6),[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.5.p5.6),[JFB approximation of Generalized Jacobian](https://arxiv.org/html/2607.20674#Sx3.SSx1.SSSx2.Px1.p1.2),[JFB approximation of Generalized Jacobian](https://arxiv.org/html/2607.20674#Sx3.SSx1.SSSx2.Px1.p3.5),[Assumptions](https://arxiv.org/html/2607.20674#Sx3.SSx2.p3.3),[Definition 2](https://arxiv.org/html/2607.20674#Thmthm2)\.
- W\. S\. Cortez, J\. Drgona, A\. Tuor, M\. Halappanavar, and D\. Vrabie \(2022\)Differentiable predictive control with safety guarantees: a control barrier function approach\.In2022 IEEE 61st Conference on Decision and Control \(CDC\),pp\. 932–938\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- D\. Davis and W\. Yin \(2017\)A three\-operator splitting scheme and its optimization applications\.Set\-valued and variational analysis25\(4\),pp\. 829–858\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- C\. Dawson, S\. Gao, and C\. Fan \(2023\)Safe control with learned certificates: a survey of neural lyapunov, barrier, and contraction methods for robotics and control\.IEEE Transactions on Robotics39\(3\),pp\. 1749–1767\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p5.1)\.
- S\. Diamond and S\. Boyd \(2016\)CVXPY: a python\-embedded modeling language for convex optimization\.Journal of Machine Learning Research17\(83\),pp\. 1–5\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p1.6)\.
- J\. Drgoňa, K\. Kiš, A\. Tuor, D\. Vrabie, and M\. Klaučo \(2022\)Differentiable predictive control: deep learning alternative to explicit model predictive control for unknown nonlinear systems\.Journal of Process Control116,pp\. 80–92\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- J\. Drgoňa, A\. Tuor, and D\. Vrabie \(2024\)Learning constrained parametric differentiable predictive control policies with guarantees\.IEEE Transactions on Systems, Man, and Cybernetics: Systems54\(6\),pp\. 3596–3607\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- L\. El Ghaoui, F\. Gu, B\. Travacca, A\. Askari, and A\. Tsai \(2021\)Implicit deep learning\.SIAM Journal on Mathematics of Data Science3\(3\),pp\. 930–958\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- L\. C\. Evans \(2013\)An introduction to mathematical optimal control theory version 0\.2\.Cited by:[JFB approximation of Generalized Jacobian](https://arxiv.org/html/2607.20674#Sx3.SSx1.SSSx2.Px1.p3.8)\.
- S\. W\. Fung and B\. Berkels \(2026\)A generalization bound for a family of implicit networks\.Neurocomputing,pp\. 133136\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- S\. W\. Fung, H\. Heaton, Q\. Li, D\. McKenzie, S\. Osher, and W\. Yin \(2022\)Jfb: jacobian\-free backpropagation for implicit networks\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.36,pp\. 6648–6656\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx5.SSS0.Px3.p1.1),[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1),[Jacobian\-Free Backpropagation](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx2.p2.4),[Assumptions](https://arxiv.org/html/2607.20674#Sx3.SSx2.p4.1)\.
- S\. W\. Fung and L\. Nurbekyan \(2025\)Mean\-field control barrier functions: a framework for real\-time swarm control\.In2025 American Control Conference \(ACC\),pp\. 1–7\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- E\. Gelphman, D\. Verma, N\. T\. Yang, S\. J\. Osher, and S\. W\. Fung \(2026a\)End\-to\-end training of high\-dimensional optimal control with implicit hamiltonians via jacobian\-free backpropagation\.In2026 American Control Conference \(ACC\),pp\.\.Cited by:[Appendix E](https://arxiv.org/html/2607.20674#A5.SSx2.p8.1),[Assumptions](https://arxiv.org/html/2607.20674#Sx3.SSx2.p6.3)\.
- E\. Gelphman, D\. Verma, N\. T\. Yang, S\. Osher, and S\. Wu Fung \(2026b\)On the convergence of jacobian\-free backpropagation for optimal control problems with implicit hamiltonians\.arXiv preprint arXiv:2602\.00921\.Cited by:[Appendix E](https://arxiv.org/html/2607.20674#A5.SSx2.p8.1),[Assumptions](https://arxiv.org/html/2607.20674#Sx3.SSx2.p3.3),[Assumptions](https://arxiv.org/html/2607.20674#Sx3.SSx2.p4.1),[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3.p2.12)\.
- J\. Guiochet, M\. Machin, and H\. Waeselynck \(2017\)Safety\-critical advanced robots: a survey\.Robotics and Autonomous Systems94,pp\. 43–52\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- K\. He, X\. Zhang, S\. Ren, and J\. Sun \(2016\)Deep residual learning for image recognition\.InProceedings of the IEEE conference on computer vision and pattern recognition,pp\. 770–778\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p2.8)\.
- H\. Heaton and S\. W\. Fung \(2023\)Explainable ai via learning to optimize\.Scientific Reports13\(1\),pp\. 10103\.Cited by:[Jacobian\-Free Backpropagation](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx2.p2.4)\.
- H\. Heaton, S\. Wu Fung, A\. Gibali, and W\. Yin \(2021\)Feasibility\-based fixed point networks\.Fixed Point Theory and Algorithms for Sciences and Engineering2021\(1\),pp\. 21\.Cited by:[Jacobian\-Free Backpropagation](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx2.p2.4)\.
- K\. L\. Hobbs, M\. L\. Mote, M\. C\. Abate, S\. D\. Coogan, and E\. M\. Feron \(2023\)Runtime assurance for safety\-critical systems: an introduction to safety filtering approaches for complex control systems\.IEEE Control Systems Magazine43\(2\),pp\. 28–65\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- K\. Hsu, H\. Hu, and J\. F\. Fisac \(2023\)The safety filter: a unified view of safety\-critical control in autonomous systems\.Annual Review of Control, Robotics, and Autonomous Systems7\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- S\. Jafarpour, A\. Davydov, A\. Proskurnikov, and F\. Bullo \(2021\)Robust implicit networks via non\-euclidean contractions\.Advances in Neural Information Processing Systems34,pp\. 9857–9868\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx5.SSS0.Px3.p1.1)\.
- W\. Jin, S\. Mou, and G\. J\. Pappas \(2021\)Safe pontryagin differentiable programming\.Advances in Neural Information Processing Systems34,pp\. 16034–16050\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p2.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1),[End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories](https://arxiv.org/html/2607.20674#Sx3.p1.2)\.
- W\. Jin, Z\. Wang, Z\. Yang, and S\. Mou \(2020\)Pontryagin differentiable programming: an end\-to\-end learning and control framework\.Advances in Neural Information Processing Systems33,pp\. 7979–7992\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p2.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1),[End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories](https://arxiv.org/html/2607.20674#Sx3.p1.2)\.
- K\. Kan, X\. Li, B\. J\. Zhang, T\. Sahai, S\. Osher, K\. Kumar, and M\. A\. Katsoulakis \(2025\)Stability of transformers under layer normalization\.arXiv preprint arXiv:2510\.09904\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- K\. Kan, X\. Li, B\. Zhang, T\. Sahai, S\. Osher, and M\. Katsoulakis \(2026\)Optimal control for transformer architectures: enhancing generalization, robustness and efficiency\.Advances in Neural Information Processing Systems38,pp\. 64183–64228\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- D\. P\. Kingma and J\. Ba \(2014\)Adam: a method for stochastic optimization\.arXiv preprint arXiv:1412\.6980\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p2.8)\.
- B\. Knutson, A\. C\. Rabeendran, M\. Ivanitskiy, J\. Pettyjohn, C\. D\. Behn, S\. W\. Fung, and D\. McKenzie \(2026\)On logical extrapolation for mazes with recurrent and implicit networks\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.40,pp\. 22635–22643\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- S\. Li, Z\. Yuan, Y\. Chen, F\. Luo, Z\. Yang, Q\. Ye, W\. Fu, and Y\. Fu \(2022\)Optimizable control barrier functions to improve feasibility and add behavior diversity while ensuring safety\.Electronics11\(22\),pp\. 3657\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p3.1)\.
- X\. Li, K\. Kan, D\. Verma, K\. Kumar, S\. Osher, and J\. Drgoňa \(2025\)Zero\-shot transferable solution method for parametric optimal control problems\.arXiv preprint arXiv:2509\.18404\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1),[3rd item](https://arxiv.org/html/2607.20674#A7.I1.i3.p1.2)\.
- X\. Li, D\. Verma, and L\. Ruthotto \(2024\)A neural network approach for stochastic optimal control\.SIAM Journal on Scientific Computing46\(5\),pp\. C535–C556\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- A\. T\. Lin, S\. W\. Fung, W\. Li, L\. Nurbekyan, and S\. J\. Osher \(2021\)Alternating the population and control neural networks to solve high\-dimensional stochastic mean\-field games\.Proceedings of the National Academy of Sciences118\(31\),pp\. e2024713118\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- S\. Liu, W\. Xiao, and C\. Belta \(2023a\)Auxiliary\-variable adaptive control barrier functions for safety critical systems\.InIEEE Conference on Decision and Control \(CDC\),Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p3.1)\.
- S\. Liu, C\. Liu, and J\. Dolan \(2023b\)Safe control under input limits with neural control barrier functions\.InConference on Robot Learning,pp\. 1970–1980\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p5.1)\.
- J\. Lorraine, P\. Vicol, and D\. Duvenaud \(2020\)Optimizing millions of hyperparameters by implicit differentiation\.InInternational conference on artificial intelligence and statistics,pp\. 1540–1552\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- D\. McKenzie, H\. Heaton, and S\. W\. Fung \(2024\)Differentiating through integer linear programs with quadratic regularization and davis\-yin splitting\.Transactions on Machine Learning Research\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1),[Jacobian\-Free Backpropagation](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx2.p2.3),[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3.p2.12)\.
- T\. Meng, S\. Liu, S\. W\. Fung, and S\. Osher \(2026\)Recent advances in numerical solutions for hamilton\-jacobi pdes\.Communications on Applied Mathematics and Computation,pp\. 1–18\.Cited by:[End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories](https://arxiv.org/html/2607.20674#Sx3.p1.2)\.
- Y\. Min and N\. Azizan \(2024\)Hardnet: hard\-constrained neural networks with universal approximation guarantees\.arXiv preprint arXiv:2410\.10807\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- S\. Mowlavi and S\. Nabi \(2023\)Optimal control of pdes using physics\-informed neural networks\.Journal of Computational Physics473,pp\. 111731\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- M\. S\. Müller, T\. Jung, N\. Jazdi, and M\. Weyrich \(2022\)Safeguarding autonomous systems: emerging approaches, assumptions and metrics\-a systematic literature review\.IFAC\-PapersOnLine55\(6\),pp\. 743–754\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- D\. Onken, L\. Nurbekyan, X\. Li, S\. W\. Fung, S\. Osher, and L\. Ruthotto \(2021\)A neural network approach applied to multi\-agent optimal control\.In2021 European Control Conference \(ECC\),pp\. 1036–1041\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1),[End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories](https://arxiv.org/html/2607.20674#Sx3.p1.2)\.
- D\. Onken, L\. Nurbekyan, X\. Li, S\. W\. Fung, S\. Osher, and L\. Ruthotto \(2022\)A neural network approach for high\-dimensional optimal control applied to multiagent path finding\.IEEE Transactions on Control Systems Technology31\(1\),pp\. 235–251\.Cited by:[3rd item](https://arxiv.org/html/2607.20674#A7.I1.i3.p1.2),[Introduction](https://arxiv.org/html/2607.20674#Sx1.p1.11)\.
- A\. Oshin, H\. Almubarak, and E\. A\. Theodorou \(2023\)Differentiable robust model predictive control\.arXiv preprint arXiv:2308\.08426\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p2.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- A\. Paszke, S\. Gross, F\. Massa, A\. Lerer, J\. Bradbury, G\. Chanan, T\. Killeen, Z\. Lin, N\. Gimelshein, L\. Antiga,et al\.\(2019\)Pytorch: an imperative style, high\-performance deep learning library\.Advances in neural information processing systems32\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx2.p1.1)\.
- A\. Robey, H\. Hu, L\. Lindemann, H\. Zhang, D\. V\. Dimarogonas, S\. Tu, and N\. Matni \(2020\)Learning control barrier functions from expert demonstrations\.In2020 59th IEEE Conference on Decision and Control \(CDC\),pp\. 3717–3724\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p5.1)\.
- H\. L\. Royden \(1988\)Real analysis\.3rd edition,Macmillan,New York\.Cited by:[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.10.p10.4),[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.11.p11.3),[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.8.p8.3),[Appendix F](https://arxiv.org/html/2607.20674#A6.SSx1.9.p9.8)\.
- L\. Ruthotto, S\. J\. Osher, W\. Li, L\. Nurbekyan, and S\. W\. Fung \(2020\)A machine learning framework for solving high\-dimensional mean field game and mean field control problems\.Proceedings of the National Academy of Sciences117\(17\),pp\. 9183–9193\.Cited by:[Introduction](https://arxiv.org/html/2607.20674#Sx1.p1.11)\.
- E\. K\. Ryu and W\. Yin \(2022\)Large\-scale convex optimization: algorithms & analyses via monotone operators\.Cambridge University Press\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p3.1)\.
- W\. Schwarting, J\. Alonso\-Mora, and D\. Rus \(2018\)Planning and decision\-making for autonomous vehicles\.Annual Review of Control, Robotics, and Autonomous Systems1\(1\),pp\. 187–210\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- M\. Schwenzer, M\. Ay, T\. Bergs, and D\. Abel \(2021\)Review on model predictive control: an engineering perspective\.The international journal of advanced manufacturing technology117\(5\),pp\. 1327–1349\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- O\. So, Z\. Serlin, M\. Mann, J\. Gonzales, K\. Rutledge, N\. Roy, and C\. Fan \(2024\)How to train your neural control barrier function: learning safety filters for complex input\-constrained systems\.In2024 IEEE International Conference on Robotics and Automation \(ICRA\),pp\. 11532–11539\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p5.1)\.
- A\. Taylor, A\. Singletary, Y\. Yue, and A\. Ames \(2020\)Learning for safety\-critical control with control barrier functions\.InLearning for dynamics and control,pp\. 708–717\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p5.1)\.
- B\. Tearle, K\. P\. Wabersich, A\. Carron, and M\. N\. Zeilinger \(2021\)A predictive safety filter for learning\-based racing control\.IEEE Robotics and Automation Letters6\(4\),pp\. 7635–7642\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- C\. Tessler, D\. J\. Mankowitz, and S\. Mannor \(2018\)Reward constrained policy optimization\.arXiv preprint arXiv:1805\.11074\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- C\. Tomaselli, G\. C\. Maffettone, S\. W\. Fung, L\. Nurbekyan, and M\. Di Bernardo \(2026\)Mean\-field control barrier functions for stochastic multi\-agent systems\.IEEE Control Systems Letters\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- C\. J\. Tomlin, J\. Lygeros, and S\. S\. Sastry \(2000\)A game theoretic approach to controller design for hybrid systems\.Proceedings of the IEEE88\(7\),pp\. 949–970\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.
- U\. Utkarsh, D\. C\. Maddix, R\. Ma, M\. W\. Mahoney, and Y\. Wang \(2025\)End\-to\-end probabilistic framework for learning with hard constraints\.arXiv preprint arXiv:2506\.07003\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1)\.
- D\. Verma, N\. Winovich, L\. Ruthotto, and B\. van Bloemen Waanders \(2024\)Neural network approaches for parameterized optimal control\.Foundations of Data Science,pp\.\.External Links:ISSN,[Document](https://dx.doi.org/10.3934/fods.2024042)Cited by:[End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories](https://arxiv.org/html/2607.20674#Sx3.p1.2)\.
- A\. Vidal, S\. W\. Fung, S\. Osher, L\. Tenorio, and L\. Nurbekyan \(2025\)Kernel expansions for high\-dimensional mean\-field control with non\-local interactions\.In2025 American Control Conference \(ACC\),pp\. 4164–4171\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- A\. Vidal, S\. Wu Fung, L\. Tenorio, S\. Osher, and L\. Nurbekyan \(2023\)Taming hyperparameter tuning in continuous normalizing flows using the jko scheme\.Scientific reports13\(1\),pp\. 4501\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[End\-to\-End Training with Embedded CBF\-QP Safety Filters Along Trajectories](https://arxiv.org/html/2607.20674#Sx3.p1.2)\.
- K\. P\. Wabersich and M\. N\. Zeilinger \(2021\)A predictive safety filter for learning\-based control of constrained nonlinear dynamical systems\.Automatica129,pp\. 109597\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1)\.
- A\. White, A\. Büttner, M\. Gelbrecht, V\. Duruisseaux, N\. Kilbertus, F\. Hellmann, and N\. Boers \(2024\)Projected neural differential equations for learning constrained dynamics\.arXiv preprint arXiv:2410\.23667\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1)\.
- E\. Winston and J\. Z\. Kolter \(2020\)Monotone operator equilibrium networks\.Advances in neural information processing systems33,pp\. 10718–10728\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx5.SSS0.Px3.p1.1)\.
- W\. Xiao, C\. Belta, and C\. G\. Cassandras \(2022\)Sufficient conditions for feasibility of optimal control problems using control barrier functions\.Automatica135,pp\. 109960\.Cited by:[Appendix G](https://arxiv.org/html/2607.20674#A7.SSx3.p3.1)\.
- W\. Xiao and C\. Belta \(2019\)Control barrier functions for systems with high relative degree\.In2019 IEEE 58th conference on decision and control \(CDC\),pp\. 474–479\.Cited by:[Theorem 9](https://arxiv.org/html/2607.20674#Thmthm9)\.
- W\. Xiao and C\. Belta \(2021\)High\-order control barrier functions\.IEEE Transactions on Automatic Control67\(7\),pp\. 3655–3662\.Cited by:[Introduction](https://arxiv.org/html/2607.20674#Sx1.p2.1)\.
- W\. Xiao, T\. Wang, R\. Hasani, M\. Chahine, A\. Amini, X\. Li, and D\. Rus \(2023\)Barriernet: differentiable control barrier functions for learning of safe robot control\.IEEE Transactions on Robotics39\(3\),pp\. 2289–2307\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p4.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- W\. Yin, D\. McKenzie, and S\. W\. Fung \(2022\)Learning to optimize: where deep learning meets optimization and inverse problems\.SIAM News\.Cited by:[Davis–Yin Splitting](https://arxiv.org/html/2607.20674#Sx2.SSx2.SSSx1.p1.1)\.
- H\. Yoo, V\. M\. Zavala, and J\. H\. Lee \(2022\)A dynamic penalty approach to state constraint handling in deep reinforcement learning\.Journal of Process Control115,pp\. 157–166\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p3.1),[Our Contributions](https://arxiv.org/html/2607.20674#Sx1.SSx1.p1.1)\.
- S\. Zhang, K\. Garg, and C\. Fan \(2023\)Neural graph control barrier functions guided distributed collision\-avoidance multi\-agent control\.InConference on robot learning,pp\. 2373–2392\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p5.1)\.
- K\. Zhou, J\. C\. Doyle, K\. Glover,et al\.\(1996\)Robust and optimal control\.Vol\.40,Prentice hall New Jersey\.Cited by:[Appendix A](https://arxiv.org/html/2607.20674#A1.p1.1)\.

![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/single_integrator_swarm_traj.png)\(a\)Single integrator 50 agents
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/double_integrator_single_traj.png)\(b\)Double integrator 1 agent
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/double_integrator_multi_traj.png)\(c\)Double integrator 6 agents
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/quadcopter_5_traj.png)\(d\)Quadcopter 5 agents
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/quadcopter_30_finetune_traj.png)\(e\)Quadcopter 30 agents
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/quadcopter_100_finetune_traj.png)\(f\)Quadcopter 100 agents

Figure 2:Numerical results for six control scenarios\. In each case, the feedback controller is trained in environments with multiple agents and obstacles\. The learned policy successfully drives each agent to its corresponding target under minimal control effort, while ensuring the trajectories are smooth\.![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/min_barrier.png)\(a\)Minimum barrier values along trajectories\.
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/projection_active.png)\(b\)Projection activity along trajectories

Figure 3:Evaluation of barrier functions and projection activations on trained models for each example\. Here safety is ensured throughout as the minimum barrier values remain positive along trajectory rollouts\. Projections only occur as the nominal controls push the trajectories into the obstacles, when far away from the obstacles, projection will not trigger\.## Appendix ARelated Work

Safety is a fundamental requirement in many control and automation systems, including robotics, autonomous driving, aerial vehicles, and industrial cyber\-physical systems, where controllers must satisfy physical and operational constraints while accomplishing complex tasks\(Guiochetet al\.[2017](https://arxiv.org/html/2607.20674#bib.bib67); Schwartinget al\.[2018](https://arxiv.org/html/2607.20674#bib.bib61); Brunkeet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib62); Mülleret al\.[2022](https://arxiv.org/html/2607.20674#bib.bib59); Hsuet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib60)\)\.To address this challenge, a wide range of control, optimization, and verification frameworks have been proposed, including robust and adaptive control, model predictive control \(MPC\), reachability analysis, formal verification, runtime assurance architectures, and control barrier functions \(CBFs\)\(Zhouet al\.[1996](https://arxiv.org/html/2607.20674#bib.bib65); Tomlinet al\.[2000](https://arxiv.org/html/2607.20674#bib.bib63); Ameset al\.[2019](https://arxiv.org/html/2607.20674#bib.bib10); Schwenzeret al\.[2021](https://arxiv.org/html/2607.20674#bib.bib66); Hobbset al\.[2023](https://arxiv.org/html/2607.20674#bib.bib64); Fung and Nurbekyan[2025](https://arxiv.org/html/2607.20674#bib.bib47); Tomaselliet al\.[2026](https://arxiv.org/html/2607.20674#bib.bib46)\)\. More recently, differentiable safety filters have emerged as a promising bridge between classical safety\-critical control and learning\-based methods\. However, efficiently and reliably integrating such safety filters into end\-to\-end learning pipelines remains a central challenge in the field\.

Seminal work in differentiable optimal control enables end\-to\-end learning by differentiating through trajectory optimization problems\. Representative approaches include differentiable MPC\(Amoset al\.[2018](https://arxiv.org/html/2607.20674#bib.bib25)\), which differentiates through the KKT conditions of the underlying optimization problem, and Pontryagin Differentiable Programming \(PDP\)\(Jinet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib27)\), which computes gradients via Pontryagin Maximum Principle\. Subsequent work extends these frameworks to robust\(Oshinet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib26)\)and safety\-constrained\(Jinet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib28)\)optimal control problems\. While elegant and effective, these methods are local solvers in nature and solve for individual trajectories at a time\. They can struggle to scale, and generally do not apply to learning algorithms\.

An important line of work\(Drgoňaet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib21); Cortezet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib23); Drgoňaet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib22)\)penalizes constraint violations as part of the loss, adjusting their strength by controlling penalty weights\. While these methods are easy to implement, they can be difficult to optimize in practice due to the additional loss terms\. Constraints violations can also happen and for safety\-critical systems, additional safety corrections are often needed and applied as a post\-processing step, which can further degrade model performance and lead to more complex pipelines and slower online inference\. Similar penalty methods are also used in\(Tessleret al\.[2018](https://arxiv.org/html/2607.20674#bib.bib75); Onkenet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib72); Tearleet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib68); Yooet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib74); Mowlavi and Nabi[2023](https://arxiv.org/html/2607.20674#bib.bib76); Kanet al\.[2025](https://arxiv.org/html/2607.20674#bib.bib93),[2026](https://arxiv.org/html/2607.20674#bib.bib92); Vidalet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib49); Linet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib50); Vidalet al\.[2025](https://arxiv.org/html/2607.20674#bib.bib42); Agrawalet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib44); Liet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib43)\)\. Extension to safety in reinforcement learning also exist, see\(Choiet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib41); Wabersich and Zeilinger[2021](https://arxiv.org/html/2607.20674#bib.bib40)\)

Pioneered by differentiable optimization layers such as OptNet\(Amos and Kolter[2017](https://arxiv.org/html/2607.20674#bib.bib1)\)and CVXPY Layers\(Agrawalet al\.[2019a](https://arxiv.org/html/2607.20674#bib.bib29)\), projection\-based safety layers have emerged as a promising direction for end\-to\-end learning of feedback policies with safety guarantees\. Existing work\(Chenet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib33); Xiaoet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib69); Min and Azizan[2024](https://arxiv.org/html/2607.20674#bib.bib31); Whiteet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib39); Utkarshet al\.[2025](https://arxiv.org/html/2607.20674#bib.bib37); Liet al\.[2025](https://arxiv.org/html/2607.20674#bib.bib14)\)demonstrates strong performance in balancing feasibility and optimality across dynamical systems, control policies, and other applications\. However, projection layers can incur nontrivial computational costs during training, leading to significantly longer training times and higher memory usage\. Additionally, optimization difficulty poses a further challenge\. As a result, prior work has primarily focused on low\-dimensional control problems with short time horizons\. Developing scalable and computationally efficient pipelines therefore remains an open problem, which we aim to address in this work\.

More recently,\(Soet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib24)\)proposes policy neural control barrier functions \(PNCBFs\), which learn a barrier certificate through the value function of a nominal policy\. While this avoids directly enforcing CBF constraints during training and shows improved scalability to higher\-dimensional, input\-constrained systems, it does not address the integration of projection\-based safety layers into end\-to\-end learning pipelines\. Similar works also include\(Tayloret al\.[2020](https://arxiv.org/html/2607.20674#bib.bib56); Robeyet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib70); Dawsonet al\.[2023](https://arxiv.org/html/2607.20674#bib.bib7); Liuet al\.[2023b](https://arxiv.org/html/2607.20674#bib.bib8); Zhanget al\.[2023](https://arxiv.org/html/2607.20674#bib.bib9)\)\.

Importantly, our work focuses on scalable end\-to\-end learning of feedback controllers that preserve hard safety guarantees without external verification steps\. As part of our main contribution, we address both the computation and theoretical openings in the field, to the best of our knowledge, our work is the first to enable large scale training with provable convergence guarantees\.

## Appendix BControl Barrier Functions for Dynamics with High Relative Degree

A standard CBF requires the safety function to have relative degree one\. When the control input appears only after differentiatinghhmultiple times along the system dynamics, higher\-order control barrier functions \(HOCBFs\) extend the CBF framework to guarantee forward invariance\.

Supposehhhas relative degreell\. Define the sequence of functions recursively by

h0​\(z\)\\displaystyle h\_\{0\}\(z\):=h​\(z\),\\displaystyle:=h\(z\),\(29\)h1​\(z\)\\displaystyle h\_\{1\}\(z\):=h˙0​\(z\)\+α1​\(h0​\(z\)\),\\displaystyle:=\\dot\{h\}\_\{0\}\(z\)\+\\alpha\_\{1\}\(h\_\{0\}\(z\)\),\(30\)⋮\\displaystyle\\vdots\(31\)hl​\(z\)\\displaystyle h\_\{l\}\(z\):=h˙l−1​\(z\)\+αl​\(hl−1​\(z\)\),\\displaystyle:=\\dot\{h\}\_\{l\-1\}\(z\)\+\\alpha\_\{l\}\(h\_\{l\-1\}\(z\)\),\(32\)where eachαi\\alpha\_\{i\}is an extended class\-𝒦\\mathcal\{K\}function\. The associated sets are

𝒞i:=\{z∈ℝn:hi−1​\(z\)≥0\},i=1,…,l\.\\mathcal\{C\}\_\{i\}:=\\\{z\\in\\mathbb\{R\}^\{n\}:h\_\{i\-1\}\(z\)\\geq 0\\\},\\qquad i=1,\\ldots,l\.\(33\)A functionhhis a HOCBF if

hl​\(z\)≥0,h\_\{l\}\(z\)\\geq 0,\(34\)for allz∈⋂i=1l𝒞iz\\in\\bigcap\_\{i=1\}^\{l\}\\mathcal\{C\}\_\{i\}\. Since the control input first appears in thell\-th derivative ofhh, \([34](https://arxiv.org/html/2607.20674#A2.E34)\) is once again affine in the control input\.

###### Theorem 9\(Forward invariance under HOCBF constraints\(Xiao and Belta[2019](https://arxiv.org/html/2607.20674#bib.bib5)\)\)\.

Lethhbe a HOCBF of relative degreell\. Supposeu​\(t\)u\(t\)is locally Lipschitz,z​\(0\)∈⋂i=1l𝒞iz\(0\)\\in\\bigcap\_\{i=1\}^\{l\}\\mathcal\{C\}\_\{i\}, and \([34](https://arxiv.org/html/2607.20674#A2.E34)\) holds along the resulting trajectory for allt≥0t\\geq 0\. Then⋂i=1l𝒞i\\bigcap\_\{i=1\}^\{l\}\\mathcal\{C\}\_\{i\}is forward invariant under controlu​\(t\)u\(t\)\. In particular,h​\(z​\(t\)\)≥0h\(z\(t\)\)\\geq 0for allt≥0t\\geq 0\.

Compared with standard CBFs, HOCBFs enable safety constraints with arbitrary relative degree while preserving an affine constraint on the control input\. As with standard CBFs, this constraint can be enforced by solving a quadratic program at each time step\. In this work, we employ both CBFs and HOCBFs, as our numerical experiments consider systems with both first and second order dynamics\. The corresponding formulations are presented in the following sections\.

## Appendix CProof of Theorems

Our proof is established in three main parts\. First, we show that the DYS operator \([12](https://arxiv.org/html/2607.20674#Sx2.E12)\) is contractive with respect toyy\. Second, we show that the JFB update is a descent direction\. Finally, we establish the convergence of our training algorithm\.

We first \(re\-\)state the theory and then provide the proof\.

## Appendix DProof of Contraction

### Proof of Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx1)

\{restatable\}

lemlemdPC2 Let

C2​\(z\)=\{\(u,s\)∈ℝm\+c:A​\(z\)​u\+s=b​\(z\)\},C\_\{2\}\(z\)=\\\{\(u,s\)\\in\\mathbb\{R\}^\{m\+c\}:A\(z\)u\+s=b\(z\)\\\},\(35\)whereA​\(z\)∈ℝc×mA\(z\)\\in\\mathbb\{R\}^\{c\\times m\},u∈ℝmu\\in\\mathbb\{R\}^\{m\},s∈ℝcs\\in\\mathbb\{R\}^\{c\},b​\(z\)∈ℝcb\(z\)\\in\\mathbb\{R\}^\{c\}\. Let

ℋ2,z:=Null​\(\[A​\(z\)​Ic×c\]\),\\mathcal\{H\}\_\{2,z\}:=\\textrm\{Null\}\(\[A\(z\)\\;I\_\{c\\times c\}\]\),\(36\)then

d​PC2​\(z\)d​y​\(y\)=Pℋ2,z,for all​y∈ℝm\+c\.\\frac\{dP\_\{C\_\{2\}\(z\)\}\}\{dy\}\(y\)=P\_\{\\mathcal\{H\}\_\{2,z\}\},\\quad\\text\{for all \}y\\in\\mathbb\{R\}^\{m\+c\}\.\(37\)
###### Proof\.

For clarity, we temporarily suppress the dependence onzzin this proof\. The setC2C\_\{2\}can be re\-written as

C2\\displaystyle C\_\{2\}=\{\(u,s\)∈ℝm\+c:A​u\+s=b\}\\displaystyle=\\\{\(u,s\)\\in\\mathbb\{R\}^\{m\+c\}:Au\+s=b\\\}=\{\(u,s\)∈ℝm\+c:\[A​Ic×c\]⏟=⁣:A~​\[us\]=b\}\.\\displaystyle=\\left\\\{\(u,s\)\\in\\mathbb\{R\}^\{m\+c\}:\\underbrace\{\[A\\;I\_\{c\\times c\}\]\}\_\{=:\\tilde\{A\}\}\\begin\{bmatrix\}u\\\\ s\\end\{bmatrix\}=b\\right\\\}\.Thus, the projection operator is given by

PC2​\(y\)\\displaystyle P\_\{C\_\{2\}\}\(y\)=y−A~†​\(A~​y−b\)=y−A~†​A~​y\+A~†​b,\\displaystyle=y\-\\tilde\{A\}^\{\\dagger\}\(\\tilde\{A\}y\-b\)=y\-\\tilde\{A\}^\{\\dagger\}\\tilde\{A\}y\+\\tilde\{A\}^\{\\dagger\}b,whereA~†\\tilde\{A\}^\{\\dagger\}denotes the pseudoinverse ofA~\\tilde\{A\}\. SinceA~\\tilde\{A\}contains the identity matrixIc×cI\_\{c\\times c\}in its lastcccolumns, it has full row rank\. Thus, denoteA~=U​Σ​V⊤\\tilde\{A\}=U\\Sigma V^\{\\top\}as the compact SVD ofA~\\tilde\{A\}, whereU∈ℝc×cU\\in\\mathbb\{R\}^\{c\\times c\},Σ∈ℝc×c\\Sigma\\in\\mathbb\{R\}^\{c\\times c\}has nonzero diagonal entries, andV⊤∈ℝc×\(m\+c\)V^\{\\top\}\\in\\mathbb\{R\}^\{c\\times\(m\+c\)\}\. ThusA~†=V​Σ−1​U⊤\\tilde\{A\}^\{\\dagger\}=V\\Sigma^\{\-1\}U^\{\\top\}and the operator can be written as

PC2​\(y\)\\displaystyle P\_\{C\_\{2\}\}\(y\)=y−V​V⊤​y\+A~†​b\.\\displaystyle=y\-VV^\{\\top\}y\+\\tilde\{A\}^\{\\dagger\}b\.Differentiating the operator with respect toyygives

d​PC2​\(z\)d​y​\(y\)=I−V​V⊤\.\\frac\{dP\_\{C\_\{2\}\(z\)\}\}\{dy\}\(y\)=I\-VV^\{\\top\}\.\(38\)Here,V​V⊤VV^\{\\top\}is the orthogonal projection operator ontorange​\(V\)=range​\(A~⊤\)\\mathrm\{range\}\(V\)=\\mathrm\{range\}\(\\tilde\{A\}^\{\\top\}\)\. Thus, \([38](https://arxiv.org/html/2607.20674#A4.E38)\) is the orthogonal projection operator ontorange​\(A~⊤\)⟂=Null​\(A~\)=ℋ2\\mathrm\{range\}\(\\tilde\{A\}^\{\\top\}\)^\{\\perp\}=\\mathrm\{Null\}\(\\tilde\{A\}\)=\\mathcal\{H\}\_\{2\}, by the Fundamental Theorem of Linear Algebra\. ∎

### Proof of Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx2)

\{restatable\}

lemlemdPC1 Let

C1=\{\(u,s\)∈ℝm\+c:s≥0\}\.C\_\{1\}=\\\{\(u,s\)\\in\\mathbb\{R\}^\{m\+c\}:s\\geq 0\\\}\.\(39\)Suppose thatyyis a differentiable point ofPC1P\_\{C\_\{1\}\}, that is,yi≠0y\_\{i\}\\neq 0\(theiith entry ofyyis nonzero\) for allm\+1≤i≤m\+cm\+1\\leq i\\leq m\+c, then

d​PC1d​y\(y\)=\[Im×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c\>0\]\)\]=:Pℋ1,y,\\frac\{dP\_\{C\_\{1\}\}\}\{dy\}\(y\)=\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\}=:P\_\{\\mathcal\{H\}\_\{1,y\}\},\(40\)wherediag​\(𝟏​\[ym\+1:m\+c\>0\]\)∈ℝc×c\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\in\\mathbb\{R\}^\{c\\times c\},𝟏\\mathbf\{1\}is the element\-wise indicator function, and

ℋ1,y=span​\(\{e1,…,em\}∪\{em\+i∣1≤i≤c,ym\+i\>0\}\)\.\\mathcal\{H\}\_\{1,y\}=\\mathrm\{span\}\\left\(\\\{e\_\{1\},\\ldots,e\_\{m\}\\\}\\cup\\\{e\_\{m\+i\}\\mid 1\\leq i\\leq c,\\ y\_\{m\+i\}\>0\\\}\\right\)\.\(41\)
###### Proof\.

Since

PC1​\(y\)=\[y1⋮ym𝟏​\[ym\+1\>0\]​ym\+1⋮𝟏​\[ym\+c\>0\]​ym\+c\]=\[Im×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c\>0\]\)\]​\[y1⋮ymym\+1⋮ym\+c\],\\displaystyle P\_\{C\_\{1\}\}\(y\)=\\begin\{bmatrix\}y\_\{1\}\\\\ \\vdots\\\\ y\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]y\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]y\_\{m\+c\}\\end\{bmatrix\}=\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\}\\begin\{bmatrix\}y\_\{1\}\\\\ \\vdots\\\\ y\_\{m\}\\\\ y\_\{m\+1\}\\\\ \\vdots\\\\ y\_\{m\+c\}\\end\{bmatrix\},taking the derivative with respect toyy, we obtain

d​PC1d​y​\(y\)=\[Im×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c\>0\]\)\],\\displaystyle\\frac\{dP\_\{C\_\{1\}\}\}\{dy\}\(y\)=\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\},where the matrix on the right\-hand\-side is the orthogonal projection operator ontoℋ1,y\\mathcal\{H\}\_\{1,y\}\. ∎

### Proof of Theorem[D](https://arxiv.org/html/2607.20674#A4.SSx3)

\{restatable\}

thmthmdT LetC2​\(z\)=\{\(u,s\)∈ℝm\+c:A​\(z\)​u\+s=b​\(z\)\}C\_\{2\}\(z\)=\\\{\(u,s\)\\in\\mathbb\{R\}^\{m\+c\}:A\(z\)u\+s=b\(z\)\\\}, andTθ​\(y;z\)T\_\{\\theta\}\(y;z\)be the DYS operator defined in \([12](https://arxiv.org/html/2607.20674#Sx2.E12)\)\. Then at any differentiable pointy∈ℝm\+cy\\in\\mathbb\{R\}^\{m\+c\}forPC1P\_\{C\_\{1\}\},

d​Tθd​y​\(y;z\)=Pℋ2,z⟂​Pℋ1,y⟂\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\.\\frac\{dT\_\{\\theta\}\}\{dy\}\(y;z\)=P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\.\(42\)
###### Proof\.

Using \([12](https://arxiv.org/html/2607.20674#Sx2.E12)\), we have

d​Tθd​y​\(y;z\)\\displaystyle\\frac\{dT\_\{\\theta\}\}\{dy\}\(y;z\)=I\+d​PC2​\(z\)d​y​\(y~\)​\(2​d​PC1d​y​\(y\)−I−ζ​Qu⊤​Qu​d​PC1d​y​\(y\)\)−d​PC1d​y​\(y\),\\displaystyle=I\+\\frac\{dP\_\{C\_\{2\}\(z\)\}\}\{dy\}\(\\tilde\{y\}\)\\left\(2\\frac\{dP\_\{C\_\{1\}\}\}\{dy\}\(y\)\-I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\frac\{dP\_\{C\_\{1\}\}\}\{dy\}\(y\)\\right\)\-\\frac\{dP\_\{C\_\{1\}\}\}\{dy\}\(y\),wherey~=2​PC1​\(z\)​\(y\)−y−ζ​Qu⊤​\(Qu​PC1​\(z\)​\(y\)−uθ​\(t,z\)\)\\tilde\{y\}=2P\_\{C\_\{1\}\(z\)\}\(y\)\-y\-\\zeta Q\_\{u\}^\{\\top\}\(Q\_\{u\}P\_\{C\_\{1\}\(z\)\}\(y\)\-u\_\{\\theta\}\(t,z\)\),=I\+Pℋ2,z​\(2​Pℋ1,y−I−ζ​Qu⊤​Qu​Pℋ1,y\)−Pℋ1,y,\\displaystyle=I\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(2P\_\{\\mathcal\{H\}\_\{1,y\}\}\-I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)\-P\_\{\\mathcal\{H\}\_\{1,y\}\},where we applied Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx1)and Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx2),=\(I−Pℋ1,y\)\+Pℋ2,z​\(Pℋ1,y−I\)\+Pℋ2,z​\(Pℋ1,y−ζ​Qu⊤​Qu​Pℋ1,y\)\\displaystyle=\\left\(I\-P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(P\_\{\\mathcal\{H\}\_\{1,y\}\}\-I\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(P\_\{\\mathcal\{H\}\_\{1,y\}\}\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)=\(I−Pℋ1,y\)\+Pℋ2,z​\(Pℋ1,y−I\)\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\\displaystyle=\\left\(I\-P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(P\_\{\\mathcal\{H\}\_\{1,y\}\}\-I\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}=\(I−Pℋ1,y\)\+\(I−Pℋ2,z⟂\)​\(Pℋ1,y−I\)\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\\displaystyle=\\left\(I\-P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)\+\\left\(I\-P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\right\)\\left\(P\_\{\\mathcal\{H\}\_\{1,y\}\}\-I\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}=\(I−Pℋ1,y\)\+\(Pℋ1,y−I\)−Pℋ2,z⟂​\(Pℋ1,y−I\)\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\\displaystyle=\\cancel\{\\left\(I\-P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)\}\+\\cancel\{\\left\(P\_\{\\mathcal\{H\}\_\{1,y\}\}\-I\\right\)\}\-P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\left\(P\_\{\\mathcal\{H\}\_\{1,y\}\}\-I\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}=Pℋ2,z⟂​\(I−Pℋ1,y\)\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\\displaystyle=P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\left\(I\-P\_\{\\mathcal\{H\}\_\{1,y\}\}\\right\)\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}=Pℋ2,z⟂​Pℋ1,y⟂\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\.\\displaystyle=P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\.∎

### Proof of Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx4)

\{restatable\}

lemlemintersect Under Assumption[3](https://arxiv.org/html/2607.20674#Thmthm3), and ifyyis a differentiable point ofPC1P\_\{C\_\{1\}\}, that is,yi≠0y\_\{i\}\\neq 0\(theiith entry ofyyis nonzero\) for allm\+1≤i≤m\+cm\+1\\leq i\\leq m\+c, thenℋ1,y⟂∩ℋ2,z⟂=\{0\}\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}=\\\{0\\\}\.

###### Proof\.

By the definition ofℋ1,y\\mathcal\{H\}\_\{1,y\}\([41](https://arxiv.org/html/2607.20674#A4.E41)\), and thatyi≠0y\_\{i\}\\neq 0for allm\+1≤i≤m\+cm\+1\\leq i\\leq m\+c, we have

ℋ1,y⟂=span\(\{em\+i\|1≤i≤c,ym\+i<0\}\)⊆span\(\{em\+i\|1≤i≤c\}\)=:ℋc\.\\mathcal\{H\}\_\{1,y\}^\{\\perp\}=\\mathrm\{span\}\\left\(\\\{e\_\{m\+i\}\\;\|\\;1\\leq i\\leq c,y\_\{m\+i\}<0\\\}\\right\)\\subseteq\\mathrm\{span\}\\left\(\\\{e\_\{m\+i\}\\;\|\\;1\\leq i\\leq c\\\}\\right\)=:\\mathcal\{H\}\_\{c\}\.\(43\)On the other hand, by the definition ofℋ2,z\\mathcal\{H\}\_\{2,z\}\([36](https://arxiv.org/html/2607.20674#A4.E36)\), and the Fundamental Theorem of Linear Algebra,

ℋ2,z⟂=range​\(A​\(z\)⊤Ic×c\)=span​\(\(a1\+em\+1\),\(a2\+em\+2\),⋯,\(ac\+em\+c\)\),\\mathcal\{H\}\_\{2,z\}^\{\\perp\}=\\mathrm\{range\}\\begin\{pmatrix\}A\(z\)^\{\\top\}\\\\ I\_\{c\\times c\}\\end\{pmatrix\}=\\mathrm\{span\}\\Big\(\(a\_\{1\}\+e\_\{m\+1\}\),\(a\_\{2\}\+e\_\{m\+2\}\),\\cdots,\(a\_\{c\}\+e\_\{m\+c\}\)\\Big\),whereai∈ℝm\+ca\_\{i\}\\in\\mathbb\{R\}^\{m\+c\}contains theiith row ofA​\(z\)A\(z\)in its firstmmentries, with the lastccentries being zero\.

Next, we show thatℋc∩ℋ2,z⟂=\{0\}\\mathcal\{H\}\_\{c\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}=\\\{0\\\}\. Supposev∈ℋc∩ℋ2,z⟂v\\in\\mathcal\{H\}\_\{c\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\. Sincev∈ℋcv\\in\\mathcal\{H\}\_\{c\},

v=∑i=1cαi​em\+i,v=\\sum\_\{i=1\}^\{c\}\\alpha\_\{i\}e\_\{m\+i\},\(44\)for some scalarsαi\\alpha\_\{i\}’s\. On the other hand, sincev∈ℋ2,z⟂v\\in\\mathcal\{H\}\_\{2,z\}^\{\\perp\},

v=∑i=1cβi​\(ai\+em\+i\),v=\\sum\_\{i=1\}^\{c\}\\beta\_\{i\}\(a\_\{i\}\+e\_\{m\+i\}\),\(45\)for some scalarsβi\\beta\_\{i\}’s\. Combining \([44](https://arxiv.org/html/2607.20674#A4.E44)\) and \([45](https://arxiv.org/html/2607.20674#A4.E45)\), we have

0=v−v=∑i=1cβi​ai\+∑i=1c\(βi−αi\)​em\+i\.\\displaystyle 0=v\-v=\\sum\_\{i=1\}^\{c\}\\beta\_\{i\}a\_\{i\}\+\\sum\_\{i=1\}^\{c\}\(\\beta\_\{i\}\-\\alpha\_\{i\}\)e\_\{m\+i\}\.Here, on the right\-hand\-side, the first sum contains vectors with nonzero entries only in the firstmmentries, and the second sum contains vectors with nonzero entries only in the subsequentccentries\. Since the two sums live in complementary coordinate blocks, they must each equal zero independently\. Thus, sinceA​\(z\)A\(z\)has full row rank,aia\_\{i\}’s are linearly independent and thusβi=0\\beta\_\{i\}=0for all1≤i≤c1\\leq i\\leq c\. Consequently, we have

0=−∑i=1cαi​em\+i,\\displaystyle 0=\-\\sum\_\{i=1\}^\{c\}\\alpha\_\{i\}e\_\{m\+i\},and by the linear independence ofem\+ie\_\{m\+i\}’s,αi=0\\alpha\_\{i\}=0for all1≤i≤c1\\leq i\\leq c\. Thusvvis the zero vector\. Sincev∈ℋc∩ℋ2,z⟂v\\in\\mathcal\{H\}\_\{c\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}was arbitrary, this impliesℋc∩ℋ2,z⟂=\{0\}\\mathcal\{H\}\_\{c\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}=\\\{0\\\}\.

Finally, since by \([43](https://arxiv.org/html/2607.20674#A4.E43)\),ℋ1,y⟂⊆ℋc\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\\subseteq\\mathcal\{H\}\_\{c\}, we haveℋ1,y⟂∩ℋ2,z⟂=\{0\}\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}=\\\{0\\\}\. ∎

### Proof of Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx5)

\{restatable\}

lemlemPH2norm Under Assumption[3](https://arxiv.org/html/2607.20674#Thmthm3), we have

‖Pℋ2,z​p‖22<‖p‖22for any​0≠p∈span​\(em\+1,em\+2,⋯,em\+c\)\.\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\,p\\\|\_\{2\}^\{2\}<\\\|p\\\|\_\{2\}^\{2\}\\quad\\text\{for any \}0\\neq p\\in\\mathrm\{span\}\(e\_\{m\+1\},e\_\{m\+2\},\\cdots,e\_\{m\+c\}\)\.\(46\)
###### Proof\.

Since0≠p∈span​\(em\+1,em\+2,⋯,em\+c\)0\\neq p\\in\\mathrm\{span\}\(e\_\{m\+1\},e\_\{m\+2\},\\cdots,e\_\{m\+c\}\),

p=∑i=1cαm\+i​em\+i,p=\\sum\_\{i=1\}^\{c\}\\alpha\_\{m\+i\}e\_\{m\+i\},for someαm\+i\\alpha\_\{m\+i\}’s, not all zero\. Note that

\[A​\(z\)​Ic×c\]​p=\[A​\(z\)​Ic×c\]​\(∑i=1cαm\+i​em\+i\)=∑i=1cαm\+i​ei≠0,\[A\(z\)\\;I\_\{c\\times c\}\]\\,p=\[A\(z\)\\;I\_\{c\\times c\}\]\\left\(\\sum\_\{i=1\}^\{c\}\\alpha\_\{m\+i\}e\_\{m\+i\}\\right\)=\\sum\_\{i=1\}^\{c\}\\alpha\_\{m\+i\}e\_\{i\}\\neq 0,since not allαm\+i\\alpha\_\{m\+i\}’s are zero\. Thus,p∉Null​\(\[A​\(z\)​Ic×c\]\)=ℋ2,zp\\notin\\textrm\{Null\}\(\[A\(z\)\\,I\_\{c\\times c\}\]\)=\\mathcal\{H\}\_\{2,z\}\.

Decomposeppasp=Pℋ2,z​p\+Pℋ2,z⟂​pp=P\_\{\\mathcal\{H\}\_\{2,z\}\}\\,p\+P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\. Sincep≠0p\\neq 0andp∉ℋ2,zp\\notin\\mathcal\{H\}\_\{2,z\},Pℋ2,z⟂​p≠0P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\\neq 0\. Thus, we have

‖Pℋ2,z​p‖22<‖Pℋ2,z​p‖22\+‖Pℋ2,z⟂​p‖22=‖Pℋ2,z​p\+Pℋ2,z⟂​p‖22=‖p‖22\.\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\,p\\\|\_\{2\}^\{2\}<\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\,p\\\|\_\{2\}^\{2\}\+\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\\\|\_\{2\}^\{2\}=\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\,p\+P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\\\|\_\{2\}^\{2\}=\\\|p\\\|\_\{2\}^\{2\}\.Here, in the first step, we used‖Pℋ2,z⟂​p‖2\>0\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\\\|\_\{2\}\>0becausePℋ2,z⟂​p≠0P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\\neq 0, and in the second step we used thatPℋ2,z​p⟂Pℋ2,z⟂​pP\_\{\\mathcal\{H\}\_\{2,z\}\}\\,p\\perp P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\,p\. ∎

### Proof of Theorem[D](https://arxiv.org/html/2607.20674#A4.SSx6)

\{restatable\}

thmthmcontraction Under Assumption[3](https://arxiv.org/html/2607.20674#Thmthm3), the DYS hyperparameterζ∈\(0,1\)\\zeta\\in\(0,1\), andyyis a differentiable point ofTθT\_\{\\theta\},

‖d​Tθd​y​\(y;z\)‖2<1\.\\left\\\|\\frac\{dT\_\{\\theta\}\}\{dy\}\(y;z\)\\right\\\|\_\{2\}<1\.\(47\)
###### Proof\.

From the definition ofTθT\_\{\\theta\}\([12](https://arxiv.org/html/2607.20674#Sx2.E12)\), sincePC2P\_\{C\_\{2\}\}is smooth,yyis a differentiable point ofTθT\_\{\\theta\}if and only ifyyis a differentiable point ofPC1P\_\{C\_\{1\}\}\. Thus, by Theorem[D](https://arxiv.org/html/2607.20674#A4.SSx3), for any nonzero vectorp∈ℝm\+cp\\in\\mathbb\{R\}^\{m\+c\},

d​Tθ​\(y;z\)d​y​p=Pℋ2,z⟂​Pℋ1,y⟂​p⏟Ⓘ\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p⏟II⃝\.\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\,p=\\underbrace\{P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\}\_\{\\text\{Ⓘ\}\}\+\\underbrace\{P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\}\_\{\\text\{II⃝\}\}\.\(48\)We will bound the norms of the two termsⒾandII⃝separately\.

##### First Term Analysis\.

We begin with the first termⒾ\. By[D](https://arxiv.org/html/2607.20674#A4.SSx4),ℋ1,y⟂∩ℋ2,z⟂=\{0\}\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\\cap\\mathcal\{H\}\_\{2,z\}^\{\\perp\}=\\\{0\\\}\. This implies that either \(a\) at least one of theℋ1,y⟂\\mathcal\{H\}\_\{1,y\}^\{\\perp\}orℋ2,z⟂\\mathcal\{H\}\_\{2,z\}^\{\\perp\}is the trivial subspace\{0\}\\\{0\\\}, or \(b\) the first principal angleτ\\taubetween these two subspaces is nonzero, and thus

1\>cos⁡\(τ\):=maxv∈ℋ1,y⟂,w∈ℋ2,z⟂‖v‖2=‖w‖2=1⁡⟨v,w⟩\.1\>\\cos\(\\tau\):=\\max\_\{\\begin\{subarray\}\{c\}v\\in\\mathcal\{H\}\_\{1,y\}^\{\\perp\},\\,w\\in\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\\\\ \\\|v\\\|\_\{2\}=\\\|w\\\|\_\{2\}=1\\end\{subarray\}\}\\langle v,w\\rangle\.\(49\)

##### First Term Case \(a\)\.

In case \(a\), we have

‖Pℋ2,z⟂​Pℋ1,y⟂​p‖22=0≤‖Pℋ1,y⟂​p‖22,with equality if and only if​p∈ℋ1,y\.\\displaystyle\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}=0\\leq\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\},\\quad\\text\{with equality if and only if \}p\\in\\mathcal\{H\}\_\{1,y\}\.\(50\)

##### First Term Case \(b\)\.

In case \(b\), we have

‖Pℋ2,z⟂​Pℋ1,y⟂​p‖22\\displaystyle\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}=⟨Pℋ2,z⟂​Pℋ1,y⟂​p,Pℋ2,z⟂​Pℋ1,y⟂​p⟩\\displaystyle=\\left\\langle P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p,P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\rangle=⟨Pℋ1,y⟂​p,Pℋ2,z⟂​Pℋ2,z⟂​Pℋ1,y⟂​p⟩,\\displaystyle=\\left\\langle P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p,P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\rangle,since orthogonal projection operators are self\-adjoint,=⟨Pℋ1,y⟂​p,Pℋ2,z⟂​Pℋ1,y⟂​p⟩,\\displaystyle=\\left\\langle P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p,P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\rangle,since projection operators are idempotent,≤cos⁡\(τ\)​‖Pℋ1,y⟂​p‖2​‖Pℋ2,z⟂​Pℋ1,y⟂​p‖2,\\displaystyle\\leq\\cos\(\\tau\)\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\},by the angle condition \([49](https://arxiv.org/html/2607.20674#A4.E49)\), sincePℋ1,y⟂∈ℋ1,y⟂P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\in\\mathcal\{H\}\_\{1,y\}^\{\\perp\}andPℋ2,z⟂​Pℋ1,y⟂​p∈ℋ2,z⟂P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\in\\mathcal\{H\}\_\{2,z\}^\{\\perp\},≤cos⁡\(τ\)​‖Pℋ1,y⟂​p‖22,\\displaystyle\\leq\\cos\(\\tau\)\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\},by the linearity and nonexpansiveness of the orthogonal projection operatorPℋ2,z⟂P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\},<‖Pℋ1,y⟂​p‖22,\\displaystyle<\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\},\(51\)by \([49](https://arxiv.org/html/2607.20674#A4.E49)\) again\.

##### First Term Result\.

Thus, combining \([50](https://arxiv.org/html/2607.20674#A4.E50)\) for case \(a\) and \([51](https://arxiv.org/html/2607.20674#A4.E51)\) for case \(b\), we conclude that the norm squared of the first termⒾsatisfies

‖Pℋ2,z⟂​Pℋ1,y⟂​p‖22≤‖Pℋ1,y⟂​p‖22,with equality if and only if​p∈ℋ1,y\.\\displaystyle\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}\\leq\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\},\\quad\\text\{with equality if and only if \}p\\in\\mathcal\{H\}\_\{1,y\}\.\(52\)

##### Second Term Analysis\.

We investigate the second termII⃝\. We consider the following two cases: \(a\)p∈ℋ1,yp\\in\\mathcal\{H\}\_\{1,y\}, and \(b\)p∉ℋ1,yp\\notin\\mathcal\{H\}\_\{1,y\}\. In both cases, the second termII⃝can be simplified as

Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p\\displaystyle P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p=Pℋ2,z​\[Im×m−ζ​Im×m0m×c0c×mIc×c\]​\[Im×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c\>0\]\)\]​p,\\displaystyle\\quad=P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}I\_\{m\\times m\}\-\\zeta I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&I\_\{c\\times c\}\\end\{bmatrix\}\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\}\\,p,by the definition ofPℋ1,yP\_\{\\mathcal\{H\}\_\{1,y\}\}in \([40](https://arxiv.org/html/2607.20674#A4.E40)\) and the definition ofQuQ\_\{u\}in \([10](https://arxiv.org/html/2607.20674#Sx2.E10)\),=Pℋ2,z​\[Im×m−ζ​Im×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c\>0\]\)\]​p\\displaystyle\\quad=P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}I\_\{m\\times m\}\-\\zeta I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\}\\,p=Pℋ2,z​\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]\.\\displaystyle\\quad=P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\.\(53\)

##### Second Term Case \(a\)\.

We first investigate case \(a\)\. Recall from \([41](https://arxiv.org/html/2607.20674#A4.E41)\) the definition ofℋ1,y\\mathcal\{H\}\_\{1,y\}

ℋ1,y=span​\(\{e1,…,em\}∪\{em\+i∣1≤i≤c,ym\+i\>0\}\)\.\\mathcal\{H\}\_\{1,y\}=\\mathrm\{span\}\\left\(\\\{e\_\{1\},\\ldots,e\_\{m\}\\\}\\cup\\\{e\_\{m\+i\}\\mid 1\\leq i\\leq c,\\ y\_\{m\+i\}\>0\\\}\\right\)\.Since0≠p∈ℋ1,y0\\neq p\\in\\mathcal\{H\}\_\{1,y\}, it must have at least one nonzero entry in the index set

\{1,2,⋯,m\}∪\{m\+i\|1≤i≤c,ym\+i\>0\}\.\\\{1,2,\\cdots,m\\\}\\cup\\\{m\+i\\,\|\\,1\\leq i\\leq c,\\;y\_\{m\+i\}\>0\\\}\.Thus, under case \(a\), either of the following two subcases must happen: \(a\)\(i\)pphas at least one nonzero entry among its firstmmentries, and \(a\)\(ii\) all of the firstmmentries ofppare zero, which implies thatpponly has nonzezro entries with index in\{m\+i\|1≤i≤c,ym\+i\>0\}\\\{m\+i\\,\|\\,1\\leq i\\leq c,\\;y\_\{m\+i\}\>0\\\}\.

Evaluating the norm squared of the second termII⃝, we have

‖Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p‖22\\displaystyle\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\right\\\|\_\{2\}^\{2\}=‖Pℋ2,z​\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22,\\displaystyle=\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\},by \([53](https://arxiv.org/html/2607.20674#A4.E53)\),<‖\[p1⋮pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22=‖Pℋ1,y​p‖22\.\\displaystyle<\\left\\\|\\begin\{bmatrix\}p\_\{1\}\\\\ \\vdots\\\\ p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\}=\\\|P\_\{\\mathcal\{H\}\_\{1,y\}\}p\\\|\_\{2\}^\{2\}\.\(54\)Here, the equality \(second step\) of \([54](https://arxiv.org/html/2607.20674#A4.E54)\) follows directly from the definition ofℋ1,y\\mathcal\{H\}\_\{1,y\}\([41](https://arxiv.org/html/2607.20674#A4.E41)\)\. And the strict inequality \(first step\) in \([54](https://arxiv.org/html/2607.20674#A4.E54)\) is established separately for the two subcases \(a\)\(i\) and \(a\)\(ii\)\.

On one hand, under \(a\)\(i\),pphas at least one nonzero entry among its firstmmentries\. The strict inequality in \([54](https://arxiv.org/html/2607.20674#A4.E54)\) is obtained as follows\.

‖Pℋ2,z​\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22≤‖\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22<‖\[p1⋮pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22\.\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\}\\leq\\left\\\|\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\}<\\left\\\|\\begin\{bmatrix\}p\_\{1\}\\\\ \\vdots\\\\ p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\}\.Here, in the first step, we used the linearity and nonexpansiveness of the orthogonal projection operatorPℋ2,zP\_\{\\mathcal\{H\}\_\{2,z\}\}\. In the second step, we used\(1−ζ\)​pi<pi\(1\-\\zeta\)p\_\{i\}<p\_\{i\}for allpi≠0p\_\{i\}\\neq 0with0≤i≤m0\\leq i\\leq m, sinceζ∈\(0,1\)\\zeta\\in\(0,1\)\.

On the other hand, under \(a\)\(ii\),pponly has nonzezro entries with index in\{m\+i\|1≤i≤c,ym\+i\>0\}\\\{m\+i\\,\|\\,1\\leq i\\leq c,\\;y\_\{m\+i\}\>0\\\}, in such case, the vector inside the norm is

\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]=\[0⋮0𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]∈span​\(em\+1,⋯,em\+c\)\.\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}=\\begin\{bmatrix\}0\\\\ \\vdots\\\\ 0\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\in\\mathrm\{span\}\(e\_\{m\+1\},\\cdots,e\_\{m\+c\}\)\.\(55\)In addition, this vector is nonzero, because under the condition of subcase \(a\)\(ii\), the nonzero entries ofppmatch where the entries ofyyare positive\. Thus, the strict inequality in \([54](https://arxiv.org/html/2607.20674#A4.E54)\) is obtained as

‖Pℋ2,z​\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22<‖\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22=‖\[p1⋮pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22,\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\}<\\left\\\|\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\}=\\left\\\|\\begin\{bmatrix\}p\_\{1\}\\\\ \\vdots\\\\ p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\},\(56\)where in the first step, we used \([55](https://arxiv.org/html/2607.20674#A4.E55)\) and Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx5), and in the second step, we used\(1−ζ\)​pi=pi\(1\-\\zeta\)p\_\{i\}=p\_\{i\}, becausepi=0p\_\{i\}=0, for1≤i≤m1\\leq i\\leq m\.

##### Second Term Case \(b\)\.

Next, we consider the second case \(b\):p∉ℋ1,yp\\notin\\mathcal\{H\}\_\{1,y\}\. In such case, we have

‖Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p‖22\\displaystyle\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\right\\\|\_\{2\}^\{2\}=‖Pℋ2,z​\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22,\\displaystyle=\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\},by \([53](https://arxiv.org/html/2607.20674#A4.E53)\),≤‖\[\(1−ζ\)​p1⋮\(1−ζ\)​pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22,\\displaystyle\\leq\\left\\\|\\begin\{bmatrix\}\(1\-\\zeta\)\\,p\_\{1\}\\\\ \\vdots\\\\ \(1\-\\zeta\)\\,p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\},by the linearity and nonexpansiveness of the orthogonal projection operatorPℋ2,zP\_\{\\mathcal\{H\}\_\{2,z\}\},≤‖\[p1⋮pm𝟏​\[ym\+1\>0\]​pm\+1⋮𝟏​\[ym\+c\>0\]​pm\+c\]‖22,\\displaystyle\\leq\\left\\\|\\begin\{bmatrix\}p\_\{1\}\\\\ \\vdots\\\\ p\_\{m\}\\\\ \\mathbf\{1\}\[\{y\_\{m\+1\}\}\>0\]\\,p\_\{m\+1\}\\\\ \\vdots\\\\ \\mathbf\{1\}\[\{y\_\{m\+c\}\}\>0\]\\,p\_\{m\+c\}\\end\{bmatrix\}\\right\\\|\_\{2\}^\{2\},sinceζ∈\(0,1\)\\zeta\\in\(0,1\),=‖Pℋ1,y​p‖22,\\displaystyle=\\\|P\_\{\\mathcal\{H\}\_\{1,y\}\}p\\\|\_\{2\}^\{2\},\(57\)which follows directly from the definition ofℋ1,y\\mathcal\{H\}\_\{1,y\}\([41](https://arxiv.org/html/2607.20674#A4.E41)\)\.

##### Second Term Result\.

Thus, combining \([54](https://arxiv.org/html/2607.20674#A4.E54)\) for case \(a\) and \([57](https://arxiv.org/html/2607.20674#A4.E57)\) for case \(b\), we conclude that

‖Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p‖22≤‖Pℋ1,y​p‖22with equality if and only if​p∉ℋ1,y\.\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\\|\_\{2\}^\{2\}\\leq\\\|P\_\{\\mathcal\{H\}\_\{1,y\}\}p\\\|\_\{2\}^\{2\}\\quad\\text\{with equality if and only if \}p\\notin\\mathcal\{H\}\_\{1,y\}\.\(58\)

##### Final Bound\.

Combing the bounds \([52](https://arxiv.org/html/2607.20674#A4.E52)\) for the first termⒾand \([58](https://arxiv.org/html/2607.20674#A4.E58)\) for the second termII⃝, we have

‖Pℋ2,z⟂​Pℋ1,y⟂​p‖22\+‖Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p‖22<‖Pℋ1,y⟂​p‖22\+‖Pℋ1,y​p‖22,\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}\+\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\\|\_\{2\}^\{2\}<\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}\+\\\|P\_\{\\mathcal\{H\}\_\{1,y\}\}p\\\|\_\{2\}^\{2\},\(59\)for all0≠p∈ℝm\+c0\\neq p\\in\\mathbb\{R\}^\{m\+c\}\.

Next, takingl2l\_\{2\}norm squared on both sides of \([48](https://arxiv.org/html/2607.20674#A4.E48)\), we have

‖d​Tθ​\(y;z\)d​y​p‖22\\displaystyle\\left\\\|\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\,p\\right\\\|\_\{2\}^\{2\}=‖Pℋ2,z⟂​Pℋ1,y⟂​p\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p‖22\\displaystyle=\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\right\\\|\_\{2\}^\{2\}=‖Pℋ2,z⟂​Pℋ1,y⟂​p‖22\+‖Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y​p‖22,\\displaystyle=\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}\+\\left\\\|P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\right\\\|\_\{2\}^\{2\},by orthogonality,<‖Pℋ1,y⟂​p‖22\+‖Pℋ1,y​p‖22,\\displaystyle<\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\\right\\\|\_\{2\}^\{2\}\+\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\right\\\|\_\{2\}^\{2\},by \([59](https://arxiv.org/html/2607.20674#A4.E59)\) ,=‖Pℋ1,y⟂​p\+Pℋ1,y​p‖22,\\displaystyle=\\left\\\|P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\\,p\+P\_\{\\mathcal\{H\}\_\{1,y\}\}\\,p\\right\\\|\_\{2\}^\{2\},by orthogonality,=‖p‖22\.\\displaystyle=\\left\\\|p\\right\\\|\_\{2\}^\{2\}\.\(60\)
Finally, taking square root on both sides of \([60](https://arxiv.org/html/2607.20674#A4.E60)\), we obtain

‖d​Tθ​\(y;z\)d​y​p‖2<‖p‖2\.\\left\\\|\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\,p\\right\\\|\_\{2\}<\\left\\\|p\\right\\\|\_\{2\}\.Thus, the operator 2\-norm satisfies

‖d​Tθ​\(y;z\)d​y‖2:=sup‖p‖2=1‖d​Tθ​\(y;z\)d​y​p‖2<1,\\left\\\|\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\right\\\|\_\{2\}:=\\sup\_\{\\\|p\\\|\_\{2\}=1\}\\left\\\|\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\,p\\right\\\|\_\{2\}<1,because the set\{p∈ℝm\+c\|‖p‖2=1\}\\\{p\\in\\mathbb\{R\}^\{m\+c\}\\;\|\\;\\\|p\\\|\_\{2\}=1\\\}is compact, and the mappingp↦‖d​Tθ​\(y;z\)d​y​p‖2p\\mapsto\\left\\\|\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\,p\\right\\\|\_\{2\}is continuous, so the supremum is attained and the strict inequality above holds at the maximizer\. ∎

### Proof of Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)

###### Proof\.

By Theorem[D](https://arxiv.org/html/2607.20674#A4.SSx6), we have

‖d​Tθd​y​\(y;z\)‖2<1,\\left\\\|\\frac\{dT\_\{\\theta\}\}\{dy\}\(y;z\)\\right\\\|\_\{2\}<1,\(61\)for all differentiable pointsyy\. Moreover, by Lemma[D](https://arxiv.org/html/2607.20674#A4.SSx2)and Theorem[D](https://arxiv.org/html/2607.20674#A4.SSx3), we have

d​Tθd​y​\(y;z\)\\displaystyle\\frac\{dT\_\{\\theta\}\}\{dy\}\(y;z\)=Pℋ2,z⟂​Pℋ1,y⟂\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​Pℋ1,y\\displaystyle=P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}P\_\{\\mathcal\{H\}\_\{1,y\}^\{\\perp\}\}\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)P\_\{\\mathcal\{H\}\_\{1,y\}\}=Pℋ2,z⟂​\[0m×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c≤0\]\)\]\+Pℋ2,z​\(I−ζ​Qu⊤​Qu\)​\[Im×m0m×c0c×mdiag​\(𝟏​\[ym\+1:m\+c\>0\]\)\]\.\\displaystyle=P\_\{\\mathcal\{H\}\_\{2,z\}^\{\\perp\}\}\\begin\{bmatrix\}0\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\\leq 0\}\]\)\\end\{bmatrix\}\+P\_\{\\mathcal\{H\}\_\{2,z\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{y\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\}\.\(62\)
Thus, for allθ\\theta,zz, and differentiate pointyyofTθ​\(⋅;z\)T\_\{\\theta\}\(\\cdot;z\),

‖d​Tθ​\(y;z\)d​y‖2\\displaystyle\\left\\lVert\\frac\{dT\_\{\\theta\}\(y;z\)\}\{dy\}\\right\\rVert\_\{2\}≤supdifferentiable pts​y~supθ~,z~‖d​Tθ~​\(y~;z~\)d​y‖2\\displaystyle\\leq\\sup\_\{\\text\{differentiable pts \}\\tilde\{y\}\}\\;\\sup\_\{\\tilde\{\\theta\},\\tilde\{z\}\}\\left\\lVert\\frac\{dT\_\{\\tilde\{\\theta\}\}\(\\tilde\{y\};\\tilde\{z\}\)\}\{dy\}\\right\\rVert\_\{2\}=supdifferentiable pts​y~supθ~,z~∥Pℋ2,z~⟂​\[0m×m0m×c0c×mdiag​\(𝟏​\[y~m\+1:m\+c≤0\]\)\]\\displaystyle=\\sup\_\{\\text\{differentiable pts \}\\tilde\{y\}\}\\;\\sup\_\{\\tilde\{\\theta\},\\tilde\{z\}\}\\Bigg\\\|P\_\{\\mathcal\{H\}\_\{2,\\tilde\{z\}\}^\{\\perp\}\}\\begin\{bmatrix\}0\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{\\tilde\{y\}\_\{m\+1:m\+c\}\\leq 0\}\]\)\\end\{bmatrix\}\+Pℋ2,z~​\(I−ζ​Qu⊤​Qu\)​\[Im×m0m×c0c×mdiag​\(𝟏​\[y~m\+1:m\+c\>0\]\)\]∥2,\\displaystyle\\quad\+P\_\{\\mathcal\{H\}\_\{2,\\tilde\{z\}\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(\\mathbf\{1\}\[\{\\tilde\{y\}\_\{m\+1:m\+c\}\>0\}\]\)\\end\{bmatrix\}\\Bigg\\\|\_\{2\},by \([62](https://arxiv.org/html/2607.20674#A4.E62)\),=maxd∈\{0,1\}c⏟finite​supθ~,z~⏟compact​‖Pℋ2,z~⟂​\[0m×m0m×c0c×mdiag​\(d\)\]\+Pℋ2,z~​\(I−ζ​Qu⊤​Qu\)​\[Im×m0m×c0c×mdiag​\(1−d\)\]‖2\\displaystyle=\\underbrace\{\\max\_\{d\\in\\\{0,1\\\}^\{c\}\}\}\_\{\\text\{finite\}\}\\;\\underbrace\{\\sup\_\{\\tilde\{\\theta\},\\tilde\{z\}\}\}\_\{\\text\{compact\}\}\\left\\lVert P\_\{\\mathcal\{H\}\_\{2,\\tilde\{z\}\}^\{\\perp\}\}\\begin\{bmatrix\}0\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(d\)\\end\{bmatrix\}\+P\_\{\\mathcal\{H\}\_\{2,\\tilde\{z\}\}\}\\left\(I\-\\zeta Q\_\{u\}^\{\\top\}Q\_\{u\}\\right\)\\begin\{bmatrix\}I\_\{m\\times m\}&0\_\{m\\times c\}\\\\ 0\_\{c\\times m\}&\\mathrm\{diag\}\(1\-d\)\\end\{bmatrix\}\\right\\rVert\_\{2\}≤γ,\\displaystyle\\leq\\gamma,whereγ∈\(0,1\)\\gamma\\in\(0,1\)\. In the last step, we used \([61](https://arxiv.org/html/2607.20674#A4.E61)\) and the compactness of the domains ofθ\\thetaandzz\(Assumption[4](https://arxiv.org/html/2607.20674#Thmthm4)\), which imply that the supremum and maximum are achieved at a maximizer\.

Hence, for any sequence\{y~k\}k\\\{\\tilde\{y\}\_\{k\}\\\}\_\{k\}with limiting pointy~\\tilde\{y\}, whereTθ​\(⋅,z\)T\_\{\\theta\}\(\\cdot,z\)is differentiable aty~k\\tilde\{y\}\_\{k\}for allk∈ℕk\\in\\mathbb\{N\},

‖limk→∞d​Tθ​\(y~k;z\)d​y‖2=limk→∞‖d​Tθ​\(y~k;z\)d​y‖2≤γ,\\left\\lVert\\lim\_\{k\\to\\infty\}\\frac\{dT\_\{\\theta\}\(\\tilde\{y\}\_\{k\};z\)\}\{dy\}\\right\\rVert\_\{2\}=\\lim\_\{k\\to\\infty\}\\left\\lVert\\frac\{dT\_\{\\theta\}\(\\tilde\{y\}\_\{k\};z\)\}\{dy\}\\right\\rVert\_\{2\}\\leq\\gamma,\(63\)where we used the continuity of matrix 2\-norm\. Finally, since the Clarke generalized Jacobian∂yCTθ​\(y;z\)\\partial^\{C\}\_\{y\}T\_\{\\theta\}\(y;z\)is the convex hull of all such limit points of Jacobians \(see Definition[2](https://arxiv.org/html/2607.20674#Thmthm2)\), anyMy∈∂yCTθ​\(y;z\)M\_\{y\}\\in\\partial^\{C\}\_\{y\}T\_\{\\theta\}\(y;z\)also satisfies

‖My‖2≤γ,\\left\\lVert M\_\{y\}\\right\\rVert\_\{2\}\\leq\\gamma,\(64\)for allθ\\theta,yyandzz\. ∎

## Appendix EProof of Descent Direction

### Proof of Lemma[E](https://arxiv.org/html/2607.20674#A5.SSx1)

\{restatable\}

lemlemcoercive Under Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)and[4](https://arxiv.org/html/2607.20674#Thmthm4), for any

My∈∂yCTθ​\(yθ⋆​\(t,zx​\(t\)\);zx​\(t\)\),M\_\{y\}\\in\\partial^\{C\}\_\{y\}T\_\{\\theta\}\(y\_\{\\theta\}^\{\\star\}\(t,z\_\{x\}\(t\)\);z\_\{x\}\(t\)\),𝒥θ:=I−My\\mathcal\{J\}\_\{\\theta\}:=I\-M\_\{y\}satisfies

1−γ≤‖𝒥θ⊤‖2≤1\+γ\\displaystyle 1\-\\gamma\\leq\\\|\\mathcal\{J\}\_\{\\theta\}^\{\\top\}\\\|\_\{2\}\\leq 1\+\\gamma\(65\)⟨ψ,𝒥θ⊤​ψ⟩≥\(1−γ\)​‖ψ‖22\\displaystyle\\left\\langle\\psi,\\mathcal\{J\}\_\{\\theta\}^\{\\top\}\\psi\\right\\rangle\\geq\(1\-\\gamma\)\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\(66\)for allψ∈ℝm\+c\\psi\\in\\mathbb\{R\}^\{m\+c\},θ\\theta,tt, andxx\. Here,γ∈\(0,1\)\\gamma\\in\(0,1\)is the contraction constant from Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)\.

###### Proof\.

By Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3), anyMy∈∂yCTθ​\(y⋆;z\)M\_\{y\}\\in\\partial^\{C\}\_\{y\}T\_\{\\theta\}\(y^\{\\star\};z\)satisfies

‖My‖2≤γ,\\left\\lVert M\_\{y\}\\right\\rVert\_\{2\}\\leq\\gamma,\(67\)for allθ\\theta,zz, andy⋆y^\{\\star\}being a fixed point of the DYS iteration\. Thus, we also have

‖My⊤‖2≤γ,\\left\\lVert M\_\{y\}^\{\\top\}\\right\\rVert\_\{2\}\\leq\\gamma,\(68\)for allθ\\theta,zz, andy⋆y^\{\\star\}being a fixed point of the DYS iteration\. Hence, we have

‖𝒥θ⊤‖2\\displaystyle\\\|\\mathcal\{J\}\_\{\\theta\}^\{\\top\}\\\|\_\{2\}=‖I−My⊤‖2\\displaystyle=\\left\\lVert I\-M\_\{y\}^\{\\top\}\\right\\rVert\_\{2\}≤‖I‖2\+‖My⊤‖2\\displaystyle\\leq\\left\\lVert I\\right\\rVert\_\{2\}\+\\left\\lVert M\_\{y\}^\{\\top\}\\right\\rVert\_\{2\}≤‖I‖2\+γ\\displaystyle\\leq\\left\\lVert I\\right\\rVert\_\{2\}\+\\gamma=1\+γ\.\\displaystyle=1\+\\gamma\.On the other hand,

‖𝒥θ⊤‖2\\displaystyle\\\|\\mathcal\{J\}\_\{\\theta\}^\{\\top\}\\\|\_\{2\}=‖I−My⊤‖2\\displaystyle=\\left\\lVert I\-M\_\{y\}^\{\\top\}\\right\\rVert\_\{2\}≥\|‖I‖2−‖My⊤‖2\|\\displaystyle\\geq\\left\|\\left\\lVert I\\right\\rVert\_\{2\}\-\\left\\lVert M\_\{y\}^\{\\top\}\\right\\rVert\_\{2\}\\right\|≥‖I‖2−γ\\displaystyle\\geq\\left\\lVert I\\right\\rVert\_\{2\}\-\\gamma=1−γ\.\\displaystyle=1\-\\gamma\.Thus, we have

1−γ≤‖𝒥θ⊤‖2≤1\+γ\.1\-\\gamma\\leq\\\|\\mathcal\{J\}\_\{\\theta\}^\{\\top\}\\\|\_\{2\}\\leq 1\+\\gamma\.Moreover, for anyψ∈ℝm\+c\\psi\\in\\mathbb\{R\}^\{m\+c\},

⟨ψ,𝒥θ⊤​ψ⟩\\displaystyle\\left\\langle\\psi,\\mathcal\{J\}\_\{\\theta\}^\{\\top\}\\psi\\right\\rangle=⟨ψ,\(I−My⊤\)​ψ⟩\\displaystyle=\\left\\langle\\psi,\\left\(I\-M\_\{y\}^\{\\top\}\\right\)\\psi\\right\\rangle=⟨ψ,ψ⟩−⟨ψ,My⊤​ψ⟩\\displaystyle=\\left\\langle\\psi,\\psi\\right\\rangle\-\\left\\langle\\psi,M\_\{y\}^\{\\top\}\\psi\\right\\rangle≥‖ψ‖22−‖My⊤‖2​‖ψ‖22\\displaystyle\\geq\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\-\\left\\lVert M\_\{y\}^\{\\top\}\\right\\rVert\_\{2\}\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}≥‖ψ‖22−γ​‖ψ‖22\\displaystyle\\geq\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\-\\gamma\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}=\(1−γ\)​‖ψ‖22\.\\displaystyle=\(1\-\\gamma\)\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\.∎

### Proof of Lemma[10](https://arxiv.org/html/2607.20674#Thmthm10)

The proofs in this subsection use the structure ofQu=\[Im×m,0m×c\]Q\_\{u\}=\[I\_\{m\\times m\},0\_\{m\\times c\}\], which extracts the firstmmentries\.

For anyθ,t,z\\theta,t,zand any selectionMy∈∂yCTθ​\(yθ⋆\)M\_\{y\}\\in\\partial\_\{y\}^\{C\}T\_\{\\theta\}\(y\_\{\\theta\}^\{\\star\}\), write the block decompositions

My=\[Ku​uKu​sKs​uKs​s\],Mθ≔∂Tθ∂θ​\(yθ⋆​\(t,z\);z\)=\[MθuMθs\],M\_\{y\}=\\begin\{bmatrix\}K\_\{uu\}&K\_\{us\}\\\\ K\_\{su\}&K\_\{ss\}\\end\{bmatrix\},\\qquad M\_\{\\theta\}\\coloneqq\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\(y\_\{\\theta\}^\{\\star\}\(t,z\);z\)=\\begin\{bmatrix\}M^\{u\}\_\{\\theta\}\\\\ M^\{s\}\_\{\\theta\}\\end\{bmatrix\},\(69\)whereKu​u∈ℝm×mK\_\{uu\}\\in\\mathbb\{R\}^\{m\\times m\},Ku​s∈ℝm×cK\_\{us\}\\in\\mathbb\{R\}^\{m\\times c\},Ks​u∈ℝc×mK\_\{su\}\\in\\mathbb\{R\}^\{c\\times m\},Ks​s∈ℝc×cK\_\{ss\}\\in\\mathbb\{R\}^\{c\\times c\}, andMθu=Qu​Mθ∈ℝm×pM^\{u\}\_\{\\theta\}=Q\_\{u\}M\_\{\\theta\}\\in\\mathbb\{R\}^\{m\\times p\},Mθs∈ℝc×pM^\{s\}\_\{\\theta\}\\in\\mathbb\{R\}^\{c\\times p\}\. Thus, accordingly we have

𝒥θ≔I−My=\[Im×m−Ku​u−Ku​s−Ks​uIc×c−Ks​s\]\.\\mathcal\{J\}\_\{\\theta\}\\coloneqq I\-M\_\{y\}=\\begin\{bmatrix\}I\_\{m\\times m\}\-K\_\{uu\}&\-K\_\{us\}\\\\ \-K\_\{su\}&I\_\{c\\times c\}\-K\_\{ss\}\\end\{bmatrix\}\.\(70\)
Letγ∈\(0,1\)\\gamma\\in\(0,1\)be the contraction constant from Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3), and define

δθ≔maxMy∈∂yCTθ​\(yθ⋆\)⁡‖Ks​u‖2∈\[0,γ\],\\delta\_\{\\theta\}\\coloneqq\\max\_\{M\_\{y\}\\in\\partial\_\{y\}^\{C\}T\_\{\\theta\}\(y\_\{\\theta\}^\{\\star\}\)\}\\left\\lVert K\_\{su\}\\right\\rVert\_\{2\}\\in\[0,\\gamma\],\(71\)by Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3),

βθ≔1−γ2\+γ​δθ1−γ≥0,\\beta\_\{\\theta\}\\coloneqq\\frac\{1\-\\gamma^\{2\}\+\\gamma\\,\\delta\_\{\\theta\}\}\{1\-\\gamma\}\\geq 0,\(72\)rθ≔1−γβθ∈\(0,1\),r\_\{\\theta\}\\coloneqq\\frac\{1\-\\gamma\}\{\\beta\_\{\\theta\}\}\\in\(0,1\),\(73\)asβθ≥1−γ21−γ=1\+γ\\beta\_\{\\theta\}\\geq\\frac\{1\-\\gamma^\{2\}\}\{1\-\\gamma\}=1\+\\gamma, thusrθ=1−γβθ≤1−γ1\+γ<1r\_\{\\theta\}=\\frac\{1\-\\gamma\}\{\\beta\_\{\\theta\}\}\\leq\\frac\{1\-\\gamma\}\{1\+\\gamma\}<1, and

γeff≔1−rθ1\+rθ=1−2​\(1−γ\)22​\(1−γ\)\+γ​δθ∈\[γ,1\),\\gamma\_\{\\mathrm\{eff\}\}\\coloneqq\\frac\{1\-r\_\{\\theta\}\}\{1\+r\_\{\\theta\}\}=1\-\\frac\{2\(1\-\\gamma\)^\{2\}\}\{2\(1\-\\gamma\)\+\\gamma\\delta\_\{\\theta\}\}\\in\[\\gamma,1\),\(74\)asγeff​\(δθ\)\\gamma\_\{\\mathrm\{eff\}\}\(\\delta\_\{\\theta\}\)is strictly less than 1, strictly increasing onδθ∈\[0,γ\]\\delta\_\{\\theta\}\\in\[0,\\gamma\], andγeff​\(0\)=γ\\gamma\_\{\\mathrm\{eff\}\}\(0\)=\\gamma\.

With the defined notations, we first state the full Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)\.

###### Assumption 10\.

1. \(i\)*\(rank\)*Mθu∈ℝm×pM^\{u\}\_\{\\theta\}\\in\\mathbb\{R\}^\{m\\times p\}has full row rank; writeGθ≔Mθu​\(Mθu\)⊤∈ℝm×mG\_\{\\theta\}\\coloneqq M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\in\\mathbb\{R\}^\{m\\times m\},Gθ≻0G\_\{\\theta\}\\succ 0, and letσ\+2≥σ−2\>0\\sigma\_\{\+\}^\{2\}\\geq\\sigma\_\{\-\}^\{2\}\>0denote its largest and smallest eigenvalues;
2. \(ii\)*\(conditioning\)*∃γeff\>0\\exists\\gamma\_\{\\mathrm\{eff\}\}\>0, s\.t\.κ​\(Gθ\)=σ\+2σ−2<1γeff\\displaystyle\\kappa\(G\_\{\\theta\}\)=\\frac\{\\sigma\_\{\+\}^\{2\}\}\{\\sigma\_\{\-\}^\{2\}\}<\\frac\{1\}\{\\gamma\_\{\\mathrm\{eff\}\}\};
3. \(iii\)*\(weak coupling\)*the gradient\-mismatch matrix Ξθ≔Ku​s​\(Ic×c−Ks​s\)−1​Mθs​\(Mθu\)⊤∈ℝm×m\\Xi\_\{\\theta\}\\coloneqq K\_\{us\}\\,\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\,M^\{s\}\_\{\\theta\}\\,\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\in\\mathbb\{R\}^\{m\\times m\}\(75\)satisfies, for every selectionMy∈∂yCTθ​\(yθ⋆\)M\_\{y\}\\in\\partial\_\{y\}^\{C\}T\_\{\\theta\}\(y\_\{\\theta\}^\{\\star\}\), ‖Ξθ‖2≤ρθ≔\(1−γ\)​\(1\+rθ\)​\(σ−2−γeff​σ\+2\)2​βθ​σ−2σ\+2\.\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\\leq\\rho\_\{\\theta\}\\coloneqq\\frac\{\(1\-\\gamma\)\\,\(1\+r\_\{\\theta\}\)\\,\\big\(\\sigma\_\{\-\}^\{2\}\-\\gamma\_\{\\mathrm\{eff\}\}\\,\\sigma\_\{\+\}^\{2\}\\big\)\}\{2\\,\\beta\_\{\\theta\}\}\\frac\{\\sigma\_\{\-\}^\{2\}\}\{\\sigma\_\{\+\}^\{2\}\}\.\(76\)

First, we demonstrate that the Schur complement of thess\-block of𝒥θ\\mathcal\{J\}\_\{\\theta\}has similar bounds as the ones in Lemma[E](https://arxiv.org/html/2607.20674#A5.SSx1)\.

\{restatable\}

lemlemschur\[Schur complement of𝒥θ\\mathcal\{J\}\_\{\\theta\}with respect to the\(u,s\)\(u,s\)splitting\] For allθ,t,z\\theta,t,zandMy∈∂yCTθ​\(yθ⋆\)M\_\{y\}\\in\\partial\_\{y\}^\{C\}T\_\{\\theta\}\(y\_\{\\theta\}^\{\\star\}\), we have

1. \(1\)Ic×c−Ks​sI\_\{c\\times c\}\-K\_\{ss\}is invertible, with‖\(Ic×c−Ks​s\)−1‖2≤11−γ\\left\\lVert\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\right\\rVert\_\{2\}\\leq\\frac\{1\}\{1\-\\gamma\};
2. \(2\)the Schur complement Sθ≔\(Im×m−Ku​u\)−Ku​s​\(Ic×c−Ks​s\)−1​Ks​u∈ℝm×mS\_\{\\theta\}\\coloneqq\(I\_\{m\\times m\}\-K\_\{uu\}\)\-K\_\{us\}\\,\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\,K\_\{su\}\\;\\in\\;\\mathbb\{R\}^\{m\\times m\}\(77\)satisfies ⟨ϕu,Sθ​ϕu⟩\\displaystyle\\left\\langle\\phi\_\{u\},S\_\{\\theta\}\\,\\phi\_\{u\}\\right\\rangle≥\(1−γ\)​‖ϕu‖22,∀ϕu∈ℝm,\\displaystyle\\geq\(1\-\\gamma\)\\,\\left\\lVert\\phi\_\{u\}\\right\\rVert\_\{2\}^\{2\},\\qquad\\forall\\,\\phi\_\{u\}\\in\\mathbb\{R\}^\{m\},\(78\)‖Sθ‖2\\displaystyle\\left\\lVert S\_\{\\theta\}\\right\\rVert\_\{2\}≤βθ;\\displaystyle\\leq\\beta\_\{\\theta\};\(79\)
3. \(3\)SθS\_\{\\theta\}is invertible with‖Sθ−1‖2≤11−γ\\left\\lVert S\_\{\\theta\}^\{\-1\}\\right\\rVert\_\{2\}\\leq\\frac\{1\}\{1\-\\gamma\}, and the first block row of𝒥θ−1\\mathcal\{J\}\_\{\\theta\}^\{\-1\}is given by Qu​𝒥θ−1=Sθ−1​\[Im×mKu​s​\(Ic×c−Ks​s\)−1\]∈ℝm×\(m\+c\)\.Q\_\{u\}\\,\\mathcal\{J\}\_\{\\theta\}^\{\-1\}=S\_\{\\theta\}^\{\-1\}\\,\\big\[\\;I\_\{m\\times m\}\\quad K\_\{us\}\\,\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\;\\big\]\\;\\in\\;\\mathbb\{R\}^\{m\\times\(m\+c\)\}\.\(80\)

###### Proof\.

To reduce technical clutter, in this proof we writeS=SθS=S\_\{\\theta\}and𝒥=𝒥θ\\mathcal\{J\}=\\mathcal\{J\}\_\{\\theta\}\. By Corollary[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)every Clarke selection satisfies‖My‖2≤γ<1\\left\\lVert M\_\{y\}\\right\\rVert\_\{2\}\\leq\\gamma<1\. Thus, every block ofMyM\_\{y\}satisfies the same bound, that is,

‖Ku​u‖2,‖Ku​s‖2,‖Ks​u‖2,‖Ks​s‖2≤γ\.\\left\\lVert K\_\{uu\}\\right\\rVert\_\{2\},\\ \\left\\lVert K\_\{us\}\\right\\rVert\_\{2\},\\ \\left\\lVert K\_\{su\}\\right\\rVert\_\{2\},\\ \\left\\lVert K\_\{ss\}\\right\\rVert\_\{2\}\\;\\leq\\;\\gamma\.\(81\)
\(1\)Since‖Ks​s‖2≤γ<1\\left\\lVert K\_\{ss\}\\right\\rVert\_\{2\}\\leq\\gamma<1, the Neumann series gives invertibility ofIc−Ks​sI\_\{c\}\-K\_\{ss\}with‖\(Ic−Ks​s\)−1‖2≤11−‖Ks​s‖2≤11−γ\\left\\lVert\(I\_\{c\}\-K\_\{ss\}\)^\{\-1\}\\right\\rVert\_\{2\}\\leq\\frac\{1\}\{1\-\\left\\lVert K\_\{ss\}\\right\\rVert\_\{2\}\}\\leq\\frac\{1\}\{1\-\\gamma\}\.

\(2\) Coercivity \([78](https://arxiv.org/html/2607.20674#A5.E78)\)\.Letϕu∈ℝm\\phi\_\{u\}\\in\\mathbb\{R\}^\{m\}, and set

ϕs≔\(Ic×c−Ks​s\)−1​Ks​u​ϕu∈ℝc,ϕ≔\(ϕu,ϕs\)∈ℝm\+c\.\\phi\_\{s\}\\coloneqq\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}K\_\{su\}\\,\\phi\_\{u\}\\in\\mathbb\{R\}^\{c\},\\qquad\\phi\\coloneqq\(\\phi\_\{u\},\\phi\_\{s\}\)\\in\\mathbb\{R\}^\{m\+c\}\.\(82\)Then, by \([70](https://arxiv.org/html/2607.20674#A5.E70)\) and \([77](https://arxiv.org/html/2607.20674#A5.E77)\),

𝒥​ϕ=\[\(Im×m−Ku​u\)​ϕu−Ku​s​ϕs−Ks​u​ϕu\+\(Ic×c−Ks​s\)​ϕs\]=\[\(Im×m−Ku​u\)​ϕu−Ku​s​\(Ic×c−Ks​s\)−1​Ks​u​ϕu\(−\(Ic×c−Ks​s\)\+\(Ic×c−Ks​s\)\)​ϕs\]=\[S​ϕu0\]\.\\mathcal\{J\}\\,\\phi=\\begin\{bmatrix\}\(I\_\{m\\times m\}\-K\_\{uu\}\)\\,\\phi\_\{u\}\-K\_\{us\}\\,\\phi\_\{s\}\\\\\[2\.0pt\] \-K\_\{su\}\\,\\phi\_\{u\}\+\(I\_\{c\\times c\}\-K\_\{ss\}\)\\,\\phi\_\{s\}\\end\{bmatrix\}=\\begin\{bmatrix\}\(I\_\{m\\times m\}\-K\_\{uu\}\)\\,\\phi\_\{u\}\-K\_\{us\}\\,\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}K\_\{su\}\\,\\phi\_\{u\}\\\\\[2\.0pt\] \\big\(\-\(I\_\{c\\times c\}\-K\_\{ss\}\)\+\(I\_\{c\\times c\}\-K\_\{ss\}\)\\big\)\\,\\phi\_\{s\}\\end\{bmatrix\}=\\begin\{bmatrix\}S\\,\\phi\_\{u\}\\\\\[2\.0pt\] 0\\end\{bmatrix\}\.Here, in the first step, we used the definition of𝒥\\mathcal\{J\}\([70](https://arxiv.org/html/2607.20674#A5.E70)\)\. In the second step, we used the definition ofϕs\\phi\_\{s\}\([82](https://arxiv.org/html/2607.20674#A5.E82)\)\. In the third step, we used the definition of the Schur complementSS\([77](https://arxiv.org/html/2607.20674#A5.E77)\)\. Next, since thess\-component of𝒥​ϕ\\mathcal\{J\}\\phivanishes,

⟨ϕu,S​ϕu⟩=⟨\(ϕu,ϕs\),\(S​ϕu,0\)⟩=⟨ϕ,𝒥​ϕ⟩​≥\([66](https://arxiv.org/html/2607.20674#A5.E66)\)​\(1−γ\)​‖ϕ‖22=\(1−γ\)​\(‖ϕu‖22\+‖ϕs‖22\)≥\(1−γ\)​‖ϕu‖22\.\\left\\langle\\phi\_\{u\},S\\phi\_\{u\}\\right\\rangle=\\left\\langle\(\\phi\_\{u\},\\phi\_\{s\}\),\(S\\phi\_\{u\},\\,0\)\\right\\rangle=\\left\\langle\\phi,\\mathcal\{J\}\\,\\phi\\right\\rangle\\overset\{\\eqref\{eq:J\_inner\_bound\}\}\{\\geq\}\(1\-\\gamma\)\\,\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}=\(1\-\\gamma\)\\,\\big\(\\left\\lVert\\phi\_\{u\}\\right\\rVert\_\{2\}^\{2\}\+\\left\\lVert\\phi\_\{s\}\\right\\rVert\_\{2\}^\{2\}\\big\)\\geq\(1\-\\gamma\)\\,\\left\\lVert\\phi\_\{u\}\\right\\rVert\_\{2\}^\{2\}\.
Norm bound \([79](https://arxiv.org/html/2607.20674#A5.E79)\)\.We have

‖S‖2\\displaystyle\\left\\lVert S\\right\\rVert\_\{2\}≤\(‖Im×m‖2\+‖Ku​u‖2\)\+‖Ku​s‖2​‖\(Ic−Ks​s\)−1‖2​‖Ks​u‖2,\\displaystyle\\leq\\left\(\\left\\lVert I\_\{m\\times m\}\\right\\rVert\_\{2\}\+\\left\\lVert K\_\{uu\}\\right\\rVert\_\{2\}\\right\)\+\\left\\lVert K\_\{us\}\\right\\rVert\_\{2\}\\,\\left\\lVert\(I\_\{c\}\-K\_\{ss\}\)^\{\-1\}\\right\\rVert\_\{2\}\\,\\left\\lVert K\_\{su\}\\right\\rVert\_\{2\},by the definition ofSS\([77](https://arxiv.org/html/2607.20674#A5.E77)\),≤\(1\+γ\)\+γ​‖Ks​u‖21−γ,\\displaystyle\\leq\(1\+\\gamma\)\+\\frac\{\\gamma\\,\\left\\lVert K\_\{su\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\},by \([81](https://arxiv.org/html/2607.20674#A5.E81)\) and part\(1\)≤\(1\+γ\)\+γ​δθ1−γ,\\displaystyle\\leq\(1\+\\gamma\)\+\\frac\{\\gamma\\,\\delta\_\{\\theta\}\}\{1\-\\gamma\},by the definition ofδθ\\delta\_\{\\theta\}\([71](https://arxiv.org/html/2607.20674#A5.E71)\),=1−γ2\+γ​δθ1−γ=βθ,\\displaystyle=\\frac\{1\-\\gamma^\{2\}\+\\gamma\\delta\_\{\\theta\}\}\{1\-\\gamma\}=\\beta\_\{\\theta\},by the definition ofβθ\\beta\_\{\\theta\}\([72](https://arxiv.org/html/2607.20674#A5.E72)\)\.
\(3\) InvertibilityBy \([78](https://arxiv.org/html/2607.20674#A5.E78)\) and Cauchy\-Schwarz inequality,‖S​ϕu‖2​‖ϕu‖2≥⟨ϕu,S​ϕu⟩≥\(1−γ\)​‖ϕu‖22\\left\\lVert S\\phi\_\{u\}\\right\\rVert\_\{2\}\\,\\left\\lVert\\phi\_\{u\}\\right\\rVert\_\{2\}\\geq\\left\\langle\\phi\_\{u\},S\\phi\_\{u\}\\right\\rangle\\geq\(1\-\\gamma\)\\left\\lVert\\phi\_\{u\}\\right\\rVert\_\{2\}^\{2\}, so‖S​ϕu‖2≥\(1−γ\)​‖ϕu‖2\\left\\lVert S\\phi\_\{u\}\\right\\rVert\_\{2\}\\geq\(1\-\\gamma\)\\left\\lVert\\phi\_\{u\}\\right\\rVert\_\{2\}for allϕu∈ℝm\\phi\_\{u\}\\in\\mathbb\{R\}^\{m\}\. This implies thatSSis injective, asS​ϕu=0S\\phi\_\{u\}=0if and only ifϕu=0\\phi\_\{u\}=0\. Thus,SSis an invertible matrix, with‖S−1‖2≤11−γ\\left\\lVert S^\{\-1\}\\right\\rVert\_\{2\}\\leq\\frac\{1\}\{1\-\\gamma\}\.

For \([80](https://arxiv.org/html/2607.20674#A5.E80)\), we setR≔S−1​\[Im×m​Ku​s​\(Ic×c−Ks​s\)−1\]R\\coloneqq S^\{\-1\}\\big\[\\,I\_\{m\\times m\}\\;\\;K\_\{us\}\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\,\\big\]\. We will verifyR​𝒥=QuR\\,\\mathcal\{J\}=Q\_\{u\}by direct multiplication using \([70](https://arxiv.org/html/2607.20674#A5.E70)\)\. The first block column ofR​𝒥R\\,\\mathcal\{J\}is

S−1​\[Im×m​Ku​s​\(Ic×c−Ks​s\)−1\]​\[Im×m−Ku​u−Ks​u\]=S−1​\[\(Im×m−Ku​u\)−Ku​s​\(Ic×c−Ks​s\)−1​Ks​u\]⏟=S,by its definition \([77](https://arxiv.org/html/2607.20674#A5.E77)\)=S−1​S=Im×m,\\displaystyle S^\{\-1\}\\begin\{bmatrix\}I\_\{m\\times m\}\\;\\;K\_\{us\}\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\,\\end\{bmatrix\}\\begin\{bmatrix\}I\_\{m\\times m\}\-K\_\{uu\}\\\\ \-K\_\{su\}\\end\{bmatrix\}=S^\{\-1\}\\underbrace\{\\Big\[\(I\_\{m\\times m\}\-K\_\{uu\}\)\-K\_\{us\}\\,\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}K\_\{su\}\\Big\]\}\_\{=S,\\text\{ by its definition \\eqref\{eq:S\_def\}\}\}=S^\{\-1\}S=I\_\{m\\times m\},and the second is

S−1​\[Im×m​Ku​s​\(Ic×c−Ks​s\)−1\]​\[−Ku​sIc×c−Ks​s\]=S−1​\[−Ku​s\+Ku​s​\(Ic×c−Ks​s\)−1​\(Ic×c−Ks​s\)\]=0\.S^\{\-1\}\\begin\{bmatrix\}I\_\{m\\times m\}\\;\\;K\_\{us\}\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\\,\\end\{bmatrix\}\\begin\{bmatrix\}\-K\_\{us\}\\\\ I\_\{c\\times c\}\-K\_\{ss\}\\end\{bmatrix\}=S^\{\-1\}\\Big\[\-K\_\{us\}\+K\_\{us\}\\,\(I\_\{c\\times c\}\-K\_\{ss\}\)^\{\-1\}\(I\_\{c\\times c\}\-K\_\{ss\}\)\\Big\]=0\.Since𝒥\\mathcal\{J\}is invertible by Lemma[E](https://arxiv.org/html/2607.20674#A5.SSx1), multiplyingR​𝒥=QuR\\,\\mathcal\{J\}=Q\_\{u\}on the right by𝒥−1\\mathcal\{J\}^\{\-1\}givesR=Qu​𝒥−1R=Q\_\{u\}\\mathcal\{J\}^\{\-1\}, as desired\. ∎

\{restatable\}

lemleminnerproduct Under Assumptions[3](https://arxiv.org/html/2607.20674#Thmthm3)–[6](https://arxiv.org/html/2607.20674#Thmthm6), for any selection of Clarke subgradientvθ,x​\(t\)∈∂θCJx,t​\(θ\)v\_\{\\theta,x\}\(t\)\\in\\partial^\{C\}\_\{\\theta\}J\_\{x,t\}\(\\theta\)that is measurable with respect toxxandtt,

⟨vθ,x​\(t\),wθ,x​\(t\)⟩≥0,∀x,t,θ\.\\left\\langle v\_\{\\theta,x\}\(t\),w\_\{\\theta,x\}\(t\)\\right\\rangle\\geq 0,\\quad\\forall x,t,\\theta\.
###### Proof\.

Fixx,t,θx,t,\\theta\. By \([21](https://arxiv.org/html/2607.20674#Sx3.E21)\), for any measurable selectionvθ,x​\(t\)∈∂θCJx,t​\(θ\)v\_\{\\theta,x\}\(t\)\\in\\partial^\{C\}\_\{\\theta\}J\_\{x,t\}\(\\theta\), there exist a measurable selectionMy∈∂yCTθM\_\{y\}\\in\{\{\\partial\}\_\{y\}^\{C\}\}T\_\{\\theta\}such that

vθ,x​\(t\)=\(\(I−My\)−1​∂Tθ∂θ​\(yθ⋆\)\)⊤​Qu⊤​hθ,x​\(t\)\.v\_\{\\theta,x\}\(t\)=\\left\(\\left\(I\-M\_\{y\}\\right\)^\{\-1\}\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\(y\_\{\\theta\}^\{\\star\}\)\\right\)^\{\\top\}Q\_\{u\}^\{\\top\}h\_\{\\theta,x\}\(t\)\.\(83\)Writeh≔hθ,x​\(t\)∈ℝmh\\coloneqq h\_\{\\theta,x\}\(t\)\\in\\mathbb\{R\}^\{m\}and letS≔SθS\\coloneqq S\_\{\\theta\}be the Schur complement \([77](https://arxiv.org/html/2607.20674#A5.E77)\) associated with this selection\. By[˜10](https://arxiv.org/html/2607.20674#Thmthm10)\(2\),‖S‖2≤βθ\\left\\lVert S\\right\\rVert\_\{2\}\\leq\\beta\_\{\\theta\}\.

LetMθ≔∂Tθ∂θ​\(yθ⋆\)∈ℝ\(m\+c\)×pM\_\{\\theta\}\\coloneqq\\frac\{\\partial T\_\{\\theta\}\}\{\\partial\\theta\}\(y\_\{\\theta\}^\{\\star\}\)\\in\\mathbb\{R\}^\{\(m\+c\)\\times p\}\. Substituting it and \([70](https://arxiv.org/html/2607.20674#A5.E70)\):𝒥θ=I−My\\mathcal\{J\}\_\{\\theta\}=I\-M\_\{y\}into \([83](https://arxiv.org/html/2607.20674#A5.E83)\) and \([22](https://arxiv.org/html/2607.20674#Sx3.E22)\), we obtain

vθ,x=Mθ⊤​𝒥θ−⊤​Qu⊤​h,wθ,x=Mθ⊤​Qu⊤​h=\(Mθu\)⊤​h\.v\_\{\\theta,x\}=M\_\{\\theta\}^\{\\top\}\\,\\mathcal\{J\}\_\{\\theta\}^\{\-\\top\}Q\_\{u\}^\{\\top\}h,\\qquad w\_\{\\theta,x\}=M\_\{\\theta\}^\{\\top\}\\,Q\_\{u\}^\{\\top\}h=\(M^\{u\}\_\{\\theta\}\)^\{\\top\}h\.Therefore, expandingQu​𝒥θ−1​MθQ\_\{u\}\\,\\mathcal\{J\}\_\{\\theta\}^\{\-1\}M\_\{\\theta\}via the block\-row formula \([80](https://arxiv.org/html/2607.20674#A5.E80)\) and the splitting \([69](https://arxiv.org/html/2607.20674#A5.E69)\) ofMθM\_\{\\theta\},

⟨vθ,x,wθ,x⟩\\displaystyle\\left\\langle v\_\{\\theta,x\},w\_\{\\theta,x\}\\right\\rangle=h⊤​Qu​𝒥θ−1​Mθ​\(Mθu\)⊤​h=h⊤​S−1​\[Mθu\+Ku​s​\(Ic−Ks​s\)−1​Mθs\]​\(Mθu\)⊤​h\\displaystyle=h^\{\\top\}\\,Q\_\{u\}\\,\\mathcal\{J\}\_\{\\theta\}^\{\-1\}M\_\{\\theta\}\\,\(M^\{u\}\_\{\\theta\}\)^\{\\top\}h=h^\{\\top\}S^\{\-1\}\\Big\[M^\{u\}\_\{\\theta\}\+K\_\{us\}\\,\(I\_\{c\}\-K\_\{ss\}\)^\{\-1\}M^\{s\}\_\{\\theta\}\\Big\]\(M^\{u\}\_\{\\theta\}\)^\{\\top\}h=h⊤​S−1​Mθu​\(Mθu\)⊤​h⏟≕Ⓘ\+h⊤​S−1​Ξθ​h⏟≕II⃝,\\displaystyle=\\underbrace\{h^\{\\top\}S^\{\-1\}M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\,h\}\_\{\\eqqcolon\\,\\text\{Ⓘ\}\}\\;\+\\;\\underbrace\{h^\{\\top\}S^\{\-1\}\\,\\Xi\_\{\\theta\}\\,h\}\_\{\\eqqcolon\\,\\text\{II⃝\}\},\(84\)withΞθ\\Xi\_\{\\theta\}as in \([75](https://arxiv.org/html/2607.20674#A5.E75)\)\.

*Term Ⓘ\.*By Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)\(i\),Bθ≔\(Mθu​\(Mθu\)⊤\)−1B\_\{\\theta\}\\coloneqq\\left\(M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\right\)^\{\-1\}is symmetric positive definite; letλ\+=σ−−2≥λ−=σ\+−2\>0\\lambda\_\{\+\}=\\sigma\_\{\-\}^\{\-2\}\\geq\\lambda\_\{\-\}=\\sigma\_\{\+\}^\{\-2\}\>0be its largest and smallest eigenvalues andλ¯≔12​\(λ\+\+λ−\)\\bar\{\\lambda\}\\coloneqq\\frac\{1\}\{2\}\(\\lambda\_\{\+\}\+\\lambda\_\{\-\}\)\. Letψ≔Mθu​\(Mθu\)⊤​S−⊤​h=Bθ−1​S−⊤​h∈ℝm\\psi\\coloneqq M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\,S^\{\-\\top\}h=B\_\{\\theta\}^\{\-1\}S^\{\-\\top\}h\\in\\mathbb\{R\}^\{m\}, so thath=S⊤​\(Mθu​\(Mθu\)⊤\)−1​ψ=S⊤​Bθ​ψh=S^\{\\top\}\\left\(M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\right\)^\{\-1\}\\,\\psi=S^\{\\top\}B\_\{\\theta\}\\,\\psiand, usingBθ​Gθ=Im×mB\_\{\\theta\}G\_\{\\theta\}=I\_\{m\\times m\},

Ⓘ=h⊤​S−1​Mθu​\(Mθu\)⊤​h=h⊤​S−1​Bθ−1​h\\displaystyle=h^\{\\top\}S^\{\-1\}M^\{u\}\_\{\\theta\}\(M^\{u\}\_\{\\theta\}\)^\{\\top\}\\,h=h^\{\\top\}S^\{\-1\}B\_\{\\theta\}^\{\-1\}\\,h=\(S⊤​Bθ​ψ\)⊤​S−1​Bθ−1​\(S⊤​Bθ​ψ\)=⟨ψ,S⊤​Bθ​ψ⟩\\displaystyle=\\big\(S^\{\\top\}B\_\{\\theta\}\\psi\\big\)^\{\\top\}S^\{\-1\}\\,B\_\{\\theta\}^\{\-1\}\\,\\big\(S^\{\\top\}B\_\{\\theta\}\\psi\\big\)=\\left\\langle\\psi,S^\{\\top\}B\_\{\\theta\}\\,\\psi\\right\\rangle=⟨ψ,S⊤​\(λ¯​Im×m\+Bθ−λ¯​Im×m\)​ψ⟩\\displaystyle=\\left\\langle\\psi,S^\{\\top\}\(\\bar\{\\lambda\}I\_\{m\\times m\}\+B\_\{\\theta\}\-\\bar\{\\lambda\}I\_\{m\\times m\}\)\\,\\psi\\right\\rangle=λ¯​⟨ψ,S⊤​ψ⟩\+⟨ψ,S⊤​\(Bθ−λ¯​Im×m\)​ψ⟩\\displaystyle=\\bar\{\\lambda\}\\left\\langle\\psi,S^\{\\top\}\\psi\\right\\rangle\+\\left\\langle\\psi,S^\{\\top\}\(B\_\{\\theta\}\-\\bar\{\\lambda\}I\_\{m\\times m\}\)\\,\\psi\\right\\rangle≥λ¯​\(1−γ\)​‖ψ‖22\+⟨ψ,S⊤​\(Bθ−λ¯​Im×m\)​ψ⟩,using⟨ψ,S⊤​ψ⟩=⟨S​ψ,ψ⟩≥\(1−γ\)​‖ψ‖22by \([78](https://arxiv.org/html/2607.20674#A5.E78)\) of Lemma[10](https://arxiv.org/html/2607.20674#Thmthm10),\\displaystyle\\geq\\bar\{\\lambda\}\(1\-\\gamma\)\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\+\\left\\langle\\psi,S^\{\\top\}\(B\_\{\\theta\}\-\\bar\{\\lambda\}I\_\{m\\times m\}\)\\,\\psi\\right\\rangle,\\quad\\text\{using $\\left\\langle\\psi,S^\{\\top\}\\psi\\right\\rangle=\\left\\langle S\\psi,\\psi\\right\\rangle\\geq\(1\-\\gamma\)\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}$ by \\eqref\{eq:S\_inner\_bound\} of Lemma~\\ref\{lemma:schur\_coercive\},\}≥λ¯​\(1−γ\)​‖ψ‖22−‖S⊤‖2​‖Bθ−λ¯​Im×m‖2​‖ψ‖22\\displaystyle\\geq\\bar\{\\lambda\}\(1\-\\gamma\)\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\-\\left\\lVert S^\{\\top\}\\right\\rVert\_\{2\}\\left\\lVert B\_\{\\theta\}\-\\bar\{\\lambda\}I\_\{m\\times m\}\\right\\rVert\_\{2\}\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}≥λ\+\+λ−2​\(1−γ\)​‖ψ‖22−βθ​\(λ\+−λ−2​‖ψ‖22\)\\displaystyle\\geq\\frac\{\\lambda\_\{\+\}\+\\lambda\_\{\-\}\}\{2\}\(1\-\\gamma\)\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\-\\beta\_\{\\theta\}\\left\(\\frac\{\\lambda\_\{\+\}\-\\lambda\_\{\-\}\}\{2\}\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}\\right\)by \([79](https://arxiv.org/html/2607.20674#A5.E79)\) of Lemma[10](https://arxiv.org/html/2607.20674#Thmthm10):‖S⊤‖2=‖S‖2≤βθ\\left\\lVert S^\{\\top\}\\right\\rVert\_\{2\}=\\left\\lVert S\\right\\rVert\_\{2\}\\leq\\beta\_\{\\theta\}, and‖Bθ−λ¯​Im‖2=λ\+−λ−2\\left\\lVert B\_\{\\theta\}\-\\bar\{\\lambda\}I\_\{m\}\\right\\rVert\_\{2\}=\\frac\{\\lambda\_\{\+\}\-\\lambda\_\{\-\}\}\{2\}=12​\[βθ​rθ​\(λ\+\+λ−\)−βθ​\(λ\+−λ−\)\]​‖ψ‖22,\\displaystyle=\\frac\{1\}\{2\}\\Big\[\\beta\_\{\\theta\}r\_\{\\theta\}\(\\lambda\_\{\+\}\+\\lambda\_\{\-\}\)\-\\beta\_\{\\theta\}\(\\lambda\_\{\+\}\-\\lambda\_\{\-\}\)\\Big\]\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\},\\quadusing the definition ofrθ≔1−γβθr\_\{\\theta\}\\coloneqq\\frac\{1\-\\gamma\}\{\\beta\_\{\\theta\}\}in \([73](https://arxiv.org/html/2607.20674#A5.E73)\),=12​\[βθ​rθ​\(λ\+\+λ−\)−βθ​\(λ\+−λ−\)\]​‖ψ‖22\\displaystyle=\\frac\{1\}\{2\}\\Big\[\\beta\_\{\\theta\}r\_\{\\theta\}\(\\lambda\_\{\+\}\+\\lambda\_\{\-\}\)\-\\beta\_\{\\theta\}\(\\lambda\_\{\+\}\-\\lambda\_\{\-\}\)\\Big\]\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}=12​\[βθ​\(1\+rθ\)​λ−−βθ​\(1−rθ\)​λ\+\]​‖ψ‖22\\displaystyle=\\frac\{1\}\{2\}\\Big\[\\beta\_\{\\theta\}\(1\+r\_\{\\theta\}\)\\lambda\_\{\-\}\-\\beta\_\{\\theta\}\(1\-r\_\{\\theta\}\)\\lambda\_\{\+\}\\Big\]\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}=βθ​\(1\+rθ\)2​\[λ−−1−rθ1\+rθ​λ\+\]​‖ψ‖22\\displaystyle=\\frac\{\\beta\_\{\\theta\}\(1\+r\_\{\\theta\}\)\}\{2\}\\Big\[\\lambda\_\{\-\}\-\\frac\{1\-r\_\{\\theta\}\}\{1\+r\_\{\\theta\}\}\\lambda\_\{\+\}\\Big\]\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\}=βθ​\(1\+rθ\)2​\[λ−−γeff​λ\+\]​‖ψ‖22,by the definition ofγeffin \([74](https://arxiv.org/html/2607.20674#A5.E74)\)\.\\displaystyle=\\frac\{\\beta\_\{\\theta\}\(1\+r\_\{\\theta\}\)\}\{2\}\\Big\[\\lambda\_\{\-\}\-\\gamma\_\{\\mathrm\{eff\}\}\\lambda\_\{\+\}\\Big\]\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\},\\quad\\text\{by the definition of $\\gamma\_\{\\mathrm\{eff\}\}$ in \\eqref\{eq:gamma\_eff\}\.\}Moreover, since‖ψ‖2=‖Bθ−1​S−⊤​h‖2≥λmin​\(Bθ−1\)​‖S−⊤​h‖2≥σ−2βθ​‖h‖2\\left\\lVert\\psi\\right\\rVert\_\{2\}=\\left\\lVert B\_\{\\theta\}^\{\-1\}S^\{\-\\top\}h\\right\\rVert\_\{2\}\\geq\\lambda\_\{\\min\}\(B\_\{\\theta\}^\{\-1\}\)\\,\\left\\lVert S^\{\-\\top\}h\\right\\rVert\_\{2\}\\geq\\frac\{\\sigma\_\{\-\}^\{2\}\}\{\\beta\_\{\\theta\}\}\\,\\left\\lVert h\\right\\rVert\_\{2\}by Lemma[10](https://arxiv.org/html/2607.20674#Thmthm10), andλ−−γeff​λ\+=1σ\+2−γeff​1σ−2=σ−2−γeff​σ\+2σ−2​σ\+2\\lambda\_\{\-\}\-\\gamma\_\{\\mathrm\{eff\}\}\\,\\lambda\_\{\+\}=\\frac\{1\}\{\\sigma\_\{\+\}^\{2\}\}\-\\gamma\_\{\\mathrm\{eff\}\}\\frac\{1\}\{\\sigma\_\{\-\}^\{2\}\}=\\frac\{\\sigma\_\{\-\}^\{2\}\-\\gamma\_\{\\mathrm\{eff\}\}\\,\\sigma\_\{\+\}^\{2\}\}\{\\sigma\_\{\-\}^\{2\}\\,\\sigma\_\{\+\}^\{2\}\}, we have

Ⓘ≥βθ​\(1\+rθ\)2​\[λ−−γeff​λ\+\]​‖ψ‖22,\\displaystyle\\geq\\frac\{\\beta\_\{\\theta\}\(1\+r\_\{\\theta\}\)\}\{2\}\\Big\[\\lambda\_\{\-\}\-\\gamma\_\{\\mathrm\{eff\}\}\\lambda\_\{\+\}\\Big\]\\left\\lVert\\psi\\right\\rVert\_\{2\}^\{2\},≥βθ​\(1\+rθ\)2​\[σ−2−γeff​σ\+2σ−2​σ\+2\]​σ−4βθ2​‖h‖22\\displaystyle\\geq\\frac\{\\beta\_\{\\theta\}\(1\+r\_\{\\theta\}\)\}\{2\}\\left\[\\frac\{\\sigma\_\{\-\}^\{2\}\-\\gamma\_\{\\mathrm\{eff\}\}\\,\\sigma\_\{\+\}^\{2\}\}\{\\sigma\_\{\-\}^\{2\}\\,\\sigma\_\{\+\}^\{2\}\}\\right\]\\frac\{\\sigma\_\{\-\}^\{4\}\}\{\\beta\_\{\\theta\}^\{2\}\}\\,\\left\\lVert h\\right\\rVert\_\{2\}^\{2\}=\(1\+rθ\)2​βθ​\[σ−2−γeff​σ\+2\]​σ−2σ\+2​‖h‖22\\displaystyle=\\frac\{\(1\+r\_\{\\theta\}\)\}\{2\\beta\_\{\\theta\}\}\\left\[\\sigma\_\{\-\}^\{2\}\-\\gamma\_\{\\mathrm\{eff\}\}\\,\\sigma\_\{\+\}^\{2\}\\right\]\\frac\{\\sigma\_\{\-\}^\{2\}\}\{\\sigma\_\{\+\}^\{2\}\}\\,\\left\\lVert h\\right\\rVert\_\{2\}^\{2\}=ρθ1−γ​‖h‖22,by the definition ofρθin \([76](https://arxiv.org/html/2607.20674#A5.E76)\), which is positive by Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)\(ii\)\.\\displaystyle=\\frac\{\\rho\_\{\\theta\}\}\{1\-\\gamma\}\\,\\left\\lVert h\\right\\rVert\_\{2\}^\{2\},\\quad\\text\{by the definition of $\\rho\_\{\\theta\}$ in \\eqref\{eq:Xi\_bound\}, which is positive by Assumption~\\ref\{assumption:M\}\(ii\)\.\}
*Term II⃝\.*By part \(3\) of Lemma[10](https://arxiv.org/html/2607.20674#Thmthm10),‖S−1‖2≤11−γ\\left\\lVert S^\{\-1\}\\right\\rVert\_\{2\}\\leq\\frac\{1\}\{1\-\\gamma\}, soII⃝≥−‖Ξθ‖21−γ​‖h‖22\\text\{II⃝\}\\geq\-\\frac\{\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\\,\\left\\lVert h\\right\\rVert\_\{2\}^\{2\}\.

*Conclusion\.*Combining the two bounds in \([84](https://arxiv.org/html/2607.20674#A5.E84)\),

⟨vθ,x,wθ,x⟩≥ρθ−‖Ξθ‖21−γ​‖hθ,x‖22≥0,\\left\\langle v\_\{\\theta,x\},w\_\{\\theta,x\}\\right\\rangle\\;\\geq\\;\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\\,\\left\\lVert h\_\{\\theta,x\}\\right\\rVert\_\{2\}^\{2\}\\;\\geq\\;0,\(85\)where the last inequality holds by Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)\(iii\)\. ∎

Remark\.While Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)\(i\) and \(ii\) are standard conditions that have appeared in prior work such as\(Gelphmanet al\.[2026b](https://arxiv.org/html/2607.20674#bib.bib18)\)and\(Gelphmanet al\.[2026a](https://arxiv.org/html/2607.20674#bib.bib95)\), condition \(iii\) is specific to the presence of the safety layer\. Intuitively, it requires that the auxiliary slack variable does not dominate the gradient alignment used to update the control policy\. In other words, the slack\-induced component of the gradient must remain sufficiently small so that the alignment between the true Clarke subgradient and the JFB approximation is governed primarily by the control variables\. This is precisely what enables the pointwise alignment result of Lemma[10](https://arxiv.org/html/2607.20674#Thmthm10)\. Although this condition is generally intractable to verify analytically for a given problem, the numerical results in Figure[4\(a\)](https://arxiv.org/html/2607.20674#A6.F4.sf1)provide empirical evidence that it is satisfied in practice\. Moreover, the assumption can be relaxed to hold only in expectation over the initial conditionxx, leading directly to Lemma[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3), although we do not pursue this generalization here in this work\.

### Proof ofLemma[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)

###### Proof\.

Taking expectation with respect toxxon both sides of \([85](https://arxiv.org/html/2607.20674#A5.E85)\), we have

𝔼x​\[⟨vθ,x,wθ,x⟩\]\\displaystyle\\mathbb\{E\}\_\{x\}\\left\[\\left\\langle v\_\{\\theta,x\},w\_\{\\theta,x\}\\right\\rangle\\right\]≥𝔼x​\[ρθ−‖Ξθ‖21−γ​‖hθ,x‖22\]\\displaystyle\\geq\\mathbb\{E\}\_\{x\}\\left\[\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\\,\\left\\lVert h\_\{\\theta,x\}\\right\\rVert\_\{2\}^\{2\}\\right\]=ρθ−‖Ξθ‖21−γ​𝔼x​\[‖hθ,x‖22\]\\displaystyle=\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\\;\\mathbb\{E\}\_\{x\}\\left\[\\left\\lVert h\_\{\\theta,x\}\\right\\rVert\_\{2\}^\{2\}\\right\]≥ρθ−‖Ξθ‖21−γ​‖𝔼x​\[hθ,x\]‖22,by Jensen’s inequality\.\\displaystyle\\geq\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\\;\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\},\\quad\\text\{by Jensen's inequality\.\}\(86\)
On the other hand, we derive an upper bound for𝔼x​\[⟨vθ,x,wθ,x⟩\]\\mathbb\{E\}\_\{x\}\\left\[\\left\\langle v\_\{\\theta,x\},w\_\{\\theta,x\}\\right\\rangle\\right\]\. LetEv=𝔼x​\[vθ,x\]E\_\{v\}=\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\]andEw=𝔼x​\[wθ,x\]E\_\{w\}=\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\], we have

𝔼x​\[⟨vθ,x,wθ,x⟩\]\\displaystyle\\mathbb\{E\}\_\{x\}\\left\[\\left\\langle v\_\{\\theta,x\},w\_\{\\theta,x\}\\right\\rangle\\right\]=𝔼x​\[⟨vθ,x−Ev\+Ev,wθ,x−Ew\+Ew⟩\]\\displaystyle=\\mathbb\{E\}\_\{x\}\[\\left\\langle v\_\{\\theta,x\}\-E\_\{v\}\+E\_\{v\},w\_\{\\theta,x\}\-E\_\{w\}\+E\_\{w\}\\right\\rangle\]=𝔼x​\[⟨vθ,x−Ev,wθ,x−Ew⟩\]\+⟨𝔼x​\[vθ,x−Ev\],Ew⟩\+⟨Ev,𝔼x​\[wθ,x−Ew\]⟩\+⟨Ev,Ew⟩\\displaystyle=\\mathbb\{E\}\_\{x\}\[\\left\\langle v\_\{\\theta,x\}\-E\_\{v\},w\_\{\\theta,x\}\-E\_\{w\}\\right\\rangle\]\+\\left\\langle\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\-E\_\{v\}\],E\_\{w\}\\right\\rangle\+\\left\\langle E\_\{v\},\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\-E\_\{w\}\]\\right\\rangle\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle=𝔼x​\[⟨vθ,x−Ev,wθ,x−Ew⟩\]\+⟨0,Ew⟩\+⟨Ew,0⟩\+⟨Ev,Ew⟩\\displaystyle=\\mathbb\{E\}\_\{x\}\[\\left\\langle v\_\{\\theta,x\}\-E\_\{v\},w\_\{\\theta,x\}\-E\_\{w\}\\right\\rangle\]\+\\left\\langle 0,E\_\{w\}\\right\\rangle\+\\left\\langle E\_\{w\},0\\right\\rangle\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle=𝔼x​\[⟨vθ,x−Ev,wθ,x−Ew⟩\]\+⟨Ev,Ew⟩\\displaystyle=\\mathbb\{E\}\_\{x\}\[\\left\\langle v\_\{\\theta,x\}\-E\_\{v\},w\_\{\\theta,x\}\-E\_\{w\}\\right\\rangle\]\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle≤𝔼x​\[‖vθ,x−Ev‖22\]​𝔼x​\[‖wθ,x−Ew‖22\]\+⟨Ev,Ew⟩,by Cauchy\-Schwarz inequality,\\displaystyle\\leq\\sqrt\{\\mathbb\{E\}\_\{x\}\[\\\|v\_\{\\theta,x\}\-E\_\{v\}\\\|^\{2\}\_\{2\}\]\}\\sqrt\{\\mathbb\{E\}\_\{x\}\[\\\|w\_\{\\theta,x\}\-E\_\{w\}\\\|^\{2\}\_\{2\}\]\}\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle,\\quad\\text\{by Cauchy\-Schwarz inequality,\}=Varx​\[vθ,x\]​Varx​\[wθ,x\]\+⟨Ev,Ew⟩\\displaystyle=\\sqrt\{\\text\{Var\}\_\{x\}\[v\_\{\\theta,x\}\]\}\\sqrt\{\\text\{Var\}\_\{x\}\[w\_\{\\theta,x\}\]\}\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle≤max​\(Varx​\[vθ,x\],Varx​\[wθ,x\]\)2\+⟨Ev,Ew⟩\\displaystyle\\leq\\text\{max\}\\left\(\\sqrt\{\\text\{Var\}\_\{x\}\[v\_\{\\theta,x\}\]\},\\sqrt\{\\text\{Var\}\_\{x\}\[w\_\{\\theta,x\}\]\}\\right\)^\{2\}\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle≤δv​a​r​‖𝔼x​\[hθ,x\]‖22\+⟨Ev,Ew⟩,by Assumption[7](https://arxiv.org/html/2607.20674#Thmthm7)\.\\displaystyle\\leq\\delta\_\{var\}\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\}\+\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle,\\quad\\text\{\{ by Assumption~\\ref\{assumption:expectation\_integrand\_inner\_product\}\}\.\}\(87\)
Rearranging \([87](https://arxiv.org/html/2607.20674#A5.E87)\), we have

⟨𝔼x​\[vθ,x\],𝔼x​\[wθ,x\]⟩\\displaystyle\\left\\langle\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\],\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\]\\right\\rangle=⟨Ev,Ew⟩\\displaystyle=\\left\\langle E\_\{v\},E\_\{w\}\\right\\rangle≥𝔼x​\[⟨vθ,x,wθ,x⟩\]−δv​a​r​‖𝔼x​\[hθ,x\]‖22\\displaystyle\\geq\\mathbb\{E\}\_\{x\}\\left\[\\left\\langle v\_\{\\theta,x\},w\_\{\\theta,x\}\\right\\rangle\\right\]\-\\delta\_\{var\}\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\}≥ρθ−‖Ξθ‖21−γ​‖𝔼x​\[hθ,x\]‖22−δv​a​r​‖𝔼x​\[hθ,x\]‖22,by \([86](https://arxiv.org/html/2607.20674#A5.E86)\),\\displaystyle\\geq\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\\;\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\}\-\\delta\_\{var\}\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\},\\quad\\text\{by \\eqref\{eq:expect\_lower\},\}=\(ρθ−‖Ξθ‖21−γ−δv​a​r\)​‖𝔼x​\[hθ,x\]‖22\\displaystyle=\\left\(\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\-\\delta\_\{var\}\\right\)\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}^\{2\}=δv,θ2≥0,\\displaystyle=\\delta\_\{v,\\theta\}^\{2\}\\geq 0,where in the second last step, we substituted thatδv,θ:=ρθ−‖Ξθ‖21−γ−δv​a​r​‖𝔼x​\[hθ,x\]‖2\\delta\_\{v,\\theta\}:=\\sqrt\{\\frac\{\\rho\_\{\\theta\}\-\\left\\lVert\\Xi\_\{\\theta\}\\right\\rVert\_\{2\}\}\{1\-\\gamma\}\-\\delta\_\{var\}\}\\left\\lVert\\mathbb\{E\}\_\{x\}\\left\[h\_\{\\theta,x\}\\right\]\\right\\rVert\_\{2\}from Assumption[8](https://arxiv.org/html/2607.20674#Thmthm8)\. ∎

### Proof of Theorem[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)

###### Proof\.

By Assumptions[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[3](https://arxiv.org/html/2607.20674#Sx3.I2.i3)and[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[4](https://arxiv.org/html/2607.20674#Sx3.I2.i4)and\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Theorem 2\.7\.2\), fix anyξ∈∂θC𝔼x​\[Jx​\(θ\)\]\\xi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\], there exists a correspondingξx,t\\xi\_\{x,t\}and measurable selectionvθ,x​\(t\)∈∂θCJx,t​\(θ\)v\_\{\\theta,x\}\(t\)\\in\\partial^\{C\}\_\{\\theta\}J\_\{x,t\}\(\\theta\)satisfyingξx,t=vθ,x​\(t\)\\xi\_\{x,t\}=v\_\{\\theta,x\}\(t\)forxxandttalmost everywhere, such thatξ=𝔼x​\[∫0Tξx,t​𝑑t\]\\xi=\\mathbb\{E\}\_\{x\}\\left\[\\int\_\{0\}^\{T\}\\xi\_\{x,t\}dt\\right\]\. LetCv:=1T​∫0Tvθ,x​\(t\)​𝑑t=1T​∫0Tξx,t​𝑑tC\_\{v\}:=\\frac\{1\}\{T\}\\int\_\{0\}^\{T\}v\_\{\\theta,x\}\(t\)dt=\\frac\{1\}\{T\}\\int\_\{0\}^\{T\}\\xi\_\{x,t\}dtandCw:=1T​∫0Twθ,x​\(t\)​𝑑tC\_\{w\}:=\\frac\{1\}\{T\}\\int\_\{0\}^\{T\}w\_\{\\theta,x\}\(t\)dt, we have

∫0T𝔼x​\[ξx,t\]⊤​𝔼x​\[wθ,x​\(t\)\]​𝑑t\\displaystyle\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\]dt=∫0T𝔼x​\[ξx,t−Cv\+Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\+Cw\]​𝑑t\\displaystyle=\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\+C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\+C\_\{w\}\]dt=∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]​𝑑t\\displaystyle=\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]dt\+∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[Cw\]​𝑑t\\displaystyle\+\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]dt\+∫0T𝔼x​\[Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]​𝑑t\+T​𝔼x​\[Cv\]⊤​𝔼x​\[Cw\]\\displaystyle\+\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]dt\+T\\mathbb\{E\}\_\{x\}\[C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]=∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]​𝑑t\+∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[Cw\]​𝑑t\+∫0T𝔼x​\[Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]​𝑑t\+1T​⟨ξ,𝔼x​\[dxJ​F​B​\(θ\)\]⟩\.\\displaystyle\\begin\{split\}&=\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]dt\\\\ &\+\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]dt\\\\ &\+\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]dt\+\\frac\{1\}\{T\}\\langle\\xi,\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]\\rangle\.\\end\{split\}\(88\)
Here, we evaluate the second term of \(LABEL:eq:expect\_int\_vw\) as

∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[Cw\]​𝑑t\\displaystyle\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]dt=𝔼x​\[Cw\]⊤​\(∫0T𝔼x​\[ξx,t−Cv\]​𝑑t\)\\displaystyle=\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]^\{\\top\}\\left\(\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]dt\\right\)=𝔼x​\[Cw\]⊤​𝔼x​\[∫0Tξx,t−Cv​d​t\]\\displaystyle=\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\\left\[\\int\_\{0\}^\{T\}\\xi\_\{x,t\}\-C\_\{v\}dt\\right\]=𝔼x​\[Cw\]⊤​𝔼x​\[0\]\\displaystyle=\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\\left\[0\\right\]=0,\\displaystyle=0,where in the first step, we used the independence of𝔼x​\[Cw\]\\mathbb\{E\}\_\{x\}\[C\_\{w\}\]ontt\. And in the second step, we used Fubini’s Theorem, becauseξx,t\\xi\_\{x,t\}is integrable on\[0,T\]×Ω\[0,T\]\\times\\Omega\. And in the third step, we used∫0T\(ξx,t−Cv\)​𝑑t=0\\int\_\{0\}^\{T\}\(\\xi\_\{x,t\}\-C\_\{v\}\)dt=0\.

The same arguments yield

∫0T𝔼x​\[Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]​𝑑t=0\.\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]dt=0\.Thus, the second and third terms of \(LABEL:eq:expect\_int\_vw\) are zero, and \(LABEL:eq:expect\_int\_vw\) becomes

∫0T𝔼x​\[ξx,t\]⊤​𝔼x​\[wθ,x​\(t\)\]​𝑑t\\displaystyle\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\]dt=∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]​𝑑t\+1T​⟨ξ,𝔼x​\[dxJ​F​B​\(θ\)\]⟩\.\\displaystyle=\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]dt\+\\frac\{1\}\{T\}\\langle\\xi,\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]\\rangle\.
Rearranging yields

1T​⟨ξ,𝔼x​\[dxJ​F​B​\(θ\)\]⟩=∫0T𝔼x​\[ξx,t\]⊤​𝔼x​\[wθ,x​\(t\)\]​𝑑t−∫0T𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]⏟\(I\)​𝑑t\.\\displaystyle\\begin\{split\}&\\frac\{1\}\{T\}\\langle\\xi,\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]\\rangle\\\\ &=\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\]dt\-\\int\_\{0\}^\{T\}\\underbrace\{\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]\}\_\{\(\\text\{I\}\)\}dt\.\\end\{split\}\(89\)We evaluate the integrand \(I\) as follows

𝔼x​\[ξx,t−Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\]\\displaystyle\\mathbb\{E\}\_\{x\}\[\\xi\_\{x,t\}\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\]=𝔼x​\[vθ,x​\(t\)−Cv\]⊤​𝔼x​\[wθ,x​\(t\)−Cw\],for a\.e\.t,\\displaystyle=\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\(t\)\-C\_\{v\}\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\-C\_\{w\}\],\\quad\\text\{for a\.e\. $t$,\}\(90\)≤‖𝔼x​\[vθ,x−Cv\]‖2​‖𝔼x​\[wθ,x−Cw\]‖2\\displaystyle\\leq\\\|\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\-C\_\{v\}\]\\\|\_\{2\}\\\|\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\-C\_\{w\}\]\\\|\_\{2\}≤\(av\+δv​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖2\)​\(aw\+δw​‖𝔼x​\[dxJ​F​B\]‖2\)\\displaystyle\\leq\(a\_\{v\}\+\\delta\_\{v\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}\)\(a\_\{w\}\+\\delta\_\{w\}\\left\\\|\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\]\\right\\\|\_\{2\}\)≤max\(av\+δvinfϕ∈∂θC𝔼x​\[Jx​\(θ\)\]∥ϕ∥2,aw\+δw∥𝔼x\[dxJ​F​B\]∥2\)2\\displaystyle\\leq\\max\(a\_\{v\}\+\\delta\_\{v\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\},a\_\{w\}\+\\delta\_\{w\}\\left\\\|\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\]\\right\\\|\_\{2\}\)^\{2\}≤δv,θ2−ϵvT2​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22,\\displaystyle\\leq\\delta\_\{v,\\theta\}^\{2\}\-\\frac\{\\epsilon\_\{v\}\}\{T^\{2\}\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\},\(91\)for almost everywherett, where in the second step, we used Cauchy\-Schwarz inequality\. And in the subsequent steps, we used Assumption[8](https://arxiv.org/html/2607.20674#Thmthm8)\.

Substituting \([91](https://arxiv.org/html/2607.20674#A5.E91)\) into \(LABEL:eq:inner\_expectation\) yields

1T​⟨ξ,𝔼x​\[dxJ​F​B​\(θ\)\]⟩\\displaystyle\\frac\{1\}\{T\}\\langle\\xi,\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]\\rangle≥∫0T𝔼x​\[vθ,x​\(t\)\]⊤​𝔼x​\[wθ,x​\(t\)\]​𝑑t−∫0T\(δv,θ2−ϵvT2​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22\)​𝑑t\\displaystyle\\geq\\int\_\{0\}^\{T\}\\mathbb\{E\}\_\{x\}\[v\_\{\\theta,x\}\(t\)\]^\{\\top\}\\mathbb\{E\}\_\{x\}\[w\_\{\\theta,x\}\(t\)\]dt\-\\int\_\{0\}^\{T\}\\left\(\\delta\_\{v,\\theta\}^\{2\}\-\\frac\{\\epsilon\_\{v\}\}\{T^\{2\}\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}\\right\)dt≥∫0Tδv,θ2​𝑑t−∫0T\(δv,θ2−ϵvT2​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22\)​𝑑t,by \([26](https://arxiv.org/html/2607.20674#Sx3.E26)\) of Lemma[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3),\\displaystyle\\geq\\int\_\{0\}^\{T\}\\delta\_\{v,\\theta\}^\{2\}dt\-\\int\_\{0\}^\{T\}\\left\(\\delta\_\{v,\\theta\}^\{2\}\-\\frac\{\\epsilon\_\{v\}\}\{T^\{2\}\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}\\right\)dt,\\quad\\text\{by \\eqref\{eq:expect\_descent\} of Lemma~\\ref\{lemma:expected\_inner\_product\},\}=ϵvT2​∫0Tinfϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22​d​t\\displaystyle=\\frac\{\\epsilon\_\{v\}\}\{T^\{2\}\}\\int\_\{0\}^\{T\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}dt=ϵvT​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22\.\\displaystyle=\\frac\{\\epsilon\_\{v\}\}\{T\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}\.
MultiplyingTTto both sides, we obtain

⟨ξ,𝔼x​\[dxJ​F​B​\(θ\)\]⟩≥ϵv​infϕ∈∂θC𝔼x​\[Jx​\(θ\)\]‖ϕ‖22,\\displaystyle\\langle\\xi,\\mathbb\{E\}\_\{x\}\[d\_\{x\}^\{JFB\}\(\\theta\)\]\\rangle\\geq\\epsilon\_\{v\}\\inf\_\{\\phi\\in\\partial^\{C\}\_\{\\theta\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\},which holds for everyξ∈∂θC𝔼x​\[Jx​\(θ\)\]\\xi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\. ∎

## Appendix FProof of Convergence

### Proof of Theorem[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)

###### Proof\.

Step 1 \(MVT\):LetF​\(θ\):=𝔼x​\[Jx​\(θ\)\]F\(\\theta\):=\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\)\]\. By the Lebourg’s mean\-value theorem\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Theorem 2\.3\.7\), we have

F​\(θ​\(τ\+Δ​τ\)\)−F​\(θ​\(τ\)\)=⟨ξ^​\(Δ​τ\),θ​\(τ\+Δ​τ\)−θ​\(τ\)⟩,F\(\\theta\(\\tau\+\\Delta\\tau\)\)\-F\(\\theta\(\\tau\)\)=\\left\\langle\\hat\{\\xi\}\(\\Delta\\tau\),\\theta\(\\tau\+\\Delta\\tau\)\-\\theta\(\\tau\)\\right\\rangle,\(92\)for someξ^​\(Δ​τ\)∈∂θC𝔼x​\[Jx​\(θ^\)\]\\hat\{\\xi\}\(\\Delta\\tau\)\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\hat\{\\theta\}\)\], whereθ^\\hat\{\\theta\}is on the line segment betweenθ​\(τ\+Δ​τ\)\\theta\(\\tau\+\\Delta\\tau\)andθ​\(τ\)\\theta\(\\tau\)\.

Step 2 \(Upper Right Dini Derivative\):From Assumption[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[2](https://arxiv.org/html/2607.20674#Sx3.I2.i2),dxJFB​\(θ\)\{d^\{\\mathrm\{JFB\}\}\_\{x\}\(\\theta\)\}is uniformly bounded overxxandθ\\theta\. This implies that𝔼x​\[dxJ​F​B​\(θ\)\]\\mathbb\{E\}\_\{x\}\\left\[d\_\{x\}^\{JFB\}\(\\theta\)\\right\]is uniformly bounded for allθ\\theta\. By \([28](https://arxiv.org/html/2607.20674#Sx3.E28)\) and the uniform boundedness of𝔼x​\[dxJ​F​B​\(θ\)\]\\mathbb\{E\}\_\{x\}\\left\[d\_\{x\}^\{JFB\}\(\\theta\)\\right\],θ​\(τ\)\\theta\(\\tau\)is Lipschitz continuous\. Thus, by the Lipschitz continuity ofθ​\(τ\)\\theta\(\\tau\)and ofFFinθ\\theta\(Assumption[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[1](https://arxiv.org/html/2607.20674#Sx3.I2.i1)\), the upper right Dini derivative

D\+​F​\(θ​\(τ\)\):=lim supΔ​τ→0\+F​\(θ​\(τ\+Δ​τ\)\)−F​\(θ​\(τ\)\)Δ​τD^\{\+\}F\(\\theta\(\\tau\)\):=\\limsup\_\{\\Delta\\tau\\to 0^\{\+\}\}\\frac\{F\(\\theta\(\\tau\+\\Delta\\tau\)\)\-F\(\\theta\(\\tau\)\)\}\{\\Delta\\tau\}\(93\)exists and is finite\.

Combining \([92](https://arxiv.org/html/2607.20674#A6.E92)\) and \([93](https://arxiv.org/html/2607.20674#A6.E93)\), we have

D\+​F​\(θ​\(τ\)\)\\displaystyle D^\{\+\}F\(\\theta\(\\tau\)\)=lim supΔ​τ→0\+F​\(θ​\(τ\+Δ​τ\)\)−F​\(θ​\(τ\)\)Δ​τ\\displaystyle=\\limsup\_\{\\Delta\\tau\\to 0^\{\+\}\}\\frac\{F\(\\theta\(\\tau\+\\Delta\\tau\)\)\-F\(\\theta\(\\tau\)\)\}\{\\Delta\\tau\}\(94\)=lim supΔ​τ→0\+⟨ξ^​\(Δ​τ\),θ​\(τ\+Δ​τ\)−θ​\(τ\)Δ​τ⟩\.\\displaystyle=\\limsup\_\{\\Delta\\tau\\to 0^\{\+\}\}\\left\\langle\\hat\{\\xi\}\(\\Delta\\tau\),\\frac\{\\theta\(\\tau\+\\Delta\\tau\)\-\\theta\(\\tau\)\}\{\\Delta\\tau\}\\right\\rangle\.\(95\)Moreover, by the sequential characterization of limit supremum, there exists a sequence\{hi\}i=0∞\\\{h\_\{i\}\\\}\_\{i=0\}^\{\\infty\}such thathi→0\+h\_\{i\}\\to 0^\{\+\}asi→∞i\\to\\infty, and

D\+​F​\(θ​\(τ\)\)=limi→∞⟨ξ^​\(hi\),θ​\(τ\+hi\)−θ​\(τ\)hi⟩\.D^\{\+\}F\(\\theta\(\\tau\)\)=\\lim\_\{i\\to\\infty\}\\left\\langle\\hat\{\\xi\}\(h\_\{i\}\),\\frac\{\\theta\(\\tau\+h\_\{i\}\)\-\\theta\(\\tau\)\}\{h\_\{i\}\}\\right\\rangle\.\(96\)
SinceFFis Lipschitz continuous inθ\\theta\(Assumption[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[1](https://arxiv.org/html/2607.20674#Sx3.I2.i1)\),ξ^\\hat\{\\xi\}is bounded\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Proposition 2\.1\.2\(a\)\)\. By the Bolzano\-Weierstrass theorem\(Bartle and Sherbert[2000](https://arxiv.org/html/2607.20674#bib.bib20), Theorem 3\.4\.8\), there exists a subsequence\{hik\}k=0∞\\\{h\_\{i\_\{k\}\}\\\}\_\{k=0\}^\{\\infty\}of\{hi\}i=0∞\\\{h\_\{i\}\\\}\_\{i=0\}^\{\\infty\}such thatlimk→∞ξ^​\(hik\)\\lim\\limits\_\{k\\to\\infty\}\\hat\{\\xi\}\(h\_\{i\_\{k\}\}\)converges\. Thus, by\(Bartle and Sherbert[2000](https://arxiv.org/html/2607.20674#bib.bib20), Theorem 3\.4\.2\), \([96](https://arxiv.org/html/2607.20674#A6.E96)\) can be rewritten as

D\+​F​\(θ​\(τ\)\)=limk→∞⟨ξ^​\(hik\),θ​\(τ\+hik\)−θ​\(τ\)hik⟩\.D^\{\+\}F\(\\theta\(\\tau\)\)=\\lim\_\{k\\to\\infty\}\\left\\langle\\hat\{\\xi\}\(h\_\{i\_\{k\}\}\),\\frac\{\\theta\(\\tau\+h\_\{i\_\{k\}\}\)\-\\theta\(\\tau\)\}\{h\_\{i\_\{k\}\}\}\\right\\rangle\.\(97\)
We evaluate the limits of the two functions inside the inner product\. On one hand, letξ:=limk→∞ξ^​\(hik\)\\xi:=\\lim\\limits\_\{k\\to\\infty\}\\hat\{\\xi\}\(h\_\{i\_\{k\}\}\)\. Sinceξ^​\(hik\)∈∂θC𝔼x​\[Jx​\(θ^ik\)\]\\hat\{\\xi\}\(h\_\{i\_\{k\}\}\)\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\hat\{\\theta\}\_\{i\_\{k\}\}\)\], whereθ^ik\\hat\{\\theta\}\_\{i\_\{k\}\}is on the line segment betweenθ​\(τ\)\\theta\(\\tau\)andθ​\(τ\+hik\)\\theta\(\\tau\+h\_\{i\_\{k\}\}\), andlimk→∞θ^ik=θ​\(τ\)\\lim\\limits\_\{k\\to\\infty\}\\hat\{\\theta\}\_\{i\_\{k\}\}=\\theta\(\\tau\), by\(Clarke[1990](https://arxiv.org/html/2607.20674#bib.bib13), Theorem 2\.1\.5\(b\)\),

ξ∈∂θC𝔼x​\[Jx​\(θ​\(τ\)\)\]\.\\xi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\tau\)\)\]\.\(98\)On the other hand, By \([28](https://arxiv.org/html/2607.20674#Sx3.E28)\),

limk→∞θ​\(τ\+hik\)−θ​\(τ\)hik=d​θ​\(τ\)d​τ=−𝔼x​\[dxJ​F​B​\(θ​\(τ\)\)\]\.\\displaystyle\\lim\_\{k\\to\\infty\}\{\\frac\{\\theta\(\\tau\+h\_\{i\_\{k\}\}\)\-\\theta\(\\tau\)\}\{h\_\{i\_\{k\}\}\}\}=\\frac\{d\\theta\(\\tau\)\}\{d\\tau\}=\-\\mathbb\{E\}\_\{x\}\\left\[d\_\{x\}^\{JFB\}\(\\theta\(\\tau\)\)\\right\]\.\(99\)
Step 3 \(A\.E\. Decreasing Objective\):Thus, we can continue to evaluate \([97](https://arxiv.org/html/2607.20674#A6.E97)\) as follows

D\+​F​\(θ​\(τ\)\)\\displaystyle D^\{\+\}F\(\\theta\(\\tau\)\)=limk→∞⟨ξ^​\(hik\),θ​\(τ\+hik\)−θ​\(τ\)hik⟩\\displaystyle=\\lim\_\{k\\to\\infty\}\\left\\langle\\hat\{\\xi\}\(h\_\{i\_\{k\}\}\),\\frac\{\\theta\(\\tau\+h\_\{i\_\{k\}\}\)\-\\theta\(\\tau\)\}\{h\_\{i\_\{k\}\}\}\\right\\rangle=⟨limk→∞ξ^​\(hik\),limk→∞θ​\(τ\+hik\)−θ​\(τ\)hik⟩,by continuity of inner product,\\displaystyle=\\left\\langle\\lim\_\{k\\to\\infty\}\\hat\{\\xi\}\(h\_\{i\_\{k\}\}\),\\lim\_\{k\\to\\infty\}\\frac\{\\theta\(\\tau\+h\_\{i\_\{k\}\}\)\-\\theta\(\\tau\)\}\{h\_\{i\_\{k\}\}\}\\right\\rangle,\\quad\\text\{by continuity of inner product,\}=⟨ξ,−𝔼x​\[dxJ​F​B​\(θ​\(τ\)\)\]⟩,by \([98](https://arxiv.org/html/2607.20674#A6.E98)\) and \([99](https://arxiv.org/html/2607.20674#A6.E99)\),\\displaystyle=\\left\\langle\\xi,\-\\mathbb\{E\}\_\{x\}\\left\[d\_\{x\}^\{JFB\}\(\\theta\(\\tau\)\)\\right\]\\right\\rangle,\\quad\\text\{by \\eqref\{eq:k\_lim\_xi\} and \\eqref\{eq:k\_lim\_theta\},\}≤−ϵv⋅infϕ∈∂θC𝔼x​\[Jx​\(θ​\(τ\)\)\]‖ϕ‖22,by Theorem[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)\.\\displaystyle\\leq\-\\epsilon\_\{v\}\\cdot\\inf\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\tau\)\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\},\\quad\\text\{\{by Theorem~\\ref\{thm:expect\_suff\_descent\}\}\}\.\(100\)
This implies a sufficient decrease in the objective function in terms of the upper\-right Dini derivative\.

Step 4 \(A\.E\. Differentiability\):By Assumption[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[1](https://arxiv.org/html/2607.20674#Sx3.I2.i1),F​\(θ\)F\(\\theta\)is Lipschitz continuous with respect toθ\\theta\. Moreover, by \([28](https://arxiv.org/html/2607.20674#Sx3.E28)\),θ​\(τ\)=−∫0τ𝔼x​\[dxJ​F​B​\(θ​\(σ\)\)\]​𝑑σ\\theta\(\\tau\)=\-\\int\_\{0\}^\{\\tau\}\\mathbb\{E\}\_\{x\}\\left\[d\_\{x\}^\{JFB\}\(\\theta\(\\sigma\)\)\\right\]d\\sigmais given by an indefinite integral, and thus it is absolutely continuous\(Royden[1988](https://arxiv.org/html/2607.20674#bib.bib19), Theorem 5\.4\.14\)\.

Hence,F​\(θ​\(τ\)\)F\(\\theta\(\\tau\)\)is absolutely continuous on every compact subinterval of\[0,∞\)\[0,\\infty\)\(Royden[1988](https://arxiv.org/html/2607.20674#bib.bib19), Exercise 17&20\)\. This implies thatF​\(θ​\(τ\)\)F\(\\theta\(\\tau\)\)is differentiable almost everywhere on every subinterval\[n,n\+1\]\[n,n\+1\]and thus\[n,n\+1\)\[n,n\+1\)for alln∈ℕn\\in\\mathbb\{N\}\(Royden[1988](https://arxiv.org/html/2607.20674#bib.bib19), Corollary 5\.4\.12\)\. In other words, the subset of\[n,n\+1\)\[n,n\+1\)on whichF​\(θ​\(τ\)\)F\(\\theta\(\\tau\)\)is nondifferentiable has Lebesgue measure zero\.

Since\[0,∞\)=∪n∈ℕ\[n,n\+1\)\[0,\\infty\)=\\cup\_\{n\\in\\mathbb\{N\}\}\[n,n\+1\), by the countable additivity of Lebesgue measure\(Royden[1988](https://arxiv.org/html/2607.20674#bib.bib19), Chapter 1\), the subset of\[0,∞\)\[0,\\infty\)on whichF​\(θ​\(τ\)\)F\(\\theta\(\\tau\)\)is nondifferentiable also has Lebesgue measure zero\. This meansF​\(θ​\(τ\)\)F\(\\theta\(\\tau\)\)is differentiable almost everywhere\.

Step 5 \(Convergence\):WhenF​\(θ​\(τ\)\)F\(\\theta\(\\tau\)\)is differentiable, its derivative coincides with the Dini derivativeD\+​F​\(θ​\(τ\)\)D^\{\+\}F\(\\theta\(\\tau\)\)\(Royden[1988](https://arxiv.org/html/2607.20674#bib.bib19), Chapter 1\)\. Thus, by\(Royden[1988](https://arxiv.org/html/2607.20674#bib.bib19), Corollary 5\.4\.15\), for anyτ\>0\\tau\>0,

F​\(θ​\(τ\)\)−F​\(θ​\(0\)\)\\displaystyle F\(\\theta\(\\tau\)\)\-F\(\\theta\(0\)\)=∫0τD\+​F​\(θ​\(σ\)\)​𝑑σ\\displaystyle=\\int\_\{0\}^\{\\tau\}D^\{\+\}F\(\\theta\(\\sigma\)\)d\\sigma≤∫0τ−ϵv⋅infϕ∈∂θC𝔼x​\[Jx​\(θ​\(σ\)\)\]‖ϕ‖22​d​σ,by \([100](https://arxiv.org/html/2607.20674#A6.E100)\),\\displaystyle\\leq\\int^\{\\tau\}\_\{0\}\-\\epsilon\_\{v\}\\cdot\\inf\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\sigma\)\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}d\\sigma,\\quad\\text\{by \\eqref\{eq:Dini\_suff\_descent\},\}=−ϵv​∫0τinfϕ∈∂θC𝔼x​\[Jx​\(θ​\(σ\)\)\]‖ϕ‖22​d​σ\.\\displaystyle=\-\\epsilon\_\{v\}\\int^\{\\tau\}\_\{0\}\\inf\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\sigma\)\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}d\\sigma\.
We remark thatϵv\>0\\epsilon\_\{v\}\>0andinfϕ∈∂θC𝔼x​\[Jx​\(θ​\(τ\)\)\]‖ϕ‖22≥0\\inf\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\tau\)\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}\\geq 0\. Moreover,FFis bounded from below \(Assumption[5](https://arxiv.org/html/2607.20674#Thmthm5)\.[1](https://arxiv.org/html/2607.20674#Sx3.I2.i1)\), thuslimτ→∞∫0τinfϕ∈∂θC𝔼x​\[Jx​\(θ​\(σ\)\)\]‖ϕ‖22​d​σ<∞\\lim\\limits\_\{\\tau\\to\\infty\}\\int^\{\\tau\}\_\{0\}\\inf\\limits\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\sigma\)\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}^\{2\}d\\sigma<\\infty\. This implieslim infτ→∞infϕ∈∂θC𝔼x​\[Jx​\(θ​\(τ\)\)\]‖ϕ‖2=0\\liminf\\limits\_\{\\tau\\to\\infty\}\\inf\\limits\_\{\\phi\\in\\partial\_\{\\theta\}^\{C\}\\mathbb\{E\}\_\{x\}\[J\_\{x\}\(\\theta\(\\tau\)\)\]\}\\left\\lVert\\phi\\right\\rVert\_\{2\}=0\.

∎

Remark\.The convergence result is established under continuous\-time gradient flow rather than discrete gradient descent\. The primary technical obstacle is the nonsmoothness introduced by the projection operator, which renders the standard Taylor\-expansion arguments underlying most gradient descent convergence analyses inapplicable\. Instead, our proof relies on a novel analysis of Clarke subgradients in a neighborhood of the gradient\-flow trajectory, allowing us to establish monotonic descent despite the set\-valued nature of the generalized Jacobian\. To the best of our knowledge, this constitutes the first convergence analysis for end\-to\-end policy learning with embedded nonsmooth CBF projection layers\.

![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/descent_direction.png)\(a\)Descent direction verification
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/gradient_time_regularity.png)\(b\)Gradient regularity along trajectories

Figure 4:Numerical verification of the theoretical results and key assumptions\.Left:gradient alignment results between JFB and AD during training, while the alignment signal varies during training, we notice it remains positive during the run, indicating descent direction and serves as a direct verification of Theorem[Convergence Results](https://arxiv.org/html/2607.20674#Sx3.SSx3)\.Right:Gradient regularity results along trajectories, here we establish numerical support for Assumption[8](https://arxiv.org/html/2607.20674#Thmthm8), the time average of the gradients for both JFB and AD remain bounded during training, hence supporting the validity of the assumption\.

## Appendix GDetails on Numerical Experiments

In this section we provide additional details on the experiment setup to ensure reader understanding and reproducibility\. Source code for reproducing the results will be released upon publication of the work\.

### Dynamics and Optimal Control Objectives

We first present necessary details on the dynamics models used for the work, as well as the control objectives that define each corresponding example\. In total we consider three different dynamics models, namely

- •Single Integrator Dynamics:The state evolves according to dd​t​z​\(t\)=u​\(t\),\\frac\{d\}\{dt\}z\(t\)=u\(t\),wherez​\(t\)∈ℝ3z\(t\)\\in\\mathbb\{R\}^\{3\}denotes the state andu​\(t\)∈ℝ3u\(t\)\\in\\mathbb\{R\}^\{3\}is the control input, which directly specifies the velocity of the system over a finite time horizon\.
- •Double Integrator Dynamics:The state evolves according to d2d​t2​z​\(t\)=u​\(t\),\\frac\{d^\{2\}\}\{dt^\{2\}\}z\(t\)=u\(t\),or equivalently in first\-order form, dd​t​\[z​\(t\)v​\(t\)\]=\[v​\(t\)u​\(t\)\],\\frac\{d\}\{dt\}\\begin\{bmatrix\}z\(t\)\\\\ v\(t\)\\end\{bmatrix\}=\\begin\{bmatrix\}v\(t\)\\\\ u\(t\)\\end\{bmatrix\},wherez​\(t\)∈ℝ2z\(t\)\\in\\mathbb\{R\}^\{2\}denotes the position,v​\(t\)=dd​t​z​\(t\)∈ℝ2v\(t\)=\\displaystyle\\frac\{d\}\{dt\}z\(t\)\\in\\mathbb\{R\}^\{2\}the velocity, andu​\(t\)∈ℝ2u\(t\)\\in\\mathbb\{R\}^\{2\}the control input representing acceleration\.
- •Quadcopter Dynamics:We consider the following quadcopter dynamics also used in\(Onkenet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib71); Liet al\.[2025](https://arxiv.org/html/2607.20674#bib.bib14)\)with1212\-dimensional state with dynamics functionffdefined as f​\(t,z\)=\[z7z8z9z10z11z1200−g¯000\],f\(t,z\)=\\begin\{bmatrix\}z\_\{7\}\\\\ z\_\{8\}\\\\ z\_\{9\}\\\\ z\_\{10\}\\\\ z\_\{11\}\\\\ z\_\{12\}\\\\ 0\\\\ 0\\\\ \-\\bar\{g\}\\\\ 0\\\\ 0\\\\ 0\\end\{bmatrix\},and g​\(t,z\)=\[000000000000000000000000sin⁡\(z4\)​sin⁡\(z6\)\+cos⁡\(z4\)​sin⁡\(z5\)​cos⁡\(z6\)m¯000−cos⁡\(z4\)​sin⁡\(z6\)\+sin⁡\(z4\)​sin⁡\(z5\)​cos⁡\(z6\)m¯000cos⁡\(z5\)​cos⁡\(z6\)m¯000010000100001\]\.g\(t,z\)=\\begin\{bmatrix\}0&0&0&0\\\\ 0&0&0&0\\\\ 0&0&0&0\\\\ 0&0&0&0\\\\ 0&0&0&0\\\\ 0&0&0&0\\\\ \\displaystyle\\frac\{\\sin\(z\_\{4\}\)\\sin\(z\_\{6\}\)\+\\cos\(z\_\{4\}\)\\sin\(z\_\{5\}\)\\cos\(z\_\{6\}\)\}\{\\bar\{m\}\}&0&0&0\\\\ \\displaystyle\\frac\{\-\\cos\(z\_\{4\}\)\\sin\(z\_\{6\}\)\+\\sin\(z\_\{4\}\)\\sin\(z\_\{5\}\)\\cos\(z\_\{6\}\)\}\{\\bar\{m\}\}&0&0&0\\\\ \\displaystyle\\frac\{\\cos\(z\_\{5\}\)\\cos\(z\_\{6\}\)\}\{\\bar\{m\}\}&0&0&0\\\\ 0&1&0&0\\\\ 0&0&1&0\\\\ 0&0&0&1\\end\{bmatrix\}\.The controls for the problem areu=\[u1,u2,u3,u4\]⊤∈ℝ4u=\[u\_\{1\},u\_\{2\},u\_\{3\},u\_\{4\}\]^\{\\top\}\\in\\mathbb\{R\}^\{4\}\. We assume that both the massm¯\\bar\{m\}and gravityg¯\\bar\{g\}are given and remain fixed for all examples\. Notably, the quadcopter dynamics are nonlinear in the state; this, combined with the relatively high state dimension, adds to the complexity of the control problem\.

We consider multi\-agent control problems by treating the collection of all agent states as a single joint state\. Specifically, ifz\(i\)​\(t\)∈ℝnz^\{\(i\)\}\(t\)\\in\\mathbb\{R\}^\{n\}denotes the state of agentii, then for a total ofNNagents we define the joint state

z​\(t\)=\[z\(1\)​\(t\)z\(2\)​\(t\)⋮z\(N\)​\(t\)\]∈ℝN​n\.z\(t\)=\\begin\{bmatrix\}z^\{\(1\)\}\(t\)\\\\ z^\{\(2\)\}\(t\)\\\\ \\vdots\\\\ z^\{\(N\)\}\(t\)\\end\{bmatrix\}\\in\\mathbb\{R\}^\{Nn\}\.The joint controlu​\(t\)u\(t\)and the corresponding control\-affine dynamics are defined analogously through concatenation\. With this convention, the multi\-agent system is treated as a single high\-dimensional control system, and we continue to use the notationzzanduuthroughout for simplicity\. Although the dynamics are presented independently of the controller, the primary goal of our algorithm is to recover a centralized feedback policy acting on the joint state\.

Given an initial\-state distributionx∼ρx\\sim\\rhoand a desired target state

ztarget=\[ztarget\(1\)ztarget\(2\)⋮ztarget\(N\)\],z\_\{\\mathrm\{target\}\}=\\begin\{bmatrix\}z^\{\(1\)\}\_\{\\mathrm\{target\}\}\\\\ z^\{\(2\)\}\_\{\\mathrm\{target\}\}\\\\ \\vdots\\\\ z^\{\(N\)\}\_\{\\mathrm\{target\}\}\\end\{bmatrix\},we consider the quadratic running cost

L​\(t,z,u\)=12​‖u‖2\.L\(t,z,u\)=\\frac\{1\}\{2\}\\\|u\\\|^\{2\}\.For systems with explicit velocity states, such as the double integrator, we additionally penalize the velocity to encourage smooth trajectories,

L​\(t,z,u\)=12​‖u‖2\+12​‖v‖2\.L\(t,z,u\)=\\frac\{1\}\{2\}\\\|u\\\|^\{2\}\+\\frac\{1\}\{2\}\\\|v\\\|^\{2\}\.Similarly, the terminal cost is defined as

G​\(z​\(T\)\)=12​‖z​\(T\)−ztarget‖2\.G\(z\(T\)\)=\\frac\{1\}\{2\}\\\|z\(T\)\-z\_\{\\mathrm\{target\}\}\\\|^\{2\}\.These objective functions are standard choices in the optimal control literature\. For simplicity of presentation, we omit the weighting coefficients used in practice\. In our experiments, a larger terminal cost weight is typically employed to encourage convergence to the desired target states, with the specific values chosen according to each problem\.

### Implementation Details and Hyperparameters

We implement our proposed approach using PyTorch\(Paszkeet al\.[2019](https://arxiv.org/html/2607.20674#bib.bib77)\)\. For comparative study, we also use the CVXPY Layer library\(Agrawalet al\.[2019a](https://arxiv.org/html/2607.20674#bib.bib29)\)\. All experiments are conducted on the same system, which consists of a shared NVIDIA RTX 5090 GPU with VRAM capped at1616GB and an AMD Ryzen PRO 7975WX CPU\. Numerical results are seeded to ensure reproducibility\.

We use the Adam optimizer\(Kingma and Ba[2014](https://arxiv.org/html/2607.20674#bib.bib78)\)for all experiments with initial learning rate set at0\.0010\.001across the board\. For the DYS projection layer, we choose update step sizeζ=0\.5\\zeta=0\.5, maximum iteration number50005000and early stopping criteriatol=0\.005\\texttt\{tol\}=0\.005\. These settings are kept fixed for all experiments\. We considerT=10T=10andd​t=0\.2dt=0\.2for all experiments and use Runge–Kutta 4 \(RK4\)\(Butcher[2016](https://arxiv.org/html/2607.20674#bib.bib73)\)for time integration of the forward dynamics\. We note that this leads to5050time steps for each trajectory rollout, longer than most existing work that shares similar ideas\. Similarly, we fix the batch size at3232for all examples\. We parameterize the policy network using a ResNet\(Heet al\.[2016](https://arxiv.org/html/2607.20674#bib.bib80)\)\-based architecture as the main building block, as such architectures have been shown to be numerically stable over long\-horizon simulations and are commonly used in learning\-based control applications\. We list problem\-specific hyperparameters such as network size, weight decay strength, total number of training epochs in Table[3](https://arxiv.org/html/2607.20674#A7.T3)\.

As is the case in both learning and classical control applications\(Ameset al\.[2019](https://arxiv.org/html/2607.20674#bib.bib10); Liet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib79); Amos and Kolter[2017](https://arxiv.org/html/2607.20674#bib.bib1)\), incorporating a projection\-based safety filter in the loop leads to a more challenging optimization problem\. As such, to ensure stable training, we employ a continuation strategy on the terminal cost weight, initializing it at a relatively small value and progressively increasing it during training\. We find this approach useful for mitigating early optimization instability\. To ensure a fair comparison, the same setting is applied across all experiments on all methods compared\.

Problem \(\# of agents\)\# of epochs\# of network weightsWeight decayObstacle radiusSingle Integrator \(50\)50\)350035003545823545820\.0010\.0010\.5,0\.70\.5,0\.7Double Integrator \(11\)1000100025474254740\.00010\.00010\.30\.3Double Integrator \(66\)500050001039481039480\.0010\.0010\.350\.35Quadcopter \(55\)280028001095881095880\.0010\.0010\.350\.35Quadcopter \(3030\)450045001939121939120\.0010\.0010\.350\.35Quadcopter \(100100\)500050006044326044320\.0010\.0010\.350\.35Table 3:Problem\-specific hyperparameters for each numerical experiment\. Note that, to ensure a fair comparison, we use the same training configuration across different models for each example\.
### CVXPY Layers Baselines and Regularizing the QP

The CVXPY Layers baseline differentiates through the QP solution via the implicit function theorem \(IFT\) applied to the KKT conditions of the problem at optimality\(Agrawalet al\.[2019a](https://arxiv.org/html/2607.20674#bib.bib29)\)\. The standard hard CBF\-QP safety filter takes the form of \([5](https://arxiv.org/html/2607.20674#Sx2.E5)\) and \([6](https://arxiv.org/html/2607.20674#Sx2.E6)\), which we combine and restate here\.

u⋆=arg⁡minu⁡‖u−uθ‖2s\.t\.A​\(z\)​u≤b​\(z\),u^\{\\star\}=\\arg\\min\_\{u\}\\\|u\-u\_\{\\theta\}\\\|^\{2\}\\quad\\text\{s\.t\.\}\\quad A\(z\)u\\leq b\(z\),\(101\)whereA​\(z\)∈ℝc×mA\(z\)\\in\\mathbb\{R\}^\{c\\times m\}andb​\(z\)∈ℝcb\(z\)\\in\\mathbb\{R\}^\{c\}encode the stacked CBF constraints from[Davis–Yin Splitting and Jacobian\-Free Backpropagation](https://arxiv.org/html/2607.20674#Sx2.SSx2), andccis the total number of constraints across all agent\-obstacle pairs,uθu\_\{\\theta\}is the nominal output of the policy network\. At each step the QP is solved using CVXPY Layers with the Splitting Conic Solver \(SCS\)\(Diamond and Boyd[2016](https://arxiv.org/html/2607.20674#bib.bib58); Agrawalet al\.[2019b](https://arxiv.org/html/2607.20674#bib.bib57)\)and is differentiable with respect to the policy output\. Similar to the DYS, we use a uniform configuration of maximum iteration number10001000and early stopping criteriatol=0\.001\\texttt\{tol\}=0\.001across all experiments\.

We notice during training as the size of the problem increases, we repeatedly encounter infeasibility warnings and solver failures, especially on the quadcopter examples\. We also notice numerical instability that hinders performance of CVXPY Layers\-based models\.

To address this and ensure the comparison is as comprehensive as possible, we consider a modified problem by introducing a relaxation variableδi≥0\\delta\_\{i\}\\geq 0per constraint and regularizing the QP objective directly, a standard technique for restoring feasibility of CBF\-QPs\(Ameset al\.[2019](https://arxiv.org/html/2607.20674#bib.bib10); Xiaoet al\.[2022](https://arxiv.org/html/2607.20674#bib.bib87); Liuet al\.[2023a](https://arxiv.org/html/2607.20674#bib.bib88)\), yielding the regularized QP

u⋆=arg⁡minu,δ⁡‖u−uθ‖2\+λ​∑i=1cδis\.t\.Ai​\(z\)​u≤bi​\(z\)\+δi,δi≥0,u^\{\\star\}=\\arg\\min\_\{u,\\,\\delta\}\\;\\\|u\-u\_\{\\theta\}\\\|^\{2\}\+\\lambda\\sum\_\{i=1\}^\{c\}\\delta\_\{i\}\\quad\\text\{s\.t\.\}\\quad A\_\{i\}\(z\)u\\leq b\_\{i\}\(z\)\+\\delta\_\{i\},\\quad\\delta\_\{i\}\\geq 0,\(102\)with penalty termλ≫1\\lambda\\gg 1\. This formulation is always feasible:δi\\delta\_\{i\}absorbs any violation, and the large penalty drivesδ→0\\delta\\to 0whenever the hard constraint is satisfiable, recovering the behavior of \([101](https://arxiv.org/html/2607.20674#A7.E101)\) in safe regions\. The KKT system for IFT differentiation is therefore well\-defined everywhere, since the augmented problem always has a unique solution\. In our experiments, we setλ=10,000\\lambda=10,000throughout, While this alleviates some of the numerical instability, we note that the solution to the regularized problem is generally suboptimal with respect to the original control problem\. We also tested multiple learning rates ranging from0\.010\.01and1→,es10−51\\to,es10^\{\-5\}as well as a learning rate scheduler, to ensure that scaling and normalization were not the cause of the observed instability\.

Despite the regularization and our best effort in tuning the models, the CVXPYLayers baseline still struggles as problem dimensionality increases, as shown in Table[1](https://arxiv.org/html/2607.20674#Sx3.T1), Table[2](https://arxiv.org/html/2607.20674#Sx3.T2)and Figure[5](https://arxiv.org/html/2607.20674#A7.F5)\. In particular we notice blowup in quadcopter examples with3030and100100agents whether we regularize the QP or not\. We attribute this to ill\-conditioning of the KKT linear system during backpropagation\(Baiet al\.[2020](https://arxiv.org/html/2607.20674#bib.bib81),[2021](https://arxiv.org/html/2607.20674#bib.bib82)\), as inaccuracies in gradients get amplified when stacked through the whole trajectories\. Increasing the number of agents and constraints can further exacerbate the problem: forNNagents andccobstacles, the total constraint count grows at factor ofN⋅cN\\cdot c, and the KKT system scales accordingly\. In contrast, the JFB update avoids this linear system solve entirely, backpropagating only through the final DYS iteration and maintaining stable gradients regardless of problem scale, as confirmed by the time and memory results\.

### Training Time Comparisons

Having controllable training time is crucial for scaling any of these approaches to high\-dimensional problems\. We provide a comparative study across all methods on different examples\. The results are shown in Figure[5](https://arxiv.org/html/2607.20674#A7.F5)\. Note that, in all examples, DYS with JFB training has the lowest computation time per epoch\. This is due to the fact that we use inexact gradients for JFB training, which significantly reduces the cost of tracking deep computational graphs, especially in cases where QP projections are frequently active along the trajectories\.

The computation time of CVXPY Layers remains stable, yet high, when the method works, indicating an advantage of operator\-splitting methods in high\-dimensional problems: replacing the more expensive interior\-point method with much cheaper projections allows for more stable behavior even in large\-scale problems\. We do however, want to note that the convergence behavior of different methods can vary\. While our method provides a general framework for problems of arbitrary dimensionality and complexity, for smaller\-scale problems a CVXPY Layers\-based solver can often be sufficient in terms of both accuracy and speed\.

![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/double_integrator_time.png)\(a\)Double integrator 6
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/single_integrator_time.png)\(b\)Single integrator 30
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/quadcopter_time.png)\(c\)Quadcopter 30

Figure 5:Per epoch training time results compared across all tested method under three different dynamics models\. In all test cases DYS with JFB update yields the lowest per epoch time\. While automatic differentiation can usually work it incurs significant cost overhead\. Solver using CVXPY Layers does not converge for the quadcopter example\. We also note that, for DYS, the number of iterations varies depending on trajectory behavior\. As such, the per\-epoch training time can fluctuate, unlike that of CVXPY Layers; however, it typically decreases and stabilizes as training progresses\.ProblemBest Trained Model\(LL,GG\)Final Trained Model\(LL,GG\)Single Integrator\(50, 2\)\(5\.48±0\.185\.48\\pm 0\.18,0\.0107±0\.00500\.0107\\pm 0\.0050\)\(5\.49±0\.215\.49\\pm 0\.21,0\.0189±0\.01320\.0189\\pm 0\.0132\)Double Integrator\(6, 3\)\(90\.39±7\.8090\.39\\pm 7\.80,0\.2639±0\.12150\.2639\\pm 0\.1215\)\(90\.67±7\.4390\.67\\pm 7\.43,0\.4334±0\.24050\.4334\\pm 0\.2405\)Quadcopter\(30, 3\)\(170\.5±17\.76170\.5\\pm 17\.76,0\.3497±0\.25780\.3497\\pm 0\.2578\)\(174\.38±15\.81174\.38\\pm 15\.81,0\.3717±0\.28340\.3717\\pm 0\.2834\)Table 4:Statistical results in DYS\-JFB training under different dynamics using multiple seeds\. While we mainly use the final epoch results for the rest of the paper, we here also include results from best trained model logged during training to provide a more comprehensive view of the solver\. Variances are expected given the hard constraints nature of the problems, we do note that despite having different values, all models converge regardless of seeding under our proposed approach\. Similarly we display both running cost and terminal state error here\.
### Additional Numerical Results: A Case Study on Different CBF choices

While investigating different control barrier function formulations is not the primary focus of this work, we nonetheless conduct additional numerical experiments to verify that our proposed approach remains applicable and performs well across different CBF choices\. In particular, we focus on alternative CBF formulations for modeling rectangular obstacles\.

##### ppnorm\-based CBFs\.

A simple and widely used approach for modeling different obstacle shapes is to generalize the norm used in the CBF definition\. In particular, replacing the standard Euclidean norm with anppnorm yields the barrier function

h​\(x\)=‖x−c‖pp−rp,h\(x\)=\\\|x\-c\\\|\_\{p\}^\{p\}\-r^\{p\},whereccis the obstacle center andrrits size\. Asppincreases, the level sets ofhhbecome increasingly box\-like, providing a convenient way to approximate rectangular obstacles\. This formulation is smooth forp\>1p\>1, easy to differentiate, and requires only minimal modifications to the implementation, making it a practical first step for modeling different geometries\. However, it is important to note that large values ofppcan introduce numerical challenges\. In particular, the barrier function and its derivatives become increasingly ill\-conditioned, which can lead to numerical instability and as such higher computational cost in the projection layers\.

##### Smooth signed box CBFs\.

A common way to represent an axis\-aligned rectangular obstacle centered atccwith half\-widthrris via the max\-type barrier, take a 2\-dimensional problem for example, we have

h​\(x\)=max⁡\{\|x1−c1\|,\|x2−c2\|\}−r,h\(x\)=\\max\\\{\|x\_\{1\}\-c\_\{1\}\|,\\ \|x\_\{2\}\-c\_\{2\}\|\\\}\-r,\(103\)which enforces that the state remains outside the boxed region\. This formulation directly captures rectangular geometry, in contrast toppnorm\-based approximations which require largeppfor accurate representation and can be unstable to use in practice\. For our experimental setup, to ensure smoothness and differentiability of the CBF we use a smooth approximation of the signed box barrier, which ensures compatibility with the higher\-order CBF construction while remaining faithful to the underlying box geometry\.

We conduct comparative experimentation using the double integrator dynamics with three different obstacles\. We consider four total scenarios, namelyp=1,2,4p=1,2,4as well as the box CBF definition for rectangular obstacles\. We display trajectories under trained controller in Figure[6](https://arxiv.org/html/2607.20674#A7.F6)\. We observe consistent convergence to the target while respecting safety constraints\. We note in our testing that although larger values ofppyield shapes that more closely approximate rectangular obstacles, they lead to increasingly slower convergence unstable numerical behavior\. In contrast, the smooth box formulation provides stable performance while accurately capturing the desired geometry\. Overall, these results highlight that our approach is both general and principled, and can be applied across different CBF choices without modification\.

![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/ablation_p1.png)\(a\)p1 norm CBF
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/ablation_p2.png)\(b\)p2 norm CBF
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/ablation_p4.png)\(c\)p4 norm CBF
![Refer to caption](https://arxiv.org/html/2607.20674v1/Figs/ablation_box.png)\(d\)signed box CBF

Figure 6:Controlled trajectories using the learned feedback controller over different initial conditions and obstacles shapes, our approach yields close to optimal performances over all tested settings, while preserving the safety requirements\.
##### Limitations and Fine Tuning\.

Training implicit neural networks can be challenging and is often less stable than training their explicit counterparts\. These challenges are well documented in\(Baiet al\.[2019](https://arxiv.org/html/2607.20674#bib.bib32); Winston and Kolter[2020](https://arxiv.org/html/2607.20674#bib.bib85); Baiet al\.[2021](https://arxiv.org/html/2607.20674#bib.bib82); Jafarpouret al\.[2021](https://arxiv.org/html/2607.20674#bib.bib83); Funget al\.[2022](https://arxiv.org/html/2607.20674#bib.bib3); Chuet al\.[2024](https://arxiv.org/html/2607.20674#bib.bib84)\)\. Our problem formulation also requires stacking these implicit network models along trajectory rollouts, sometimes incurring thousands of fixed\-point iterations for a forward pass, further adding to the complexity of the training problem\. These difficulties are inherent to the hard\-constrained control problems themselves and may not be resolved through optimization alone\. We notice and document the statistical variance in running and terminal costs across multiple seeded runs in Table[4](https://arxiv.org/html/2607.20674#A7.T4)\. Despite some differences in values, we highlight that all tested trials converge regardless of initialization and random seeding, thus suggesting our method is reliable in problems across different scales\.

While we use standard multi\-layer perceptrons \(MLPs\) in all displayed results with limited tuning, upon further testing, we find that additional changes in weight decay, learning rate, terminal cost weight scheduling, and model sizes can help stabilize training and reduce variance across runs\. In particular, we notice that for problems where agent behaviors share similarities, network architectures that exploit symmetry can significantly reduce training variance and improve convergence speed, though this is beyond the scope of this work and we leave further investigation as future directions\. Finally, trajectory rollouts and visualizations for each example are displayed in Figure[2](https://arxiv.org/html/2607.20674#A0.F2)\.

## Appendix HFinal Discussion

##### Proof sketch\.

The convergence analysis proceeds in three stages\. The main technical challenges are the nonsmoothness introduced by the projection layer and the bias of the JFB approximation\. The former prevents the use of classical smooth analysis techniques based on Taylor expansions, while the latter means that descent is not immediate\. Our proof addresses these issues in the following sequence\.

- •Step 1: Contraction of the DYS operator\.We first establish that the DYS fixed\-point operator is contractive with respect to the lifted variableyyfor anyζ∈\(0,1\)\\zeta\\in\(0,1\)\. Since the projection onto the feasible set is nonsmooth, classical Jacobians need not exist everywhere\. We therefore work with Clarke generalized Jacobians and show that every Clarke generalized Jacobian satisfies the same contraction bound\. This guarantees existence and uniqueness of the fixed point and provides the stability estimates required in the subsequent analysis\.
- •Step 2: From pointwise alignment to trajectory\-level descent\.The core of the proof is to show that the JFB approximation remains sufficiently aligned with the true Clarke subgradient despite ignoring the inverse Jacobian\. We first establish a pointwise alignment result for each timettand initial conditionxx\. This estimate is then lifted to the expectation over initial conditions and finally integrated over the time horizon to obtain a descent direction for the complete trajectory objective\. Assumption[6](https://arxiv.org/html/2607.20674#Thmthm6)\(iii\) controls the contribution of the slack variables introduced by the safety layer, ensuring that they do not dominate the gradient alignment\.
- •Step 3: Convergence under gradient flow\.Having established trajectory\-level descent, we consider the continuous\-time gradient flow generated by the JFB update\. The use of gradient flow is essential here because the nonsmooth objective prevents the standard Taylor\-expansion arguments underlying discrete gradient\-descent analyses\. Instead, we analyze the behavior of Clarke subgradients in a neighborhood of the gradient\-flow trajectory, which allows us to prove asymptotic convergence to a Clarke stationary point\.

##### Key advantages of Davis–Yin splitting\.

We highlight the key properties of DYS that motivate this work and explain why we believe it is particularly well suited for end\-to\-end training with embedded CBF\-QP layers\. We summarize these advantages in two parts\.

- •Provable contraction\.Under the assumptions of the problem formulation, the DYS operator is contractive for any step sizeζ∈\(0,1\)\\zeta\\in\(0,1\)\. This yields a unique fixed point and provides the foundation for the convergence analysis developed in this work\. Importantly, no problem\-dependent step\-size tuning is required, removing what can otherwise become a significant practical bottleneck as constraints evolve along trajectories\. This property is generally unavailable for comparable splitting methods\.
- •Simple closed\-form updates\.Each component of the DYS iteration consists only of projections onto sets with closed\-form solutions together with a simple gradient step\. Consequently, every iteration is inexpensive to evaluate, which is particularly important for scaling to high\-dimensional multi\-agent problems\.

While alternative splitting methods, such as ADMM\(Boydet al\.[2011](https://arxiv.org/html/2607.20674#bib.bib96)\)and PDHG\(Chambolle and Pock[2011](https://arxiv.org/html/2607.20674#bib.bib97)\), are also applicable to constrained optimization problems, they generally require more problem\-specific derivations to obtain equally simple updates, and establishing comparable contraction properties is considerably less direct\. For the CBF\-QPs considered here, DYS therefore provides a particularly convenient combination of theoretical guarantees and computational simplicity\.

##### Discussion and future work\.

The CBF layer solves a strongly convex quadratic program and therefore admits a unique solutiony⋆=\(u⋆,s⋆\)y^\{\\star\}=\(u^\{\\star\},s^\{\\star\}\)\. Consequently, the forward and backward computations need not employ the same numerical solver\. Any algorithm that computesy⋆y^\{\\star\}may be used during the forward pass, after which a single DYS evaluation can be applied to the converged solution to define the JFB backward pass\. This decouples the choice of forward solver from differentiation, opening the possibility of combining JFB with more specialized or problem\-dependent optimization algorithms, enabling potentially faster and more accurate forward solvers while retaining the simplicity of JFB in the backward pass, together with the descent and convergence guarantees established in this work\. We believe this provides a promising direction for further improving the efficiency of embedded optimization layers for complex control problems\.

Similar Articles

Safe and Generalizable Hierarchical Multi-Agent RL via Constraint Manifold Control

arXiv cs.AI

This paper proposes a hierarchical multi-agent reinforcement learning framework that enforces hard safety constraints via a constraint manifold at the low level while enabling effective coordination through high-level policy learning, providing theoretical safety guarantees and achieving near-perfect safety rates with good generalization.