Swarmbug: debugging configuration bugs in swarm robotics
Chijung Jung, Ali Ahad, Jinho Jung, Sebastian G. Elbaum, Yonghwi Kwon
Abstract
Swarm robotics collectively solve problems that are challenging for individual robots, from environmental monitoring to entertainment. The algorithms enabling swarms allow individual robots of the swarm to plan, share, and coordinate their trajectories and tasks to achieve a common goal. Such algorithms rely on a large number of configurable parameters that can be tailored to target particular scenarios. This large configuration space, the complexity of the algorithms, and the dependencies with the robots’ setup and performance make debugging and fixing swarms configuration bugs extremely challenging. This paper proposes Swarmbug, a swarm debugging system that automatically diagnoses and fixes buggy behaviors caused by misconfiguration. The essence of Swarmbug is the novel concept called the degree of causal contribution (Dcc), which abstracts impacts of environment configurations (e.g., obstacles) to the drones in a swarm via behavior causal analysis. Swarmbug automatically generates, validates, and ranks fixes for configuration bugs. We evaluate Swarmbug on four diverse swarm algorithms. Swarmbug successfully fixes four configuration bugs in the evaluated algorithms, showing that it is generic and effective. We also conduct a real-world experiment with physical drones to show the Swarmbug’s fix is effective in the real-world.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- ROCAS: Root Cause Analysis of Autonomous Driving Accidents via Cyber-Physical Co-mutationShiwei Feng, Yapeng Ye, Qingkai Shi, Zhiyuan Cheng et al.ASE 2024 · 4 citations
- MoDitector: Module-Directed Testing for Autonomous Driving SystemsRenzhi Wang, Mingfei Cheng, Xiaofei Xie, Yuan Zhou et al.ISSTA 2025 · 3 citations
- ROSInfer: Statically Inferring Behavioral Component Models for ROS-based Robotics SystemsTobias Dürschmid, Christopher Steven Timperley, David Garlan, Claire Le GouesICSE 2024 · 3 citations
- Understanding Misconfigurations in ROS: An Empirical Study and Current ApproachesPaulo Canelas, Bradley R. Schmerl, Alcides Fonseca, Christopher Steven TimperleyISSTA 2024 · 2 citations
- RSFuzz: A Robustness-Guided Swarm Fuzzing Framework Based on Behavioral ConstraintsRuoyu Zhou, Zhiwei Zhang, Haocheng Han, Xiaodong Zhang et al.ASE 2025
Builds on3
- SlowFuzz: Automated Domain-Independent Detection of Algorithmic Complexity VulnerabilitiesTheofilos Petsios, Jason Zhao, Angelos D. Keromytis, Suman JanaCCS 2017 · 214 citations
- Causal testing: understanding defects' root causesBrittany Johnson, Yuriy Brun, Alexandra MeliouICSE 2020 · 39 citations
- Feasible and stressful trajectory generation for mobile robotsCarl Hildebrandt, Sebastian G. Elbaum, Nicola Bezzo, Matthew B. DwyerISSTA 2020 · 10 citations
Related papers
- SWARMFLAWFINDER: Discovering and Exploiting Logic Flaws of Swarm AlgorithmsChijung Jung, Ali Ahad, Yuseok Jeon, Yonghwi KwonS&P 2022 · 16 citations
- SwarmBox: A Plug-and-Play Drone Swarm Framework for Streamlined Development and Comprehensive AnalysisMinki Lee, Seojin Lee, Seulbae KimFSE 2026
- Control Parameters Considered Harmful: Detecting Range Specification Bugs in Drone Configuration Modules via Learning-Guided SearchRuidong Han, Chao Yang, Siqi Ma, Jianfeng Ma et al.ICSE 2022 · 27 citations
- PatchVerif: Discovering Faulty Patches in Robotic VehiclesHyungsub Kim, Muslum Ozgur Ozmen, Z. Berkay Celik, Antonio Bianchi et al.USENIX Security 2023
- An exploratory study of autopilot software bugs in unmanned aerial vehiclesDinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu et al.FSE 2021 · 60 citations
