betaFeedback

WorksEngineering

Conformal Koopman Certificates for Nonlinear Multi-Agent Consensus on Time-Evolving Graphs

Abstract

Robot fleets must often agree on a shared value before they act, over wireless networks that change as the robots move. Their supervisor needs a deadline: the number of communication rounds after which the fleet has agreed with a stated probability. Today it comes from simulation plus a safety margin, with an open probability of being met. We certify it. Our method, conformal Koopman certification, rests on one observation: averaged over the random network changes, the expected behaviour of the fleet evolves linearly, for any nonlinearity of the agents. The decay rate of this linear evolution gives the shape of the deadline. One remaining constant is calibrated from 200 short test runs by conformal prediction, a statistical method that turns any predictor into a guarantee that holds with a user-chosen probability. The certified deadline holds for every agreement tolerance at once and for any error in the estimated rate. The same linear model predicts the value the fleet will agree on and certifies how much corruption of the exchanged messages the collective decision absorbs. For 60 simulated robots the certified deadline was met in all 500 test runs against a 90% target and exceeded the slowest run by 16%. The classical worst-case bound exceeds that run by more than 160 orders of magnitude, a linearised deadline is missed in up to 26% of runs, and direct conformal calibration costs 80 times more simulation per tolerance.

Introduction

Fleets of tens to hundreds of robots are moving from laboratories to warehouses, farms and search missions. Before such a fleet acts, its robots often have to agree on a shared value, for example on how to split a search area, by exchanging messages over a wireless network that changes as they move. The supervisor needs a deadline: the number of communication rounds after which the fleet has agreed with a stated probability. A deadline below the true convergence time makes the fleet act on a split opinion; a deadline far above it wastes mission time. In current practice the deadline comes from simulation runs plus a safety margin, and the probability that the fleet meets it remains open.

Two tools have matured that make such a certificate possible. Koopman operator methods represent a nonlinear system by a linear operator acting on functions of its state [1, 2], and they now come with data-driven estimators that converge [citep}[3], [4]] and spectra that can be verified [5]. Conformal prediction (CP) turns any predictor into a guarantee that holds with a user-chosen probability, from finite data and for any data distribution [12, 13], and it has recently entered control for certifying stability and safety [15, 16, 17].

A deadline of the form disagreement decays geometrically needs a decay rate and the constant in front of it. Classical spectral theory gives the rate for linear teams on a fixed network. A real fleet is nonlinear, because actuators saturate, and its network switches at random, so its rate must come from a linear description of a nonlinear random system. The constant is open even for linear teams: the available bound, the condition number of an eigenvector matrix, inflates the deadline 1.9 to 3.2 times in our tests (Section III). Each tool alone covers one half of the problem: Koopman methods give the shape of the decay and leave its constant open, and CP gives a constant with a guarantee and needs a shape to extrapolate across tolerances. We state three requirements, made formal in Problem 1. (R1) Coverage: the fleet meets the deadline with probability at least 1−δ1-\delta, for a miscoverage level δ∈(0,1)\delta\in(0,1) chosen by the user. (R2) Length: the deadline stays close to the largest convergence time. (R3) Reuse: one calibration serves every agreement tolerance. Existing methods meet two of the three. Worst-case ergodicity bounds [7, 6, 8, 9] meet R1 and R3, with deadlines above 1016410^{164} rounds for 60 agents. Spectral analysis of a linearised model meets R2 and R3, and its deadline is missed in up to 26% of runs, because saturation slows the true fleet. Direct CP on observed convergence times meets R1 and R2, and every tolerance needs a new calibration that costs 80 times more simulation. Conformal robustness of learned Lyapunov and barrier certificates [15, 16, 17] certifies one fixed configuration of one system, and a fleet needs a time-to-agreement.

Our idea (Figure 1) is to let each tool supply the half that the other leaves open. The annealed Koopman operator, which averages the dynamics over the random switching, is linear for any agent nonlinearity, and its spectrum gives the decay rate. CP then calibrates the single constant from 200 runs of 50 rounds. The calibration score is measured against the estimated rate, so an estimation error lengthens the deadline and leaves the guarantee intact. To our knowledge, this is the first deadline certificate for nonlinear consensus on randomly switching networks that holds with a stated probability from finite data. The primary contributions are:

Figure 1. Conformal Koopman certification on network 1. EDMD (extended dynamic mode decomposition) fits the annealed Koopman operator, which gives the decay rate and the decision eigenfunction; conformal calibration gives the remaining constant. Decision panel: schematic, flip rates from Section IV-3.

  • the conformal Koopman deadline (Theorem 1, Corollary 1), which meets R1 to R3 for any switching distribution and any accuracy of the estimated operator;

  • the conformal decision certificate (Theorem 2), a certified margin of the collective decision against corruption of the transmitted data, derived from the eigenfunction of the same operator at eigenvalue one; it corrects a nominal margin that worst-case perturbations exceed in 13.3% of test cases;

  • an evaluation against the four methods above on one metric per requirement: coverage (R1), deadline length relative to the slowest run (R2) and calibration cost (R3);

  • a test that detects spurious near-unit eigenvalues, which dictionary enrichment creates and which lengthen the deadline 29-fold.

Preliminaries and Problem Formulation

Notation

