NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Distributed multi-task classification: a decentralized online learning approach

Chi Zhang, Peilin Zhao, Shuji Hao, Yeng Chai Soh, Bu-Sung Lee, Chunyan Miao, Steven C. H. Hoi

Abstract

This paper introduces a decentralized framework for online multi-task learning (MTL) designed to resolve the "Pareto optimality" conflict—a common issue where forcing diverse tasks to converge to a single global model degrades individual task performance. By enabling every node in a network to learn every task and employing a two-phase "information sharing then communication" strategy, the authors achieve a state-of-the-art $O(\sqrt{T})$ regret bound. Experimental results demonstrate that this decentralized approach matches or exceeds the performance of centralized multi-task models across synthetic and real-world datasets.

Introduction

Multi-task learning (MTL) aims to improve the generalization performance of multiple related tasks by learning them in parallel. In the era of big data, it is often impractical to transmit all data to a central server, necessitating distributed solutions. However, traditional distributed MTL usually relies on a "master-worker" architecture, which can be a single point of failure.

In a truly decentralized network, where nodes only communicate with their immediate neighbors, a fundamental conflict arises between network consensus and task divergence. Distributed algorithms naturally drive all nodes toward a single, unique classifier. Yet, different tasks typically have distinct optimal weights. Forcing these tasks to converge results in a "Pareto optimality" compromise, where the resulting global model is mediocre for all tasks involved.

Illustration of the Pareto optimality conflict between two tasks.

Methodology

The authors propose the Decentralized Online Multi-task Classification (DOM) framework. The core innovation lies in a shift of perspective: instead of assigning one task to one node, every node learns all tasks simultaneously.

1. Compound Vectors

Each node maintains a "compound" weight vector $v$ and instance vector $\phi$, which are concatenations of all $m$ tasks. By transforming the problem such that every node learns the same concatenated "super-vector," the network consensus no longer forces a bad compromise; instead, it drives all nodes toward the same global multi-task optimum.

2. Two-Phase Update Strategy

  • Phase I (Intra-node sharing): When a node receives data for a specific task, it uses a multi-task kernel (based on a relationship matrix $B$) to update the weights for all tasks locally. This ensures that knowledge gained from one task immediately benefits others within the same node.
  • Phase II (Inter-node communication): Nodes employ a Diffusion Strategy (specifically "Combine-Then-Adapt"). They first average their weights with their direct neighbors and then perform their local updates.

3. Relationship Matrices

The framework includes two variants:

  • DOM-I (Fixed B): Utilizes a static matrix to define task relationships.
  • DOM-II (Dynamic B): Learns task relationships on the fly. If the weights for Task A prove effective for Task B's data, the algorithm increases their "transferring weight."

Experimental Evaluation

The algorithms were evaluated on three datasets: a Synthetic Dataset (9 tasks), MHC-I (10 bioinformatics tasks), and a Sentiment dataset (4 product categories from Amazon). These were tested across various network topologies, including fully-connected, grid-connected, and ring-connected structures.

Key Results

  • Performance Parity: In nearly all scenarios, the decentralized DOM algorithms performed as well as—and sometimes better than—COML, the gold-standard centralized multi-task learning algorithm.
  • Error Reduction: On synthetic data, DOM slashed the error rate from ~13% (single-task learning) to ~6%. On the Sentiment dataset, DOM-II achieved an error rate of ~20.6%, significantly outperforming decentralized single-task methods (~22.2%).
  • Theoretical Efficiency: The paper proves a theoretical regret bound of $O(\sqrt{T})$, which is tighter than the $O(\sqrt{T} \log T)$ bounds often found in previous decentralized literature.

Conclusion

By concatenating tasks into a higher-dimensional space, the DOM framework bypasses the Pareto optimality trap, allowing decentralized networks to benefit from multi-task synergies without sacrificing individual task accuracy. While DOM-II shows strong empirical performance, future work is needed to provide rigorous theoretical proofs for dynamic relationship matrices and to explore the algorithm's robustness in dynamic network topologies where nodes may join or leave over time.

Summary updated

BibTeX
@article{zhang2018distributed,
  author = {Chi Zhang and Peilin Zhao and Shuji Hao and Yeng Chai Soh and Bu-Sung Lee and Chunyan Miao and Steven C. H. Hoi},
  title = {{Distributed multi-task classification: a decentralized online learning approach}},
  journal = {Machine Learning},
  year = {2018},
  doi = {10.1007/s10994-017-5676-y},
}
Figure