Evaluating Collaborative Autonomy in Opposed Environments using Maritime Capture-the-Flag Competitions

Jordan Beason, Michael Novitzky, John Kliem, Tyler Errico, Zachary Serlin, Kevin Becker, Tyler M. Paine, Michael R. Benjamin, Prithviraj Dasgupta, Peter Crowley, Charles O'Donnell, John JamesarXiv 2024 · DOI

Abstract

Research in autonomous swarms often assumes benign environments, yet real-world defense and security applications occur in "opposed" settings where adversaries actively thwart missions. This paper evaluates the performance of traditional rule-based autonomous systems against Deep Reinforcement Learning (DRL) agents in a maritime Capture-the-Flag (CTF) competition. Using the Project Aquaticus test-bed and MOOS-IvP middleware, we compare static baselines, hierarchical rule-based strategies, and DRL agents. Results from field trials indicate that while DRL shows promise, rule-based systems with hierarchical cooperation currently dominate in adversarial environments due to their strategic flexibility and robustness to physical disturbances like wind and waves.

Introduction: The Challenge of Opposed Environments

Most autonomous swarm research operates under the assumption of a cooperative or neutral environment. However, in security contexts, agents must contend with active adversaries. A significant "sim-to-real" gap exists where AI optimized for clean simulations fails against the unpredictable tactics of an opponent and the harsh physics of the ocean. This study addresses this gap by conducting head-to-head competitions between different AI architectures in a real-world maritime setting.

Unmanned Surface Vehicles (USVs) prepared for maritime Capture-the-Flag field trials.

Methodology and Experimental Setup

The study utilized Project Aquaticus, a maritime CTF test-bed featuring two-versus-two teams of Unmanned Surface Vehicles (USVs). The software architecture was built on MOOS-IvP, an open-source middleware that employs "Interval Programming" to resolve competing behavioral objectives (e.g., mission goals vs. collision avoidance) in real-time.

Researchers evaluated three primary AI configurations:

  1. Baseline (Pav01): A static approach where one agent is dedicated to attack and the other to defense.
  2. Advanced Rule-Based (Strategies 2-4): These agents utilized hierarchical behavior trees. Strategy 4, the most sophisticated, implemented "role switching," allowing both agents to attack if no threats were detected.
  3. Deep Reinforcement Learning (Pyquaticus): Agents were trained using PPO and TD3 algorithms. An "options-based" framework was also tested, where the RL agent selected from high-level behavioral primitives rather than controlling raw actuators.
Hierarchical strategy framework for rule-based agents, showing the progression from baseline to Strategy 4 with role switching.

Results and Key Insights

Analysis of 22 games (over 3.5 hours of gameplay) from the October 2023 competition revealed a clear performance hierarchy. Rule-based agents significantly outperformed DRL agents in both scoring and capture metrics.

The "Defensive Trap" and Environmental Physics

DRL agents exhibited extremely conservative behavior, often loitering near their own flag. This "defensive trap" stems from sparse rewards; the complex sequence required for a successful capture is difficult for an agent to learn without dense reward shaping. Furthermore, DRL agents lacked robustness against environmental factors. By learning to stay near field boundaries as a defensive tactic, they left no margin for error when wind gusts pushed them out of bounds.

The Advantage of Abstraction and Logic

Options-based RL showed improvement over low-level control by allowing agents to focus on high-level strategy. However, the rule-based Strategy 4 remained superior due to its ability to perform "human-like" reasoning. For instance, when an opponent was tagged out, Strategy 4 agents immediately recognized the numerical advantage and coordinated a dual-press attack—a level of opportunistic teaming not yet achieved by the DRL models.

Conclusion and Future Work

Quantitative results confirmed the dominance of rule-based systems, which achieved a Mean Score of 8 compared to <1 for DRL agents. While DRL agents were effective at denying captures, they lacked the strategic aggression required for victory. Future research will focus on developing dense reward structures, curriculum learning to increase opponent difficulty gradually, and tighter integration between simulators and physical controllers to mitigate environmental disturbances.

Summary updated

BibTeX
@misc{beason2024evaluating,
  author = {Jordan Beason and Michael Novitzky and John Kliem and Tyler Errico and Zachary Serlin and Kevin Becker and Tyler M. Paine and Michael R. Benjamin and Prithviraj Dasgupta and Peter Crowley and Charles O'Donnell and John James},
  title = {{Evaluating Collaborative Autonomy in Opposed Environments using Maritime Capture-the-Flag Competitions}},
  year = {2024},
  eprint = {2404.17038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.17038},
}
Figure