N={0,1,2,…}\mathbb{N}=\{0,1,2,\ldots\}; R≥0\mathbb{R}_{\ge0} and R>0\mathbb{R}_{>0} are the reals ≥0\ge0 and >0>0; ∥⋅∥\lVert\cdot\rVert is the Euclidean norm of a vector and the matrix norm it induces, ∥⋅∥F\lVert\cdot\rVert_F the Frobenius norm, ∥⋅∥∞\lVert\cdot\rVert_\infty the supremum norm of a vector or a function and the operator norm it induces; κ(W)=∥W∥∥W−1∥\kappa(W)=\lVert W\rVert\lVert W^{-1}\rVert is the condition number of an invertible matrix WW; ⊤\top the transpose; 1\mathbf{1} the all-ones vector; II the identity; eme_m the mmth basis vector; diag⁡(v)\operatorname{diag}(v) the diagonal matrix with diagonal vv; ⊗\otimes the Kronecker product; ⌈⋅⌉\lceil\cdot\rceil the ceiling; log⁡\log the natural logarithm; sign⁡\operatorname{sign} the sign; ∇y\nabla_y the gradient in yy; Pr⁡\Pr probability; E\mathbb{E} expectation; xˉ=1N1Tx\bar{x}=\frac{1}{N}\mathbf{1}^{\mathsf T}x the mean of x∈RNx\in\mathbb{R}^N. A hat marks a quantity estimated from data; the same symbol alone is the true quantity.

Acronyms: EDMD (extended dynamic mode decomposition), i.i.d. (independent and identically distributed). Baselines: W (worst-case ergodicity), L (linearised spectral), K (Koopman spectral with C=1C=1), CP (direct conformal prediction); ours is CK (conformal Koopman).

Agent team on a time-evolving graph

Definition 1 (Markov-modulated agent team). N∈NN\in\mathbb{N} agents hold beliefs xi∈Rx_i\in\mathbb{R}, which form the team belief x=(x1,…,xN)∈RNx=(x_1,\ldots,x_N)\in\mathbb{R}^N. A topology mode m∈M={1,…,M}m\in\mathcal{M}=\{1,\ldots,M\} labels the communication graph active at the current step, with weighted adjacency matrix Am∈RN×NA^m\in\mathbb{R}^{N\times N}, zero diagonal and directed Laplacian Lm=diag⁡(Am1)−AmL_m=\operatorname{diag}(A^m\mathbf{1})-A^m. Its entry aijma^m_{ij} is the influence of agent jj on agent ii. With step size h∈R>0h\in\mathbb{R}_{>0}, one communication round in mode mm maps belief xix_i to

xi+=xi+h∑j=1Naijmtanh⁡(xj−xi),i=1,…,N.(1)x_i^+=x_i+h\sum_{j=1}^{N}a^m_{ij}\tanh(x_j-x_i),\qquad i=1,\ldots,N. \tag*{(1)}

We write x+=Fm(x)x^+=F_m(x). At step k∈Nk\in\mathbb{N} the belief is xkx_k and the mode mkm_k. The modes (mk)k∈N(m_k)_{k\in\mathbb{N}} form an irreducible aperiodic Markov chain, independent of xx, with transition matrix P∈RM×MP\in\mathbb{R}^{M\times M}, Pmm′=Pr⁡{mk+1=m′∣mk=m}P_{m m'}=\Pr\{m_{k+1}=m'\mid m_k=m\}, and stationary distribution π∈RM\pi\in\mathbb{R}^M, πTP=πT\pi^{\mathsf T}P=\pi^{\mathsf T}. The joint state is zk=(xk,mk)∈Z=RN×Mz_k=(x_k,m_k)\in\mathcal{Z}=\mathbb{R}^N\times\mathcal{M}.

Each agent moves toward its current neighbours, which change at random; this random sequence of graphs is the switching process. The tanh⁡\tanh coupling makes the pull of a neighbour saturate as the belief difference grows, so (1) is linear only near consensus. Progress is measured by the disagreement dk:=∥xk−xˉk1∥d_k:=\lVert x_k-\bar{x}_k\mathbf{1}\rVert, the distance of the team belief from its mean xˉk\bar{x}_k. For a tolerance ϵ∈(0,1)\epsilon\in(0,1) the convergence time

T(ϵ):=min⁡{k∈N:dk≤ϵd0}(2)T(\epsilon):=\min\{k\in\mathbb{N}:d_k\le\epsilon d_0\} \tag*{(2)}

is the first round at which the initial disagreement has shrunk by the factor ϵ\epsilon. We write x∞:=lim⁡k→∞xkx_\infty:=\lim_{k\to\infty}x_k, with x∞x_\infty the common value of all beliefs. The mode keeps switching, so for an observable φ\varphi we write φ(x∞):=lim⁡k→∞φ(xk)\varphi(x_\infty):=\lim_{k\to\infty}\varphi(x_k) whenever this limit exists.

Remark 1. In general the Laplacians LmL_m have different left null vectors, so x∞x_\infty is a random variable that depends on the switching sequence as well as on x0x_0. Statements about the collective decision therefore concern E[x∞∣z0]\mathbb{E}[x_\infty\mid z_0].

The annealed Koopman operator

Definition 2 (Annealed Koopman operator). For bounded observables g:Z→Rg:\mathcal{Z}\to\mathbb{R}, that is, bounded functions of the

joint state, define

