Beyond without Forgetting: Multi-Task Learning for Classification with Disjoint Datasets

Yan Hong, Li Niu, Jianfu Zhang, Liqing Zhang

Abstract

Standard Multi-Task Learning (MTL) typically assumes that training datasets contain labels for all tasks. In practice, researchers often encounter "disjoint" datasets where Dataset A only labels Task A and Dataset B only labels Task B. This paper introduces MTL with Selective Augmentation (MTL-SA), a framework that leverages the unlabeled portions of disjoint datasets through a noise-aware pseudo-labeling strategy. By actively augmenting tasks rather than merely preserving knowledge, MTL-SA achieves superior performance across diverse classification domains, including facial analysis and human attribute recognition.

Introduction: The Challenge of Disjoint Data

In an ideal scenario, a single dataset would provide ground-truth labels for all target tasks, such as facial expression and head pose. However, real-world data is frequently fragmented. Training on disjoint datasets presents a difficult trade-off: joint training often introduces dataset-specific biases, while alternating training typically suffers from "catastrophic forgetting," where the model loses knowledge of Task A while learning Task B.

Existing solutions like Learning without Forgetting (LwF) use distillation to mitigate forgetting, but these methods are inherently passive. The authors of this paper argue that the unlabeled data in Dataset B is a latent resource for Task A. The primary challenge is effectively managing the "noise" of pseudo-labels and the "domain shift" (differences in lighting, angles, or demographics) between disparate datasets.

Methodology: Selective Augmentation

The proposed MTL-SA framework extends the alternating training paradigm by incorporating a Selective Augmentation layer. When the model trains on Dataset B, it simultaneously generates pseudo-labels for Task A. To ensure these labels improve rather than degrade performance, the system calculates a trust weight ($w_i$) for each sample based on three specific filters:

  1. Confidence ($w^c$): Based on the maximum softmax probability of the model's prediction.
  2. Local Density ($w^d$): A measure of whether a sample resides in a feature-space cluster with consistent predicted labels, suggesting a more reliable pseudo-label.
  3. Domain Similarity ($w^g$): An alignment score using Earth Mover’s Distance (EMD) or Maximum Mean Discrepancy (MMD) to favor samples that visually align with the original labeled domain.
Overview of the MTL-SA framework showing alternating training on disjoint datasets A and B.

The final training signal is an interpolation of "soft labels" (to preserve existing knowledge) and "one-hot pseudo-labels" (to add new information), modulated by the calculated trust weight.

Experimental Evaluation

The researchers evaluated MTL-SA on two distinct categories of disjoint tasks:

  • Face-centric: Pairing facial expression datasets (Expw, FER+, and SFEW) with a facial pose dataset (AFLW).
  • Human-centric: Pairing a clothing style dataset (DeepFashion) with a human attribute/age dataset (PETA).

These pairings are intentionally challenging due to significant domain gaps—ranging from controlled studio environments to "in-the-wild" web imagery—and varying dataset scales (from 900 to 90,000 images).

Key Results and Insights

MTL-SA consistently outperformed Single-Task Learning (STL), joint training (All-in-one), and standard LwF (MTL-wF) across all benchmarks. For instance, on the FER+/AFLW pair, MTL-SA achieved 84.45% accuracy, compared to 82.73% for LwF and 82.13% for STL.

Key Insights: * Active vs. Passive Learning: The core innovation is treating the "other" dataset as a semi-supervised learning opportunity rather than a distraction to be managed. * The Triple-Filter for Trust: Ablation studies confirmed that confidence, density, and domain similarity are all critical. Removing any single component led to performance drops, proving the necessity of this robust filtering to handle noisy data. * Qualitative Alignment: Visualization via t-SNE showed that the model successfully assigned the highest weights to samples that were visually similar to the target domain and possessed unambiguous features.

Conclusion and Future Work

MTL-SA shifts the paradigm from "not forgetting" to "actively learning" from disjoint data. While the results are promising, the authors note that calculating local density and domain similarity adds computational overhead. Future work may focus on optimizing these calculations and extending the framework to handle "Many-Task Learning" with dozens of disjoint datasets simultaneously.

Summary updated

BibTeX
@inproceedings{hong2020beyond,
  author = {Yan Hong and Li Niu and Jianfu Zhang and Liqing Zhang},
  title = {{Beyond without Forgetting: Multi-Task Learning for Classification with Disjoint Datasets}},
  booktitle = {ICME},
  year = {2020},
  doi = {10.1109/icme46284.2020.9102897},
}
Figure