Spatiotemporal Meta-Reinforcement Learning for Multi-USV Adversarial Games Using a Hybrid GAT-Transformer

Xiong Yang, Shangwen Wang, Hongjun Tian, Guijie Liu, Zihao Shan, Yijie Yin, Jun Tao, Haonan Ye, Ying TangJournal of Marine Science and Engineering 2025

TL;DR

This paper introduces Adv-TransAC, a novel framework for coordinating fleets of Unmanned Surface Vehicles (USVs) in complex, adversarial maritime scenarios. By combining a Graph Attention Network (GAT) for spatial reasoning and a Transformer for temporal analysis, Adv-TransAC effectively models intricate spatiotemporal dependencies and adapts to opponent tactics, outperforming existing methods in simulated escort and defense missions.

What Problem Does This Paper Address?

Coordinating multiple USVs for tasks like maritime security or resource exploration is challenging. Existing Multi-Agent Reinforcement Learning (MARL) methods often struggle to capture the complex interplay of spatial formations and temporal intentions in adversarial environments. This leads to suboptimal decision-making, especially when facing intelligent, adaptive opponents. Specifically, current approaches often fail to effectively fuse multi-modal sensor data, learn sophisticated coordinated strategies, or handle the intermittent communication typical of maritime operations. The paper aims to bridge this gap by developing a MARL framework that can learn robust, adaptive, and cooperative behaviors in these dynamic, multi-agent settings.

Methods

The core innovation is the Adv-TransAC framework, which employs a hybrid GAT-Transformer architecture within a Centralized Training with Decentralized Execution (CTDE) paradigm.

  • Spatiotemporal Reasoning:
    • Graph Attention Network (GAT): Used in the critic to model instantaneous spatial relationships and tactical formations between agents (both allies and enemies) at each timestep. It processes agent states as nodes in a graph, learning to weigh neighbor importance.
  • Transformer: Used in both the actor (for local observation history) and the critic (for temporal evolution of GAT-enhanced spatial snapshots). It analyzes sequences of these spatial representations to infer long-term temporal evolution and opponent intent.
  • Adversarial Meta-Learning: An Opponent Encoder (an 8-head transformer) processes the enemy's historical actions to generate a latent strategy embedding. This embedding is then used by a Meta-Policy Regulator (a hypernetwork) to adapt the agent's policy parameters in real-time, enabling rapid adaptation to changing opponent tactics.
  • Progressive Training: An Adversarial Curriculum Learning scheduler gradually increases the difficulty of opponents during training, starting with rule-based agents and progressing to adaptive, learning-based adversaries.
  • Communication Efficiency: A federated optimization architecture is proposed, where USVs perform local updates and only upload low-dimensional gradients to a central server, significantly reducing bandwidth requirements.

Datasets

The paper does not introduce new datasets. Experiments are conducted in a custom 2D mesh marine environment built using the PettingZoo 1.15.0 MARL library, simulating multi-USV attack-defense scenarios.

Key Insights and Ideas

  • Decoupling Space and Time is Crucial: The hybrid GAT-Transformer architecture, which explicitly models spatial relationships first (GAT) and then temporal evolution (Transformer), is more effective than simply using a large Transformer for flattened spatiotemporal data. This principled approach unlocks superior strategic reasoning.
  • Intelligent Risk-Reward Balancing: Adv-TransAC learns to accept a marginal increase in secondary risks (like synergistic collisions) to achieve significant gains in primary mission objectives (task success, opponent neutralization). This demonstrates a sophisticated, learned trade-off, akin to operating at the "edge of the envelope."
  • Proactive vs. Reactive Control: The Transformer's ability to analyze temporal sequences allows for predicting opponent intent and planning proactive interception maneuvers, moving beyond simple reactive responses.
  • Federated Learning for Practicality: The proposed federated optimization significantly reduces communication bandwidth, making the framework more viable for real-world deployment on resource-constrained maritime platforms.
  • Curriculum Learning Enhances Robustness: Adversarial curriculum learning is essential for stable training and developing robust policies that can generalize to unseen opponent strategies.