(Kg)(x,m):=E[g(zk+1)∣zk=(x,m)]=∑m′∈MPmm′g(Fm(x),m′).(3)(\mathcal{K}g)(x,m):=\mathbb{E}\left[g(z_{k+1})\mid z_k=(x,m)\right] =\sum_{m'\in\mathcal{M}}P_{mm'}g(F_m(x),m'). \tag*{(3)}

Lemma 1. K\mathcal{K} is linear, positive, satisfies ∥K∥∞=1\|\mathcal{K}\|_\infty=1 and K1Z=1Z\mathcal{K}1_{\mathcal{Z}}=1_{\mathcal{Z}} for the constant function 1Z≡11_{\mathcal{Z}}\equiv1 on Z\mathcal{Z}, and its eigenvalues lie in the closed unit disc.

Proof. As a conditional expectation, (3) is linear and positive in gg and maps constants to themselves, so K1Z=1Z\mathcal{K}1_{\mathcal{Z}}=1_{\mathcal{Z}} and ∥K∥∞≥1\|\mathcal{K}\|_\infty\ge1. Positivity gives ∣Kg∣≤K∣g∣≤∥g∥∞|\mathcal{K}g|\leq\mathcal{K}|g|\leq\|g\|_\infty, so ∥K∥∞≤1\|\mathcal{K}\|_\infty\leq1, and the spectral radius of a contraction is at most one. □

The team is nonlinear, and K\mathcal{K} is a linear contraction. Its subdominant eigenvalue λ2\lambda_2, of largest modulus strictly inside the unit disc, sets the rate ∣λ2∣|\lambda_2| at which the fleet forgets an initial disagreement.

EDMD

We estimate K\mathcal{K} by EDMD [3], [4]. Let V∈RN×qV\in\mathbb{R}^{N\times q} hold the eigenvectors of the π\pi-averaged Laplacian ∑mπmLm\sum_m\pi_mL_m for its qq eigenvalues of smallest modulus. The slow collective coordinates y=V⊤x∈Rqy=V^\top x\in\mathbb{R}^q form a diffusion-map embedding [11]. Let B(x)B(x) be the row vector of the bb monomials in yy up to degree dd. The mode-indexed dictionary Ψ(x,m)=B(x)⊗em⊤\Psi(x,m)=B(x)\otimes e_m^\top is a row vector of bMbM observables; we call bMbM the lift dimension, the size of the linear model. Stack the rows Ψ(z)\Psi(z) at all observed states into a data matrix, also written Ψ\Psi, and at their successor states into Ψ′\Psi'. The estimate K^=arg minK∈RbM×bM∥Ψ′−ΨK∥F\widehat{K}=\mathop{\rm arg\,min}_{K\in\mathbb{R}^{bM\times bM}}\|\Psi'-\Psi K\|_F, minimised over all bM×bMbM\times bM matrices KK, is the matrix of K\mathcal{K} on the span of the dictionary: it maps the coefficient vector c∈RbMc\in\mathbb{R}^{bM} of an observable g(z)=Ψ(z)cg(z)=\Psi(z)c to that of (Kg)(z)≈Ψ(z)K^c(\mathcal{K}g)(z)\approx\Psi(z)\widehat{K}c. Its subdominant eigenvalue λ^2\widehat{\lambda}_2 gives the estimated decay rate ρ^:=∣λ^2∣\widehat{\rho}:=|\widehat{\lambda}_2|.

Remark 2. Linearise Fm(x)≈ΦmxF_m(x)\approx\Phi_mx with Φm=I−hLm\Phi_m=I-hL_m. On linear observables g(x,m)=cm⊤xg(x,m)=c_m^\top x, cm∈RNc_m\in\mathbb{R}^N, the annealed operator acts as the MN×MNMN\times MN matrix cm↦∑m′Pmm′Φm′⊤cm′c_m\mapsto\sum_{m'}P_{mm'}\Phi_{m'}^\top c_{m'}, whose subdominant modulus ρL\rho_L we compute in closed form; it defines baseline LL.

Split conformal prediction

Let Scal={ζi}i=1n\mathcal{S}_{\mathrm{cal}}=\{\zeta_i\}_{i=1}^n be nn calibration samples, here trajectories, and ζnew\zeta_{\mathrm{new}} a new sample. A nonconformity score s:ζ↦Rs:\zeta\mapsto\mathbb{R} grows as a sample departs from a model. For a miscoverage level δ∈(0,1)\delta\in(0,1) the conformal quantile is

q1−δ:=s(⌈(1−δ)(n+1)⌉),(4)q_{1-\delta}:=s(\lceil(1-\delta)(n+1)\rceil), \tag*{(4)}

where s(1)≤⋯≤s(n)s_{(1)}\leq\cdots\leq s_{(n)} are the calibration scores s(ζ1),…,s(ζn)s(\zeta_1),\ldots,s(\zeta_n) sorted in increasing order and s(j):=+∞s_{(j)}:=+\infty for j>nj>n. It is the (1−δ)(1-\delta)-quantile of the nn calibration scores together with the score of ζnew\zeta_{\mathrm{new}}, not yet observed and counted as +∞+\infty; for n=200n=200 and δ=0.1\delta=0.1 it is the 181st smallest score.

Lemma 2 (Split CP [12], [14]). If s(ζ1),…,s(ζn),s(ζnew)s(\zeta_1),\ldots,s(\zeta_n),s(\zeta_{\mathrm{new}}) are exchangeable, that is, their joint distribution is invariant under permutations, then Pr⁡{s(ζnew)≤q1−δ}≥1−δ\Pr\{s(\zeta_{\mathrm{new}})\leq q_{1-\delta}\}\geq1-\delta, for any dynamics.

Problem formulation

Problem 1. Given trajectory data from (1), with AmA^m, PP, hh accessible only through data, construct: (i) a deadline T^(ε)\widehat{T}(\varepsilon) with Pr⁡{T(ε)≤T^(ε)}≥1−δ\Pr\{T(\varepsilon)\leq\widehat{T}(\varepsilon)\}\geq1-\delta for a new trajectory (R1), for any switching distribution and any accuracy of the estimated model, that stays close to the largest convergence time (R2) and holds for all ε\varepsilon at once from one calibration (R3); (ii) a radius ρ^CP\widehat{\rho}_{\mathrm{CP}} such that, if the slow coordinates yy sent at time zero are corrupted by a perturbation Δy∈Rq\Delta y\in\mathbb{R}^q with ∥Δy∥≤ρ^CP\|\Delta y\|\leq\widehat{\rho}_{\mathrm{CP}}, the sign of [Ex∞∣z0][E_{x_\infty}\mid z_0], the majority decision the team will reach, stays the same with probability at least 1−δ1-\delta.

Conformal Koopman Certificates

The constant C

Proposition 1. Let G\mathcal{G} be a K\mathcal{K}-invariant subspace of observables vanishing on the consensus manifold {x=xˉ1}\{x=\bar{x}1\}, with λ2\lambda_2 the spectral radius of the restriction K∣G\mathcal{K}|_{\mathcal{G}}. Then there is C∈R>0C\in\mathbb{R}_{>0} with ∥Kkg∥≤C∣λ2∣k\|\mathcal{K}^k g\|\leq C|\lambda_2|^k for all k∈Nk\in\mathbb{N}, where Kk\mathcal{K}^k is the kk-fold composition of K\mathcal{K}, (Kkg)(z)=E[g(zk)∣z0=z](\mathcal{K}^k g)(z)=\mathbb{E}[g(z_k)\mid z_0=z]. For a diagonalisable finite-dimensional compression with eigenvector matrix WW one may take C=κ(W)C=\kappa(W).

Proof. With the compression WΛW−1W\Lambda W^{-1}, Λ\Lambda the diagonal matrix of its eigenvalues, ∥WΛkW−1∥≤∥W∥∥Λk∥∥W−1∥=κ(W)∣λ2∣k\|W\Lambda^kW^{-1}\|\leq\|W\|\|\Lambda^k\|\|W^{-1}\|=\kappa(W)|\lambda_2|^k on G\mathcal{G}. □

Proposition 1 is the classical route. On our instances κ(W)\kappa(W) ranged from 56.8 to 190.8, which inflates the deadline to 1.87 to 3.24 times the observed worst case. Setting C=1C=1 is common; it replaces the theorem by an assumption. We calibrate CC.

Conformal Koopman deadline

Fix a burn-in k0∈Nk_0\in\mathbb{N}, the number of initial rounds treated as transient, and a calibration horizon Kcal>k0K_{\mathrm{cal}}>k_0. For a trajectory ζ\zeta we instantiate the nonconformity score ss of Section II-E as

s(ζ):=max⁡k0≤k≤Kcaldkρ^ kd0,(5)s(\zeta):=\max_{k_0\leq k\leq K_{\mathrm{cal}}}\frac{d_k}{\widehat{\rho}^{\,k}d_0}, \tag*{(5)}

the smallest constant CC for which the estimated envelope dk≤Cρ^ kd0d_k\leq C\widehat{\rho}^{\,k}d_0 holds along ζ\zeta for k0≤k≤Kcalk_0\leq k\leq K_{\mathrm{cal}}.

Assumption 1 (Exchangeability). The scores of the calibration trajectories and of a new trajectory are exchangeable. This holds when initial beliefs and initial modes are drawn i.i.d. from one fixed distribution, for example the one used at commissioning.

Assumption 2 (Post-transient dominance). With probability one, dk+1/(ρ^ k+1d0)≤dk/(ρ^ kd0)d_{k+1}/(\widehat{\rho}^{\,k+1}d_0)\leq d_k/(\widehat{\rho}^{\,k}d_0) for all k≥k0k\geq k_0.

Assumption 2 lets a calibration on KcalK_{\mathrm{cal}}-round trajectories cover tolerances reached many rounds later. It reflects that the sample-path decay rate of a randomly switching system is in general strictly smaller than the annealed rate ∣λ2∣|\lambda_2|; Section IV checks it empirically.

Theorem 1 (Conformal Koopman deadline). Let q1−δq_{1-\delta} be the conformal quantile (4) of the scores (5) over nn calibration trajectories. Define

T^CK(ε):=⌈log⁡(ε/q1−δ)log⁡ρ^⌉.(6)\widehat{T}_{\mathrm{CK}}(\varepsilon) := \left\lceil\frac{\log(\varepsilon/q_{1-\delta})}{\log\widehat{\rho}} \right\rceil. \tag*{(6)}

Under Assumption 1, a new trajectory satisfies

Pr⁡{dk≤q1−δρ^kd0, ∀k∈[k0,Kcal]}≥1−δ.(7)\Pr\left\{d_k \le q_{1-\delta}\widehat{\rho}^{k}d_0,\ \forall k \in[k_0,K_{\mathrm{cal}}]\right\} \ge1-\delta. \tag*{(7)}

If Assumption 2 also holds, then (7) extends to all k≥k0k \ge k_0, and Pr⁡{T(ε)≤T^CK(ε)}≥1−δ\Pr\{T(\varepsilon) \le\widehat{T}_{\mathrm{CK}}(\varepsilon)\} \ge1-\delta for every ε\varepsilon with T^CK(ε)≥k0\widehat{T}_{\mathrm{CK}}(\varepsilon) \ge k_0.

Proof. The score (5) is a measurable function of a trajectory, so Assumption 1 and Lemma 2 give Pr⁡{s(ζnew)≤q1−δ}≥1−δ\Pr\{s(\zeta_{\mathrm{new}}) \le q_{1-\delta}\} \ge1-\delta, which is the event in (7). Under Assumption 2 the maximum over [k0,Kcal][k_0,K_{\mathrm{cal}}] equals the supremum over [k0,∞)[k_0,\infty), so the envelope extends. On that event, dk≤q1−δρ^kd0≤εd0d_k \le q_{1-\delta}\widehat{\rho}^{k}d_0 \le\varepsilon d_0 as soon as ρ^k≤ε/q1−δ\widehat{\rho}^{k} \le\varepsilon/q_{1-\delta}, that is, by (6), for k≥T^CK(ε)k \ge\widehat{T}_{\mathrm{CK}}(\varepsilon).

Corollary 1 (Simultaneity in ε\varepsilon). The conclusion of Theorem 1 holds jointly over all admissible ε\varepsilon, that is, all ε\varepsilon with T^CK(ε)≥k0\widehat{T}_{\mathrm{CK}}(\varepsilon) \ge k_0: Pr⁡{∀ε:T(ε)≤T^CK(ε)}≥1−δ\Pr\{\forall\varepsilon:T(\varepsilon) \le\widehat{T}_{\mathrm{CK}}(\varepsilon)\} \ge1-\delta.

Proof. All these statements follow from the single event (7).

Remark 3 (Estimation error is absorbed). The coverage guarantee of Theorem 1 holds for every value of ρ^\widehat{\rho}, at any distance from ∣λ2∣|\lambda_2|. The same ρ^\widehat{\rho} appears in (5) and (6), so any error in ρ^\widehat{\rho} is absorbed by q1−δq_{1-\delta}: it lengthens the deadline and leaves R1 intact, independently of eigenvalue perturbation bounds [18].

Conformal decision certificate

Lemma 3. If φ1\varphi_1 is an eigenfunction with Kφ1=φ1\mathcal{K}\varphi_1=\varphi_1 that varies with xx, then φ1(zk)\varphi_1(z_k) is a bounded martingale and φ1(z0)=E[φ1(z∞)∣z0]\varphi_1(z_0)=\mathbb{E}[\varphi_1(z_\infty)\mid z_0]. Since xkx_k approaches the consensus manifold, φ1\varphi_1 equals E[x∞∣z0]\mathbb{E}[x_\infty\mid z_0] up to an affine normalisation.

Proof. E[φ1(zk+1)∣zk]=(Kφ1)(zk)=φ1(zk)\mathbb{E}[\varphi_1(z_{k+1})\mid z_k]=(\mathcal{K}\varphi_1)(z_k)=\varphi_1(z_k) is the martingale property. Boundedness and martingale convergence give the first claim, and restriction to the consensus manifold the second.

Physically, φ1\varphi_1 is the weighted opinion that the switching dynamics conserve in expectation: the answer the team is committed to at time zero. The binary decision is D(z0)=sign⁡φ1(z0)D(z_0)=\operatorname{sign}\varphi_1(z_0). For perturbations Δy∈Rq\Delta y\in\mathbb{R}^q of the transmitted coordinates y=VTx0y=V^{\mathsf{T}}x_0, write z0+Δyz_0+\Delta y for the joint state with initial belief x0+VΔyx_0+V\Delta y. The nominal first-order radius

ρ^(z0):=∣φ^1(z0)∣∥∇yφ^1(z0)∥(8)\widehat{\rho}(z_0):=\frac{|\widehat{\varphi}_1(z_0)|}{\lVert\nabla_y\widehat{\varphi}_1(z_0)\rVert} \tag*{(8)}

is the distance of the estimated functional from its decision boundary in units of its slope; the argument z0z_0 distinguishes it from the decay rate ρ^\widehat{\rho}.

Theorem 2 (Conformal robustness radius). Let φ⋆(z0):=E[x∞∣z0]\varphi^\star(z_0):=\mathbb{E}[x_\infty\mid z_0] be the true decision functional, with φ^1\widehat{\varphi}_1 affinely normalised to it. Let z0(1),…,z0(n)z_0^{(1)},\ldots,z_0^{(n)} be calibration initial states with scores si=∣φ⋆(z0(i))−φ^1(z0(i))∣/∥∇yφ^1(z0(i))∥s_i=|\varphi^\star(z_0^{(i)})-\widehat{\varphi}_1(z_0^{(i)})|/\lVert\nabla_y\widehat{\varphi}_1(z_0^{(i)})\rVert and conformal quantile q1−δq_{1-\delta}. Set ρ^CP:=max⁡{ρ^(z0),q1−δ}\widehat{\rho}_{\mathrm{CP}}:=\max\{\widehat{\rho}(z_0),q_{1-\delta}\}. Then, to first order in ∥Δy∥\lVert\Delta y\rVert and under Assumption 1,

Pr⁡{sign⁡φ⋆(z0+Δy)=D(z0), ∀∥Δy∥≤ρ^CP}≥1−δ.(9)\Pr\left\{\operatorname{sign}\varphi^\star(z_0+\Delta y)=D(z_0),\ \forall\lVert\Delta y\rVert\le\widehat{\rho}_{\mathrm{CP}}\right\}\ge1-\delta. \tag*{(9)}

Proof. The score sis_i is the estimation error of φ^1\widehat{\varphi}_1 at z0(i)z_0^{(i)} in units of its slope. By Lemma 2, with probability at least 1−δ1-\delta, ∣φ⋆(z0)−φ^1(z0)∣≤q1−δ∥∇yφ^1(z0)∥|\varphi^\star(z_0)-\widehat{\varphi}_1(z_0)|\le q_{1-\delta}\lVert\nabla_y\widehat{\varphi}_1(z_0)\rVert. The reverse triangle inequality and (8) give ∣φ⋆(z0)∣≥ρ^CP∥∇yφ^1(z0)∥|\varphi^\star(z_0)|\ge\widehat{\rho}_{\mathrm{CP}}\lVert\nabla_y\widehat{\varphi}_1(z_0)\rVert, so sign⁡φ⋆(z0)=D(z0)\operatorname{sign}\varphi^\star(z_0)=D(z_0). To first order, ∣φ⋆(z0+Δy)−φ⋆(z0)∣≤∥∇yφ^1(z0)∥∥Δy∥|\varphi^\star(z_0+\Delta y)-\varphi^\star(z_0)|\le\lVert\nabla_y\widehat{\varphi}_1(z_0)\rVert\lVert\Delta y\rVert, which is strictly smaller than ∣φ⋆(z0)∣|\varphi^\star(z_0)| for ∥Δy∥<ρ^CP\lVert\Delta y\rVert<\widehat{\rho}_{\mathrm{CP}}, so the sign is kept. This is (9).

Numerical Results

We simulate a fleet of N=60N=60 agents that switches at random among M=3M=3 communication graphs, keeping the current one with probability pmm=0.7p_{\mathrm{mm}}=0.7, with step size h=0.02h=0.02. One round is one exchange of messages; at 20 rounds per second, 100 rounds take 5 s. Initial beliefs are i.i.d. N(0,1)\mathcal{N}(0,1), so two agents start a mean distance 2/π≈1.132/\sqrt{\pi}\approx1.13 apart, where tanh⁡\tanh pulls 28% less than its linearisation; the initial mode is uniform on M\mathcal{M}. A network is one draw of the MM graphs, each linking every ordered pair of agents independently with probability pe=0.10p_{\mathrm{e}}=0.10, so that each agent hears from about six others, with a weight uniform on [0.5,1.5][0.5,1.5]. EDMD uses q=5q=5 slow coordinates and degree d=2d=2 (lift bM=63b_M=63) and 400 runs of 120 steps; CK uses δ=0.1\delta=0.1, k0=20k_0=20, Kcal=50K_{\mathrm{cal}}=50 and n=200n=200 calibration runs. We ran every experiment on three independent networks, so that no conclusion rests on one draw; Table I and Figure 2 show network 1. On network 1 the fitted decay rate ρ^=0.961\widehat{\rho}=0.961 (0.965 and 0.958 on networks 2 and 3) removes about 4% of the remaining disagreement per round, so the disagreement halves every 17.5 rounds, or 0.9 s. The calibrated constant q1−δ=0.615q_{1-\delta}=0.615 (0.629, 0.696) means that in 90% of calibration runs the disagreement stayed below 62% of the Koopman prediction with C=1C=1 from round 20 to 50.

methodε=10−1\varepsilon=10^{-1} T^\widehat{T}ε=10−1\varepsilon=10^{-1} cov.ε=10−2\varepsilon=10^{-2} T^\widehat{T}ε=10−2\varepsilon=10^{-2} cov.ε=10−3\varepsilon=10^{-3} T^\widehat{T}ε=10−3\varepsilon=10^{-3} cov.ε=10−4\varepsilon=10^{-4} T^\widehat{T}ε=10−4\varepsilon=10^{-4} cov.calibration steps
observed max4490118165
W>10164>10^{164} at every ε\varepsilon (deterministic)0
L3273.86485.29582.812183.20
K5910011710017510023310010410^{4}
CP3592.06793.010195.013294.88⋅1058\cdot10^{5}
CK4610010410016310022110010410^{4}

Table I. Certified deadlines (rounds) and coverage (%), network 1.

Figure 2. (a) Convergence times at ε=10−2\varepsilon= 10^{-2} and the four data-driven deadlines. (b) Certified deadline against tolerance; CK tracks the observed maximum from one calibration. (c) Coverage against the nominal 90% level; L falls below it.

We compare our deadline (CK) with four alternatives. The worst-case bound W assumes that each agent always listens to its neighbours as little as the model allows. For belief differences up to D0=6D_0=6, six standard deviations, the tanh⁡\tanh coupling keeps at least the fraction θmin⁡=tanh⁡(D0)/D0=0.167\theta_{\min}=\tanh(D_0)/D_0=0.167 of the linear pull, so with smallest edge weight amin⁡=0.5a_{\min}=0.5 every positive weight in the averaging (1) is at least η=hamin⁡θmin⁡=1.7×10−3\eta=h a_{\min}\theta_{\min}=1.7\times10^{-3}. Every graph of our networks is rooted (one agent reaches all others along directed edges), and any N−1N-1 rooted graphs with self-loops compose to a graph in which one agent reaches all others directly [10]. Every block of N−1=59N-1=59 rounds therefore shrinks the spread max⁡ixi−min⁡ixi\max_i x_i-\min_i x_i by at least the factor 1−η591-\eta^{59}, with η59≈10−164\eta^{59}\approx10^{-164}, for every switching sequence, and the guaranteed deadline T^W\widehat{T}_{\mathrm{W}}, of order (N−1)log⁡(1/ε)/ηN−1(N-1)\log(1/\varepsilon)/\eta^{N-1}, exceeds 1016410^{164} rounds. L and K evaluate (6) with C=1C=1 in place of q1−δq_{1-\delta}, using the rate ρL\rho_{\mathrm{L}} of the linearised team and the fitted rate ρ^\widehat{\rho}, giving T^L\widehat{T}_{\mathrm{L}} and T^K\widehat{T}_{\mathrm{K}}; CP takes the conformal quantile of the convergence times of the calibration runs, giving T^CP\widehat{T}_{\mathrm{CP}}.

When the fleet agrees

1) When the fleet agrees: Table I and Figure 2 compare the deadlines on 500 test runs at tolerances from ε=10−1\varepsilon=10^{-1} (disagreement reduced tenfold) to 10−410^{-4} (ten-thousandfold). Observed max is the convergence time of the slowest run; coverage (cov.) is the percentage of runs that had agreed by the deadline, with target 90%. At ε=10−2\varepsilon=10^{-2} the slowest run agreed by round 90. L allows action at round 64 (3.2 s), and in 14.8% of runs, about one mission in seven, the fleet would act on a split opinion. CK allows action at round 104 (5.2 s), 14 rounds after the slowest run; these 2 s beyond L buy the 90% guarantee.

