Skip to content

Commit

Permalink
Reorganized multi-agents and consolidated ergotic search
Browse files Browse the repository at this point in the history
  • Loading branch information
gnastacast committed Sep 28, 2023
1 parent 7dce8ef commit 82d837f
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 30 deletions.
23 changes: 0 additions & 23 deletions _posts/2023-08-21-heterogeneous-multi-agent-ergodic-search.md

This file was deleted.

2 changes: 1 addition & 1 deletion _posts/2023-08-21-multi-agent-path-finding.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Multi-Agent Path Finding"
published: true
image: img/posts/mapf_MATSPF.gif
tags:
- multi_agent
- multi-agent_planning
---

### Table of Contents
Expand Down
2 changes: 2 additions & 0 deletions _posts/2023-08-22-multi-agent-comms.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ title: Multi-Agent Communication Learning
categories: research
tags:
- multi_agent_reinforcement_learning
- multi-agent_planning
- skill_learning
---

Efficient inter-agent communication is an important requirement for both cooperative multi-agent robotics tasks, as well as distributed computing. In both of these domains, the rate at which information can be transferred between robots or computing nodes is a bottleneck. Techniques exist for learning communication protocols in such bandwidth-limited applications, however these approaches tend to converge very slowly, requiring large amounts of computational power and/or data. This project seeks to develop methods for efficient communication learning on discrete, bandwidth-limited, and noisy networks. Our initial work has developed a discrete communication learning approach, which utilizes a stochastic message encoding/decoding procedure to make discrete communication channels mathematically equivalent to an analog channel with additive noise. Gradients can thus be backpropagated through the communication channel, enabling rapid, efficient and robust communication learning. By virtue of using discrete messages, this approach is naturally incorporates bandwidth limitations and is ideally suited to real-world (digital) communication networks. To enable communicating agents to further decrease the amount of information they transmit, we introduce a variable-length message code that provides agents with a means to modulate the number of bits they send to their neighbors, and encourage agents to send short messages when possible. We find that in both tasks, our discrete differentiable communication approach enables communication learning with convergence rates comparable to approaches that allow the transmission of real-valued messages, which have been shown to converge much faster than typical discrete messaging approaches. Additionally, we find that our approach enables comparable levels of task performance with up to 34-fold fewer bits exchanged, compared to an approach in which nodes communicate 32-bit precision messages.
Expand Down
2 changes: 2 additions & 0 deletions _posts/2023-08-22-partial-reward-decoupling.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ title: Partial Reward Decoupling for Cooperative Multi-Agent RL
categories: research
tags:
- multi_agent_reinforcement_learning
- multi-agent_planning
- skill_learning
---

Multi-agent reinforcement learning (MARL) has achieved super-human performance on many complex sequential decision-making problems, such as DOTA 2, Starcraft II, and capture the flag.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2023-08-23-autonomous-exploration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Autonomous Exploration Using a Fleet of Heterogeneous Robots"
published: true
image: img/posts/ground_exploration_crop.gif
tags:
- multi_agent
- multi-agent_planning
- full_stack_autonomy
---

Expand Down
38 changes: 33 additions & 5 deletions _posts/2023-09-18-ergodic-search.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: img/posts/moes_alg_overview.png
image: img/posts/maergodic_fig1.png
date: '2023-09-18 22:51 -0400'
published: true
title: Ergodic Search
Expand All @@ -13,23 +13,33 @@ tags:
//2. [Multi-Agent Multi-Objective Ergodic Search]({{page.url | relative_url}}#multi-agent-multi-objective-ergodic-search)-->

### Multi Objective Ergodic Search
### Table of Contents

