Industrial-grade drones often struggle with complex task planning in dynamic, out-of-distribution (OOD) environments. While Large Language Models (LLMs) offer powerful reasoning capabilities, bridging the gap between high-level logic and rigid robotic execution remains a significant challenge. This paper introduces SRDrone, a framework that enables drones to autonomously evaluate and refine their own task plans, effectively "learning from mistakes" without human intervention.
The SRDrone Framework
SRDrone replaces traditional human-in-the-loop oversight with an autonomous closed-loop system consisting of execution, evaluation, and repair. The framework is divided into two primary phases: Task Execution and Reflective Optimization.
Phase 1: Continuous State Evaluation
Standard drone evaluation often relies on binary "success/failure" checks at the final destination. SRDrone introduces the Continuous Motion and Spatial Reasoning (CMSR) algorithm to provide a more nuanced understanding:
- Action-Centric Filtering: To manage the high volume of sensor data, the system captures state information only at "action boundaries" (e.g., transitioning from takeoff to forward flight).
- Semantic Derivation: Raw telemetry (coordinates, IMU data) is translated into human-readable semantic narratives. This allows the LLM to reason about the process of flight rather than just the endpoint.
Phase 2: Hierarchical BT Modification
When a failure is detected, SRDrone employs a structured, three-layer analysis to modify the drone's Behavior Tree (BT):
- Action Layer: Validates the selection of atomic actions.
- Logic Layer: Evaluates control flow nodes (e.g., Sequence vs. Fallback).
- Mission Layer: Addresses macro-level task misunderstandings.
By constraining the LLM to a predefined Strategy Space, the system ensures that modifications are syntactically correct and executable on physical hardware.
Key Insights: Overcoming the "Final State Fallacy"
A critical finding of this research is the "Final State Fallacy." Relying solely on the drone's final position can lead to incorrect success evaluations. For instance, a drone might reach the correct final coordinate but fail the mission by flying around a frame it was supposed to fly through.
SRDrone’s continuous evaluation achieved 80.07% accuracy in explaining failures, a massive improvement over the 12.18% accuracy of traditional final-state methods. This process-oriented approach allows for a 90.38% failure detection rate.
Results and Performance
The system was evaluated across 11 drone tasks in both PX4/Unreal Engine simulations and real-world tests using a multirotor equipped with an NVIDIA Jetson Orin NX. Key results include:
- Success Rate Improvement: SRDrone improved task success rates by an average of 44.87% over state-of-the-art baselines.
- Sim-to-Real Transfer: By building an "Experience Base" in simulation, the drone achieved a 96.25% success rate in real-world deployments.
- Efficiency: The system is highly optimized for edge computing, maintaining a CPU overhead of less than 14% and RAM usage under 110 MB.
Future Directions
While SRDrone represents a significant step toward autonomous drone refinement, limitations remain. Future work will focus on improving execution-level diagnostics (e.g., identifying sensor blur caused by high-speed turns), reducing cloud dependency through edge-compatible LLMs, and integrating Vision-Language Models (VLMs) for direct visual reasoning.
Summary updated