The deadline of L comes early because L assumes that the pull between two agents grows in proportion to their disagreement. In the real fleet the pull saturates, so early in a run, when beliefs differ widely, the fleet converges more slowly than L predicts: L halves the disagreement every 9.5 rounds (ρL=0.930\rho_{\mathrm{L}}=0.930; 0.944 and 0.935 on networks 2 and 3), the fitted rate every 17.5. The effect depends on the network: across tolerances L covered 73.8% to 85.2% of runs on network 1, 99.0% to 99.8% on network 2 and 90.6% to 95.8% on network 3, and L itself leaves open which case applies. K, the fitted rate with an assumed C=1C=1, met the target here, with a deadline 34% above the slowest run at ε=10−1\varepsilon=10^{-1}, against 5% for CK. CP meets the target (90.2% to 95.2%) with the shortest deadlines among the methods that do, at a cost: each calibration run must continue until the fleet reaches the target tolerance, here 4000 rounds (3.3 min), so CP needs 8×1058\times10^{5} simulated rounds per tolerance and a new calibration whenever the mission lowers its tolerance. CK needs 10410^{4} rounds once (200 runs of 2.5 s) and reads every deadline from (6). CK met its deadline in 99.6% to 100% of runs on all three networks. Its envelope was crossed at some round in 7.0% to 13.4% of runs, close to the 10% the calibration allows; these mid-run crossings delayed agreement past the deadline in at most 0.4% of runs. All observations were consistent with Assumption 2.

