Hybrid Distillation with CoT Guidance for Edge-Drone Control Code Generation
Yizhan Feng, Hichem Snoussi, Yuhang Wang, Jing Teng, Abel Cherouat, Tian Wang

TL;DR
This paper introduces a hybrid distillation method with chain-of-thought guidance to enable resource-efficient, accurate code generation for UAV control, balancing model complexity and real-time deployment needs.
Contribution
It presents a novel integrated approach combining knowledge distillation, chain-of-thought guidance, and prompt tuning for lightweight UAV control code generation.
Findings
High-quality dataset with instruction-code-reasoning chains created
Distilled model achieves high code accuracy with improved efficiency
Effective transfer of complex reasoning to small models
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsUAV Applications and Optimization · Air Traffic Management and Optimization · Advanced Neural Network Applications
