NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Distributed Controllers for V-Formation

Shouvik Roy, Usama Mehmood, Radu Grosu, Scott A. Smolka, Scott D. Stoller, Ashish Tiwari · DOI

Abstract

We show how a high-performing, fully distributed and symmetric neural V-formation controller can be synthesized from a Centralized MPC (Model Predictive Control) controller using Deep Learning. This result is significant as we also establish that under very reasonable conditions, it is impossible to achieve V-formation using a deterministic, distributed, and symmetric controller. The learning process we use for the neural V-formation controller is significantly enhanced by CEGkR, a Counterexample-Guided k-fold Retraining technique we introduce, which extends prior work in this direction in important ways. Our experimental results show that our neural V-formation controller generalizes to a significantly larger number of agents than for which it was trained (from 7 to 15), and exhibits substantial speedup over the MPC-based controller. We use a form of statistical model checking to compute confidence intervals for our neural V-formation controller's convergence rate and time to convergence.

Introduction

In nature, V-formations allow birds to optimize energy consumption through upwash benefits while maintaining clear lines of sight. In robotics, achieving such emergent behavior typically requires either a centralized controller with global knowledge or complex communication protocols between agents. Centralized systems are computationally heavy and fragile, while distributed systems often struggle with coordination.

This paper addresses the challenge of creating a purely distributed controller—one where agents act independently based only on local observations—without explicit communication. We first prove that a deterministic, symmetric, and distributed controller cannot mathematically guarantee V-formation. We then demonstrate how Deep Learning can bypass this limitation by distilling a centralized expert's knowledge into a distributed neural network.

Methods: Synthesizing Distributed Intelligence

Our approach utilizes a "teacher-learner" framework. The Centralized Adaptive-horizon MPC (CAMPC) serves as the teacher, using global state information and Particle Swarm Optimization to determine optimal accelerations. The learner, a Distributed Neural Controller (DNC), is a deep neural network that receives only local inputs: the relative positions and velocities of its seven nearest neighbors.

To ensure the DNC remains robust, we introduce Counterexample-Guided $k$-fold Retraining (CEGkR). Standard supervised learning often fails in multi-agent systems because small errors accumulate, pushing the system into states the model never encountered during training. CEGkR identifies these failure trajectories, extracts the initial $k$ states of the failure, and uses the CAMPC teacher to generate "guided retraining samples" for those specific edge cases.

The CEGkR training pipeline, showing the iterative loop between the centralized teacher and the distributed learner.

Experimental Results and Generalization

The DNC was trained on swarms of 7 agents but demonstrated remarkable generalization. When tested on up to 16 agents—more than double the training size—the DNC significantly outperformed a distributed version of the MPC (DAMPC) that lacked global coordination.

Comparison of success rates and convergence times between the Distributed MPC (DAMPC) and the Distributed Neural Controller (DNC).

Key findings include:

  • Computational Efficiency: The DNC computes actions in ~1.5ms, compared to ~1730ms for the centralized MPC, representing a 1,000x speedup.
  • Success Rate: With CEGkR, the DNC achieved a 95.16% success rate for 7 agents.
  • Implicit Coordination: The neural network learns to interpret neighbor movements as signals, effectively performing "consensus-like" tasks without explicit communication.

Conclusion

By combining centralized optimization with counterexample-guided retraining, we can synthesize distributed controllers that are both efficient and robust. The DNC not only mimics the expert but generalizes to larger swarms and maintains performance in expanded configuration spaces. Future work will extend this framework to 3D environments and more complex multi-agent tasks like collective transport.

Summary updated

BibTeX
@inproceedings{roy2020learning,
  author = {Shouvik Roy and Usama Mehmood and Radu Grosu and Scott A. Smolka and Scott D. Stoller and Ashish Tiwari},
  title = {{Learning Distributed Controllers for V-Formation}},
  booktitle = {ACSOS},
  year = {2020},
  doi = {10.1109/acsos49614.2020.00033},
}
Figure