Automaton-Supervised Neural Policy Shield
Implementation & benchmark of arXiv:2608.18353 — Model Predictive Supervisory Control for Hierarchical and Distributed UAS Traffic Management
Source paper: Model Predictive Supervisory Control for Hierarchical and Distributed UAS Traffic Management arXiv:2608.18353 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Attach a deterministic supervisory automaton to a neural policy or sequence model and mask every event disabled by the current supervisor state. Use a short receding-horizon planner over admissible events to resolve conflicts between neural preferences and shared-resource constraints. The network scores useful actions, while the automaton supplies an exact safety layer.
Formulas
Mathematical statement
Let x_t in {0,1}^n be the one-hot automaton state, u_t in {0,1}^m the one-hot event, A in {0,1}^{n x n} the state-reachability matrix, B in {0,1}^{n x m} the event-reachability matrix, and C in {0,1}^{n x m} the event-availability matrix. The supervised transition is x_{t+1} = (A x_t) elementwise-multiplied by (B u_t), and an event is admissible only when C^T x_t is one for that event. Determinism is certified by (A B^T) elementwise-multiplied by C = C. Given neural logits l_theta(s_t) and admissible set M(x_t), choose an event maximizing the neural score plus a finite-horizon value estimate, subject to every simulated transition remaining admissible. If the automaton encodes every forbidden transition and state tracking is exact, induction over time gives zero forbidden-event executions.
Implementation notes
1. Integration point: insert the shield between the neural policy head and the environment or decoder sampler. Maintain one automaton state per agent, together with shared-resource automata for occupancy, capacity, collision, battery, and workflow constraints. The network outputs logits over discrete events; the shield sets disabled-event logits to negative infinity. For stronger planning, enumerate admissible event sequences of length H with beam search, or solve a small MILP when the event space is modest. 2. Pseudocode: initialize x; at each step compute logits = policy(observation); compute mask = supervisor.enabled(x); set logits[e] = -infinity for masked events; for each remaining candidate e simulate x_next = (A x) elementwise-multiplied by (B one_hot(e)); score logits[e] + gamma times value(observation_next, x_next) - lambda times cost(x_next,e); execute the best event; update x = x_next. 3. Compute A, B, C and the supervisor transition table from explicit task and resource rules. Estimate the value term and costs using the neural model or logged rollouts. Verify determinism offline by checking (A B^T) elementwise-multiplied by C = C, and provide a recovery event for every reachable state with an otherwise empty enabled set. 4. First experiment: train PPO on a two-agent grid-world pickup-and-delivery task with corridor collisions, battery limits, charging stations, and mutually exclusive locations. Compare an unshielded MLP, static action masking, and masking plus H=3 beam planning. Measure forbidden transitions, completion, return, and intervention rate. The quantitative prediction is zero forbidden transitions for the exact shield at every policy quality; any nonzero rate exposes an automaton or state-tracking error. Completion should increase or plateau with H, while unshielded violations should increase sharply as shared-resource occupancy approaches capacity.
Verification
Stage 1 · Toy mechanism gate: Failed ✗
Stage 2 · Mechanism transferred to benchmark: Not tested
Stage 2 · Practical benchmark result: Not run
Methodology: Toy-system gate first; the benchmark stage runs only after a pass. How verification works
Stage 1 — Mechanism check agent confidence 9/10
Built and numerically verified a deterministic automaton shield using the one-hot transition update, plus an exhaustive receding-horizon planner. The shield achieved zero forbidden transitions across all bias values, and planning showed the predicted horizon transition: completion was 0.0 at H=1 and 1.0 for H>=2. However, the attempted intervention-probability prediction was not confirmed because the measured intervention rate includes stochastic resampling differences and state-qualified event labels, so the strict mechanism criterion is not fully satisfied; additionally, the printed (AB^T)⊙C=C certificate is dimensionally ill-typed for the stated matrix shapes.
- Agent confidence
- 9/10
- Baseline
- Unshielded forbidden-transition rate: 0.5965 at bias=-2, rising to 1.0 at biases 4 and 5; completion 0.01675 at bias=4.
- Idea
- Shield forbidden-transition rate: 0.0 for every tested bias; shield completion at bias=4 was 0.01675. Planner completion at bias=4: H=1 0.0, H=2 1.0, H=3 1.0, H=4 1.0; all planner violation rates were 0.0.
Limitations: This is a tiny tabular toy rather than the proposed two-agent PPO grid-world. No neural network training, shared-resource collision benchmark, PPO sample efficiency, FLOP comparison, or real observation/state-tracking errors were tested. The intervention sweep needs a redesigned coupling between raw and shielded sampling before its analytic probability can be meaningfully evaluated.
How to run: python3 run_experiment.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Artifacts
- report.md 1.7 KB View
- results.json 3.8 KB View Raw
- run_experiment.py 3.1 KB View Raw