Multi-Agent Learning with Heterogeneous Linear Contextual Bandits

Anh Do, Thanh Nguyen-Tang, Raman Arora

Introduction

As intelligent systems become pervasive, multi-agent learning offers a powerful framework for autonomous agents to share experiences and learn faster. However, most existing frameworks assume that agents are homogeneous. In reality, agents often operate in heterogeneous environments—for example, robots with slightly different sensor calibrations or recommendation systems serving distinct user demographics. Researchers from Johns Hopkins University address this challenge with H-LINUCB, a novel distributed algorithm for heterogeneous linear contextual bandits that intelligently manages collaboration to avoid the pitfalls of "negative transfer."

The Problem: Heterogeneity and Negative Transfer

The core challenge in multi-agent learning is determining when sharing data is actually beneficial. If agents blindly pool their data when their underlying tasks are too dissimilar, the shared information can introduce bias, causing agents to perform worse than if they had learned entirely on their own. This phenomenon is known as negative transfer.

The authors formalize this as the $\epsilon$-MALCB problem: how can $M$ agents collaborate to minimize their collective regret over $T$ rounds when their underlying reward parameters ($\theta$) differ, but remain within a bounded distance of $\epsilon$ from one another?

Methodology: The H-LINUCB Algorithm

To solve this, the authors propose Heterogeneous Linear Upper Confidence Bound (H-LINUCB), a distributed algorithm coordinated by a central server. It relies on several key mechanisms to balance shared learning with individual task demands:

  • Two-Phase Learning & The Stopping Criterion: The algorithm operates in a collaboration phase followed by an independent learning phase. The transition occurs at a specific "collaboration budget" time ($\tau$), calculated based on the dissimilarity parameter $\epsilon$. If $\epsilon$ is large, the algorithm recognizes that prolonged collaboration will eventually lead to linear regret due to constant bias errors. By "cutting the cord" at the right moment, agents revert to independent learning to finish the task optimally.
  • Robust Weighting: During the collaboration phase, H-LINUCB does not treat all data equally. It employs a weighting mechanism inspired by the literature on misspecified bandits. Actions with high uncertainty (large exploration bonuses) are assigned lower weights, preventing slight inter-agent differences from corrupting the global model.
  • Communication Efficiency: Agents only synchronize with the central server when the volume of their local data has grown significantly. This keeps communication costs logarithmic relative to the time horizon.

Key Insights and Results

H-LINUCB effectively interpolates between two extremes. When $\epsilon=0$ (identical agents), it matches the performance of state-of-the-art collaborative algorithms like DISLINUCB. When $\epsilon$ is very large, it performs as well as agents working completely independently (IND-OFUL).

Theoretical Bounds

The algorithm achieves a group regret of $\tilde{O}(d\sqrt{MT} + \min\{\epsilon dMT, dM\sqrt{T}\})$.

  • In the low-heterogeneity regime, H-LINUCB improves performance over independent learners by a factor of $\sqrt{M}$.
  • In the high-heterogeneity regime, it successfully avoids the linear regret that plagues standard collaborative algorithms.

The authors prove that H-LINUCB is minimax optimal (achieving the best possible performance in a worst-case scenario) when tasks are either highly similar or highly dissimilar.

Empirical Validation

The researchers validated their theory using synthetic numerical simulations ($M = 60$ agents, dimension $d = 30$, $T = 10,000$ rounds). In high-dissimilarity regimes, standard collaborative algorithms exhibited steep, linear regret curves. H-LINUCB, however, flattened its regret curve by switching to independent mode at the optimal time, significantly outperforming the baselines.

Limitations and Future Work

While H-LINUCB provides a robust theoretical foundation for heterogeneous multi-agent learning, it currently assumes that the dissimilarity parameter $\epsilon$ is known to the agents in advance—a condition rarely met in real-world scenarios. Additionally, there remains a small theoretical gap (a factor of the dimension $d$) between the upper and lower regret bounds in the intermediate heterogeneity regime.

Future work aims to close this mathematical gap and extend these principles to Reinforcement Learning (RL), where managing heterogeneity across long-term state transitions presents an even more complex challenge.

Summary updated

BibTeX
@inproceedings{do2023multi,
  author = {Anh Do and Thanh Nguyen-Tang and Raman Arora},
  title = {{Multi-Agent Learning with Heterogeneous Linear Contextual Bandits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=7f6vH3mmhr},
}
Figure