Larger fleets

2) Larger fleets: Table II and Figure 3(a) repeat the test for N=20N=20 to 240 agents, with 150 test runs each at ε=10−2\varepsilon=10^{-2} and about six neighbours per agent (edge probability $6/N$). Tmax⁡T_{\max} is the slowest run; violation of K and coverage of L are the percentage of runs that missed T^K\widehat{T}_{\mathrm{K}} and that met T^L\widehat{T}_{\mathrm{L}}. The linear model keeps the same 63 basis functions at every size, because the lift dimension bMbM depends only on qq and dd; fitting takes 144 to 162 ms and calibration the same 10410^{4} rounds, so certifying 240 robots costs as much as certifying 20. The deadline grows from 94 rounds at N=20N=20 to 164 at N=240N=240 (peak 170 at $N=160): with six neighbours per agent, a message needs more hops to cross a larger fleet. Coverage of L rises from 69.3% to 100%: in a larger fleet each agent hears neighbours on both sides of its own belief, their pulls partly cancel, the differences stay small, and saturation fades. The same linearised computation thus gives a deadline that every run meets at N=240N=240 and 30.7% of runs miss at N=20N=20, and L itself leaves open which case applies. CK takes its rate and constant from runs of the actual, saturating fleet, so Theorem 1 holds in both cases, where saturation matters (N=20N=20) and where it fades (N=240N=240).

