Task-agnostic Decision Transformer for Multi-type Agent Control with Federated Split Training

Zhiyuan Wang, Bokui Chen, Xiaoyang Qu, Zhenhou Hong, Jing Xiao, Jianzong Wang

Abstract

Training intelligent agents for complex tasks like autonomous driving typically requires centralized, high-volume datasets, raising significant privacy and hardware concerns. This paper introduces the Federated Split Decision Transformer (FSDT), a framework that enables collaborative learning among heterogeneous AI agents without raw data sharing. By partitioning the Decision Transformer architecture between a central server and local clients, FSDT achieves high-performance offline reinforcement learning while drastically reducing the computational burden on individual edge devices.

Introduction

Traditional centralized training for autonomous agents faces three primary hurdles:

  1. Privacy: Trajectory data is highly sensitive and difficult to share securely.
  2. Heterogeneity: Different agents (e.g., robots with varying sensor counts and joints) often require different model architectures, complicating standard Federated Learning (FL).
  3. Resource Constraints: State-of-the-art Transformers are computationally intensive, often exceeding the memory and processing power of edge devices like onboard vehicle computers.

FSDT addresses these challenges by creating a system where diverse agents benefit from collective knowledge without compromising privacy or local hardware stability.

Methodology

The Split Architecture

The core innovation of FSDT is the combination of the Decision Transformer architecture with Split Federated Learning (SFL). The model is divided into two distinct components:

  • Client-side: Local agents run lightweight Embedding and Prediction layers. These layers translate agent-specific sensor data and actions into a universal 128-dimensional "hidden" language.
  • Server-side: A central server hosts the computationally intensive Transformer Decoder. It processes the hidden embeddings and returns high-level representations.
Overview of the FSDT architecture, illustrating the split between local agent layers and the central task-agnostic server.

This design allows the server to remain "task-agnostic." Because it only interacts with the 128-dimensional embeddings, it does not need to know the specific state or action dimensions of the individual robots, allowing a single server model to support a fleet of heterogeneous agents.

Two-Stage Training

To optimize this split architecture, the researchers implemented a two-stage training process:

  • Stage 1: The server's Transformer is frozen. Clients train their local embedding and prediction models to ensure they can correctly map their specific inputs to the hidden language.
  • Stage 2: The client models are frozen, and the server trains the Transformer decoder to synthesize information across all agent types.
The two-stage training process of FSDT, alternating between training local client layers and the central server-side Transformer decoder over multiple rounds.

Experimental Setup and Datasets

The framework was evaluated using the D4RL (Datasets for Deep Data-Driven Reinforcement Learning) benchmark, focusing on MuJoCo control environments: HalfCheetah, Hopper, and Walker2D. The experiments involved 30 agents (10 of each type) across various data quality levels, including Medium-Expert, Medium, and Medium-Replay.

Key Results and Insights

  • Competitive Performance: FSDT achieved an average D4RL score of 71.4. While slightly below a fully centralized Decision Transformer (74.7), it significantly outperformed other popular offline RL methods in federated contexts, such as CQL (63.9) and BEAR (48.2).
  • Hardware Efficiency: By moving approximately 85% of the model parameters to the server, local models for agents like the Hopper were reduced to just ~132k parameters (approx. 0.5 MB). This allows low-power devices to participate in state-of-the-art training.
  • Scalability and Collaboration: The model demonstrated a clear "collaboration gain." Performance suffered when the number of clients was low (under 30), proving that agents genuinely benefit from the shared server-side knowledge.
  • Privacy through Abstraction: Since only intermediate embeddings—not raw state or action data—are transmitted, the risk of sensitive data leakage is significantly minimized.

Conclusion and Future Work

FSDT provides a robust solution for training heterogeneous agents under privacy and resource constraints. While the authors noted potential overfitting if training continues too long after convergence, the framework's ability to act as a "universal brain" for diverse robots is a significant step forward. Future work will focus on extending FSDT to more complex architectures and testing it in real-world autonomous driving scenarios beyond simulation.

Summary updated

Abstract

With the rapid advancements in artificial intelligence, the development of knowledgeable and personalized agents has become increasingly prevalent. However, the inherent variability in state variables and action spaces among personalized agents poses significant aggregation challenges for traditional federated learning algorithms. To tackle these challenges, we introduce the Federated Split Decision Transformer (FSDT), an innovative framework designed explicitly for AI agent decision tasks. The FSDT framework excels at navigating the intricacies of personalized agents by harnessing distributed data for training while preserving data privacy. It employs a two-stage training process, with local embedding and prediction models on client agents and a global transformer decoder model on the server. Our comprehensive evaluation using the benchmark D4RL dataset highlights the superior performance of our algorithm in federated split learning for personalized agents, coupled with significant reductions in communication and computational overhead compared to traditional centralized training approaches. The FSDT framework demonstrates strong potential for enabling efficient and privacy-preserving collaborative learning in applications such as autonomous driving decision systems. Our findings underscore the efficacy of the FSDT framework in effectively leveraging distributed offline reinforcement learning data to enable powerful multi-type agent decision systems.
BibTeX
@inproceedings{wang2024task,
  author = {Zhiyuan Wang and Bokui Chen and Xiaoyang Qu and Zhenhou Hong and Jing Xiao and Jianzong Wang},
  title = {{Task-agnostic Decision Transformer for Multi-type Agent Control with Federated Split Training}},
  booktitle = {IJCNN},
  year = {2024},
  url = {https://openreview.net/forum?id=iJT6PfNrU2},
}
Figure