TL;DR
Controlling a drone swarm usually forces an uncomfortable choice: use opaque deep neural networks that are nightmare-fuel for aviation safety auditors, or use genetic programming to evolve readable math equations through agonizingly slow trial and error. GNES gets the best of both worlds by using neural networks and tree search only during design time to intelligently edit and evolve symbolic equations. Once deployed, the neural networks stay on the ground, and the drones fly using compact, human-readable control laws that outperform standard reinforcement learning in a fraction of the simulation budget.
What Problem Does This Paper Address?
Getting a decentralized swarm of UAVs to flock or form shapes using only local observations is tough. In safety-critical airborne systems, engineers need policies they can read, audit, and tweak—closed-form math equations, not black-box neural weights.
Historically, you had three imperfect options:
- Hand-designed rules (like Boids), which are transparent but brittle and task-specific.
- Deep Multi-Agent Reinforcement Learning (MARL), which learns strong policies, but locks them inside an un-auditable neural network.
- Genetic Programming (GP), which evolves readable equations, but relies on blind, random mutations—wasting thousands of expensive physics simulations on broken or nonsensical math.
The authors ask: Can we use deep learning to guide the evolutionary search for symbolic equations, keeping the search fast and the final controller 100% transparent?
Methods
GNES (GNN-guided Neural Evolutionary Search) reframes designing a math equation as a game—specifically, an AlphaZero-style Markov Decision Process where states are programs and actions are code edits.
Here is what makes the engine tick:
- Gene Growth Trees (GGTs): A novel, strongly typed expression-tree representation tailored for 2D velocity control. Unlike standard GP trees that might accidentally add a scalar distance to an angle, GGTs strictly separate magnitudes, angles, and 2D vectors. An automatic repair-and-prune pipeline guarantees every candidate equation is physically dimensionally consistent, simulator-executable, and capped at 24 nodes to prevent "code bloat."
- Policy–Value Graph Neural Networks (GNNs): Because equations are trees, GNES encodes them as graphs. Two lightweight GNNs act as search surrogates trained on past simulator runs: a Value GNN estimates how well an unevaluated equation will fly, and a Policy GNN predicts how much a specific genetic edit (out of 24 valid mutations/crossovers) will improve fitness.
- Two-Phase Search: After a brief unguided "cold start" to fill a replay buffer, Stage 2 begins. For the first half of iterations, Monte Carlo Tree Search (MCTS) uses the GNNs to plan multi-step edits ahead of time before committing to an expensive simulator check. In the second half, it switches to greedy local refinement, using the Value GNN to cherry-pick the best single-step neighbor.
Every UAV in the swarm executes the exact same evolved symbolic program on its own local sensor readings.
Datasets
Because this is closed-loop control synthesis, there are no static datasets. Instead, policies are trained and evaluated online in a custom 2D horizontal-plane simulator featuring second-order motion, aerodynamic drag, acceleration limits, and arena walls.
The authors evaluate across three decentralized swarm benchmarks:
- Flocking: Cohesive, collision-free group movement tracking a goal.
- Entrapping: Surrounding a moving target in an evenly spaced perimeter.
- Line Formation: Aligning into a moving collinear formation.
Additionally, evolved champion equations are ported directly into AirSim—a high-fidelity 3D simulator with full multirotor flight dynamics—for qualitative zero-shot validation.
Key Insights and Ideas
- Guide the search, not the drone: By applying neural networks to program edits rather than motor commands, you get the sample efficiency of deep learning with zero neural inference overhead—or black-box risk—on the aircraft itself.
- AI discovers intuitive physics motifs: GNES didn't just tune parameters; it invented clever, non-obvious control laws. On Entrapping, it discovered a density-normalized radial gain, $\mathbf{v}_{cmd} = \mathcal{V}((a - d_0)/(b + d_0), A) + \mathcal{V}(b, B)$, which automatically weakens inward pull when neighbors crowd together and strengthens it when sparse. On Flocking, it invented a rate-modulated feedforward term to anticipate target motion.
- Fixing the "garbage candidate" problem: In unguided evolution, random edits frequently break good equations. Once GNES's learned guidance switches on, the share of collapsed, zero-scoring candidates drops from 36.7% to 0%, shifting the entire distribution of proposed equations upward.
Key Results
On a three-seed comparison on the Line Formation task (normalized [0, 2] fitness scale):
- Higher scores, one-third the budget: Using ~840 simulator rollouts, GNES achieved a fitness of 1.751 ± 0.022, decisively beating both unguided evolutionary search (DANCE at 1.571 ± 0.024 over 2,160 rollouts) and deep MARL (MAPPO at 1.467 ± 0.017 over 2,400 episodes) on every seed.
- Why MAPPO struggled: Despite having triple the episode budget, MAPPO plateaued early—likely tripped up by sparse, long-horizon team rewards where credit assignment is notoriously hard, whereas GNES benefited from the strong structural prior of physics-typed math primitives.
- Compactness & Ablations: Returned controllers averaged just 18 symbols. Ablations showed that while all GNES variants eventually hit near-ceiling scores (~1.72–1.76), MCTS look-ahead sustained late-stage improvements, and graph encoding (vs. a flat MLP) reduced mid-budget variance across seeds by 3× to 7×.
Limitations and Future Work
- Sim-to-Real gap: All quantitative tests happen in an uncalibrated 2D simulator without sensor noise, communication delays, or real hardware constraints.
- Domain-specific grammar: The GGT vocabulary is built specifically for planar UAV velocity control; adapting GNES to robotic arms or legged locomotion requires writing a new typed grammar.
- Discrete precision & small seed count: Discrete symbolic trees can lack the fine-grained numerical precision of continuous neural weights, and quantitative comparisons were limited to three random seeds on a single saturating benchmark task.
Summary updated