Competitive-Cooperative Multi-Agent Reinforcement Learning for Auction-based Federated Learning

Xiaoli Tang, Han Yu

Presented at IJCAI-23, this research introduces MARL-AFL, a novel multi-agent reinforcement learning framework designed to optimize bidding strategies within auction-based federated learning (AFL) environments. By balancing the inherent tension between competition and cooperation and utilizing adversarial training to prevent collusion, MARL-AFL significantly enhances social welfare, system revenue, and model accuracy.

The Challenge in Auction-based Federated Learning

Federated Learning (FL) relies on the participation of self-interested data owners (clients). To incentivize their involvement, Auction-based Federated Learning (AFL) creates a marketplace where data consumers (buyers) bid for the resources of data owners. However, existing AFL research faces two primary hurdles:

  1. Inadequate Consumer Strategies: Most existing work focuses on the auctioneer's mechanism rather than the strategic bidding of consumers. Current methods fail to account for how one consumer's bid impacts others in a shared marketplace.
  2. Rigid Participation Models: Traditional models often assume a data owner can only serve one consumer at a time. In reality, owners may possess sufficient computational capacity to contribute to multiple models simultaneously.

Furthermore, a purely competitive market can lead to a "race to the bottom" or collusion among consumers to drive down prices, which ultimately discourages data owner participation and harms the ecosystem's health.

The MARL-AFL Framework

To address these issues, the authors model the AFL ecosystem as a Partially Observable Markov Decision Process (POMDP). The framework introduces three innovative components to manage the complex dynamics of the marketplace.

The MARL-AFL ecosystem architecture, featuring bidding and bar agents for each data consumer.

1. Utility Estimation

Each data consumer employs a Deep Neural Network (DNN) to estimate the value of a data owner's resources. This estimation is based on historical auction data, including data quantity and the specific identity of the owner.

2. Temperature-based Reward Reassignment

To strike a balance between cutthroat competition and total cooperation ("coopetition"), the system reassigns rewards using a softmax function of the bids. A "temperature" parameter ($\tau$) serves as a control: high values encourage cooperation (sharing wealth), while low values drive competition. This ensures individual consumers remain motivated while preserving system-level social welfare.

3. Adversarial Bar Agents

To prevent collusion, where consumers might collectively bid low to minimize costs, the framework introduces a "bar agent" for every bidding agent. While the Bidding Agent aims to minimize consumer costs, the Bar Agent works to maximize the bidding lower bound. These agents are trained adversarially until they reach an equilibrium, effectively establishing a personalized "floor price" for each consumer.

Experimental Evaluation

The approach was evaluated using 10,000 data owners and 120 data consumers across six image classification benchmarks: MNIST, KMNIST, CIFAR-10, FMNIST, EMNIST-D, and EMNIST-L. Data quality was varied to test the agents' ability to distinguish and value high-quality resources.

Key Results

MARL-AFL was compared against six state-of-the-art bidding strategies, including Constant, Random, and other RL-based methods. The results demonstrate that MARL-AFL consistently outperforms baselines across multiple dimensions:

  • Social Welfare: Improved by 12.2% over the best-performing baseline.
  • System Revenue: Increased by 1.9%.
  • Model Accuracy: Improved by 3.4% on average.
Performance comparison of MARL-AFL against baselines across Social Welfare (SW) and System Revenue (Rev) metrics.

The system also maintained superior performance in both IID and non-IID data settings, proving its robustness for real-world federated learning applications.

Conclusion and Future Directions

MARL-AFL demonstrates that a healthy AFL market requires a careful balance of competition and cooperation. By automating "fairness" through adversarial floor prices and allowing data owners to multi-task, the framework creates a more efficient and sustainable ecosystem. Future work will explore dynamic tuning of the temperature parameter and more complex budget constraints to better simulate volatile real-world markets.

Summary updated

BibTeX
@inproceedings{tang2023competitive,
  author = {Xiaoli Tang and Han Yu},
  title = {{Competitive-Cooperative Multi-Agent Reinforcement Learning for Auction-based Federated Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/474},
}
Figure