Figure 3. (a) Deadlines and EDMD fit time against team size. (b) Decision flips under worst-case perturbation at the nominal radius (8) and at the conformal radius of Theorem 2, which flipped no decision in either case.

NNliftρ^\widehat{\rho}T^K\widehat{T}_{\mathrm{K}}T^L\widehat{T}_{\mathrm{L}}Tmax⁡T_{\max}violation of K (%)coverage of L (%)fit (ms)
20630.95209454690.069.3144
60630.957910864760.088.0148
100630.971916285890.097.3144
160630.97321701041060.099.3159
240630.9722164101980.0100.0162

Table II. Scaling in team size at ε=10−2\varepsilon=10^{-2}.

How much corruption the decision absorbs

3) How much corruption the decision absorbs: The fleet’s decision is the sign of its predicted final value: whether it will settle above or below zero. The predictor φ^1\widehat{\varphi}_1 comes from the linear model. Eigenvalue one of K^\widehat{K} also belongs to the constant function (Lemma 1), which predicts the same outcome for every start, and Lemma 3 needs an eigenfunction that varies with xx. Each eigenvector cc of K^\widehat{K} gives an eigenfunction Ψ(z)c\Psi(z)c with constant, linear and quadratic parts; since for the linearised team the outcome E[x∞∣z0]\mathbb{E}[x_{\infty}\mid z_0] is a weighted average of the initial beliefs, we took the one with eigenvalue nearest one among those dominated by the linear part (eigenvalue 1.0003 compressed, 1.0002 full). We scaled it against Monte-Carlo averages of the final value over 50 switching sequences per start, calibrated Theorem 2 on 40 starts and tested on 30 others, corrupting the transmitted data by exactly the margin in the most harmful direction, −sign⁡(φ^1)∇φ^1-\operatorname{sign}(\widehat{\varphi}_1)\nabla\widehat{\varphi}_1, which moves the prediction fastest toward zero.

