Abstract
Flight control software is typically designed with numerous configurable parameters governing multiple functionalities, enabling flexible adaptation to mission diversity and environmental uncertainty. Although developers and manufacturers usually provide recommendations for these parameters to ensure safe and stable operations, certain combinations of parameters with recommended values may still lead to unstable flight behaviors, thereby degrading the drone's robustness. To this end, we propose a Large Language Model (LLM) based approach for real-time repair of risk-prone configurations (named RisConFix) that degrade drone robustness. RisConFix continuously monitors the drone's operational state and automatically triggers a repair mechanism once abnormal flight behaviors are detected. The repair mechanism leverages an LLM to analyze relationships between configuration parameters and flight states, and then generates corrective parameter updates to restore flight stability. To ensure the validity of the updated configuration, RisConFix operates as an iterative process; it continuously monitors the drone's flight state and, if an anomaly persists after applying an update, automatically triggers the next repair cycle. We evaluated RisConFix through a case study of ArduPilot (with 1,421 groups of misconfigurations). Experimental results show that RisConFix achieved a best repair success rate of 97% and an optimal average number of repairs of 1.17, demonstrating its capability to effectively and efficiently repair risk-prone configurations in real time.
Abstract (translated)
飞行控制软件通常设计有许多可配置参数,这些参数管理着多种功能,使无人机能够灵活适应任务多样性和环境不确定性。尽管开发者和制造商一般会为这些参数提供推荐值以确保安全稳定的运行,但某些使用推荐值的参数组合仍可能导致不稳定飞行行为,从而降低无人机的鲁棒性。 为此,我们提出了一种基于大型语言模型(LLM)的方法来实时修复损害无人机稳定性的高风险配置问题(命名为RisConFix)。该方法持续监控无人机的操作状态,并在检测到异常飞行行为时自动触发修复机制。修复机制利用LLM分析配置参数与飞行状态之间的关系,然后生成校正的参数更新以恢复飞行稳定性。为了确保更新后的配置的有效性,RisConFix采用迭代方式运行;它会不断监测无人机的飞行状态,在应用一次修正后仍存在异常的情况下自动触发下一个修复周期。 我们通过ArduPilot(包含1,421组误配置)的一个案例研究对RisConFix进行了评估。实验结果显示,RisConFix实现了最高97%的成功修复率和最优平均每次修复次数为1.17次,证明了它能够有效地在实时环境中修复高风险配置问题。
URL
https://arxiv.org/abs/2512.07122