Multitask Online Mirror Descent

Nicolò Cesa-Bianchi, Pierre Laforgue, Andrea Paudice, Massimiliano Pontil

TL;DR

The authors introduce MT-OMD, a framework that allows multiple online learning agents to collaborate by sharing updates. By leveraging task similarities through a generalized geometry, it achieves significantly lower regret—the measure of learning efficiency—than learning each task in isolation, especially when tasks are closely related.

What Problem Does This Paper Address?

In many real-world scenarios, we face multiple related learning tasks simultaneously—think of predicting energy consumption for hundreds of smart homes or personalized health monitoring for different mobile users. While each user is unique, they often share underlying patterns.

Standard Online Convex Optimization (OCO) usually treats these as independent problems. If you have $N$ tasks, your total error (regret) typically scales with $\sqrt{N}$. Previous "multitask" attempts were largely restricted to Euclidean settings (measuring similarity by simple straight-line distance). However, many problems are better suited to non-Euclidean geometries, such as the probability simplex used in classification. The challenge was creating a unified framework that allows tasks to "talk" to each other across any geometry while maintaining strong theoretical guarantees.

Methods

The paper generalizes Online Mirror Descent (OMD)—a classic algorithm that uses a "regularizer" function to define the geometry of the learning space—to the multitask setting.

Key technical innovations include:

  • Update Sharing: When one agent receives a piece of data and updates its model, it shares a portion of that update with all other agents. The amount shared is determined by an interaction matrix ($A$) that encodes task relationships.
  • Compound Regularizers: They define a new regularizer for the entire system of tasks that accounts for their interactions, ensuring the "curvature" of the learning space remains favorable for fast convergence.
  • Task Variance ($\sigma^2$): They introduce a novel definition of variance that is "aligned" with the chosen geometry. This allows the algorithm to exploit similarities even in complex spaces like the probability simplex (using entropic regularizers).
  • Closed-form Implementations: They provide practical, easy-to-code versions for two major OMD instances: Multitask Online Gradient Descent (MT-OGD) and Multitask Exponentiated Gradient (MT-EG).

Datasets

The authors evaluated their approach on three types of data:

  1. Lenk Dataset: A classic multitask benchmark consisting of computer ratings from 180 individuals (tasks) based on 14 binary features.
  2. EMNIST: A large-scale classification dataset of handwritten characters. They reduced the features and created 61 binary classification tasks (comparing the digit '0' against all other classes).
  3. Synthetic Data: A controlled regression environment in $\mathbb{R}^2$ used to precisely validate how regret scales with task variance.

Key Insights and Ideas

  • The "Multitask Acceleration": The core theoretical result is a regret bound of $O(\sqrt{1 + \sigma^2(N-1)}\sqrt{T})$. If tasks are identical ($\sigma^2=0$), the system learns as fast as a single task. If they are highly similar ($\sigma^2 < 1$), it significantly outperforms independent learning.
  • Geometry Matters: The benefit of multitask learning isn't just about how close task models are in a Euclidean sense, but how close they are according to the regularizer. This allows for "logarithmic" scaling in high-dimensional spaces (like the simplex), which OGD cannot achieve.
  • Asynchrony is a Feature: The paper shows that the multitask benefit is highest when agents act one at a time (asynchronously). If all agents act simultaneously, the communication "noise" increases, and the multitask advantage vanishes.
  • Adaptivity: While the basic theory requires knowing the task variance $\sigma^2$ beforehand, the authors present a "Hedge-based" version that can learn the optimal level of task interaction on the fly.

Key Results

The experiments confirmed that MT-OMD variants consistently outperform both independent-task (IT) and single-task (ST) baselines.

  • Lenk Dataset: Tasks here are highly similar. MT-OGD showed a dramatic reduction in cumulative square loss compared to independent learners.
  • EMNIST Dataset: Even in this more challenging scenario with higher task variance, the MT-EG variant outperformed the baselines, proving the robustness of the non-Euclidean approach.
  • Theoretical Optimality: The authors proved a matching lower bound, showing that their $O(\sqrt{\sigma^2 N})$ scaling is essentially the best any algorithm can achieve in this setting.

Limitations and Future Work

  • Interaction Matrix Prior: The current work assumes the structure of task relationships (the matrix $A$) is known or follows a specific "clique" structure. Learning the optimal interaction graph automatically remains an open challenge.
  • Strong Convexity: The current "multitask acceleration" applies to general convex losses. The authors note that extending these specific gains to strongly convex or exp-concave losses (which usually enjoy $\ln T$ regret) is not straightforward and requires further study.
  • Computational Overhead: Sharing updates between $N$ tasks requires matrix operations that could become expensive as the number of tasks grows very large, though the authors provide closed-form updates to mitigate this.

Summary updated

BibTeX
@article{cesabianchi2022multitask,
  author = {Nicolò Cesa-Bianchi and Pierre Laforgue and Andrea Paudice and Massimiliano Pontil},
  title = {{Multitask Online Mirror Descent}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=zwRX9kkKzj},
}
Figure