Introduction
Multi-agent learning faces a fundamental tension: leveraging distributed collaboration without sacrificing the personalization needed for diverse agents. In systems such as networks of autonomous vehicles, personalized recommendation engines, or hospitals sharing medical data, agents can benefit immensely from collaborating. Standard Federated Learning (FL) enables this by having agents jointly train a single, unified global model. However, real-world agents are highly heterogeneous, possessing different environments (data distributions) and different objectives (goals). In these scenarios, a single global model often performs poorly for individual agents.
Existing "personalized" FL methods typically offer only partial personalization—such as mixing a global and local model—or rely on clustering heuristics. The alternative is independent learning, where agents train alone, but this approach is slow and ignores the massive potential benefits of collaboration. This paper introduces Personalized Collaborative Learning (PCL) and a novel algorithm, AffPCL (Affinity-aware PCL), which allows heterogeneous agents to collaboratively learn fully personalized models. AffPCL adaptively achieves the linear speedup of federated learning when agents are similar, while guaranteeing performance no worse than independent learning when they are highly dissimilar, all without needing prior knowledge of the heterogeneity level.
The AffPCL Framework
AffPCL is designed for multi-agent linear systems and relies on three core mechanisms to robustly handle both environment and objective heterogeneity:
- Personalized Bias Correction: In standard FL, local updates are averaged to reduce variance. AffPCL uses this aggregated update as a low-variance "control variate." However, to ensure the model remains personalized, it applies a novel bias correction term so the update points toward the agent's personal optimal solution rather than the global average.
- Central Objective Estimation (COE): Because agents usually do not know the objectives of other agents, AffPCL uses a federated approach to adaptively estimate the "central" (average) objective on the fly using linear parametrization. This allows agents to compute their bias corrections asynchronously.
- Importance Correction: To handle environment heterogeneity (different data distributions), the central server applies importance weighting using density ratios—the ratio of an agent's data distribution to the average distribution—before sending aggregated updates back to the agents. If these ratios are unknown, the system incorporates an asynchronous Density Ratio Estimation (DRE) module.
Theoretical Insights
The core theoretical breakthrough of AffPCL is its Affinity-Based Variance Reduction. The authors prove that AffPCL achieves a finite-sample mean squared error (MSE) of $\mathcal{O}(t^{-1} \max\{n^{-1}, \delta\})$, where $n$ is the number of agents and $\delta \in [0,1]$ measures their heterogeneity. This automatically interpolates between the linear speedup of FL (when $\delta \approx 0$) and the baseline of independent learning (when $\delta \approx 1$). Consequently, collaboration under AffPCL never degrades performance compared to independent learning, which operates at $\mathcal{O}(t^{-1})$.
Furthermore, the analysis reveals a "Free Ride" Phenomenon. An agent can achieve massive collaborative speedup even if it is completely dissimilar to every other individual agent, provided it is close to the virtual center of the group. Notably, unlike many personalized FL methods that require tuning a regularization parameter to balance global and local models, AffPCL adapts to the unknown heterogeneity level automatically.
Empirical Evaluation
The authors evaluated AffPCL across several domains:
- Synthetic Linear Systems: A custom multi-agent environment with controlled levels of objective and environment heterogeneity to validate theoretical bounds.
- FEMNIST (Federated Extended MNIST): A real-world dataset of handwritten characters where objective heterogeneity was introduced by assigning different users varying preferences for classifying a character as a digit versus a curved letter.
- Synthetic MDPs (Markov Decision Processes): Used to test the algorithm in a Reinforcement Learning (RL) setting using the SARSA algorithm.
Across synthetic and FEMNIST experiments, AffPCL consistently achieved the lowest test MSE across all heterogeneity levels (from 0.0 to 0.8+) compared to baselines like FedAvg, Fine-tuning, pFedMe, Ditto, and Clustered FL. In the RL setting, AffPCL successfully extended to non-linear policy optimization, maintaining the lowest MSE even when asynchronously estimating density ratios on the fly.
Limitations and Future Directions
While AffPCL provides strong theoretical and empirical guarantees, it comes with trade-offs. Because the algorithm requires tracking central objectives, applying importance corrections, and computing personalized updates, it incurs a higher constant factor overhead per iteration than standard FedAvg (up to 4x communication and 6x computation in their stylized setup). Additionally, the current framework assumes all agents share the same feature embedding matrix.
Future work will explore personalized feature embeddings, investigate the trade-offs between collaboration benefits and communication constraints (such as cost, privacy, and security), and extend the theoretical framework to non-linear systems, regret minimization, and other affinity structures like sparsity or correlation.
Summary updated