Saved in:
Bibliographic Details
Main Authors: Han, Liping, Nie, Tingting, Yu, Le, Hu, Mingzhe, Yue, Tao
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.07122
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917132356288512
author Han, Liping
Nie, Tingting
Yu, Le
Hu, Mingzhe
Yue, Tao
author_facet Han, Liping
Nie, Tingting
Yu, Le
Hu, Mingzhe
Yue, Tao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_07122
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RisConFix: LLM-based Automated Repair of Risk-Prone Drone Configurations
Han, Liping
Nie, Tingting
Yu, Le
Hu, Mingzhe
Yue, Tao
Software Engineering
Artificial Intelligence
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.
title RisConFix: LLM-based Automated Repair of Risk-Prone Drone Configurations
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2512.07122