<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Multi-Agent Deep Reinforcement Learning for Persistent Monitoring With Sensing, Communication, and Localization Constraints</title></titleStmt>
			<publicationStmt>
				<publisher>IEEE</publisher>
				<date>01/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10600978</idno>
					<idno type="doi">10.1109/TASE.2024.3385412</idno>
					<title level='j'>IEEE Transactions on Automation Science and Engineering</title>
<idno>1545-5955</idno>
<biblScope unit="volume">22</biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Manav Mishra</author><author>Prithvi Poddar</author><author>Rajat Agrawal</author><author>Jingxi Chen</author><author>Pratap Tokekar</author><author>P B Sujit</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Determining multi-robot motion policies for persistently monitoring a region with limited sensing, communication, and localization constraints in non-GPS environments is a challenging problem. To take the localization constraints into account, in this paper, we consider a heterogeneous robotic system consisting of two types of agents: anchor agents with accurate localization capability and auxiliary agents with low localization accuracy. To localize itself, the auxiliary agents must be within the communication range of an anchor, directly or indirectly. The robotic team's objective is to minimize environmental uncertainty through persistent monitoring. We propose a multiagent deep reinforcement learning (MARL) based architecture with graph convolution called Graph Localized Proximal Policy Optimization (GALOPP), which incorporates the limited sensor field-of-view, communication, and localization constraints of the agents along with persistent monitoring objectives to determine motion policies for each agent. We evaluate the performance of GALOPP on open maps with obstacles having a different number of anchor and auxiliary agents. We further study (i) the effect of communication range, obstacle density, and sensing range on the performance and (ii) compare the performance of GALOPP with area partition, greedy search, random search, and random search with communication constraint strategies. For its generalization capability, we also evaluated GALOPP in two different environments -2-room and 4-room. The results show that GALOPP learns the policies and monitors the area well. As a proof-of-concept, we perform hardware experiments to demonstrate the performance of GALOPP.Note to Practitioner-Persistent monitoring is performed in various applications like search and rescue, border patrol, wildlife monitoring, etc. Typically, these applications are large-scale, and hence using a multi-robot system helps achieve the mission objectives effectively. Often, the robots are subject to limited sensing range and communication range, and they may need to operate in GPS-denied areas. In such scenarios, developing motion planning policies for the robots is difficult. Due to the lack of GPS, alternative localization mechanisms, like SLAM, highaccurate INS, UWB radio, etc. are essential. Having SLAM or a highly accurate INS system is expensive, and hence we use agents having a combination of expensive, accurate localization systems (anchor agents) and low-cost INS systems (auxiliary agents) whose localization can be made accurate using cooperative localization techniques. To determine efficient motion policies, we use a multi-agent deep reinforcement learning technique (GALOPP) that takes the heterogeneity in the vehicle localization capability, limited sensing, and communication constraints into account. GALOPP is evaluated using simulations and compared]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Visibility-aware persistent monitoring (PM) problem involves continuous surveillance of a bounded environment by a single agent or a multi-agent system considering limited field-of-view (FOV) constraints into account <ref type="bibr">[1]</ref>- <ref type="bibr">[9]</ref>. Various applications, like search and rescue, border patrol, critical infrastructure, etc., require persistent monitoring for timely information. Ideally, persistent monitoring requires spatial and temporal separation of a team of robots in a larger environment to cooperatively carry out effective surveillance. The problem becomes complex as the multi-robot systems are subjected to limited sensing range, communication range, and localization constraints due to non-GPS environments. In this paper, we study the problem of determining motion planning policies for each agent in a multi-agent system for persistently monitoring a given environment, considering all the constraints using a graph communication-based multi-agent deep reinforcement learning (MARL) framework.</p><p>Generating motion policies for each agent using deterministic strategies becomes challenging due to the above constraints, as the agents require complete information about all possible interactions with information sharing among the agents. Hence, developing alternate strategies for multi-agent systems to learn to monitor complex environments is imperative.</p><p>We consider a scenario where a team of robots equipped with a limited field-of-view (FOV) sensor and limited communication range is deployed to persistently monitor a GPSdenied environment, as shown in Figure <ref type="figure">1</ref>. As the environment does not support GPS, one can deploy agents that have expensive sensors such as tactical grade IMUs or cameras/LIDARs in conjunction with high computational power to carry out onboard SLAM for accurate localization with very low position uncertainty; these agents are called anchor agents. However, such a system becomes highly expensive for deployments. On the other hand, we can deploy agents with low-grade IMUs that are cheaper but exhibit high drift resulting in poor localization accuracy; these agents are called auxiliary agents. Auxiliary agents can be used in conjunction with external supporting localization units (like UWB ranging or cooperative localization <ref type="bibr">[10]</ref>- <ref type="bibr">[12]</ref>) to reduce localization uncertainty so that they are helpful in performing the coverage. Hence, as a trade-off, in this paper, we consider a robotic team consisting of anchor and auxiliary agents to monitor a region persistently.</p><p>The auxiliary agents can localize using the notion of cooperative localization by communicating with the anchor agents directly or indirectly through other auxiliary agents and hence have reduced uncertainty in their positional beliefs. As the auxiliary agents need to be in communication with anchor agents, their motion is restricted, which can result in lower monitoring performance as some areas may not be covered.</p><p>However, intermittent connection with the anchor agents will enable auxiliary agents to recover from the localization uncertainty while maintaining coverage across all regions <ref type="bibr">[13]</ref>. This conflicting objective of monitoring the complete area while periodically maintaining connectivity from the anchor agents makes the problem of determining persistent monitoring strategies for the agents challenging.</p><p>Simultaneously addressing numerous constraints is pivotal in this context due to the intricacies involved in persistent monitoring. In GPS-denied scenarios, conventional methods relying on GPS or beacons fall short. Moreover, assuming complete communication between agents is often unrealistic, making it imperative to develop strategies that operate under partial or intermittent connectivity.</p><p>Consider applications such as search and rescue in urban/remote regions affected by flooding. In these scenarios, UAVs can be used to monitor and enhance situational awareness. However, the cameras have a finite field-of-view, and the communication range with the base station is also limited. In addition to these two constraints, acquiring GPS becomes challenging in cloudy weather conditions. Therefore, it is necessary to determine motion policies for the agents while considering all these constraints.</p><p>In this paper, we propose Graph Localized Proximal Policy Optimization (GALOPP), a multi-agent proximal policy optimization <ref type="bibr">[14]</ref> algorithm coupled with a graph convolutional neural network <ref type="bibr">[15]</ref> to perform persistent monitoring with such heterogeneous agents subject to sensing, communication, and localization constraints. The persistent monitoring environment is modeled as a two-dimensional discrete grid, and each cell in the grid is allocated a negative reward. When a cell is within the sensing range of any agent, then the reward value reduces to zero. Otherwise, the negative reward accumulates over time. Thus, the agents must learn their motion strategy to minimize the net reward accumulated over time, showing efficient persistent monitoring. We consider PPO in GALOPP because it is known for its stability, high sample efficiency, and resistance to hyperparameter tuning <ref type="bibr">[14]</ref>.</p><p>The approach presented in this paper addresses the challenge of balancing exploration for monitoring while adhering to localization constraints. Its novelty lies in the development of a model for guiding multiple decentralized agents in conducting monitoring in an uncertain environment. The primary contribution involves designing a decision-making strategy based on Multi-Agent Reinforcement Learning for effective area surveillance while considering sensing, communication, and localization constraints.</p><p>The main contributions of this paper are:</p><p>&#8226; Development of a multi-agent deep reinforcement learning algorithm (GALOPP) for persistently monitoring a region considering the limited sensing range, communication, and localization constraints into account. &#8226; Evaluating the performance of GALOPP for varying parameters -sensing area, communication ranges, the ratio of anchor to auxiliary agents, obstacle density, and centralized vs decentralized map sharing. &#8226; Comparing the performance of GALOPP to baseline approaches, namely, random search, random search with ensured communication, greedy search, and area partitioning with lawn-mower sweeping strategy. The rest of the paper is structured as follows. In Section II, we provide a review of the existing literature on this problem. In Section III, we define the persistent monitoring problem with multiple agents. In Section IV, we describe the GALOPP architecture and we evaluate the performance of GALOPP in Section V. In Section VI, the proof-of-concept of GALOPP performance using a team of nanocopters is described and we conclude in Section VII.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. RELATED WORK</head><p>The persistent monitoring problem can be considered as a persistent area coverage or as a persistent routing problem visiting a set of targets periodically. Under persistent area coverage problem, one can consider the mobile variant of the Art Gallery Problem (AGP) <ref type="bibr">[16]</ref> where the objective is to find the minimum number of guards to cover the area. There are several variants on AGP for moving agents under visibility constraints <ref type="bibr">[17]</ref>. An alternative way for coverage is to use cellular decomposition methods, where the area can be decomposed into cells, and the agents can be assigned to these cells for coverage <ref type="bibr">[18]</ref>, <ref type="bibr">[19]</ref>. In AGP and its variants, the visibility range is infinite but restricted by environmental constraints such as obstacles or boundaries.</p><p>In addressing the persistent routing problem, one can approach it using different variants of multiple Watchman Route Problem (n-WRP) <ref type="bibr">[20]</ref>. In these approaches, the goal is to find a route for each agent for monitoring while minimizing the latency in visit time. Yu et al. <ref type="bibr">[1]</ref> propose a method for monitoring events with stochastic arrivals at multiple stations by combining stochastic modeling and control theory to optimize real-time monitoring and resource utilization. Tokekar et al. <ref type="bibr">[17]</ref> propose a novel method for persistent monitoring using robot teams that employs a coverage path planning algorithm accounting for visibility constraints to optimize coverage and path length trade-off. Wang et al. <ref type="bibr">[8]</ref> propose a method for cooperative persistent surveillance on a road network using multiple Unmanned Ground Vehicles (UGVs) with detection capabilities. Lin et al. <ref type="bibr">[4]</ref> apply a decentralized control algorithm to consider agents' dynamics and monitoring constraints in real-time, enabling the solution of the problem by finding the optimal trajectory for each agent. Washington et al. <ref type="bibr">[21]</ref> propose an RSVI algorithm for real-time drone surveillance policy optimization considering battery life and charging constraints, balancing the trade-off between surveillance coverage and energy consumption. Maini et al. <ref type="bibr">[22]</ref> propose a coverage algorithm that considers the visibility constraints of robots to monitor linear features such as roads, pipelines, and power lines on terrains with obstacles. Mersheeva et al. <ref type="bibr">[7]</ref> develop a framework for multi-UAV monitoring with priorities that address the efficient allocation of UAVs while considering resource limitations.</p><p>The above-cited approaches assume agents with either unrestricted sensing and/or communication and have full localization. In contrast, our context involves agents with limited access to information in these aspects. Devising a control policy that allows for persistent area coverage while respecting localization constraints is challenging. In the absence of GPS, the agent is unaware of its true position, and the estimated position covariance steadily increases over time. Therefore, the above approaches cannot be applied directly, and modifying them to accommodate localization constraints is difficult. The interconnection of exploration and localization objectives increases the problem's complexity.</p><p>Another approach is to learn from the environment to determine agent paths while considering the sensing, communication, and localization constraints. Reinforcement learning can be one such learning-based approach that can learn to determine paths for multiple agents while considering all the constraints. Multi-agent reinforcement learning (MARL) based path planning literature focuses on developing efficient and effective algorithms for multi-agent systems on cooperative multi-agent tasks covering a broad spectrum of applications <ref type="bibr">[23]</ref>- <ref type="bibr">[28]</ref>. Blumenkamp et al. <ref type="bibr">[29]</ref> study inter-agent communication for self-interested agents in cooperative path planning but do not account for localization constraints and assume complete connectivity throughout. Omidshafiei et al. <ref type="bibr">[23]</ref> formalize the concept of MARL under partial observability, which applies to scenarios with limited sensing range. Chen et al. <ref type="bibr">[30]</ref> developed a method to find trajectories for agents to cover an area continuously but with the assumption that all agents have full access to the environment due to unrestricted communication access among agents. In the above articles, the problem of determining motion policies for the agents considering the localization, sensing, and communication range constraints jointly has not been adequately addressed. In this work, through GALOPP, we address the problem of persistent monitoring considering all three constraints using a deep reinforcement learning framework.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. PROBLEM STATEMENT A. Persistent monitoring problem</head><p>We consider the persistent monitoring problem in a 2D grid world environment G &#8838; R 2 of size A &#215; B. Each grid cell G &#945;&#946; , 1 &#8804; &#945; &#8804; A and 1 &#8804; &#946; &#8804; B, has a reward R &#945;&#946; (t) associated with it at time t. When the cell G &#945;&#946; is within the sensing range of an agent, then R &#945;&#946; (t) &#8594; 0, otherwise, the reward decays linearly with a decay rate &#8710; &#945;&#946; &gt; 0. We consider negative reward as it refers to a penalty on the cell for not monitoring. At time t = 0, R &#945;&#946; (t) = 0, &#8704;(&#945;, &#946; ) and</p><p>where R max refers to the maximum penalty a grid cell can accumulate so that the negative reward R &#945;&#946; is bounded.</p><p>The objective of the persistent monitoring problem is to find a policy for the agents to minimize the neglected time, which in turn, maximizes the total accumulated reward by G over a finite time T . The optimal policy is given as</p><p>where &#960; * is an optimal global joint-policy that dictates the actions of the agent in a multi-agent system, and R &#960; &#945;&#946; is the reward obtained by following a policy &#960;.</p><p>Problem: Given a 2D grid world environment G, determine a joint-optimal policy &#960; * for N agents to minimize the neglect time at each cell in G taking sensing range, communication range and localization constraints into account.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Localization for Persistent Monitoring</head><p>The grid G consists of N-agents to perform the monitoring task. The agents have a communication range &#961;. At every time step, a connectivity graph G = V , E is generated between the agents. An edge connection e i j is formed between agents i and j, if dist(i, j) &#8804; &#961;, where dist(i, j) is the Euclidean distance between agents i and j. The connectivity of any agent with an anchor agent is checked by using the Depth-First Search (DFS) algorithm. Each agent estimates its position using Kalman Filer (KF). The anchor agents have high-end localization capabilities; hence, the position uncertainty is negligible. However, the auxiliary agents can localize accurately if they are connected to an anchor agent, either directly or indirectly (multi-hop connection). As we do not consider any loss of information or cost associated with communication to an anchor agent, an auxiliary agent achieves localization upon observing an anchor agent. Consequently, a multi-hop communication to an anchor agent can localize another auxiliary agent not in direct communication contact with an anchor agent [12].</p><p>An agent located at position (&#945;, &#946; ) has a field of view that covers a square region with dimensions g &#215; g, where g = 2&#8467; + 1, and the agent can sense &#8467; cells in all cardinal directions.</p><p>As the anchor agents are accurately localized, they can update the rewards R &#945;&#946; (t) in the grid world G, that is, set R &#945;&#946; (t) = 0. The auxiliary agents connected to the anchor agents either directly or via multi-hop connections can also update the rewards R &#945;&#946; (t) = 0. However, those auxiliary agents that are disconnected from the anchor agents can observe the world but cannot update the rewards due to localization uncertainty associated with an increase in the covariance of the vehicle. When the vehicle reconnects with the anchor vehicle network, its uncertainty is reduced, and it can update the rewards. The world that the auxiliary agent observes during disconnection is not considered for simplicity.</p><p>An interesting aspect of solving Equation (2) to determine policies for the agents is that it does not explicitly assume that the graph network is always connected. Although a strict connectivity constraint increases the global positional belief of the entire team, it reduces the ability of the team to monitor any arbitrary region persistently due to the communicationconstrained motion of the agent. Intermittent connectivity of agents leads to a better exploration of the area allowing more flexibility <ref type="bibr">[31]</ref>, <ref type="bibr">[32]</ref>. The auxiliary agents, once disconnected, do not contribute to the net rewards obtained by the team. Since the objective is to find a policy that maximizes the rewards, the problem statement enables the agents to learn that connectivity increases the rewards, so they should be connected. The connectivity constraints are indirectly implied through rewards and not hard-coded into the agent decisionmaking policy. We abstract the localization constraints through the connectivity graph G during decision-making, which is detailed in section IV.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Using Kalman Filter for state estimation</head><p>In a cooperative localization (CL) setting, one way an auxiliary agent can localize is by observing an anchor agent. We assume that all the agents know their starting position accurately.</p><p>To handle the position uncertainties, we apply a Kalman Filter (KF) <ref type="bibr">[33]</ref> to update its state mean and covariance. The KF propagates the uncertainty in the position of the auxiliary agent as long as it is unlocalized, and upon localization, the agent is made aware of its true location. The motion model of the auxiliary agent is,</p><p>where &#181; t and &#181; t+1 are the positions of the agents at time t and t + 1 respectively, &#949; t is a random variable representing the error in the prediction, drawn from a normal distribution with zero mean and covariance R t , A t = B t = I 2&#215;2 , and u t is the control input at time t. Upon observing another agent, the observation model can be formulated as,</p><p>(</p><p>Here z t = a b is the relative position of the observed agent in the context of the KF observation model, where a = x gx and b = y gy, Here, (x g , y g ) is the global position of the observed agent and (x, y) is the current position of the observing agent. &#948; t is the error in the observation that is drawn from a normal distribution with 0 mean and covariance Q t . Given the motion and observation models, we can write the KF algorithm as mentioned in Algorithm 1.</p><p>Based on the environment model, vehicle motion, and localization model, we introduce our proposed GALOPP multiagent reinforcement learning architecture in the next section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. GRAPH LOCALIZED PPO -GALOPP</head><p>The multi-agent persistent monitoring task requires every individual agent to compute its policies using its own and the neighboring agents' observations. This makes computing policy for an agent a non-stationary problem that can be tackled using either a centralized or a decentralized algorithm. A centralized approach will comprise a single actor-critic network to determine the agents' policy. Such an algorithm is faster to train and execute but is not scalable to many agents. The decentralized approach overcomes these shortcomings by assigning individual actor networks to each agent. However, training multiple networks can be computationally expensive. In this paper, we utilize the Centralized Training and Decentralized Execution (CTDE) <ref type="bibr">[34]</ref> strategy. This helps in retaining the computational efficiency of centralized actorcritic and the robustness of decentralized actors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Architectural overview</head><p>The complete GALOPP pipeline with environmental interaction is shown in Figure <ref type="figure">3</ref>, while the GALOPP architecture details are shown in Figure <ref type="figure">4a</ref>. The GALOPP architecture consists of a multi-agent actor-critic model that implements Proximal Policy Optimization (PPO) <ref type="bibr">[14]</ref> to determine individual agent policies. Multi-agent PPO is preferred over other policy gradient methods to avoid having large policy updates and achieve better learning stability in monitoring tasks. It also has better stability, high sample efficiency, and resistance to hyperparameter tuning <ref type="bibr">[35]</ref>.</p><p>The observation of agent i is denoted as o i , comprising a 2channel image: the first channel, termed local map, represents the locally observed visibility map, while the second channel consists of an independently maintained global map version, compressed to match the dimensions of the local map (as depicted in Fig. <ref type="figure">4b</ref>) and referred to as mini-map. The local map values depict a binary map indicating obstacle presence within the agent's geometric visibility constraint. The global map values represent the reward value heatmap of each cell in the grid, which is subsequently compressed to form a mini-map. This image is passed through a Convolutional Neural Network (ConvNet) <ref type="bibr">[36]</ref> to generate individual embeddings h i for each agent, which is then augmented with agent i's positional mean &#181; i and covariance &#931; i , as shown in Figure <ref type="figure">4a</ref>. This is the complete information &#950; i of the agent's current state. This information vector &#950; i forms the node embedding of the graph G. It is then processed by a Graph Convolutional Network (GraphNet) <ref type="bibr">[15]</ref> that enforces the relay of messages in the generated connectivity graph G to ensure inter-agent communication. The decentralized actors then use the embeddings generated by GraphNet to learn the policy, while a centralized critic updates the overall value function of the environment. The model is trained end-to-end for the persistent monitoring problem. The local computation involves -updating the local map, the mean and covariance of the position, and updating each agent's maintained global map. The central computation is the computation of the joint policy for the multi-agent RL problem. The components of the GALOPP architecture are described in the below subsections.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Embedding extraction and message passing</head><p>The GALOPP model inputs the shared global reward values in the 2D grid. The observation of an agent i at time t is the set of cells that are within the sensing range (termed as the local map) and also a compressed image of the current grid (termed as mini-map) with the pixel values equal to the penalties accumulated by the grid cells <ref type="bibr">[37]</ref>. Each agent has a separate copy of the mini-map. Each agent updates the copy of their mini-map, and the monitoring awareness is updated through inter-agent connectivity. Figure <ref type="figure">6</ref> illustrates a representation of how the decentralized map is updated. The connected agents compare and aggregate the global map at each time step for a network graph by taking the element-wise maximum for each grid cell G &#945;&#946; in the environment. The element-wise maximum value of each grid cell is shared among the connected agents. The mini-map is resized to the shape of the local map of the agent and then concatenated to form a 2-channel image (shown in figure <ref type="figure">4b</ref>). This forms the sensing observation input o i for the model at time t. The ConvNet converts the observation o i into a low-dimensional feature vector h i termed the embedding vector. The positional mean &#181; i and covariance matrix &#931; i of agent i is then flattened, and their elements are concatenated with h i to generate a new information vector &#950; i (as shown in figure <ref type="figure">4a</ref>).</p><p>The agents are heterogeneous agents (anchor and auxiliary) where the localization information is a parameter aggregated in the graph network component of GALOPP. An agent's aggregated information vector depends on the current position in the environment, the generated message embedding, and the localization status of each neighboring agent.</p><p>GraphNet transfers the information vector &#950; i to all agents within the communication graph. The agents take in the weighted average of the embeddings of the neighborhood agents. The basic building block of a GraphNet is a graph convolutional layer, which is defined as <ref type="bibr">[15]</ref>:</p><p>where H (k) is the feature matrix of the k-th layer, with each row representing a node in the graph and each column representing a feature of that node. A g is the graph's adjacency matrix, which encodes the connectivity between nodes. W (k) is the weight matrix of the k-th layer, which is used to learn a linear transformation of the node features and &#963; is a non-linear activation function, such as ReLU or sigmoid.</p><p>After the message passing, the aggregated information vector &#950; i for each agent i, for a GraphNet having k hidden layers, is given as,</p><p>The aggregated information vector &#950; is now passed on to the actor-critic network MLP. The actor-network makes decisions for the agent, and a separate critic network evaluates the actor's actions to provide feedback, allowing the actor to improve its decision-making over time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Multi-agent actor-critic method using PPO</head><p>The decentralized actors in the multi-agent PPO take in the aggregated information vector &#950; i and generate the corresponding action probability distribution &#960;. The action space consists of five discrete options: {up, down, left, right, stay}, representing decisions to move in one of the four cardinal directions or to remain in the current location.</p><p>The centralized critic estimates the environment's value function to influence the individual actor's policy (Figure <ref type="figure">3</ref>). The shared reward for all agents is defined in Equation <ref type="bibr">(2)</ref>.</p><p>For a defined episode length T , the agent interacts with the environment to generate and collect the trajectory values in the form of states, actions, and rewards {s i , a i , r i }. The stored values are then sampled iteratively to update the action probabilities and to fit the value function through back-propagation.  Let &#952; 1 be the actor trainable parameter and &#952; 2 be the critic trainable parameter. Discounted return measures the long-term value of a sequence of actions. The discounted return is given as G(t; &#952; 1 ) = &#8721; T k=0 &#947; k r(t + k + 1; &#952; 1 ), where &#947; &#8712; [0, 1) is the discount factor and T is the episode time horizon. The Value function V (s i t ; &#952; 2 ) represents the expected long-term reward that an agent i can expect to receive if it starts in that state s at time t. It is updated as the agent interacts with the environment and learns from its experiences. The value function estimate, which is defined as</p><p>, is provided by the critic network. The advantage estimate function &#194;i is a measure of how much better a particular action is compared to the average action taken by the current policy. It is defined as the difference between the discounted return and the state value estimate given by &#194;i</p><p>PPO uses the advantage function to adjust the probability of selecting an action to make the policy more likely to take actions with a higher advantage. This helps ensure that the policy makes the most efficient use of its resources and maximizes the expected reward over time <ref type="bibr">[14]</ref>. The modified multi-agent PPO objective function to be minimized in the (a) (b) Fig. 6: (a) Illustration of decentralized map-sharing among agents in persistent monitoring. (b) Overview of how agents within communicable range of one another update their global maps in a decentralized setting. The resultant global map is generated by taking the element-wise maximum value from the individual global maps of the agents.</p><p>GALOPP network is given as,</p><p>where N is the total number of agents and m is the mini-batch size, and L CLIP i (&#952; 1 , &#952; 2 ) refers to the clipped surrogate objective function <ref type="bibr">[14]</ref> defined as</p><p>where r t (&#952; 1 ) = &#960; &#952; 1 /&#960; old &#952; 1 is the current policy's (&#960; &#952; 1 ) action probability ratio to the previous policy distribution &#960; old &#952; 1 . The clip function clips the probability ratio r t (&#952; 1 ) to the trustregion interval</p><p>GALOPP is trained end to end by minimizing the modified PPO objective function using the trajectory values collected from the interactions with the environment. GALOPP minimizes the multi-agent PPO objective function to train the network. The algorithm updates the action probabilities and fits the value function through back-propagation. This allows the model to learn from experience and improve its performance over time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. EXPERIMENTS AND ANALYSIS</head><p>We evaluate the performance of GALOPP on an open map environment as shown in Figure <ref type="figure">5</ref>. The open map has an area of 30 &#215; 30 sq. units, where 5 obstacles having random geometry are placed. The agents have a sensing range of &#8467; = 7 in the 2D environment. We use the accumulated reward metric to evaluate the performance. The total reward at time t is defined as R(t) = &#8721; &#945;,&#946; R &#945;&#946; (t). The grid cells' penalties are updated with a decay rate of &#8710; &#945;&#946; = 1, &#8704;(&#945;, &#946; ). A cell's maximum negative reward is R max = 400. The simulation parameters used in the experiments are detailed in Table <ref type="table">I</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Model</head><p>GALOPP was trained and tested using Python 3.6 on a workstation with Ubuntu 20.04 L.T.S operating system, with an Intel(R) Core(TM) i9 CPU and an NVIDIA GeForce RTX 3090 GPU (running on CUDA 11.1 drivers). The neural networks were written and trained using PyTorch 1.8 and dgl-cu111 (deep graph library). We now provide details of the various parameters used in the model. The GALOPP architecture consists of 4 deep neural networks: ConvNet, GraphNet, Actor MLP, and Critic MLP, as shown in Figure <ref type="figure">3</ref>. The details of this architecture are given in Table <ref type="table">II</ref>.</p><p>1) Embedding generator (ConvNet): This convolutional neural network takes a 2-channeled 15 &#215; 15 image (local map and mini-map) as the input and generates a 32-dimensional feature vector. We then append a 6-dimensional state vector to this feature vector (positional mean and covariance) to form a 38-dimensional feature vector that acts as the embedding for the graph convolution network. The state vector is derived by flattening the agent's covariance matrix &#931; t and appending it to the position vector &#181; t .</p><p>Parameter Value Decay Rate (&#8710; &#945;&#946; ) 1 Maximum negative reward (R max ) 400 Length of episode (T ) 1000 Agent visibility range (&#8467;) 7 Local map and Mini map size (g &#215; g) 15 &#215; 15 O t (covariance matrix for error in IMU suite) 0.5 0 0 0.5 Q t (covariance matrix for uncertainty in sensors) 1e -4 0 0 1e -4</p><p>TABLE I: Simulation Parameters for GALOPP ConvNet ConvLayer1 (in-channels=2, out-channels=16, kernel-size=8, stride=4, padding=(1, 1)), ReLU activation ConvLayer2 (in-channels=16, out-channels=32, kernel-size=4, stride=2, padding=(1, 1)), ReLU activation ConvLayer3 (in-channels=32, out-channels=32, kernel-size=3, stride=1, padding=(1, 1)), ReLU activation, Flatten GraphNet GCNLayer(in-features=38, out-features=38)</p><p>Actor MLP LinearLayer1 (in-features=38, out-features=500), ReLU activation LinearLayer2 (in-features=500, out-features=256), ReLU activation LinearLayer3 (in-features=256, out-features=5), SoftMax Critic MLP LinearLayer1 (in-features=38, out-features=500), ReLU activation LinearLayer2 (in-features=500, out-features=256), ReLU activation LinearLayer3 (in-features=256, out-features=1)</p><p>TABLE II: Parameters for the neural networks</p><p>2) Graph convolution network (GraphNet): The embeddings generated by the embedding generator are passed through a single-layered feed-forward graph convolution network to generate the embeddings for the actor networks of the individual agents.</p><p>3) Actor MLP: The actor takes the embeddings generated by the ConvNet and the aggregated information vector from the GraphNet network as the input and generates the probability distribution for the available actions.</p><p>4) Critic MLP: The critic network takes the embeddings generated by the ConvNet for each agent and returns the statevalue estimate for the current state.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>5) Training:</head><p>The training is carried out for 30000 episodes where each episode is of length T = 1000 time steps. The agents are initialized randomly in the environment for every training episode but are localized during initialization.</p><p>The GALOPP architecture input at time t is the image representing the state of the grid G, which is resized to an image of the dimension 15 &#215; 15 using OpenCV's INTER AREA interpolation method and concatenated with the local visibility map of the agent forming a 2-channeled image of dimension 15&#215;15. The action space has five actions: up, down, left, right, and stay. Each action enables the agent to move by one pixel, respectively.</p><p>6) Evaluation: For testing the learned policies, we evaluate it for 100 episodes, each episode for T = 1000 time steps, in their respective environments. The reward for test episode &#964; is denoted by R &#964; ep = &#8721; T t=1 R(t) and the final reward R avg after n = 100 episodes are calculated as</p><p>The R avg is used to evaluate the model's performance. Next, we will evaluate the performance of the GALOPP under different parameters.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Effect of increase in communication range</head><p>With an increase in communication, the agents will be able to communicate as well as localize better while reaching various locations in the environment. A lower communication range can make agents close to each other, and hence, the agents are unable to explore and cover different regions, making an ineffective strategy. We consider a system comprising 2 anchor agents and 2 auxiliary agents, and vary the communication range from &#961; = 10 units to &#961; = 30 units, with an increment of 5 units. We evaluate the performance of GALOPP under different communication ranges as shown in Fig. <ref type="figure">7</ref>.</p><p>From the figure, we can see that with a reduced communication range of 10 and 15, the agents are unable to monitor the region properly, hence resulting in higher negative rewards. As we increase the communication range to 20, the performance improves as the agents can communicate better while maintaining localization accuracy. However, by increasing the communication range higher than 20, there is a marginal improvement in the performance at the cost of a higher communication range. These results are intuitive. However, they provide insight into the selection of the communication range for the rest of the simulations. Based on these results, we consider &#961; = 20 for the rest of the analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Effect of varying sensing range</head><p>The size of the local map is dependent on the sensing range &#8467;, which we measure in terms of the number of cells that can be observed. As the sensing range &#8467; increases, the number of observed cells g &#215; g also increases, where g = 2&#8467; + 1, resulting in a decrease in penalties. Intuitively, with an increase in sensing range, the reward improves, which can be seen in Figure <ref type="figure">8</ref>. The difference in performance between &#8467; = 5 and &#8467; = 6 is significant; however, the performance improvement is lower when we further increase the sensing range to &#8467; = 7. Based on these trends, if we further increase the sensing range, the improvement will be marginal. Hence, we consider 2 agents 3 agents 4 agents 5 agents Total Agents 3.0 2.5 2.0 1.5 1.0 0.5 Average rewards 1e7 1 anchor 2 anchors 3 anchors 4 anchors 5 anchors</p><p>Fig. <ref type="figure">9</ref>: Effect of increasing the total number of agents in the environment. For a given number of agents, we effect of increasing the number of anchor agents k &#8804; N for N agents in the environment.</p><p>a sensing range of &#8467; = 7 for the rest of the simulation. Note that during this evaluation, we use a communication range of &#961; = 20, as fixed from the previous analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Effect of an increasing number of agents and varying anchor-auxiliary ratio</head><p>The ability to monitor adequately in the environment depends on the number of agents present in the environment and also the ratio of the anchor to auxiliary agents. To understand this effect, we carry out simulations, varying the number of agents from 2 to 5. For a given agent, we vary the number of anchors to understand the performance to cost benefits associated with a higher number of anchors. Figure <ref type="figure">9</ref> shows the model performance for a varying number of agents in the environment. First, let's consider the effect of an increase in the number of agents with a single anchor. From the figure, we can see that with an increase in the number of agents, the coverage is higher and hence improvement in the average rewards. However, as we increase the number from 4 to 5, the improvement is marginal because four agents are sufficient to cover the region, and hence, increasing more agents does not increase the rewards significantly.</p><p>For a given number of agents, let us now analyze the effect of a number of anchor agents. For 2 agents, with both being anchors enables the agents to cover better, and since these two agents have high accuracy, they can work independently, thus improving the performance of one anchor. When we increase the number of anchors for 3, 4, and 5 agent cases, we can see that increasing the number of anchors shows only a marginal improvement. Hence, we can obtain good coverage accuracy with a lower number of anchor agents while ensuring there are 2 or more auxiliary agents. With a lower number of anchors, the deployment cost can be reduced significantly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Effect of increasing obstruction in the environment</head><p>The model should have the robustness to be able to perform well under different percentage obstructions in the environment. However, as the percentage of obstructions increases, the difficulty in monitoring also increases. In order to validate this hypothesis, we perform simulations on varying obstacle percentages in the environment. For each episode, the obstacles for a given percentage are randomly generated and placed.</p><p>Figure <ref type="figure">10</ref> shows the performance of GALOPP for varying percentage obstruction. From the figure, we can see that when the obstruction is less (5-15%), the GALOPP model is able to learn to change the paths so that the rewards are maximized. However, with further increases in obstacle density (20-30%), learning becomes difficult due to environmental constraints and, hence reduction in performance. When we look at the percentage of disconnections that happen due to environmental changes, for 5-15% obstacle density, the disconnections are less than 10%. However, with an increase in the obstacle density, the motion constraints for the agents also increase. Due to this, the agents are unable to explore remote regions, resulting in reduced performance as shown in Figure <ref type="figure">10</ref>. Because the agents are unable to disconnect and explore, they remain connected, resulting in a lower percentage of disconnection time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F. Comparison between centralized maps vs. decentralized maps</head><p>In GALOPP, agents are trained using a decentralized minimap, where each agent maintains a separate copy of the Centralised Maps Decentralised Maps Map types 1.3 1.2 1.1 1.0 0.9 0.8 0.7 Average rewards 1e7 Fig. 12: Comparison between centralized and decentralized execution</p><p>global map that was updated when agents were within a communicable range. We compare the performance of the decentralized global map approach to a centralized approach, where a shared global map is maintained among all agents. To accomplish this comparison, agents within the communication range of each other compared and aggregated the global map at each time step by taking the element-wise maximum for each grid cell in the environment, as shown in Figure <ref type="figure">6</ref>. In order to know the difference in performance between centralized map sharing and decentralized map sharing, simulations were carried out, and Figure <ref type="figure">12</ref> shows the performance difference. The simulations setting for the comparison are two anchor agents and two auxiliary agents with a sensing range of 7 cells and a communication range of 20.</p><p>From the figure, we can see that the centralized map model is performing marginally better than the decentralized map model, but statistically, both strategies are performing similarly. The result shows that using decentralized maps is a good alternative to centralized maps. This suggests that the decentralized approach in GALOPP can achieve similar performance to a centralized approach while still providing the benefits of decentralization in maintaining its local observation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G. Comparison between GALOPP and non-RL baselines</head><p>Due to the localization constraints in the persistent monitoring problem, the motion of both anchor and auxiliary agents becomes coupled. This complexity makes it highly challenging to devise deterministic motion strategies for these heterogeneous agents. Given the unique coupled objective of coverage and localization in our approach, existing literature has limitations in simultaneously addressing both aspects, which in turn complicates the identification of suitable baselines. Since there is limited prior research on persistent monitoring with constraints on communication, localization, and sensing range, we compare our approach with heuristic-based algorithms custom-designed for persistent monitoring.</p><p>As a result, we assess the performance of our model against four custom-designed non-reinforcement learning baselines: random search (RS), random search with ensured communication (RSEC), greedy search (GS), and lawn-mower area sweep (LMAS).</p><p>1) Random Search (RS): In the RS method, agents make decisions independently at each time step by randomly selecting an action (stay, up, down, right, left). This approach does not require any prior knowledge of the problem domain or any model of the system dynamics. Because of random decisions, communication may break, resulting in lower performance.</p><p>2) Random Search with Ensured Communication (RSEC): RSEC is an extension of the RS method, in which each agent randomly selects an action while ensuring that no auxiliary agent becomes unlocalized. In other words, the RSEC approach guarantees that all agents remain localized at all times. If an action is selected that would cause an agent or another auxiliary agent to become unlocalized, the agent randomly selects another action from the remaining action space until a suitable action is found.</p><p>3) Greedy Search (GS): In GS, agents act independently and greedily. Assume that agent i is in cell (&#945;, &#946; ), and we define N i as the set of neighboring cells that agent i can reach in one-time step (that is, all the cells when &#8467; = 1). The agent i selects a cell that has maximum negative reward, without considering localization constraints. If all the grid cells in N i have the same reward, then agent i chooses a random action.</p><p>4) Area partition with Lawn Mower Sweep (LMAS): The LMAS strategy <ref type="bibr">[18]</ref>, <ref type="bibr">[38]</ref> begins with partitioning the area into cells (or sections) equal to the number of agents deployed and placing each agent in a chosen starting position within one of these sections. The agent is then programmed to follow a specific lawn-mower movement pattern within each section, typically involving a back-and-forth motion. The agent repeats this pattern within each section until it has covered the entire area, ensuring complete coverage. Each agent makes use of its onboard local map to avoid obstacles by changing its trajectory in the presence of obstacles.</p><p>We carried out 100 simulations for each non-RL baseline strategy and Figure <ref type="figure">13</ref> shows the performance comparison between the baseline strategies and GALOPP. From the figure, we can see that the GALOPP consistently outperforms the above-defined baseline strategies. This is attributed to GA-LOPP's ability to explicitly account for localization and connectivity constraints in its decision-making process. Among the baselines, Random Search (RS) exhibits the poorest performance, as it relies on random actions without considering any context. Random Search with Ensured Communication (RSEC) improves upon RS by enforcing communication and localization, resulting in enhanced performance. Greedy Search (GS) leads to sub-optimal policies as each agent acts greedily at each timestep independently. Lawn Mower Area Sweep (LMAS) performs better compared to GS, but it does not explicitly incorporate localization considerations and is influenced by the specific geometry of the environment being monitored. GALOPP consistently outperforms all the mentioned baselines.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>H. Evaluation in other environments</head><p>In order to test the ability of GALOPP to perform in other types of complex environments, we evaluate its performance in two-room and four-room environments, as shown in Figure <ref type="figure">14a</ref> and <ref type="figure">14c</ref>, respectively.</p><p>For the two-room map, the agents learn to maintain contact with each other by spreading across two rooms and the corridor. In the 2-room map, we notice that our algorithm ends up with the agents in a formation where two of them position themselves in the two rooms while one monitors the corridor. This can be seen in Figure <ref type="figure">14a</ref>, where the faded cells show the trajectory followed by the agents for the last 30 steps. Figure <ref type="figure">14b</ref> shows the areas where each agent was present. From this, we can see that the anchor was in the middle region while the two auxiliary agents monitored the two rooms. The anchor agent moves around to maximize rewards, while the auxiliary agents move in the two rooms. In fact, this is the best combination for the agents, and they learn quickly.</p><p>In the four-room map, GALOPP learns a policy in which each of the four agents is responsible for monitoring separate rooms while intermittently monitoring the central corridor region, as shown in Figures <ref type="figure">14c</ref> and <ref type="figure">14d</ref>. The anchor agents are positioned to monitor two cells and the central area, while the auxiliary agents are responsible for monitoring the two rooms.</p><p>Our results show that GALOPP is capable of adapting to complex environments and learning effective policies for multi-agent coordination. The ability of the agents to maintain contact with each other and cover all areas of the environment is crucial for the successful completion of tasks, and GALOPP demonstrates its ability to achieve this.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. HARDWARE IMPLEMENTATION</head><p>We implement GALOPP on a real-time hardware setup for proof-of-concept purposes. We use multiple BitCraze Crazyflie 2.1 <ref type="bibr">[39]</ref> nanocopters as agents. The experimental setup consists of four SteamVR Base stations <ref type="bibr">[40]</ref> and Lighthouse Positioning System <ref type="bibr">[41]</ref> to track the location of the vehicles within a 3.5m &#215; 3.0m &#215; 2.0m arena. The agents communicate with a companion computer (running on Ubuntu 20.04 with an AMD Ryzen 9 5950x with a base clock speed of 3.4 GHz) via a Crazyradio telemetry module, where the trained GALOPP model was executed. In the experiment, we consider the environment as shown in Fig. <ref type="figure">15a</ref> with 2 auxiliary agents and 1 anchor agent. The companion computer receives the position of each CrazyFlie as input via the corresponding rostopics from the Crazyswarm ROS package <ref type="bibr">[42] [43]</ref>. The respective agents then execute the actions computed by the actor networks. To avoid inaccuracies in tracking the CrazyFlies caused by physical obstacles obstructing the infrared laser beams from the Base stations, we opt to simulate the obstacle boundaries. The model policy implemented in the simulation ensures that the agents never collide with any obstacle.</p><p>The video of the hardware implementation can be seen in <ref type="bibr">[44]</ref>. Figure <ref type="figure">15</ref>(a) shows the snapshot of the simulated environment along with the agent positions (anchor and auxiliary), current coverage, and the position of the obstacle. We then implement the same scenario with virtual obstacles through the hardware, where the model sends the control signals to the vehicles, as shown in Figure <ref type="figure">15</ref>(b). In Figure <ref type="figure">15</ref>(c), we can see that the agent trajectories are covering all the regions and hence achieving persistent monitoring.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VII. CONCLUSION AND FUTURE WORK</head><p>This work developed a MARL algorithm with a graph-based connectivity approach -GALOPP for persistently monitoring a bounded region, taking the communication, sensing, and localization constraints into account via graph connectivity. The experiments show that the agents using GALOPP can outperform four custom baseline strategies for persistent area coverage while accounting for the connectivity bounds. We also establish the robustness of our approach by varying the sensing map, the effect of obstacle occlusion by increasing the percent amount of obstacle, and by scaling the number of anchor agents in the system. It was seen that increasing the number of anchor agents improves the performance, but beyond a certain value, there are diminishing returns on the rewards obtained. Based on power and resource constraints, one can select a subset of anchor agents to achieve persistent surveillance effectively.</p><p>Although our experiments demonstrate that GALOPP surpasses the baseline strategies, future work could investigate the algorithm's scalability as the number of agents significantly increases. Exploring optimal values for the decay rate  and maximum negative reward, with a focus on increasing monitoring efficiency, presents a promising area for further research. Additionally, the algorithm's suitability for diverse sensor types, such as cameras or LIDAR sensors, could be explored to improve agents' situational awareness. Further research on the impact of different types of obstacles, including moving obstacles, on the algorithm's performance would also be insightful. While the proposed algorithm targets heterogeneous agents in the persistent monitoring problem, future research can investigate its generalizability to other monitoring problems, such as target tracking or environmental monitoring. This work a foundation for future investigations of GALOPP's performance and its potential applications in various monitoring scenarios.</p></div></body>
		</text>
</TEI>
