FIREFLY: Fair, Safe Multi-UAV Planning
- FIREFLY Software is a distributed fairness-aware motion planning framework that equitably allocates energy among UAV teams while ensuring mission safety.
- It employs a two-stage receding horizon architecture that combines decentralized fair planning with real-time safety control via CBF-CLF quadratic programs.
- The framework achieves scalable performance with validated fairness improvements and adaptable runtime trade-offs for multi-agent missions.
FiReFly Software refers to a distributed, fairness-aware motion planning framework for multi-UAV (unmanned aerial vehicle) teams, designed to optimize the equitable distribution of energy expenditure among agents while guaranteeing safety and real-time performance (Fronda et al., 20 Aug 2025). The architecture integrates a distributed fairness-centric planner with online safety controllers operating in a receding horizon framework. FiReFly is applicable to reach-avoid and multi-agent resource-sharing missions, emphasizing both mission success and the fair allocation of control effort.
1. Two-Stage Distributed Receding Horizon Architecture
FiReFly operates in discrete time and iteratively solves a two-stage problem at each step:
- Distributed Fair Planning:
- Each UAV computes a finite-horizon state and input sequence.
- A fairness metric—commonly the variance in normalized energy across agents or in energy surges—is minimized with respect to agent-specific dynamics, actuation bounds, and terminal goal constraints.
- The solution is computed in a distributed, decentralized manner using a modified block coordinate descent procedure. Each agent updates its input according to its local copy of the global state and the gradient of the fairness objective.
- Online Safety Control:
- After initial planning, each UAV’s control is passed through a real-time quadratic program enforcing safety via Control Barrier Functions (CBFs) and progress via Control Lyapunov Functions (CLFs).
- This safety layer minimally perturbs the fair plan, ensuring collision avoidance (inter-agent and with obstacles), input constraints, and steady progress to the specified goal regions.
This division between fairness-centric planning and safety-centric execution provides a modular approach suitable for scaling to larger robotic teams.
2. Fairness Principles and Mathematical Formulation
FiReFly introduces several fairness notions, each formalized as a function of the control sequences:
- Normalized Energy: For UAV , normalized energy is defined as:
where is the minimum energy needed by agent to reach the goal in isolation.
- Variance-Based Fairness:
with .
- Effort-Penalized Fairness:
with positive definite, .
- Surge-Based Fairness: Considering control surges above a threshold , for UAV ,
and,
where .
These fairness objectives encourage balanced resource consumption even when underlying tasks differ in intrinsic difficulty.
3. Distributed Fair Motion Planning Algorithm
The central distributed planning algorithm operates as follows:
- Each UAV holds a copy of the planning variables and fairness gradient.
- At outer iteration , agent solves for a descent direction to minimize:
subject to local dynamics, actuation, and terminal goal constraints.
- The step is applied via with an update scale .
- Iterations proceed until convergence (change in fairness objective below some threshold).
This procedure eliminates the bottleneck of a centralized update and fits real-time, scaling requirements.
4. Safety Controller via CBF-CLF Quadratic Program
Safety and progress toward goal regions are enforced during execution by solving, at each time step , a QP:
- Variables: updated control and slack
- Objective:
- Constraints:
- CBF: (forward invariance of safe set)
- CLF: (goal progress)
- Input box constraints
Where encodes minimum distances for inter-UAV and obstacle avoidance, encodes distance to goal, and allows for feasible relaxation when strict satisfaction is impossible.
5. Performance Metrics, Trade-offs, and Scalability
Performance and scalability are quantified by:
- Mission Success Rate: The fraction of UAVs achieving their goal within planning horizons, consistently near 100% for up to 15 UAVs.
- Fairness Metrics: Reduction in variance-based or surge-based fairness objectives versus a non-fair baseline. For teams up to 50 UAVs, the framework yields improved fairness, though absolute improvement may decrease with scale.
- Runtime: Real-time computation is achievable for up to 15 UAVs. With increased team size, tighter convergence criteria in distributed planning incur higher runtimes (up to -fold increases with strict thresholds), necessitating trade-offs between fairness and responsiveness.
- Adaptivity: FiReFly allows user-specified tuning: reducing the frequency or strictness of the fair planner can yield faster, less fair solutions, while more frequent or stricter re-planning improves fairness at computational cost.
6. Distinctive Features and Innovations
- Explicit Fairness: FiReFly’s key innovation is the explicit integration of fairness principles (energy and surge variance minimization) into the receding horizon control loop, in contrast to classical approaches prioritizing only mission success or safety.
- Distributed Implementation: The decentralized, block coordinate descent structure avoids central coordination, facilitating deployment in airspaces with many UAVs.
- Safety via CBF-CLF QP: Combining minimally invasive safety adjustments with fairness-aware planning ensures both theoretical safety guarantees and practical resource balancing.
7. Implications and Outlook
FiReFly advances state-of-the-art multi-agent planning by demonstrating that fairness and safety can be co-optimized within a distributed, real-time receding horizon control paradigm. Key implications include:
- Scalable Fair Resource Allocation: The distributed formulation supports deployment in teams of up to 50 UAVs, conditional on fairness-runtime trade-offs.
- Broader Applicability: The generic formulation of fairness objectives and the modular two-stage architecture can be adapted to other multi-robot domains with heterogeneous resource constraints.
- Future Directions: Further research may focus on improving convergence for very large teams, exploring alternate definitions of fairness, and extending to scenarios with stricter or time-varying safety requirements.
FiReFly establishes a rigorous framework for fairness-oriented, safe, and computationally efficient multi-UAV motion planning, providing an effective design template for multi-agent systems where both mission performance and equitable resource usage are critical (Fronda et al., 20 Aug 2025).