Curriculum Learning of Multiple Tasks

Anastasia Pentina, Viktoriia Sharmanska, Christoph H. Lampert

Abstract

Standard multi-task learning (MTL) aims to solve multiple problems simultaneously to improve generalization. However, this approach often assumes all tasks are equally related, which can lead to negative transfer. This paper introduces Sequential Multi-Task Learning (SeqMT), a curriculum-based approach that learns tasks in a strategic sequence. By leveraging PAC-Bayesian theory to automatically discover the optimal task order, the authors demonstrate that sequential transfer can outperform joint learning, particularly when tasks vary in difficulty and relatedness.

Introduction

In traditional multi-task learning, the goal is to improve generalization by sharing information across all tasks at once. However, forcing a model to share information between unrelated tasks can lead to negative transfer, where performance actually degrades. Furthermore, humans typically follow a curriculum, starting with simple concepts and building toward complex ones. This research addresses whether learning multiple tasks sequentially is superior to joint learning and how a machine can automatically determine the best "curriculum" without relying on human intuition, which may not align with machine learning difficulty.

Methods: Sequential Multi-Task Learning (SeqMT)

The authors propose Sequential Multi-Task Learning (SeqMT), treating the problem as a chain of domain adaptation steps rather than a single joint optimization.

Key components include:

  • Adaptive SVM: For each task in the sequence, the model uses the weight vector of the previous task as a regularizer, encouraging the new task's model to stay close to previously gained knowledge.
  • Theoretical Task Ordering: To find the best sequence, the authors derive a new generalization bound using PAC-Bayesian theory. This provides a mathematical criterion to pick the next task based on empirical error (ease of the task) and task similarity ($L_2$ distance between weight vectors).
  • MultiSeqMT: An extension that allows the model to start new "subsequences" if a task is an outlier, preventing forced and harmful knowledge transfer from unrelated chains.

Key Insights: Machine vs. Human Difficulty

A significant finding of this work is that "easy" tasks for humans are not always easy for machines. In categories like seal and hippopotamus, human-defined "easy-to-hard" orders performed worse than random orders. The SeqMT algorithm discovered machine-centric orders that yielded superior results, proving that task similarity (complexity) is often more influential than raw training error when determining a curriculum.

Evaluation of different task ordering strategies. SeqMT (yellow diamond) frequently identifies a more effective curriculum than human-defined semantic ordering (green square) or random sequences.

Experimental Results

The approach was evaluated on the Animals with Attributes (AwA) dataset and a Shoes attribute dataset. SeqMT consistently outperformed both independent learning (IndSVM) and standard joint multi-task learning (MTL) across all eight animal categories tested.

Comparison of error rates across eight animal categories. SeqMT (yellow) consistently achieves lower error rates compared to independent SVM (red) and standard multi-task learning (blue).

In the Shoes dataset, MultiSeqMT achieved the best performance (9.95% average error), successfully grouping related attributes like shiny and high at the heel into the same learning chains, reflecting real-world visual correlations.

Conclusion and Future Work

Sequential learning offers more flexibility than joint learning by adapting to local relationships between subsequent tasks rather than forcing a single global prototype. While the current framework is effective for linear predictors, future work remains to extend this to non-linear models like deep neural networks. Additionally, exploring more complex task relationships, such as trees or graphs rather than simple chains, could further enhance the robustness of sequential transfer.

Summary updated

BibTeX
@inproceedings{pentina2015curriculum,
  author = {Anastasia Pentina and Viktoriia Sharmanska and Christoph H. Lampert},
  title = {{Curriculum Learning of Multiple Tasks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299188},
}
Figure