RESEARCH PROJECT · 2026

Learn a controller.
Certify a region.

What can finite data tell us about the safety of a learned controller? We combine neural barrier learning with independent statistical certification to quantify a region’s multi-step behavior.

Manuscript available · Implementation to follow

Schematic of a learned controller and barrier, followed by independent data and a certified region with a set-level PAC bound.
From learned behavior to a quantified operating region.

THE PAPER

Statistical Certification of Neural Barrier Functions for invariance and Reach-Avoidance in Learning-Enabled Systems

Zhipeng Cao, Nikolaus Vertovec, Luke Ong, Taoran Wu, Bai Xue

PDF 26 pages ↗

THE IDEA

Train jointly.
Certify independently.

Learning produces a candidate. A separate certification stage quantifies what that candidate supports under fixed dynamics and a fixed controller.

  1. 01 / LEARN

    A policy and a barrier

    Jointly train a controller and neural barrier from rollouts. PID feedback uses barrier violations to adapt the learning objective.

    πθ↔Bφ
    PID-Barrier + PPO
  2. 02 / CERTIFY

    Freeze. Then collect new data.

    Keep the learned pair fixed. Use independent initial states and finite-horizon rollouts to solve a scalar scenario optimization problem.

    →ξ*
    Independent i.i.d. certification data
  3. 03 / QUANTIFY

    A family of certified regions

    Admissible barrier thresholds yield nested regions and associated PAC bounds. Reuse the certificate while the dynamics and controller remain unchanged.

    S̃ζ→1 − α / μ
    Set-level, multi-step guarantees

INTERACTIVE EXPLAINER

What does the
certificate say?

The certified region has a size, and the certificate bounds the fraction of that region satisfying the specified finite-horizon property. Explore how those quantities relate.

STATE SPACE
Illustrative multi-step invariant region A rectangular safe domain contains an elliptical certified region. Sliders adjust the illustrative region measure and violation tolerance. The curve illustrates the selected task. Safe domain Sx₁x₂ Certified region S̃

Invariance: remain in the certified region over the next kmax steps.

Illustrative geometry and trajectories. Actual admissible regions are determined by the learned barrier and certified thresholds.

EXPLORE THE SET-LEVEL BOUND

50%
5.0%
Fraction satisfying the multi-step property≥ 90.0%

1 − α / μS(S̃) = 1 − 0.05 / 0.50

Confidence over certification data95% (β = 0.05)
Sufficient sample sizeN ≥ 160

N ≥ ⌈(2/α)(ln(1/β) + 1)⌉ for the scalar scenario problem. This guarantee quantifies a fraction of the certified set under the reference measure; it does not identify which individual states satisfy the property.

READING THE GUARANTEE

Confidence concerns the randomly sampled certification dataset. Region measure concerns initial states under a fixed reference measure. The property is evaluated over a finite horizon, with safety required before target arrival in reach-avoidance.

EXPERIMENTS

Learning behavior.
Certification evidence.

The paper evaluates an inverted pendulum, a Van der Pol oscillator, and a 10-dimensional Hopfield system, with invariance and reach-avoid tasks across five training seeds.

Paper Figure 1: return and episode safety-cost learning curves on three invariance benchmarks, comparing PID-Barrier with five baseline methods.
Learning the candidate. Return and episode cost in the invariance tasks. Lines show means; shaded areas show 95% confidence intervals across five runs. Empirical learning curves describe the evaluated runs. Manuscript · Figure 1

SELECTED PID-BARRIER RESULTS

The region and the bound belong together.

Reported results vary by task and system. In particular, the Hopfield invariance task yields a smaller region and a lower bound than its reach-avoid task.

Manuscript Tables 1, 4 and 5 · PID-Barrier row
System / taskValid seedsRegion μPAC bound
Pendulum · invariant5/50.4610.965
Pendulum · reach-avoid5/50.4050.961
Van der Pol · invariant5/50.6240.974
Van der Pol · reach-avoid5/50.5860.973
Hopfield · invariant2/50.0310.483
Hopfield · reach-avoid5/51.0000.984

“Valid” follows the paper: seeds with PAC certificates for invariance; positive estimated set measure for reach-avoidance. Region measure is estimated; the reported bound uses 1 − α/μ. See the manuscript for the evaluation protocol and aggregation.

PAPER & PROJECT

Read the details.
Follow the implementation.

The repository currently contains the manuscript. Implementation code and reproduction instructions will be added in subsequent updates.

Manuscript version · October 20, 2026

Citation

@unpublished{cao2026statistical,
  title = {Statistical Certification of Neural Barrier
    Functions for invariance and Reach-Avoidance
    in Learning-Enabled Systems},
  author = {Cao, Zhipeng and Vertovec, Nikolaus
    and Ong, Luke and Wu, Taoran and Xue, Bai},
  year = {2026},
  note = {Preprint},
  url = {https://formalcert-ai.github.io/statistical-barrier-certification/}
}