Key Results

  • Superior Performance: Adv-TransAC achieved a task success rate of 78.5% against learning-based opponents, significantly outperforming baselines like QMIX (38.2%) and MADDPG (59.5%).
  • Reduced HVU Damage: Adv-TransAC achieved an average HVU damage of 74.4, significantly lower than QMIX (210.5) and MADDPG (148.3).
  • Effective Opponent Neutralization: Achieved an opponent destruction rate of 79.2%, outperforming baselines.
  • Robustness: Showed graceful degradation in performance under challenging conditions (increased sensor noise, larger scale), maintaining a win rate of 65.3% in a 4v4 scenario compared to MADDPG's 35.2%.
  • Communication Efficiency: The federated optimization architecture reduced communication load by approximately 70% compared to standard CTDE.
  • Computational Efficiency: Achieved a single-step inference time of 18.6 ms, well within the 200 ms real-time requirement for maritime systems.

Limitations and Future Work

  • Sim-to-Real Gap: All experiments were conducted in simulation. Bridging the gap to real-world maritime environments, with their complex hydrodynamics, variable sensor noise, and communication latencies, is a major challenge.
  • Operational Safety and Ethics: Real-world deployment requires robust fail-safes, human override capabilities, and ethical considerations.
  • Scalability: While Adv-TransAC shows good scalability, the computational cost of the centralized critic may become prohibitive for very large swarms (hundreds of agents). Hierarchical or fully decentralized control architectures are suggested.
  • Generalization to "Black Swan" Strategies: The framework's ability to generalize to entirely novel, unseen adversarial tactics needs further investigation. Incorporating online anomaly detection modules is proposed.
  • Explainable AI (XAI): While attention visualization offers some insight, deeper XAI methods are needed to fully understand the model's decision-making calculus and build human trust.
  • Physical Platform Validation: Deploying and testing Adv-TransAC on actual USVs is the next critical step.

Summary updated

Abstract

Coordinating Multi-Unmanned Surface Vehicle (USV) swarms in complex, adversarial maritime environments is a significant challenge, as existing multi-agent reinforcement learning (MARL) methods often fail to capture intricate spatiotemporal dependencies, leading to suboptimal policies. To address this, we propose Adv-TransAC, a novel Spatio-Temporal Meta-Reinforcement Learning framework. Its core innovation is a hybrid GAT-transformer architecture that decouples spatial and temporal reasoning: a Graph Attention Network (GAT) models instantaneous tactical formations, while a transformer analyzes their temporal evolution to infer intent. This is combined with an adversarial meta-learning mechanism to enable rapid adaptation to opponent tactics. In high-fidelity escort and defense simulations, Adv-TransAC significantly outperforms state-of-the-art MARL baselines in task success rate and policy robustness. The learned policies demonstrate the emergence of complex cooperative behaviors, such as intelligent risk-aware coordination and proactive interception maneuvers. The framework’s practicality is further validated by a communication-efficient federated optimization architecture. By effectively modeling spatiotemporal dynamics and enabling rapid adaptation, Adv-TransAC provides a powerful solution that moves beyond reactive decision-making, establishing a strong foundation for next-generation, intelligent maritime platforms.
BibTeX
@article{yang2025spatiotemporal,
  author = {Xiong Yang and Shangwen Wang and Hongjun Tian and Guijie Liu and Zihao Shan and Yijie Yin and Jun Tao and Haonan Ye and Ying Tang},
  title = {{Spatiotemporal Meta-Reinforcement Learning for Multi-USV Adversarial Games Using a Hybrid GAT-Transformer}},
  journal = {Journal of Marine Science and Engineering},
  year = {2025},
  doi = {10.3390/jmse13081593},
}
Figure