Barrier-Lyapunov-Agent: Training and Verifying Safe and Stable Neural Network Controllers
jun xiang, Jun Chen
ICLR 2027
Abstract. Certifying learned controllers requires coordinating certificate synthesis, formal verification, and controller refinement, a process that often involves substantial manual effort. We propose Barrier--Lyapunov Agent, a tool-augmented large language model framework that automates this process for systems with known dynamics or unknown dynamics. The framework follows three stages: objective understanding, Lyapunov-guided stabilization, and barrier-guided safety certification. Given a task specification and an initial controller, the agent generates structured tool arguments, constructs generalized Lyapunov and control barrier functions, and uses verification feedback to guide certificate updates and controller refinement. Upon successful verification, the framework returns the refined controller, corresponding certificates, and a report specifying the verified properties and their domains. Certification claims are determined by formal verification tools rather than by the language model. We evaluate the framework against two baselines using the same computational tools: a human-operated workflow and an agent without explicit workflow instructions. To assess the contribution of the tool suite, we compare the fully equipped Barrier--Lyapunov Agent with an otherwise identical AI agent without access to these tools. Our results show that controllers trained by the proposed agent achieve better control performance and larger formally verified regions of stability and safety than those produced by the baselines.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Withdrawn · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:13 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
Strengths
The paper claims to be the first LLM-agent framework that combines generalized Lyapunov certificates (stability) and barrier certificates (safety). Full certification requires both on the same final controller (Eq. 9), and any controller update forces both to be re-verified.
VERIFIED, VIOLATED and UNKNOWN verdicts come from formal tools (α,β-CROWN-style bound propagation and FOSSIL 2.0 SMT checks), not from the language model. This limits the risk of hallucinated guarantees.
Weaknesses
There are only three low-dimensional systems (inverted pendulum, 2D quadrotor, 3D quadrotor), one LLM backbone (Claude Fable 5.1) and one run per setting. With no seeds or variance reported, the gains can't be shown to be statistically significant. For example, 3D quadrotor coverage goes from 8.15% to 8.85%.
Every agent run on both quadrotor tasks hits the 56M-token cap. Those numbers are therefore stopping points, not converged results. The comparison partly measures how efficiently each agent spends its budget, not what each method can ultimately achieve.
The main contribution of the paper seems to be the orchestration prompt.
Questions for the authors
It seems unclear what was actually certified
How much do results vary across independent runs?
How does the agent compare with a fixed, hand-scripted pipeline that runs the same seven tools in the same three-stage order (with fixed retry and partition rules)?
- Rating
- 1/4
- Confidence
- 4/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 1/3
Read review
Summary
Authors use a language model to provide guarantees of reach-avoid for dynamical systems. They give common tools such as Fossil and SMT solvers to it so it can verify correctness.
Strengths
None.
Weaknesses
I do not think there is any novelty in this paper. LLMs already exist, formal method tools also exist. Is the novelty just telling an agent to use it? I can do the same in cursor and it will deliver much better results than what this paper proposes. I do not find results nor method a meaningful contribution.
Questions for the authors
See weakness.
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The paper studies the learning-enabled safe control. The authors identified the bottleneck of synthesis and certification. It examines how certificate synthesis, formal verification, and controller refinement must be coordinated when controller updates invalidate previously verified certificates. The paper presents Barrier–Lyapunov Agent, a large language model (LLM) agent that coordinates neural-controller training, certificate synthesis, formal verification, and controller refinement. The goal is to obtain a controller with verified convergence to a target equilibrium and avoidance of an unsafe set for all states in a prescribed initial set. The approach is evaluated on an inverted pendulum and two quadrotor systems, showing gains over a general-purpose agent
Strengths
- The paper is well written.
- The workflow combines stability and safety certification for the same controller.
Weaknesses
- The contribution appears incremental, since the framework largely adds LLM orchestration to an established counterexample-guided synthesis and verification loop. The methodological advance over FOSSIL and FOSSIL 2.0 remains unclear.
- The experiments cover only three standard benchmarks and do not establish a scalability advantage over existing synthesis methods. The proposed approach also remains below the human-certified reference on both quadrotor tasks.
- The abstract claims applicability to known or unknown dynamics, but the formulation and experiments assume known dynamics. The paper does not explain how certification would account for unknown dynamics or model uncertainty.
- Figure 1 leaves the role of the intermediate agent calls unclear, particularly what decisions they make between certificate training and verification. The appendix defines tool interfaces but does not provide the actual neural-network architectures and verification settings used in the reported experiments.
Questions for the authors
- What decisions do the intermediate agents in Figure 1 make beyond a fixed counterexample-guided synthesis workflow?
- What limits performance on the quadrotor tasks: controller training, certificate synthesis, or formal verification?
- How does the framework handle unknown dynamics while retaining formal guarantees?
- What controller and certificate architectures, training settings, and verifier configurations were used in each experiment?
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Barrier–Lyapunov Agent is an LLM agent that uses tools to automate safety and stability certification of neural controllers. It builds Lyapunov and barrier certificates, checks them with formal verifiers, and refines controllers. It beats the baselines but still falls short of human-certified results.