Bridging Performance and Generalization in Reinforcement Learning for Agile Flight

Jonathan Green, Jiaxu Xing, Nico Messikommer, Angel Romero, Davide ScaramuzzaarXiv 2026

TL;DR

Researchers have developed a new reinforcement learning (RL) framework that enables autonomous drones to fly through unseen, complex racetracks at high speeds without any prior training on those specific layouts. By combining adaptive task switching with physically informed procedural track generation, their "generalist" policy achieves a 7.4x improvement in zero-shot generalization over previous methods while maintaining racing speeds nearly 40% faster than prior robust approaches.

What Problem Does This Paper Address?

Autonomous drone racing is the "Formula 1" of robotics: it requires operating at the absolute limits of agility and speed. While RL has produced agents that can beat human champions on specific tracks, these agents are notoriously brittle. If you move a single gate by a few meters, a policy trained on a fixed track will almost certainly crash. This is because standard RL agents tend to "memorize" a specific trajectory rather than learning the underlying principles of agile flight.

Previous attempts to fix this—known as Zero-Shot Generalization (ZSG)—usually resulted in a massive performance hit. To be safe on new tracks, drones had to fly significantly slower. The authors tackle this "performance-generalization trade-off," aiming for a policy that is both robust to new environments and competitively fast.

Methods

The authors propose a parallelized training paradigm that avoids the pitfalls of sequential curricula (which often lead to "catastrophic forgetting"). Their framework consists of three main pillars:

  1. Informed Task Generation: Instead of randomly placing gates (which often creates physically impossible tracks), they use a B-Spline-based generator. This ensures that every procedurally generated training track is smooth, diverse, and flight-feasible.
  2. Adaptive Task Controller: To prevent the agent from overfitting to a specific set of training tracks, the system monitors "learning progress." Using statistical methods (Spearman’s rank correlation or Kalman filters), it detects when the reward curve for a specific track plateaus. Once a track is "learned," it is asynchronously replaced with a new, novel task.
  3. Dual Modalities: They trained both state-based agents (using perfect position/velocity data) and vision-based agents. The vision-based agent uses a CNN to process 84x84 images, employing a clever "gate-brightness" encoding where the next gate is brightest and subsequent gates fade out to help the agent understand gate ordering.
Figure 2: Overview of the training pipeline and model architecture. For the state-based agent, the actor contains only the Policy network, which receives full state information and the previous action. For the vision-based agent, the Actor additionally contains a feature extractor CNN, and the Policy network receives the feature extractor’s image embedding, partial state information, and the previous action. In both cases the set of training tasks are maintained by the Adaptive Task Controller, which assesses when tasks are no longer generating a strong learning signal to replace them with new tasks.

Datasets

The agents were trained in the Flightmare simulator across 96 parallel environments.

  • Evaluation Set: A diverse suite of 40 unseen racetracks, including 9 human-designed "core" tracks (like Figure8, BigS, and Kidney) and 31 spline-generated tracks.
  • Real-World Testing: The state-based policy was deployed on physical quadrotors in a flight arena to validate the sim-to-real gap.

Key Insights and Ideas

  • Memorization vs. Strategy: The authors proved that single-task policies don't learn to "race"; they learn a specific sequence of actions. In a striking experiment, they added a "redundant" gate along the drone's existing path. Even though the path didn't need to change, the policy—confused by the new visual input—crashed immediately.
  • Broadening the Value Landscape: By analyzing the "Critic" network, the team found that their generalist policy learns a much wider "high-value corridor" through gates compared to the narrow, brittle corridors of single-task agents.
Value function comparison: The generalist (right) learns a much broader high-value region than the single-task agent (left).
  • The Power of Parallelism: Unlike sequential training, parallelizing diverse tasks prevents the agent from forgetting how to turn left just because it's currently practicing right turns.
  • Recurrency Isn't Always Better: Surprisingly, adding memory (LSTMs) actually degraded generalization performance, suggesting that for high-speed flight, the immediate state observation is sufficiently Markovian.

Key Results

  • Generalization Boost: The generalist agent reached a Performance-Weighted Success Score ($S_{pw}$) of 0.1652, a 7.4x improvement over the previous state-of-the-art (Environment as Policy).
  • Speed: The agent was 37.73% faster than previous robust methods and only 14.5% slower than specialized agents that can't generalize at all.
  • Real-World Success: In physical deployments, the policy achieved a 100% success rate on core tracks with a tiny sim-to-real lap time gap of only ~6.6%.
  • Vision Milestone: This work represents the first successful demonstration of zero-shot generalization for vision-based high-speed drone racing, where the agent flies directly from pixel inputs.
Figure 5: Real-world deployment of the generalist agent on the Figure8 racetrack.

Limitations and Future Work

While a major step forward, the authors note several areas for improvement:

  • Out-of-Distribution (OOD) Scenarios: The policy hasn't been tested on radically different track families or environments with dynamic obstacles.
  • Vision Stability: The vision-based agent still requires some partial state information (like velocity) for stability; moving to a purely image-based policy remains a challenge.
  • Computational Cost: Large-scale parallel training is resource-intensive, and improving sample efficiency would make the framework more accessible.

Summary updated

BibTeX
@misc{green2026bridging,
  author = {Jonathan Green and Jiaxu Xing and Nico Messikommer and Angel Romero and Davide Scaramuzza},
  title = {{Bridging Performance and Generalization in Reinforcement Learning for Agile Flight}},
  year = {2026},
  eprint = {2606.27348},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.27348},
}
Figure