Computational task transfer scheme based on multi-agent generative adversarial imitation learning

H. K. Huang, Jiajun Li, Fei Lu, Jianxin LiResearch Square 2024

Abstract

The multi-agent computing task scheduling problem can be transformed into a task assignment optimization problem under the premise of minimum system cost and maximum sample utilization. For this problem, this paper proposes a computational task migration scheme based on multi-agent body generation adversarial imitation learning. In the battlefield, this scheme uses the idle computing power of tanks, fighting vehicles, drones or infantry equipment to form a Ad Hoc cloud. Based on the characteristics of distributed training of reinforcement learning algorithm, it makes full use of equipment resources to solve the transfer scheme of computing tasks. By using behavioral cloning to construct the data set and build the initial strategy model, the reward function is simplified, and the network structure, parameters and training hyperparameters are set. Driven by the training set, the generative adversarial inverse reinforcement learning method is used for network training. The simulation results show that the MAGAIL-MCT algorithm can mimic the expert trajectory behavior and successfully train the neural network. The experimental results prove that the scheme is improved in reducing system overhead, improving sample utilization, reducing migration delay, migration energy consumption and reducing the impact of mobility.

Introduction

In modern battlefield environments, the proliferation of intelligent devices—ranging from unmanned aerial vehicles (UAVs) and tanks to infantry-worn sensors—has created a complex ecosystem of distributed computing resources. These devices often form a "Mobile Ad Hoc Cloud," where computationally intensive tasks must be efficiently distributed to optimize performance and survivability. However, managing this distribution is a significant challenge. Tasks must often be migrated from resource-constrained edge devices (e.g., infantry wearables) to more robust vehicle-mounted servers or nearby drones.

This scheduling problem is fundamentally an NP-complete optimization challenge. Traditional Reinforcement Learning (RL) approaches often struggle in these dynamic environments because they require a meticulously hand-crafted reward function to balance competing factors like energy consumption, processing latency, and node mobility. To address these limitations, this research introduces MAGAIL-MCT (Multi-Agent Generative Adversarial Imitation Learning - Multi-agent Computing Task), a novel scheme designed to learn optimal migration strategies directly from expert data.

Methodology: The MAGAIL-MCT Framework

The MAGAIL-MCT algorithm leverages a hybrid learning approach to overcome the slow convergence and low sample efficiency typical of standard RL and imitation learning methods.

Hybrid Learning and Initialization

The process begins with Behavioral Cloning (DILC). By using expert datasets to initialize the strategy model, the system achieves a "warm start." This bypasses the initial phase of random exploration that often plagues traditional RL, allowing the agent to start from a baseline of competent behavior.

Generative Adversarial Architecture

At its core, the system employs a Generative Adversarial Network (GAN) framework adapted for imitation learning:

  • Generator (Actor Network): Proposes task migration strategies based on the current state of the Ad Hoc cloud.
  • Discriminator (Critic Network): Evaluates these strategies by comparing them against "expert" trajectories, effectively reconstructing an implicit reward function through Inverse Reinforcement Learning.

Modeling Mobility and Environment

The environment is modeled as a Multi-Agent Markov Decision Process (MMDP). Crucially, the model treats mobility as a primary attribute. Each node is defined by a nine-tuple that includes polar coordinates, velocity, and acceleration. This allows the algorithm to account for the physical movement of nodes, ensuring that tasks are not migrated to devices that will soon move out of communication range.

Experimental Evaluation

To validate the MAGAIL-MCT scheme, the authors conducted extensive simulations using a high-fidelity network environment.

Simulation Setup

  • Environment: The simulation was built on Ubuntu 18.04 using the ns-3 network simulator integrated with the ns-3ai framework.
  • Scenario: A large-scale mobile Ad Hoc network featuring 360 nodes organized into 30 tactical groups was simulated to mimic a realistic battlefield deployment.
  • Expert Data: Ground truth trajectories were generated using the DILC method to provide the necessary training data for the imitation learning process.

Key Results

The performance of MAGAIL-MCT was benchmarked against several state-of-the-art algorithms, including MGAIL, BGAIL, and DDPG-GAIL. The results demonstrated significant improvements across multiple metrics:

  • System Overhead: MAGAIL-MCT achieved a 4.7% reduction in total system overhead compared to DDPG-GAIL when processing 100 migration tasks.
  • Decision Efficiency: The algorithm was notably faster, reducing decision time by 27.92% compared to standard GAIL implementations.
  • Sample Utilization: By utilizing an experience replay buffer and a warm-start initialization, the model reached peak performance with fewer data samples, indicating superior learning efficiency.

Discussion and Future Outlook

The MAGAIL-MCT algorithm represents a significant step forward in autonomous task scheduling for dynamic, multi-agent environments. By reconstructing reward functions from expert behavior rather than relying on manual design, it effectively handles the complexities of battlefield mobility and resource constraints.

However, some challenges remain. The computational intensity required to train these neural networks may limit their immediate deployment on the most resource-constrained edge devices. Furthermore, the complexity of multi-agent negotiation—where nodes must actively agree to accept migrated tasks—remains an area for further exploration. Future work will focus on optimizing the algorithm for even more diverse task requirements and enhancing its robustness in scenarios of extreme mobility.

Summary updated

BibTeX
@inproceedings{huang2024computational,
  author = {H. K. Huang and Jiajun Li and Fei Lu and Jianxin Li},
  title = {{Computational task transfer scheme based on multi-agent generative adversarial imitation learning}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-4819175/v1},
}
Figure