Abstract
Flying insects are capable of vision-based navigation in cluttered environments, reliably avoiding obstacles through fast and agile maneuvers, while being very efficient in the processing of visual stimuli. Meanwhile, autonomous micro air vehicles still lag far behind their biological counterparts, displaying inferior performance at a much higher energy consumption. In light of this, we want to mimic flying insects in terms of their processing capabilities, and consequently show the efficiency of this approach in the real world. This letter does so through evolving spiking neural networks for controlling landings of micro air vehicles using optical flow divergence from a downward-looking camera. We demonstrate that the resulting neuromorphic controllers transfer robustly from a highly abstracted simulation to the real world, performing fast and safe landings while keeping network spike rate minimal. Furthermore, we provide insight into the resources required for successfully solving the problem of divergence-based landing, showing that high-resolution control can be learned with only a single spiking neuron. To the best of our knowledge, this work is the first to integrate spiking neural networks in the control loop of a real-world flying robot.
Introduction
Flying insects are masters of efficient navigation, performing complex maneuvers with tiny, low-power brains. In contrast, autonomous micro air vehicles (MAVs) typically rely on power-hungry deep learning models and standard processors. This paper addresses the "divergence-based landing" problem, where MAVs must land smoothly by maintaining a constant rate of expansion in their field of vision—a property known as optical flow divergence. While Artificial Neural Networks (ANNs) can solve this, they are computationally expensive. Spiking Neural Networks (SNNs), which mimic biological neurons by communicating via discrete pulses (spikes), offer a far more energy-efficient alternative, though they are notoriously difficult to train using standard gradient-based optimization.
Methodology
The research team bypassed the training difficulties of SNNs by utilizing neuroevolution. Instead of calculating gradients, they "bred" successful networks over generations using the NSGA-II multi-objective genetic algorithm. The architecture employed Leaky Integrate-and-Fire (LIF) neurons, with inputs consisting of divergence ($\hat{D}$) and its temporal derivative ($\Delta\hat{D}$), encoded into spikes.
To ensure robust performance, the fitness function evaluated four objectives: time to land, final height, final vertical velocity (for a soft landing), and total network spike rate. The study utilized a highly randomized vertical simulation environment to account for real-world noise, delays, and wind. The best-performing networks were then ported to a Parrot Bebop 2 drone using TinySNN, a C-based framework for on-board SNN processing, and validated in a flight arena equipped with a motion capture system.
Key Results and Insights
The evolved SNNs demonstrated superior performance, landing faster and with lower touchdown velocities than previous state-of-the-art ANN controllers and traditional proportional (P) controllers.
- The Power of One: A significant finding was that high-resolution, robust control could be achieved with just a single hidden spiking neuron, challenging the trend toward deeper models for specific control tasks.
- Efficiency as an Objective: By explicitly penalizing high spike rates during evolution, the researchers reduced network activity by 65% without sacrificing performance. This approach is estimated to result in energy savings of 59% to 96% if implemented on dedicated neuromorphic hardware like Intel’s Loihi.
- Sim-to-Real Robustness: Despite being evolved in an abstracted simulation, the controllers transferred to the real world with minimal tuning, successfully handling complex aerodynamics such as ground-effect downwash.
Evolution naturally favored "bang-bang" control (rapidly switching between maximum and minimum thrust). To ensure real-world motor safety, the authors constrained synaptic parameter mutations to force the SNN to produce smoother, more transferable control signals, as seen in the low-pass filtered thrust setpoints ($T_{sp} (lp)$).
Discussion and Future Work
While this study marks the first integration of SNNs in the active control loop of a flying robot, some limitations remain. Like all optical-flow methods, the system faces scale ambiguity very close to the ground, as it cannot perceive absolute distance. Future work aims to develop a truly "end-to-end" neuromorphic solution that processes raw event-camera pixels directly into motor commands and to validate these energy savings on physical neuromorphic chips in flight.
Reference: Hagenaars, J. J., et al. "Evolved Neuromorphic Control for High Speed Divergence-based Landings of MAVs." IEEE Robotics and Automation Letters, 2020.
Summary updated