With five transmitted coordinates (q=5q=5, lift 63), the nominal margin (8) flipped the decision in 13.3% of test cases. The certified margin averaged 0.482 against a nominal 1.108 (43.5%), in belief units, and flipped zero decisions (Figure 3(b)). With all 60 coordinates (q=Nq=N, lift 183) the nominal margin flipped 6.7%; the certified one, 0.525 against 0.778 (67.5%), flipped zero. Two facts limit the margin.

In 6.7% of cases the predicted decision already differed from the true one before any corruption, the residual that Theorem 2 allows. And the error of ϕ^1\hat{\phi}_1 comes from the coordinates themselves: tripling the data, or enlarging the dictionary from q=5q = 5 to q=12q = 12, kept it between 28% and 42%, against a Monte-Carlo error of 0.6%. Physically, which agents dominate the outcome depends on graph details that five collective coordinates average out (Remark 1).

Larger dictionaries and spurious slow patterns

A larger dictionary can mislead the fit. With polynomials of degree 1 and 2 the deadline at ε=10−2\varepsilon= 10^{-2} was 107 and 117 rounds. With degree 3 (lift 138) the fit reported an eigenvalue at 0.99864, a pattern that would take about 740 rounds (37 s) to fade, and the deadline jumped to 3393 rounds. The real fleet settles within 100 rounds (5 s), so this pattern is an artefact that degree-3 terms mimic on the finite data. The warning sign is the condition number κ(W)\kappa(W) of the eigenvector matrix, which measures how much errors in K^\hat{K} move the computed eigenvalues: it rose sevenfold, from 168 to 1168. We recommend the largest dictionary before κ(W)\kappa(W) jumps; residual-based spectral verification [5] offers a remedy with guarantees. By Remark 3 such an artefact lengthens the deadline and leaves R1 intact.

