arXiv:2610.17337eess.SYOct 2026

Manuscript Offprint

arXiv:2610.17337

Filtering for Liveness: Recurrence via Backup Reachability Control Barrier Functions

David E. J. van Wijk, Pio Ong, Aaron D. Ames, Joel W. Burdick

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

David E. J. van Wijk, Pio Ong, Aaron D. Ames, Joel W. Burdick

Abstract—Liveness requires a dynamical system to repeatedly accomplish a desired objective over time. In this work, we consider a particular form of liveness known as recurrence, which requires the closed-loop trajectory to regularly revisit a prescribed set, with no more than a specified amount of time between visits. Inspired by the control barrier function (CBF) safety-filter paradigm, we develop a controller-filtering framework that makes adjustments to a nominal controller only when necessary to guarantee recurrence. Unlike conventional CBF methods, which enforce set forward invariance, our framework allows the trajectory to leave the set while guaranteeing its timely return. To achieve this, our framework combines two components: a backup reachability CBF that preserves the ability to return to the prescribed set within the allowable time, and a timing-based mechanism that invokes a reaching controller only when the nominal behavior would otherwise fail to meet the return-time requirement. The resulting framework guarantees recurrence while preserving the nominal behavior when possible, enabling control objectives that require temporary excursions from the set, such as traversal between disjoint regions. Our method is successfully utilized in a drone racing example with a recurrence constraint on beacon visibility.

I. INTRODUCTION

Safety is essential for the deployment of autonomous systems in real-world environments, and therefore establishing formal safety guarantees has become a central research domain. Many approaches rely on the notion of forward invariance, where safety is enforced by requiring the system trajectory to remain within a prescribed set for all times. These approaches include control barrier functions (CBFs) [1], Hamilton–Jacobi reachability [2], [3], model predictive control (MPC) [4], and reference governors [5], [6].

In addition to safety, many autonomous systems must also satisfy liveness objectives, which require desired events or conditions to occur over time [7], [8]. In this letter, we focus on a particular type of liveness, known as recurrence, which states that the dynamical system is allowed to leave a prescribed set as long as it returns within a pre-specified amount of time. Such requirements arise, for example, when a system must regularly visit a region where localization measurements are available. Although recurrence differs from forward invariance in allowing temporary excursions from the prescribed set, the two notions are closely related from a control design perspective. This connection suggests that tools developed for safety and forward invariance may provide a good foundation for enforcing recurrence. Our

Figure

Fig. 1. Depiction of recurrence versus invariance. Forward invariance endowed by the standard CBF-QP (red) yields forward recurrence but may be restrictive when just recurrence will suffice. In such cases, traveling between disjoint sets is allowed and the goal can be reached (purple).

work builds on CBFs, a popular tool for certifying forward invariance and characterizing control inputs that satisfy state constraints. In particular, CBF constraints naturally lend themselves to controller filtering, where a nominal task-oriented controller is modified only when necessary to maintain the desired constraint [9]. This filtering paradigm is particularly attractive for balancing task performance and constraint satisfaction. Recurrence has recently been studied in the context of CBFs [10] where the notion of recurrent CBFs was developed to verify recurrence of prescribed sets. The authors have also studied this notion in the context of stability [11], and regions of attraction [12]. However, these approaches primarily provide tools for set verification, rather than controller filtering. Another related notion to recurrence is periodic safety [13]. Unlike recurrence, the system must reach the prescribed set at exact time instances while remaining in a safe set at all times.

Recurrence can also be viewed through the lens of signal temporal logic (STL), where bounded temporal operators can be used to specify repeated return to a prescribed set [14]. While such formulations provide a natural language for expressing recurrence, enforcing it through a minimally invasive controller remains challenging. Existing works have combined STL specifications with CBFs [15], [16]; however these works typically focus on safety rather than recurrence.

Drawing on connections between recurrence and reachability, the main result in this letter relies on ideas from backup control barrier functions [17]–[19]. Backup CBFs generate safety guarantees by filtering for safe reachability to a known safe region under a backup controller. However, existing backup-CBF-related works focus specifically on forward invariance, rather than recurrence.

We build on the bCBF and recurrent CBF works to create a recurrence filtering framework. Our approach combines the notion of a backup reachability CBF that guarantees the ability to return to the prescribed set within an allowable time, with a timing-based process that invokes a backup controller when a violation of the recurrence constraint is

