Abstract
In online learning environments, algorithms must make sequential predictions and update models in real-time. While traditional approaches treat multiple tasks independently, this paper introduces a theoretical framework for online multitask classification that exploits task relationships. By utilizing interaction matrices, graph-based priors, and spectral regularization, the authors derive a suite of algorithms—including multitask extensions of the Perceptron and $p$-norm algorithms—that achieve significantly tighter mistake bounds than independent learners, particularly when tasks exhibit high correlation or low-rank structures.
Introduction
Standard online learning paradigms typically focus on a single stream of data. When faced with multiple tasks—such as classifying emails for a diverse set of users—the default strategy is often to deploy $K$ independent learners. However, this approach fails to leverage the inherent commonalities between tasks. For instance, what one user identifies as "spam" likely overlaps with the definitions of others.
This paper addresses the challenge of designing online algorithms that can mathematically exploit these relationships to accelerate learning. The authors bridge the gap between batch multitask learning and the adversarial, one-example-at-a-time setting of online learning, providing rigorous guarantees on performance improvements through shared information.
Algorithmic Framework
1. Multitask Perceptron and Interaction Matrices
The foundation of the proposed approach is the maintenance of a "compound" weight vector representing all $K$ tasks simultaneously. When a mistake occurs on a specific task $i$, the algorithm does not merely update the weights for that task. Instead, it performs a shared update across all tasks, governed by an interaction matrix $A$. This matrix defines the "intensity" and direction of information sharing.
2. Graph-Based Priors
When prior knowledge of task relationships is available (e.g., tasks organized within a social network or hierarchy), the authors propose using the Laplacian of a task-similarity graph as the basis for the interaction matrix. This regularization forces the weight vectors of connected tasks to remain proximal, effectively using the graph structure as a geometric constraint on the hypothesis space.
3. Second-Order Extensions (MMPERC)
To better handle the underlying geometry of the data, the authors adapt second-order Perceptron techniques to the multitask setting. The resulting algorithm, MMPERC, maintains a covariance-like matrix of past instances across tasks. This allows the learner to adapt to the specific correlation structures of the input features while maintaining the benefits of multitask sharing.
4. Spectral Co-regularization
In "multiview" scenarios, where a single label is predicted from multiple distinct feature sets, the authors introduce a matrix-based quasi-additive algorithm. By employing Schatten $p$-norms to penalize the diversity of task vectors, the algorithm encourages the discovery of a low-rank structure. This approach is particularly effective when task vectors span a small subspace of the total feature space.
Theoretical Analysis and Key Insights
The paper's primary contributions are theoretical, centered on the derivation of "mistake bounds"—mathematical limits on the maximum number of errors an algorithm will make over an infinite sequence of examples.
- The Kernel Trick for Tasks: A significant insight is that multitask learning can be reformulated as a single-task problem in a high-dimensional space ($R^{Kd}$) using a specialized "multitask kernel." This allows the authors to map existing online learning proofs onto the multitask domain.
- The Power of Partial Updates: The authors demonstrate that "half-updates"—fully updating the current task's weights while partially updating related tasks—are sufficient to keep models synchronized without forcing them to become identical.
- Mistake Bound Improvements:
- Theorem 1 shows that the Multitask Perceptron bound depends on the pairwise distances between task vectors. If tasks are related, this bound is much tighter than the sum of $K$ independent Perceptron bounds.
- Theorem 10 proves that spectral regularization can reduce the mistake count by a factor proportional to the number of tasks $K$, provided the tasks are sufficiently correlated.
Conclusion and Future Work
While this work provides a robust theoretical foundation for online multitask learning, several avenues for future research remain. The current models rely on static parameters for task relatedness, which the authors suggest should be made dynamic to adapt as more data arrives. Additionally, while the MMPERC algorithm utilizes second-order information, its current analysis remains first-order, suggesting that even stronger theoretical gains may be possible. Finally, as the paper is purely theoretical, empirical validation on large-scale, real-world datasets is required to assess the practical computational trade-offs of managing $K$ tasks simultaneously.
Summary updated