Conclusion

From one calibration on 50-round trajectories, conformal Koopman certification gives deadlines for every tolerance and decision margins, at 1/80 of the calibration cost of direct conformal prediction, independent of team size. Three questions remain open: the guarantee is marginal, that is, it holds on average over initial conditions; Assumption 2 awaits a proof; and mobile teams induce state-dependent switching, which breaks the product structure of (3).

References

  1. [1]B. O. Koopman, “Hamiltonian systems and transformation in Hilbert space,” Proc. Nat. Acad. Sci., vol. 17, no. 5, pp. 315–318, 1931.pubmed.ncbi.nlm.nih.gov/16577368
  2. [2]I. Mezić, “Spectral properties of dynamical systems, model reduction and decompositions,” Nonlinear Dyn., vol. 41, pp. 309–325, 2005.DOI
  3. [3]M. O. Williams, I. G. Kevrekidis, and C. W. Rowley, “A data-driven approximation of the Koopman operator: extending dynamic mode decomposition,” J. Nonlinear Sci., vol. 25, pp. 1307–1346, 2015.
  4. [4]M. Korda and I. Mezić, “On convergence of extended dynamic mode decomposition to the Koopman operator,” J. Nonlinear Sci., vol. 28, pp. 687–710, 2018.DOI
  5. [5]M. J. Colbrook and A. Townsend, “Rigorous data-driven computation of spectral properties of Koopman operators for dynamical systems,” Commun. Pure Appl. Math., vol. 77, no. 1, pp. 221–283, 2024.arxiv.org/abs/2111.14889
  6. [6]R. Olfati-Saber and R. M. Murray, “Consensus problems in networks of agents with switching topology and time-delays,” IEEE Trans. Autom. Control, vol. 49, no. 9, pp. 1520–1533, 2004.
  7. [7]A. Jadbabaie, J. Lin, and A. S. Morse, “Coordination of groups of mobile autonomous agents using nearest neighbor rules,” IEEE Trans. Autom. Control, vol. 48, no. 6, pp. 988–1001, 2003.
  8. [8]W. Ren and R. W. Beard, “Consensus seeking in multiagent systems under dynamically changing interaction topologies,” IEEE Trans. Autom. Control, vol. 50, no. 5, pp. 655–661, 2005.DOI
  9. [9]A. Nedić and A. Ozdaglar, “Distributed optimization over time-varying directed graphs,” IEEE Trans. Autom. Control, vol. 60, no. 3, pp. 601–615, 2015.
  10. [10]M. Cao, A. S. Morse, and B. D. O. Anderson, “Reaching a consensus in a dynamically changing environment: a graphical approach,” SIAM J. Control Optim., vol. 47, no. 2, pp. 575–600, 2008.DOI
  11. [11]R. R. Coifman and S. Lafon, “Diffusion maps,” Appl. Comput. Harmon. Anal., vol. 21, no. 1, pp. 5–30, 2006.DOI
  12. [12]V. Vovk, A. Gammerman, and G. Shafer, Algorithmic Learning in a Random World. New York, NY, USA: Springer, 2005.
  13. [13]A. N. Angelopoulos and S. Bates, “A gentle introduction to conformal prediction and distribution-free uncertainty quantification,” 2021, arXiv:2107.07511.arxiv.org/abs/2107.07511
  14. [14]R. F. Barber, E. J. Candès, A. Ramdas, and R. J. Tibshirani, “Conformal prediction beyond exchangeability,” Ann. Statist., vol. 51, no. 2, pp. 816–845, 2023.
  15. [15]T.-W. Hsu and H. Tsukamoto, “Statistical guarantees in data-driven nonlinear control: conformal robustness for stability and safety,” IEEE Control Syst. Lett., vol. 9, pp. 997–1002, 2025.DOI
  16. [16]L. Lindemann, Y. Zhao, X. Yu, G. J. Pappas, and J. V. Deshmukh, “Formal verification and control with conformal prediction,” 2024, arXiv:2409.00536.arxiv.org/abs/2409.00536
  17. [17]K. Y. Chee, M. A. Hsieh, and G. J. Pappas, “Uncertainty quantification for learning-based MPC using weighted conformal prediction,” in Proc. IEEE CDC, 2023, pp. 342–349.DOI
  18. [18]F. L. Bauer and C. T. Fike, “Norms and exclusion theorems,” Numer. Math., vol. 2, pp. 137–141, 1960.DOI

Paper details

vlnc:W_rqdnvv4p
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents