TL;DR
How do you automatically write provably safe control software when sensors are noisy and both the physical world and your steering choices are continuous? This paper solves this long-standing synthesis puzzle by algorithmically separating what a program needs to remember from how it should act. By compressing infinite observation histories into compact symbolic "memories," the authors synthesize safe controllers for complex robotics and networking problems in seconds—tasks previously out of reach for general-purpose tools.
What Problem Does This Paper Address?
Imagine flying a drone in the fog. You want a mathematical guarantee that it will never crash (a safety objective). In computer science, automatically generating a controller from logical rules is called reactive synthesis, modeled as an infinite game between the controller and an adversarial environment.
If you can see everything clearly (perfect information), you only need to react to the present moment. Under partial observability—noisy, delayed, or missing sensor data—you need memory to infer where you actually are based on past observations.
The classic workaround is tracking "belief states"—sets of all physical states that remain possible given your history. In finite systems, belief sets explode exponentially. In cyber-physical systems with continuous variables (like real-valued altitude) and continuous actions (like real-valued steering adjustments), the belief space becomes uncountably infinite, and symbolic formulas grow endlessly over time. Prior infinite-state methods survived by restricting controllers to a small, finite list of actions. Until now, handling partial observability, infinite states, and infinite actions simultaneously remained an open bottleneck.
Methods
Instead of explicitly tracking massive belief states, the authors introduce a clever two-phase architecture implemented in a tool called Verena (built on the Z3 SMT solver). The core novelty is decoupling memory design from policy design using a new proof principle called an epistemic certificate.
- Phase 1: Learning What to Remember (Novel). Verena explores safe executions up to a bounded time horizon $h$. It examines the resulting history-based beliefs and spots recurring mathematical shapes—formulas that look identical except for specific numbers. It clusters these beliefs and replaces the changing numbers with symbolic memory variables. This yields a compact memory domain paired with an epistemic support relation—a logical formula defining exactly which hidden physical states a given memory value represents.
- Phase 2: Deciding How to Act (Standard + Symbolic Reduction). Armed with this memory abstraction, Verena transforms the messy, partially observable game into a clean, perfect-information game played directly over memory values. Because memory and actions are represented symbolically via linear arithmetic constraints (rather than enumerated), Verena can apply standard symbolic fixpoint computation and Skolem-function extraction to synthesize both the real-valued action policy and the memory-update rules at once. If the abstraction is too coarse to win, Verena increments the horizon $h$ and tries again.
Datasets
Because no standard benchmark suite existed for infinite-state, infinite-action partially observable synthesis, the authors introduced 30 new benchmarks generalized from prior verification and finite-action literature:
- UAV Control (6 instances): Keeping 1D–3D drones in safe flight zones despite continuous sensor noise and wind disturbances.
- Robot Navigation (10 instances): Continuous-step obstacle avoidance with missing or delayed localization.
- Lander Descent (4 instances): Synthesizing Mars Polar Lander engine-shutdown policies with unreliable touchdown sensors.
- Congestion Control / CCA (10 instances): Choosing network sending rates to bound packet loss without seeing bottleneck bandwidth or buffer states.
They also evaluated 15 finite-action variants (robotic part-sorting, Lamport's Bakery protocol, and grid navigation) to compare directly against prior work.
Key Insights and Ideas
- Over-approximations must preserve "safe shapes": Your memory doesn't need to track exact beliefs, just safety-relevant distinctions. In Figure 2c above, knowing your altitude is either $0.5$ or $2.5$ (both safely aligned with doors) wins the game; approximating that as the interval $[0.5, 2.5]$ includes the solid wall in between and fails.
- Small sensor quirks reshape memory: In network congestion control, adding a single round of feedback delay ("jitter") completely changes what the synthesizer chooses to remember—shifting from a simple
[lower, upper]bandwidth interval to a multi-phase memory that explicitly tracks an unconfirmed "pending probe." - Updating memory is harder than acting: Across synthesized programs, memory-update functions were consistently more complex than action policies (a median of 16 guarded cases vs. 6), showing that maintaining knowledge is often the hardest part of control.
Key Results
- Infinite-action dominance: Verena solved 29 of 30 infinite-state, infinite-action benchmarks (20 realizable, 10 unrealizable—proving no safe controller exists) with a median solving time of 15.6 seconds (mean 49.4s). Existing general-purpose tools cannot run these at all.
- Superior scaling on finite actions: Compared against SPIAR (the state-of-the-art CEGAR tool for incomplete information), Verena remained well below the 300s timeout as action spaces grew to 10–50 choices, whereas SPIAR's runtime spiked sharply and timed out on larger Robot and Parts instances.
- Ablations prove necessity: Stripping out learned epistemic support dropped the solve rate across all 45 benchmarks from 98% (44/45) down to 13%. Replacing learned symbolic memory with a naive history of the last $k$ observations topped out at 60%.
Limitations and Future Work
Because infinite-state game solving is mathematically undecidable, Verena has no termination guarantees—it can loop indefinitely if an unrealizable game lacks a finite failure horizon or if bounded prefixes fail to suggest an inductive memory abstraction. Practically, exact quantifier elimination in SMT solvers remains the main scalability bottleneck (causing the single timeout on a complex CCA benchmark) and currently restricts Verena to linear arithmetic. Future work aims to introduce targeted horizon refinements to boost scalability and extend epistemic certificates beyond pure safety to liveness, reachability, and quantitative optimization.
Summary updated