Confidence Weighted Multitask Learning

Peng Yang, Peilin Zhao, Jiayu Zhou, Xin Gao

Introduction

In modern machine learning, researchers often grapple with two conflicting requirements: the necessity for models to learn from multiple related tasks simultaneously (Multitask Learning) and the scarcity of high-quality labels (Active Learning). Traditional online multitask learning (OMTL) approaches typically rely on "first-order" information—binary feedback on whether a prediction was correct.

This paper, presented at AAAI-19, introduces Confidence Weighted Multitask Learning (CWMT) and its active variant (ACWMT). By leveraging "second-order" information—specifically, the model's internal uncertainty—the authors develop learners that intelligently determine when to request labels and how to maximize learning from each acquired data point.

Methodology

The CWMT framework introduces two significant innovations to address the limitations of standard OMTL:

1. Local-Global Gaussian Models

Rather than using a static weight vector, each task is modeled as a Gaussian distribution. The weight for a specific task $k$ is decomposed into $w^k = u + v^k$, where $u$ represents a global component (shared knowledge across all tasks) and $v^k$ represents a local component (task-specific nuances). By maintaining a covariance matrix, the model explicitly tracks its confidence in every dimension of the feature space.

2. Adaptive-Margin Query Strategy

In the active learning variant (ACWMT), the model employs a "margin-minus-variance" strategy to decide whether to query a label. The decision score $\Theta$ is defined as: $$\Theta = |\text{Margin}| - \text{Variance}$$ Where the Margin indicates the distance from the decision boundary and the Variance represents the model's uncertainty. If the margin is small or the variance is high, the algorithm requests a label. Furthermore, an "aggressive update" strategy is used: the model updates its parameters whenever uncertainty is high, even if the initial prediction was correct, accelerating the reduction of model variance.

Experimental Setup

The authors evaluated their algorithms on three diverse real-world datasets:

  • Spam Email: 4 tasks (users) for email classification.
  • MHC-I: 12 tasks predicting peptide binding in bioinformatics.
  • EachMovie: 30 tasks for movie preference recommendation.

Results and Discussion

The proposed ACWMT algorithm was benchmarked against several baselines, including batch multitask learners and first-order online learners.

Figure 1: Comprehensive performance comparison across Spam Email, MHC-I, and EachMovie datasets. The top row shows cumulative error rates, the middle row shows F1-measures, and the bottom row shows the number of queries.

Accuracy and F1-Score

ACWMT consistently achieved the lowest cumulative error rates and highest F1-scores across all datasets. On the Spam Email dataset, for instance, it reached an F1-score of approximately 95.9%, significantly outperforming standard OMTL baselines (~90.2%). The use of second-order information allows the model to make larger updates to features it is less certain about, leading to faster convergence.

Label Efficiency

A key advantage of ACWMT is its ability to maintain high performance while significantly reducing the labeling burden.

Figure 2: Comparison of the number of labels queried by different active learning strategies across the three datasets. ACWMT (red triangles) consistently requires fewer labels than standard active learning baselines.

As shown in the query analysis, ACWMT achieved performance comparable to the "full information" CWMT while using roughly half the labels on the EachMovie dataset (3171 vs. 6000). This efficiency stems from the global memory $u$, which allows individual tasks to "consult" shared knowledge before deciding to query a label.

Conclusion

Confidence Weighted Multitask Learning represents a significant step forward in making online learning more practical for data-scarce environments. By incorporating uncertainty into both the update rule and the query strategy, ACWMT achieves state-of-the-art results with a fraction of the labels required by traditional methods. Future work may address the computational overhead of matrix inversions in high-dimensional settings and explore more complex, non-linear task relationships.

Summary updated

BibTeX
@inproceedings{yang2019confidence,
  author = {Peng Yang and Peilin Zhao and Jiayu Zhou and Xin Gao},
  title = {{Confidence Weighted Multitask Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33015636},
}
Figure