Safety-critical autonomous systems must satisfy hard state constraints under tight computational and sensing budgets, yet learning-based controllers are often far more complex than safe operation requires. To formalize this gap, we study how many distinct control signals are needed to render a compact set forward invariant under sampled-data control, connecting the question to the information-theoretic notion of invariance entropy. We propose a vector-quantized autoencoder that jointly learns a state-space partition and a finite control codebook, and develop an iterative forward certification algorithm that uses Lipschitz-based reachable-set enclosures and sum-of-squares programming. On a 12-dimensional nonlinear quadrotor model, the learned controller achieves a 157× reduction in codebook size over a uniform grid baseline while preserving invariance, and we empirically characterize the minimum sensing resolution compatible with safe operation.
Figures & tables
Fig. 1: VQ-AE controller architecture. The quadrotor estimates its state x^(t)∈R12 from images of an ArUco marker. The encoder Eθ maps x^(t) to a latent vector z , quantized to the nearest codebook entry i=argmink∥z−ek∥22 , inducing a partition {Ai}i=1M of Q . A 2D projection of the partition is shown; the full 12-dimensional partition contains additional regions. Arrows display the controlled vector field within each region, directing trajectories inward to maintain invariance of Q . The decoder Dϕ maps index i to an open-loop control applied over [tk,tk+Ts) .
Fig. 2: Codebook size ∣VTs∣ and closed-loop invariance vs. codebook pressure λpr . Invariance holds at 100% down to ∣VTs∣=14 codes, then collapses. Green checkmarks indicate IFC certification success; all controllers at or beyond the collapse point are unverified.
Method
∣VTs∣
CL Inv. (%)
VQ-AE (ours, pruned)
26
99.979
VQ-AE (ours, unpruned)
171
99.989
VQ-AE partition + OL LQR
171
0.000
Uniform grid + NN
4096
99.975
Uniform grid + CL LQR
2.2M
76.870
TABLE I: Comparison of codebook size and closed-loop invariance rate across baselines, evaluated over 105 trials for 10 s.
Fig. 3: Outputs at different resolutions (indicated above). Closed-loop invariance and terminal safety over 10 s versus image resolution. Invariance remains above 99% down to ∼65 px, then degrades with lower resolution.