DVW and PO are with the Amazon SAF Lab, {vanwijk, pioong}@amazon.com. This work does not relate to the authors' positions at Amazon. ADA and JWB are with the Department of Mechanical and Civil Engineering, California Institute of Technology, Pasadena, CA 91125, USA. {ames, jburdick}@caltech.edu.

This work was in part supported by the Technology Innovation Institute, and DARPA under the LINC program.

imminent. We summarize our contributions below:

• We establish a set-based characterization of controlled T-recurrence through finite-time backward reachability, replacing the trajectory-wise recurrence condition;

• We develop a tractable sufficient condition for controlled recurrence based on reachability under a backup controller through a novel backup reachability CBF;

• Using the reachability CBFs, we develop a timing-based switching mechanism for recurrence filtering that allows the filtered nominal controller to act as long as there is a guarantee on a timely return to the prescribed set, thereby establishing forward recurrence of the set while preserving the nominal behavior whenever possible.

II. SAFETY WITH CONTROL BARRIER FUNCTIONS

Consider the control affine dynamical system:

x˙=f(x)+g(x)u,(1)\dot{\mathbf{x}}=\mathbf{f}(\mathbf{x})+\mathbf{g}(\mathbf{x})\mathbf{u}, \tag{1}

with system state x∈X\mathbf{x} \in \mathcal{X} and control input u∈U\mathbf{u} \in \mathcal{U}, where U⊆Rm\mathcal{U} \subseteq \mathbb{R}^m is a polytopic set. The drift dynamics f:X→Rn\mathbf{f} : \mathcal{X} \to \mathbb{R}^n and the control matrix g:X→Rn×m\mathbf{g} : \mathcal{X} \to \mathbb{R}^{n \times m} are assumed to be continuously differentiable. Given a controller k:X→U\mathbf{k} : \mathcal{X} \to \mathcal{U}, the state feedback u=k(x)\mathbf{u} = \mathbf{k}(\mathbf{x}) yields the closed-loop system:

x˙=fk(x)=f(x)+g(x)k(x),(2)\dot{\mathbf{x}}=\mathbf{f}_{\mathbf{k}}(\mathbf{x})=\mathbf{f}(\mathbf{x})+\mathbf{g}(\mathbf{x})\mathbf{k}(\mathbf{x}), \tag{2}

where a solution t↦x(t)t \mapsto \mathbf{x}(t) is called a closed-loop trajectory. When (2) admits a unique forward-complete solution from every initial condition x0∈X0⊆X\mathbf{x}_0 \in \mathcal{X}_0 \subseteq \mathcal{X}, we denote the corresponding solution map by φk:R≥0×X0→X\varphi_{\mathbf{k}} : \mathbb{R}_{\geq 0} \times \mathcal{X}_0 \to \mathcal{X} such that φk(t,x0)=x(t)\varphi_{\mathbf{k}}(t, \mathbf{x}_0) = \mathbf{x}(t) when initialized at x0\mathbf{x}_0. In safety problems, we consider a state constraint set defined by a continuously differentiable constraint function ψ:X→R\psi : \mathcal{X} \to \mathbb{R}:

S≜{x∈X∣ψ(x)≥0}.(3)\mathcal{S}\triangleq\left\{\mathbf{x}\in\mathcal{X}\mid\psi(\mathbf{x})\geq0\right\}. \tag{3}

Typically, safety requires the closed-loop trajectories x(t)\mathbf{x}(t) initialized at x0∈S\mathbf{x}_0 \in \mathcal{S} to stay in the set for all t≥0t \geq 0. One can think of this as guaranteeing the forward invariance of S\mathcal{S}.

Definition 1 (Forward Invariance). A set C⊆X\mathcal{C} \subseteq \mathcal{X} is forward invariant for the closed-loop system (2) if x0≜x(0)∈C  ⟹  x(t)∈C\mathbf{x}_0 \triangleq \mathbf{x}(0) \in \mathcal{C} \implies \mathbf{x}(t) \in \mathcal{C}, for all t≥0t \geq 0.

For control systems, the corresponding notion is controlled invariance, which characterizes whether the state trajectory can be kept within the set using admissible control inputs.

Definition 2 (Controlled Invariance). A set C⊆X\mathcal{C} \subseteq \mathcal{X} is controlled invariant for system (1) if for every x0∈C\mathbf{x}_0 \in \mathcal{C} there exists a control signal t↦u(t)t \mapsto \mathbf{u}(t) satisfying u(t)∈U\mathbf{u}(t) \in \mathcal{U} for all t≥0t \geq 0 such that the trajectory x(t)∈C\mathbf{x}(t) \in \mathcal{C} for all t≥0t \geq 0.

