Hybrid Distillation with CoT Guidance for Edge-Drone Control Code Generation
On the map: LLM reasoning → Spatial and embodied reasoning
Abstract (arXiv)
With large language models demonstrating significant potential in code generation tasks, their application to onboard control of resource-constrained Unmanned Aerial Vehicles has emerged as an important research direction. However, a notable contradiction exists between the high resource consumption of large models and the real-time, lightweight requirements of UAV platforms. This paper proposes an integrated approach that combines knowledge distillation, chain-of-thought guidance, and supervised fine-tuning for UAV multi-SDK control tasks, aiming to efficiently transfer complex reasoning and code generation capabilities to smaller models. Firstly, a high-quality dataset covering various mainstream UAV SDKs is constructed, featuring instruction-code-reasoning chains, and incorporates counterfactual negative samples for data augmentation, guiding the model to learn the end-to-end logic from instruction parsing to code generation. Secondly, leveraging DeepSeek-Coder-V2-Lite quantized via QLoRA as the teacher model, and based on a hybrid black-box and white-box distillation strategy, high-quality chain-of-thought soft labels are generated. These are combined with a weighted cross-entropy loss using hard labels to transfer complex reasoning capabilities to the smaller student model. Finally, through prompt tuning engineering optimized for the UAV control scenario, the model performance on core tasks such as SDK type recognition and function call matching is enhanced. Experimental results indicate that the distilled lightweight model maintains high code generation accuracy while achieving significant improvements in deployment and inference efficiency, effectively demonstrating the feasibility and superiority of our approach in achieving precise and lightweight intelligent control for UAVs
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 13 of its 19 references that are in the map. First posted on arXiv 13 Jan 2026.
Builds on
13 of 19 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2023Let's Verify Step by Stepcited by 3,598
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2023Qwen Technical Reportcited by 3,273
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2023ChatGPT for Robotics: Design Principles and Model Abilitiescited by 296
1 more
- 2023Large Language Models for Robotics: A Surveycited by 132
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Exp2VLA: Enabling Vision-Language-Action for Drone Navigation from Expert Demonstrations
- 2025Robot builds a robot's brain: AI generated drone command and control station hosted in the sky
- 2025UAV-Flow Colosseo: A Real-World Benchmark for Flying-on-a-Word UAV Imitation Learning
- 2025Large Language Model-Driven Closed-Loop UAV Operation with Semantic Observations
- 2025Mathematical Reasoning for Unmanned Aerial Vehicles: A RAG-Based Approach for Complex Arithmetic Reasoning
- 2026MI-Distillation: Selecting from Model-Interpolated Instruct-Reasoning Data Spectrum for Chain-of-Thought Distillation
- 2026AeroGen: Agentic Drone Autonomy through Single-Shot Structured Prompting & Drone SDK
- 2025OpenCodeReasoning: Advancing Data Distillation for Competitive Coding