<figure>
<img src="img/posts/moes_alg_overview.png" alt="MO-ES algorithm overview" />
</figure>
| System | Multi-Objective | Multi-agent | Heterogeneous agent |
| :----- | :-------------: | :---------: | :-----------------: |
| [MO-ES]({{page.url | relative_url}}#multi-objective-ergodic-search) || | |
| [MO-MA-ES]({{page.url | relative_url}}#multi-agent-multi-objective-ergodic-search) ||| |
| [HE-MO-MA-ES]({{page.url | relative_url}}#heterogeneoug-multi-agent-ergodic-search) ||||

### Multi Objective Ergodic Search

Our work is motivated by humanitarian assistant and disaster relief (HADR) where often it is critical to find signs of life in the presence of conflicting criteria, objectives, and information.

We believe ergodic search can provide a framework for exploiting available information as well as exploring for new information in applications such as HADR. Ergodic search algorithms plan trajectories such that the time spent in a region is proportional to the amount of information in that region, and is able to naturally balance between exploitation and exploration.

<figure>
<img src="img/posts/moes_alg_overview.png" alt="MO-ES algorithm overview"/>
</figure>

Existing ergodic search methods typically consider search using only a single information map.
However, one can readily envision many scenarios where multiple information maps that encode different types of relevant information are used. Ergodic search methods currently do not possess the ability to simultaneously search multiple information maps, nor do they have a way to balance which information gets priority.

This leads us to formulate a Multi-Objective Ergodic Search (MO-ES) problem, which aims to find the so-called Pareto-optimal solutions, for the purpose of providing human decision makers various solutions that trade off among conflicting criteria.

To efficiently solve {MO-ES}, we develop a framework called Sequential Local Ergodic Search (SLES), which leverages the recent advances in ergodic search methods as well as the idea of local optimization to efficiently compute Pareto-optimal solutions. Our numerical results show that SLES computes solutions of better quality and runs faster than the baselines.

[Back to top]({{page.url | relative_url}}#table-of-contents)


### Multi Agent Multi Objective Ergodic Search

Expand All @@ -48,3 +58,21 @@ The primary goal of this work is to determine the trajectories for all agents su
The main challenge in determining the optimal allocation is the exponential growth of the number of possible allocations with the number of maps and agents. Further, computing the cost of an allocation is itself an expensive planning problem. This is because evaluating an allocation requires identifying the maximum ergodic metric with respect to the information maps by computing the trajectory for each agent that optimizes the ergodic metric on its assigned maps. The expensive evaluation of one allocation coupled with the exponentially growing number of possible allocations makes solving for an optimal allocation using brute force computationally intractable.

To mitigate the computational challenge of exponential growth, we present a branch and bound-based algorithm with pruning techniques that reduce the number of allocations to be searched to find the optimal allocation. To reduce the branching factor in branch and bound, we propose two approaches for clustering information maps before allocation: k-means and minimum bounding sphere clustering. This sacrifices guaranteed optimality in exchange for improved computational performance. These clustering approaches leverage the similarity between information maps to approximate the cluster of maps that should be assigned to a single agent to achieve minmax ergodic metric on the information maps. Clustering information maps before allocation decreases the number of possible allocations and thus the branching factor in the branch and bound, further reducing the problem's computational complexity. Testing on 70 randomly generated test cases shows an order of magnitude improvement in runtime for our branch and bound approach compared to an exhaustive brute force approach. Using similarity clustering, the runtime further reduces by two orders of magnitude even for tests with ten information maps and four agents while maintaining good quality allocations with an average 20\% deviation from the optimal minmax ergodic metric.

[Back to top]({{page.url | relative_url}}#table-of-contents)

### Heterogeneoug Multi-Agent Ergodic Search

Multi-robot systems can provide greater sensor coverage and reliability than single robot systems. Among multi-robot applications, significant research effort has been devoted to multi-agent search, where deploying numerous agents can greatly improve the time-efficiency and robustness of search. Motivated by such problems, we consider the large-scale deployment of heterogeneous robots in time-critical scenarios, where search can be further improved by leveraging the natural synergies between agents’ sensing and motion capabilities. By optimizing the formation and coordination of teams of heterogeneous agents, we can efficiently cover a large search area, while managing complexity, to allow for rapid, online re-planning as more information is gathered. This work addresses the question: How can we best form and coordinate heterogeneous agent teams?

<figure>
<img src="img/posts/dars2021_gaussian.gif" alt="" />
</figure>

Our approach is based on ergodic search processes, which, similar to other information-theoretic coverage methods, rely on an a priori information distribution, representing the likelihood of finding a target at any point over the search domain, to guide the search. Ergodicity is a measure of how much time an agent spends in a region of space weighted by the likelihood of a target being located in that region. By optimizing over search paths (really the parameters that describe the paths) the ergodic metric drives agents to spend time in areas of the domain in proportion to the a priori likelihood of finding targets in these areas, while still covering the whole domain, thus balancing exploration and exploitation. Often, this optimization is performed in the spectral domain, by minimizing the difference between the coefficients associated to the team's time-average statistics (i.e., fraction of the time spent in each area) and those of the information distribution.

The contribution of this work is to exploit the spectral nature of the ergodic metric in search scenarios involving heterogeneous agents. We do this by planning search paths for each agent type based on a smaller subset of the spectral coefficients associated with the information map, thus driving agents to search the domain at a spatial scale that best matches their motion and sensing capabilities. This technique decomposes the search task and distributes the subtasks to agents based on their capabilities. We demonstrate that these new insights lead to improvements in search domain coverage and time taken to find targets.

Current research focuses on applying machine learning techniques to automate both the creation and distribution of search subtasks. By allowing agents to thus learn and utilize their unique strengths, we can generalize this approach to more complex agents, where human intuition may not suffice. Additionally, we are exploring extending this work to incorporate decentralized planning in order to efficiently scale to large numbers of agents. Finally, branch-and-bound techniques are being explored as a way to efficiently analyze assignments of heterogeneous agents to different search tasks.

[Back to top]({{page.url | relative_url}}#table-of-contents)

0 comments on commit 82d837f

Please sign in to comment.