Especially when the control inputs are bounded, the set S, defined by the constraint function ψ\psi, is unlikely controlled invariant. In this case, practitioners often seek a subset C0⊆SC_0 \subseteq S to render forward invariant instead. This set C0C_0 is defined by a continuously differentiable function h:X→Rh: \mathcal{X} \to \mathbb{R} as:

C0≜{x∈X∣h(x)≥0}⊆S.(4)\mathcal{C}_{0}\triangleq\left\{\mathbf{x}\in\mathcal{X}\mid h(\mathbf{x})\geq0\right\}\subseteq\mathcal{S}. \tag{4}

To this end, control barrier functions (CBFs) are a tool for certifying controlled invariance of the set C0\mathcal{C}_0.

Definition 3 (Control Barrier Function [1]). A continuously differentiable function h:X→Rh: \mathcal{X} \to \mathbb{R} is a control barrier function (CBF) for system (1) if there exists a class- Ke\mathcal{K}^e function α\alpha such that, for every x∈C0\mathbf{x} \in \mathcal{C}_0, there exists u∈U\mathbf{u} \in \mathcal{U} satisfying:

h˙(x,u)≜Lfh(x)+Lgh(x)u>−α(h(x)).(5)\dot{h}(\mathbf{x},\mathbf{u})\triangleq L_{\mathbf{f}}h(\mathbf{x})+L_{\mathbf{g}}h(\mathbf{x})\mathbf{u}>-\alpha(h(\mathbf{x})). \tag{5}

The strict inequality in (5) ensures that a control input u∈U\mathbf{u} \in \mathcal{U} satisfying the inequality exists not only on C0\mathcal{C}_0, but also on a neighborhood D⊃C0\mathcal{D} \supset \mathcal{C}_0. Given a continuous primary controller kp:X→Rm\mathbf{k}_p: \mathcal{X} \to \mathbb{R}^m the following quadratic program (QP):

ksafe(x)=arg⁡min⁡u∈U∥u−kp(x)∥2s.t.h˙(x,u)≥−α(h(x)),\begin{aligned}\mathbf{k}_{\mathrm{safe}}(\mathbf{x})&=\underset{\mathbf{u}\in\mathcal{U}}{\arg\min}\quad\|\mathbf{u}-\mathbf{k}_{\mathrm{p}}(\mathbf{x})\|^{2}\\&\quad\text{s.t.}\quad\dot{h}(\mathbf{x},\mathbf{u})\geq-\alpha(h(\mathbf{x})),\end{aligned}

(CBF-QP)

is feasible on D. Moreover, strict feasibility (Slater's condition) together with continuity of the problem data and convexity of the constraints ensures the resulting controller ksafek_{safe} is continuous on D, cf. [20]. The following main result for CBFs establishes forward invariance using only continuity of the closed-loop controller.

Theorem 1 ([1]). Consider the control affine system (1). Let D⊆X\mathcal{D} \subseteq \mathcal{X} be an open neighborhood of C0\mathcal{C}_0. Any continuous controller k:X→U\mathbf{k} : \mathcal{X} \to \mathcal{U} satisfying:

h˙(x,k(x))≥−α(h(x)),(6)\dot{h}(\mathbf{x},\mathbf{k}(\mathbf{x}))\geq-\alpha(h(\mathbf{x})), \tag{6}

for all x∈D\mathbf{x} \in \mathcal{D} renders the set C0⊆S\mathcal{C}_0 \subseteq \mathcal{S} forward invariant for the closed-loop system under state feedback u=k(x)\mathbf{u} = \mathbf{k}(\mathbf{x}).

By construction, the (CBF-QP) satisfies the condition in Theorem 1, and hence, it renders C0C_0 forward invariant for the closed-loop system. Since C0⊆SC_0 \subseteq S, any trajectory initialized in C0C_0 remains within the constraint set S. The (CBF-QP) has proven very useful for many robotic and aerospace applications, as it enables the synthesis of safe controllers in a computationally tractable manner. However, in some cases, the notion of forward invariance may be overly restrictive. For example, in applications involving regions of interest or regions where localization measurements are available, it may suffice for the trajectory to return to a desired set regularly. We explore this idea in the following sections.

References (23)