介绍
高效的航空数据收集对于绘制和监测地球表面现象至关重要。无人机 (UAV) 为精准农业[1] – [3]、野生动物保护[4]和搜索救援[5]、[6]等遥感应用提供了灵活、省力、省成本的解决方案。对于大地形监测,用多无人机系统取代单架无人机可以提高空间覆盖范围、多功能性和对单个故障的鲁棒性,同时降低总体成本[7 ] 。然而,要充分释放其潜力,一个关键的挑战是在复杂环境中协同规划无人机路径,同时考虑到机载运行时效率和通信的限制。
本文探讨了在地形监测场景中使用无人机团队进行主动数据收集的问题。我们的目标是使用无人机拍摄的图像测量值,在二维地形上映射最初未知的非均匀二元目标变量,例如农业场景中的农作物侵染或灾难场景中待救的受害者。我们解决了多智能体信息路径规划 (IPP) 的问题:我们为无人机规划信息丰富的路径,以协作收集传感器数据,但要受到能量、时间或距离的限制。我们的动机是让无人机自适应地监测信息价值高的感兴趣区域的地形。
传统的数据收集方法是非自适应的,依赖于静态的预定义路径。在多无人机覆盖路径规划[8]中,地形被均匀划分,并为每架无人机分配一个扫描模式。这类方法的主要缺点是它们假设感兴趣的目标变量(例如异常、热点、受害者)均匀分布,并且不允许对特定区域进行有针对性的检查。为了解决这个问题,提出了 IPP 方法[1]、[9] – [13],能够根据传入信息进行在线决策。然而,这些策略的运行时间通常会随着规划范围呈指数增长,因为它们依赖于在线评估许多候选路径。在团队场景中,推理其他无人机的行为会导致评估次数随着团队规模的扩大而进一步呈指数增长,这导致了难以解决的运行时复杂性。
我们的基于 RL 的方法应用于多无人机表面温度测绘场景。无人机拍摄地形图像(白色透明)并传达图像(灰色虚线箭头)。根据本地可用信息,每架无人机从一组动作(橙色箭头)中决定在何处进行下一次测量。插图:4 架部署的无人机(不同颜色)的最终轨迹。通过协作规划路径,我们的方法能够自适应地绘制现场感兴趣的温暖(红色)区域。
强化学习 (RL) 已成为一种有效学习机器人在线决策的流行方法[11] – [16]。最近的研究将 RL 应用于单智能体 IPP,以提高自适应数据收集的路径质量和计算时间[11]、[14]、[17]、[18]。然而,学习多个合作智能体的信息路径仍然是一个悬而未决的挑战。第一批研究显示了有希望的结果[12]、[13],但仅限于二维动作空间,并且没有解决信用分配问题[19],即每个智能体对整个团队绩效的贡献有多大,这对合作能力产生了不利影响。
本文的主要贡献是一种新颖的基于深度强化学习的多智能体 IPP 方法,用于使用无人机团队进行自适应地形监控场景。为了弥合强化学习和机器人应用的最新进展之间的差距,我们基于反事实多智能体策略梯度 (COMA) [20]来明确解决合作 IPP 中的信用分配问题。我们的方法支持分散式机载决策,并实现具有可变团队规模的合作式 3D 路径规划。我们表明:(i) 我们设计的网络输入表示对于 3D 动作空间中的多智能体 IPP 有效;(ii) 我们基于 COMA 的算法考虑了信用分配,从而提高了规划性能;(iii) 与非基于学习的方法相比,我们基于强化学习的方法提高了规划性能,适用于不同团队规模和通信约束,而无需重新训练。为了支持这些说法,我们在热点映射场景中使用合成数据和真实数据展示了我们方法的性能。我们将在以下网址开源我们的代码:https://github.com/dmar-bonn/ipp-marl。
相关工作
我们的工作结合了用于自主数据收集的多机器人 IPP 和多智能体 RL 的进步。本节概述了两者的相关文献,区分了单机器人和多机器人设置。
为了使用自主机器人高效收集数据,信息路径规划已被广泛研究[1]、[2]、[9]、[11] - [13]、[17]、[21]。非自适应覆盖规划器[8]根据预定义的路径详尽地监视地形。相比之下,我们专注于基于传入传感器数据在线重新规划路径的自适应策略。Hollinger等人[9]研究了自适应在线重新规划的好处,以便在单车水下检查任务预算有限的情况下最大化传感器测量的信息价值。最近的研究[21]、[22]提出了基于优化的IPP方法用于单无人机监测。然而,这些方法需要对候选路径的预期信息值进行计算成本高昂的评估。将它们简单地扩展到多架无人机会产生指数级的复杂性,从而限制了其在在线应用的适用性。
部署合作机器人团队有利于监测大片地形的任务,例如灾后评估[5]、[6]和精准农业[1] – [3]。我们专注于分散规划策略,其中机器人在机上做出本地明智的决策,以实现对个体故障的稳健性和随着团队规模的扩展性。Best 等人[23]引入了一种分散的蒙特卡洛树搜索变体,该搜索基于动作序列的联合概率分布,以规划单个路径进行主动感知。与我们的多无人机设置类似,Albani 等人[1]和 Carbone 等人[2]提出了监测农田中感兴趣区域的方法。前者使用受生物启发的群体行为进行自适应 IPP。尽管结果很有希望,但他们的方法依赖于针对特定问题的手动参数调整。
另一种工作方式是利用基于学习的方法进行主动数据收集。遵循集中训练和分散策略执行的范式,Li 等人[24]学习机器人间通信策略来交换本地机器人信息。Tzes 等人[10]提出了一种更通用的基于图神经网络的多机器人框架。这两种方法都是通过监督模仿学习进行训练的,需要专家来学习。我们使用深度强化学习来学习所需的团队行为,这使得在各种应用中能够进行灵活、有远见的规划。
Reinforcement learning (RL) is increasingly utilised in robotics and UAV applications [11], [14], [17], [18], combining remarkable planning results with little computational effort. Recently, RL has also been applied to IPP to efficiently replan robotic paths online. Chen et al. [14] develop a graph-based deep RL method for exploration, selecting map frontiers that reduce map uncertainty and travel time. However, their approach is limited to 2D workspaces, while we consider 3D planning. Other works reward agent actions that lead to high information gain [18] and map uncertainty reduction in target regions [17]. In a similar problem setup to ours, Rückin et al. [11] propose an IPP method combining deep RL and sampling-based planning for adaptive UAV ter-rain monitoring in 3D workspaces. Naïvely extending single-agent algorithms to multi-agent setups incurs exponentially growing complexity with the number of agents.
Multi-agent RL for IPP is a relatively unexplored research area. Existing approaches for cooperative team applications do not account for the credit assignment problem [19], i.e. do not discriminate the contribution of one agent to the overall team performance. Most works address related applications including navigation [15], target assignment [25], and coverage planning [26]. Similar to us, Bayerlein et al. [13] propose a multi-agent RL-based IPP approach that maximises harvested data without inter-agent communication. Viseras and Garcia [12] allow agents to exchange information via a communication module. Both works are limited to constant UAV altitudes ignoring potentially varying sensor noise with altitude. Recently, Luis et al. [16] proposed a deep Q-learning algorithm that supports learning cooperation by penalising redundant measurements based on the inter-UAV distance. Their reward design is tailored to pure exploration instead of adaptively monitoring areas of interest.
These works independently assign hand-engineered individual agent rewards. Thus, they do not fully account for the cooperative nature of IPP and can fail when greedily aiming for a high individual reward contradicts the desired team behaviour. In contrast, we propose a new approach solely relying on generally applicable global rewards for the whole UAV team. We adapt the counterfactual multi-agent (COMA) RL algorithm [20] to active robotic data collection in 3D workspaces. This way, we explicitly assign credit to individual agents during training. Our experimental results emphasise the need for explicit credit assignment to achieve cooperative behaviour and verify improved IPP performance.
Problem Statement
We consider a team of homogeneous UAVs monitoring a static flat terrain in an obstacle-free environment. The goal is to plan information-rich UAV paths on-the-fly as new measurements arrive to efficiently map regions of interest on the terrain given a finite mission budget. We briefly describe the general multi-agent IPP problem, our mapping strategy, and how to quantify information value for our RL approach.
Inter-UAV communication. The UAVs (filled circles) ex-change their current measurements (square footprints) with each other when closer than a limited communication range (black dotted circle). Green and dotted red lines indicate in-range and out-of-range communications, respectively. The UAVs use the received measurements to update their local map states (top to bottom row).
A. Multi-Agent Informative Path Planning
We address the problem of multi-agent informative path planning (IPP) optimising an information-theoretic criterion
Each set of UAV paths
B. Terrain Mapping
The UAVs map the terrain by taking images using downward-facing cameras. The image information is processed, e.g. by semantic segmentation, communicated, and fused into a terrain map. A measurement
Fig. 2 visualises the inter-UAV communication protocol. All UAVs
C. Utility Definition for Adaptive Terrain Monitoring
Our goal is to plan future measurement positions
We consider adaptive mapping with one interesting target class, i.e. one class that holds information value, and a complement class. Thus, the map entropy
Our Approach
We present our novel multi-agent RL-based IPP approach for UAV teams. Our goal is to plan UAV paths in a 3D workspace to achieve cooperative adaptive terrain mapping. As shown in Fig. 3, we train agents offline based on global terrain information using RL to learn UAV paths in a centralised way. A key aspect is the integration of a counterfactual baseline, allowing us to estimate each agent's mapping contribution to the overall team performance and improve cooperation. During a mission, we leverage the trained agent behaviour and deploy a fully decentralised system to replan informative measurement positions online.
Overview of our approach. At each time step during a mission, each UAV takes a measurement and updates its local map state. The local map is input to an actor network, which outputs a policy from which an action is sampled. During training, a centralised critic network is additionally trained using global map information and outputs Q-values for each action from the current state, i.e. the expected future return.
A. Rl for Sequential Decision-Making
We formulate the multi-UAV IPP task as a sequential decision-making problem for a team of agents and train it using RL. The UAVs execute missions, where at each time step
State
The global environment state
Actions
The agents move within a discrete position grid P, bounded by the environment borders and discrete minimum and maximum altitudes. Each UAV
Reward
We explicitly design the reward function
We reward the weighted map entropy reduction from the current to the next map state
B. Algorithm
Our goal is to learn a policy enabling cooperative UAV team behaviour for the adaptive monitoring task. To do this, we build upon the COMA RL algorithm of Foerster et al. [20] to address our IPP task for UAV teams. COMA is an actor-critic algorithm using a centralised critic network to evaluate each agent's behaviour, described by the policy
The contribution of agent
C. Network Architecture & Feature Design
We propose new actor and critic representations to exploit COMA in 3D robotic applications. As shown in Fig. 4, actor and critic are represented by neural networks
Our critic network receives the same input (a)-(e) and, in addition, global environment information accessible during training. Specifically, it further receives: (f) a global position map encoding all agent positions
To handle spatial information necessary for the terrain monitoring task, the networks consist of convolutional encoders and multilayer perceptron heads predicting the policy
D. Network Training
We train an actor and a critic network offline and utilise the trained actor online at deployment. We simulate UAV missions and learn from rewards received after fusing measurements
We alternate between generating 3, 000 environment interactions on-policy and policy optimisation using Eq. (7). Both networks are optimised via stochastic mini-batch gradient descent for 5 epochs using the Adam optimiser with learning rates of
Architecture and inputs for our actor and critic. Both networks consist of convolutional encoders and linear layers in the prediction head. For the actor, the output is produced by a softmax layer (grey). Both actor and critic receive local inputs (,Actor input’). The critic also receives global inputs for centralised training (‘Critic input’). All inputs (a)-(j) are detailed in Sec IV-C.
Experimental Results
We present experiments to show the capabilities of our multi-agent RL-based IPP approach for adaptive terrain monitoring using UAV teams. Our experimental results support our claims, which are: (i) our designed network representations are effective for multi-agent IPP for UAVs in a 3D workspace; (ii) accounting for the credit assignment problem via a counterfactual baseline improves planning performance; and (iii) our approach outperforms non-learning-based state-of-the-art approaches in terms of planning performance across varying team sizes and communication constraints. Moreover, we demonstrate our approach applied to a real-world surface temperature monitoring scenario.
A. Experimental Setup
For each experiment, we train for
Feature input ablations. We systematically add (left) and remove (right) components of our approach and show the map entropy reduction over the mission time. The results show that the entropy map input has the largest impact, while the footprint map only contributes to a better performance at the end of a mission. Our full proposed network input (green) performs best.
B. Ablation Study of Network Feature Design
In this section, we provide ablations to show that our proposed network input representation is effective for multi-agent IPP for UAVs in a 3D workspace. Our ablation studies systematically add and remove single input feature maps to assess their effect on the overall planning performance.
Fig. 5 shows the mean map entropy reduction and standard deviation during the mission with varying network input features. Steeper falling curves indicate better planning performance. In Fig. 5-Left, we add single input feature maps to base input features (a)-(d), as described in Sec. IV-C, which are necessary to model the IPP problem. In Fig. 5-Right, we remove single input feature maps.
As expected, the proposed full input (green) performs best, i.e. leads to the lowest final map entropy. The entropy map feature (blue) is most beneficial for planning performance, suggesting that it holds most relevant information for learning informative paths. Interestingly, adding the footprint map (pink) slightly harms planning performance, but leads to worse final performance when removed from the input. This indicates that, when combined with the other inputs, the footprint map has a larger contribution at the end of the mission. Intuitively, this is because identifying the currently observed map cells, which is essential for planning the next measurement positions, becomes harder as more measurements are mapped. Adding the current measurement's en-tropy (red) decreases uncertainty faster during the first
Credit assignment study. We compare our COMA-approach (green) with variants that do not explicitly tackle the credit assignment problem in terms of map entropy (left) and F1-score (right). Later in mission when the environment is largely explored, our approach enables better cooperation for adaptive mapping.
C. Credit Assignment Mechanism Study
The experiments in this section show that accounting for the credit assignment problem results in improved planning performance, which verifies the need for explicit credit assignment mechanisms in cooperative RL-based multi-agent IPP. We perform a systematic study comparing the UAV team's IPP performance with varying advantage functions in Eq. (6) and thus changing policy gradient updates in Eq. (7). To this end, we compare our proposed approach (Sec. IV-B) against three variants of itself, as described in the following.
Central-Qv
Similar to Foerster et al. [20], we verify the effectiveness of the counterfactual baseline in our adaptive IPP scenario by replacing the baseline in Eq. (6) with a state value
Actor-Independent
As described in Sec. IV-B, we utilise a centralised critic exploiting global state information during training. However, to investigate the effect of reasoning about the other team members' actions, we now do not account for them and exclude them from the critic network input. We adapt the advantage function to depend solely on the agent's own action:
Decentralised
In this variant, we remove all global information and consider a purely decentralised critic based on local agent information
Comparison of planning methods for 4 agents and a communication range of 25m. By planning paths cooperatively, our approach reduces map uncertainty (left) and improves map accuracy (right) quickest, indicating its superior performance.
Fig. 6 shows the planning performance using different advantage functions. We focus on performance at later stages of the mission, when most of the environment is explored and cooperation is crucial for adaptive mapping. The counterfactual baseline utilised in our approach (green) performs best, indicating its effectiveness for achieving coop-erative behaviour. All variants lack explicit credit assignment mechanisms, which adversely impacts planning performance irrespective of using centralised or decentralised critics. This confirms that our COMA-based algorithm improves planning performance by addressing the credit assignment problem.
D. Comparison Against Non-Learning-Based Approaches
The following experiments back up our claim that our RL-based approach outperforms state-of-the-art non-learning-based multi-agent IPP approaches. We compare our approach against three methods: (i) an adaptive information gain approach for UAV swarms proposed by Carbone et al. [2], which selects a UAV's action greedily by maximising the estimated map entropy reduction without explicit credit assignment (‘IG’); (ii) a non-adaptive coverage lawnmower-like pattern with equidistant (5 m) measurement positions at the best-performing altitude (‘Coverage’); (iii) non-adaptive random exploration sampling UAV actions uniformly at random (‘Random’). All approaches share the same state space, action space, and action masking strategy.
Fig. 7 shows the evaluation metrics over the mission time for the considered approaches. The information gain-based strategy (blue) and our RL-based approach (green) outperform the non-adaptive methods as they can actively focus on regions of interest. The superior performance of our approach confirms the benefits of addressing the credit assignment problem and the applicability of our learning-based planning to varying terrains.
Next, we show the generalisability of our learning-based approach to different team sizes and communication settings. We deploy our actor trained on the 4-agent setting with communication limited to 25 m in scenarios with 2, 4, and 8 agents, and communication radii of
Real-world evaluation. We deploy our approach on surface temperature data (left) and compare the map entropy reduction of the considered planning methods. Warmer regions are considered as interesting. Although our approach is trained on synthetic data, it outperforms all other methods. Fig. 1 shows the resulting UAV paths planned in this experiment.
E. Temperature Mapping Scenario
We demonstrate the performance of our approach in a surface temperature monitoring scenario using real-world data of a
Conclusions and Future Work
In this paper, we introduced a novel multi-agent deep RL-based IPP approach for adaptive terrain monitoring using UAV teams. Our method features new network representations and exploits a counterfactual baseline to address the credit assignment problem for cooperative UAV path planning in a 3D workspace. This allows us to successfully outperform state-of-the-art non-learning-based approaches in terms of monitoring efficiency while generalising to different mission settings without retraining. Experiments using UAV-acquired thermal data validate the real-world applicability of our approach. Future work will investigate heterogeneous robot teams and dynamically growing maps in environments of unknown bounds.