A walking or hopping robot alternates between smooth motion and sudden impacts. Robustness work has measured stability in two ways that rarely meet. One camp computes Lyapunov exponents, the long-run exponential rates at which nearby trajectories pull apart or come together, and optimizes them through differentiable simulators. The other camp writes multiple Lyapunov functions: one energy-like certificate per contact mode, with rules for how much that "energy" may jump at each mode switch. Exponents give a single number, but it is a time average. It says nothing about how badly a perturbation can grow in the short run, and current pipelines compute it through smoothed contact models that hide the impacts. Mode-wise certificates do give guarantees under switching and disturbances, but they report no rate and scale poorly.
We propose to merge the two by writing each mode's certificate as a contraction metric, a state-dependent way of measuring distances between nearby trajectories. Each switch then gets a jump factor computed from the exact impact sensitivity, known as the saltation matrix. Along any trajectory, the log-growth of a perturbation is bounded by the decay rate accumulated inside each mode plus the log jump factor at each switch. Dividing by time gives a certified divergence budget. This budget upper-bounds the largest Lyapunov exponent at every finite time, not only asymptotically. It extends to bounded disturbances, and it decomposes into short per-mode and per-switch terms, so it can be optimized without long unrolled rollouts.
Core Claim
Let a hybrid system have modes $p$ with flows $f_p$, guard-triggered resets $\Delta_{pq}$, and saltation matrices $\Xi_{pq}$, the first-order maps that carry a perturbation $\delta x$ across a guard, including the effect of hitting the guard earlier or later. Assign each mode a metric $M_p(x) \succ 0$. Suppose two conditions hold. Inside mode $p$, perturbations shrink at rate $c_p$ in that mode's metric. At a switch from $p$ to $q$, the impact map satisfies $\Xi_{pq}^\top M_q \Xi_{pq} \preceq \mu_{pq}^2 M_p$. Then for any switching sequence with dwell times $\tau_k$ and switch pairs $(p_k,q_k)$ up to time $T$,
$$\ln \frac{\|\delta x(T)\|_{M}}{\|\delta x(0)\|_{M}} \;\le\; -\sum_k c_{p_k}\tau_k \;+\; \sum_k \ln \mu_{p_k q_k},$$
where $\|\cdot\|_M$ is the norm under the currently active metric. The certified exponent $\bar\lambda$ is the worst-case right-hand side divided by $T$. It bounds the maximal Lyapunov exponent from above, and it bounds transient amplification at every $T$. When there is a disturbance $w$, each mode's rate condition gains an additive input term. This turns the budget into an incremental input-to-state stability (ISS) bound: a guarantee that the gap between disturbed and nominal trajectories stays below a decaying function of the initial gap plus a gain on the disturbance size.
The bound handles high-frequency switching bursts through the summability conditions of Generalized switching signals for input-to-state stability of switched systems. In that setting, the jump factors $\mu$ play the role of the shocks whose cumulative sum must remain controlled.
The claim we will test is threefold. The budget is tight enough to be useful, meaning the gap between $\bar\lambda$ and the measured exponent is small once the metrics are learned. Optimizing the budget produces designs that survive bursty switching and disturbances better than optimizing measured exponents. The budget also exposes "ratcheting": cases where trajectories contract on average while short-term amplification at switches is large.
Relation to Prior Work
The quantification side supplies the motivation and the main baseline. Enhancing Robotic System Robustness via Lyapunov Exponent-Based Optimization backpropagates the signed sum of exponents $L_a$ into masses, link lengths, and gains, using smoothed contact. It reports long-rollout memory limits and gradient artifacts at contacts. Its objective also has a structural weakness. A negative sum of exponents means phase-space volume shrinks, but one direction can still expand, so $L_a<0$ does not rule out a positive largest exponent. Our budget bounds the largest exponent directly and uses exact resets rather than smoothed contact.
Enhancing Robustness in Deep Reinforcement Learning: A Lyapunov Exponent Approach penalizes the largest exponent inside a learned world model. In Walker Run the exponent stayed positive after regularization. That result constrains us: penalizing an empirical exponent alone does not reliably reach contraction.
The impact side supplies the key ingredient. Robust Bipedal Locomotion: Leveraging Saltation Matrices for Gait Optimization penalizes the norm of an extended saltation matrix in gait optimization, and only torque plus saltation cost walked on AMBER-3M and Atalante hardware. Its penalty is in effect our jump factor under the plain Euclidean metric, applied to a single nominal orbit. It has no flow-rate term, no metric choice, and no guarantee under disturbance or off-orbit switching. Path Integral Particle Filtering for Hybrid Systems via Saltation Matrices shows that saltation matrices can be propagated cleanly through impacts in the bouncing-ball and SLIP models. We reuse that machinery, but for control certificates rather than filtering.
The certificate side supplies the structure. Mode-wise learned certificates verified by solvers, as in Stability Verification for Switched Systems using Neural Multiple Lyapunov Functions and Learning Lyapunov Functions for Hybrid Systems, handle only autonomous systems and report no rates. Piecewise-quadratic certificates for contact systems in Stability Analysis of Complementarity Systems with Neural Network Controllers run out of memory beyond 140 neurons. Neural Stochastic Contraction Metrics for Learning-based Robust Control and Estimation learns metrics with Lipschitz control via spectral normalization, but for a single smooth mode. We borrow its metric parameterization and give each mode its own metric, tied together by saltation-based jump conditions.
A Characterization of Lyapunov Inequalities for Stability of Switched Systems shows that checking general combinations of quadratic Lyapunov inequalities is PSPACE-complete. That result constrains our ambition. We do not claim exact verification for many modes. We restrict jump conditions to the transitions that guards actually allow, and we verify formally only in low dimension.
Research Program
We will build an event-driven hybrid simulator that computes exact saltation matrices at guard crossings. Learned mode metrics come in two forms: per-mode constant quadratics, and spectrally normalized networks. Training fits the metrics by minimizing the budget $\bar\lambda$ subject to the rate and jump inequalities. These inequalities are enforced on sampled states, then checked by counterexample search, and certified exactly where the dimension allows.
The worst case over switching sequences is computed as a maximum-cycle-mean problem on the graph of allowed mode transitions, weighted by the per-mode and per-switch terms. This keeps the cost polynomial in the number of guard-respecting transitions, unlike enumerating all switching words.
Co-design then differentiates $\bar\lambda$ with respect to robot and controller parameters. Only one-step mode Jacobians and saltation matrices enter, so memory is independent of horizon. We will also derive the disturbance version, with explicit input gains, and connect bursty switching to the summability condition of Kundu, Chatterjee, and Liberzon. Finally, we will define a ratcheting diagnostic: the difference between $\bar\lambda$ and the empirical largest exponent, broken down by which switches contribute the most.
Baselines
The naive reference is the nominal, unoptimized design of each system. We evaluate it with the same metrics.
The strongest existing competitor for co-design is the signed-sum objective of Enhancing Robotic System Robustness via Lyapunov Exponent-Based Optimization, run with smoothed contact as published. On the crawling quadruped it reports $L_a = -0.56$ for the baseline policy and $-0.61$ after optimization. It also reports an improvement of "over 5 times" in $L_a$ on the planar manipulator, given only as a relative factor. We will reproduce it on the same parameter sets, with the same optimizer, iteration budget, and random seeds. We will also add a "salted" variant that computes the same objective with exact saltation matrices instead of smoothed contact.
The second strongest competitor is the saltation-norm penalty of Robust Bipedal Locomotion: Leveraging Saltation Matrices for Gait Optimization. We apply it with its own torque-robustness weight, tuned on the same grid we use for our own weight. No numeric step counts are reported there; it reports only qualitative hardware success.
For certification tightness, the reference numbers on the 2D switched linear benchmark come from Stability Analysis of Switched Linear Systems with Neural Lyapunov Functions. It reports joint spectral radius (JSR) estimates of about 8.69 for neural piecewise-linear certificates, 8.72 for degree-4 sum-of-squares, and 9.58 for ellipsoids. Our $\exp(\bar\lambda)$ is an upper bound on the same JSR, so on this pure-switching case it should land between 8.69 and 9.58, and ideally near 8.72. For verification, the neural multiple-Lyapunov-function CEGIS method of Stability Verification for Switched Systems using Neural Multiple Lyapunov Functions serves as a comparator on the low-dimensional autonomous systems where it runs.
Two ablations isolate the key ingredient. The first replaces learned metrics with the identity, which reduces our method to "flow rates plus Tucker-style saltation norms." The second uses one common metric for all modes.
Beating the baselines means two things. First, our designs show lower worst-case transient amplification and more steps before failure under bursty switching and bounded disturbances. Second, our designs match or improve the empirical largest exponent, at lower memory per gradient.
Why not just…?
Why not just compute Lyapunov exponents with saltation matrices inserted, and optimize those? This is the most obvious fix to the smoothed-contact problem, and we include it as a baseline. It still yields a time average from finite rollouts. It still needs long unrolls. It still cannot see short bursts of amplification that wash out in the average, which is exactly the gap the burst-switching analysis of Generalized switching signals for input-to-state stability of switched systems exposes. If, on our burst and disturbance tests, the salted exponent objective produces designs whose worst transient amplification matches ours, then the certificate adds explanation but not performance, and we will report that.
Why not just penalize the saltation norm, as in the bipedal gait work? This is a serious threat. The Euclidean saltation norm is cheap and already worked on hardware. Its weaknesses are that it ignores how quickly the flow contracts between impacts, and that its value depends on coordinates: an impact can look expanding in one metric and contracting in another. The identity-metric ablation tests this directly. If learned metrics do not tighten $\bar\lambda$ or improve outcomes over identity metrics, the contribution reduces to adding flow rates to Tucker's penalty, and we would narrow the claim accordingly.
Why not just use domain randomization or a common quadratic Lyapunov function? Domain randomization targets average-case parameter spread. RRLS : Robust Reinforcement Learning Suite reports that it does poorly on worst-case perturbations, and it gives no rate or certificate. A single common certificate often does not exist for switched systems that are stable only under state-dependent switching. The ellipsoid's 9.58 versus about 8.69 on the 2D JSR benchmark shows how loose a common quadratic is even when one does exist. Our common-metric ablation measures that looseness inside our own pipeline.
Proposed Experiments
The first check is soundness and tightness on pure switching. On the 2D and 8D switched linear benchmarks, we compute $\exp(\bar\lambda)$ and compare it to the reported JSR estimates. A bound below 8.69 on the 2D case would signal a bug, because our quantity is an upper bound.
The second check is the hybrid impact systems, using the setups of the cited papers. These are the bouncing ball and SLIP models from the particle-filtering paper, the inverted pendulum with elastic wall from the ACCPM study, and the cart-pole with soft walls and the box with friction from the complementarity paper. On each we report the certificate's validity rate under counterexample search, the gap between $\bar\lambda$ and the empirical largest exponent, and wall-clock and memory cost. These are compared against piecewise-quadratic LMIs where they fit in memory.
The third check is bursty switching. On the 2D stable/unstable-mode system of Kundu et al., which remains ISS under switching frequency growing as $t^{3/2}$, we test whether the budget certifies boundedness where an empirical exponent computed from typical switching signals gives a misleading sign.
The decisive experiment is co-design. On the crawling quadruped and planar manipulator, we compare against the Fadini objective, its salted variant, and the Tucker penalty, all under equal budgets. On a simulated AMBER-3M-style planar biped, we compare against the Tucker penalty. The test signals are adversarial switching bursts, bounded force disturbances, and rough terrain, applied to every design. The outcomes are worst-case transient amplification, steps before failure, empirical largest exponent, and memory per gradient as horizon grows.
The proposal fails if any of three things happens: the learned-metric budget is not tighter than identity metrics, its designs do not reduce worst-case amplification relative to the salted exponent objective, or $\bar\lambda$ stays loose (more than a few times the empirical exponent) on the contact benchmarks.
References
- Generalized switching signals for input-to-state stability of switched systems
- Enhancing Robotic System Robustness via Lyapunov Exponent-Based Optimization
- Enhancing Robustness in Deep Reinforcement Learning: A Lyapunov Exponent Approach
- Robust Bipedal Locomotion: Leveraging Saltation Matrices for Gait Optimization
- Path Integral Particle Filtering for Hybrid Systems via Saltation Matrices
- Stability Verification for Switched Systems using Neural Multiple Lyapunov Functions
- Learning lyapunov functions for hybrid systems
- Stability analysis of complementarity systems with neural network controllers
- Neural Stochastic Contraction Metrics for Learning-Based Control and Estimation
- A Characterization of Lyapunov Inequalities for Stability of Switched Systems
- Stability Analysis of Switched Linear Systems with Neural Lyapunov Functions
- Rrls: Robust reinforcement learning suite