[Paper Review] Learning to Seek: Autonomous Source Seeking with Deep Reinforcement Learning Onboard a Nano Drone Microcontroller
This paper presents a lightweight, end-to-end deep reinforcement learning (DRL) policy for autonomous source seeking on a nano quadcopter using only a low-power Cortex-M4 microcontroller. By designing a resource-aware observation space and ultra-tiny neural network, the system achieves 94% success in cluttered real-world environments with 70% higher efficiency and 3× lower power consumption than prior learning-based methods.
We present fully autonomous source seeking onboard a highly constrained nano quadcopter, by contributing application-specific system and observation feature design to enable inference of a deep-RL policy onboard a nano quadcopter. Our deep-RL algorithm finds a high-performance solution to a challenging problem, even in presence of high noise levels and generalizes across real and simulation environments with different obstacle configurations. We verify our approach with simulation and in-field testing on a Bitcraze CrazyFlie using only the cheap and ubiquitous Cortex-M4 microcontroller unit. The results show that by end-to-end application-specific system design, our contribution consumes almost three times less additional power, as compared to competing learning-based navigation approach onboard a nano quadcopter. Thanks to our observation space, which we carefully design within the resource constraints, our solution achieves a 94% success rate in cluttered and randomized test environments, as compared to the previously achieved 80%. We also compare our strategy to a simple finite state machine (FSM), geared towards efficient exploration, and demonstrate that our policy is more robust and resilient at obstacle avoidance as well as up to 70% more efficient in source seeking. To this end, we contribute a cheap and lightweight end-to-end tiny robot learning (tinyRL) solution, running onboard a nano quadcopter, that proves to be robust and efficient in a challenging task using limited sensory input.
Motivation & Objective
- To enable fully autonomous, real-time source seeking on nano quadcopters with extreme hardware constraints.
- To reduce power consumption and computational overhead compared to existing learning-based navigation systems on nano drones.
- To design a lightweight, generalizable DRL policy that operates with minimal sensory input and no prior environment knowledge.
- To achieve robust obstacle avoidance and efficient source seeking in GPS-denied, dynamic environments using only a single light sensor.
- To demonstrate zero-shot sim-to-real transfer with high success rates in real-world flight tests.
Proposed method
- Designed a custom POMDP formulation with application-specific observation features: normalized light gradient and filtered light intensity.
- Implemented an ultra-tiny deep neural network with two hidden layers, optimized to run at 100 Hz on a Cortex-M4 microcontroller.
- Used a low-pass filter on raw light sensor readings to reduce noise and improve gradient estimation.
- Formulated policy inputs as normalized features (s₁: gradient, s₂: filtered intensity) to enhance robustness to sensor noise and attitude changes.
- Trained the DRL policy in a simulated environment (Air Learning) with randomized obstacle placements and source locations.
- Enabled zero-shot transfer from simulation to reality without fine-tuning or environment-specific retraining.
Experimental results
Research questions
- RQ1Can a deep reinforcement learning policy be efficiently deployed on a nano quadcopter with only a Cortex-M4 microcontroller and minimal sensors?
- RQ2How does the performance of a DRL-based source seeker compare to a finite state machine (FSM) in terms of obstacle avoidance and source-seeking efficiency?
- RQ3To what extent does the system generalize to unseen real-world environments beyond the training simulation?
- RQ4What is the power and energy overhead of deploying a DRL policy on a nano drone compared to existing learning-based navigation systems?
- RQ5How effective is the custom observation space design in enabling robust source seeking under high sensor noise and limited sensory input?
Key findings
- The proposed DRL policy achieved a 94% success rate in real-world flight tests across cluttered and randomized obstacle environments, significantly outperforming the prior state of the art (80% in simulation, 30% in complex environments).
- The system demonstrated 70% higher efficiency in source seeking compared to a finite state machine baseline, with mission times reduced by 70%, 55%, and 66% across low, medium, and high obstacle densities.
- The policy exhibited robust obstacle avoidance, avoiding getting stuck in dark zones or looping trajectories, unlike the FSM baseline which showed higher variance and occasional trapping.
- The system consumed only 0.71W additional power, representing a 3× reduction in additional power consumption compared to competing learning-based navigation systems on nano drones.
- Endurance was reduced by only 35.5 seconds (from 7:06.3 to 6:30.8) when adding the source-seeking system, despite the addition of a sensor and MCU, indicating minimal energy overhead.
- The observation space design—using normalized light gradient and low-pass filtered intensity—proved critical in enabling reliable gradient tracking under high noise and dynamic flight conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.