Abstract
Multi-task learning (MTL) is a powerful paradigm for learning shared representations across related tasks. However, its practical application is often hindered by non-overlapping annotations across datasets and the phenomenon of negative transfer. This paper introduces a novel coupling framework that leverages task-relatedness through distribution matching and soft co-annotation. By enforcing consistency between predicted distributions of related tasks, the proposed method enables effective MTL even when samples lack labels for all tasks. Extensive experiments across nine datasets—ranging from facial expression analysis to fine-grained bird categorization—demonstrate that this approach consistently outperforms single-task and standard multi-task models, effectively mitigating negative transfer and achieving state-of-the-art results.
Introduction
Multi-Task Learning (MTL) aims to improve model efficiency and generalization by training a single model on multiple related tasks simultaneously. Despite its potential, two primary challenges persist: annotation gaps and negative transfer. Most real-world datasets are specialized; for instance, one may contain facial expression labels while another focuses on Action Units (facial muscle movements). Standard MTL architectures struggle when training samples are not exhaustively labeled for all tasks. Furthermore, negative transfer occurs when joint training degrades performance compared to single-task models, often due to gradient conflicts or imbalances in dataset sizes.
This research addresses these hurdles by introducing a "coupling" mechanism that allows tasks to inform one another based on established or inferred relationships, regardless of whether they share the same training images.
Methodology
The proposed framework introduces two primary loss functions designed to couple related tasks without requiring architectural modifications:
- Distribution Matching (LDM): Drawing inspiration from knowledge distillation, this loss ensures internal consistency between the model's predictions for different tasks. For example, if a model predicts a "happiness" expression, LDM penalizes the model if its predicted Action Unit (AU) activations do not align with the known muscular signatures of happiness.
- Soft Co-annotation (LSCA): This loss utilizes ground-truth labels from one task to generate probabilistic "soft" labels for another. By using a predefined relationship matrix, the system can provide a training signal for a missing label (e.g., predicting an expression based on observed AUs), effectively bridging the annotation gap.
Task-relatedness is established through two strategies: Domain Knowledge, utilizing psychological or biological studies (e.g., linking expressions to AUs), and Empirical Inference, which calculates correlations from smaller, fully-annotated "bridge" datasets to discover co-occurrence patterns between attributes.
Experimental Results
The study evaluates the framework across nine large-scale datasets spanning affective computing (e.g., AffectNet, Aff-Wild2), face attributes (CelebA), fine-grained categorization (CUB), and product recognition (S-ADD, CAD).
Performance in Affective Computing
The coupled multi-task (C MT) approach demonstrated significant improvements in facial expression and AU detection. As shown in the results, the method consistently outperformed single-task (ST) and non-coupled multi-task (NC MT) baselines across various metrics including Accuracy and F1-score.
Generalization and Architecture Agnosticism
A key strength of the coupling method is its robustness across different neural architectures, including VGG, ResNet, and DenseNet. In the Clothing Attributes Dataset (CAD), which is characterized by small sample sizes and sparse labels, standard MTL methods often fail due to negative transfer. The proposed C MT method not only prevented this failure but improved accuracy by 10-14% over single-task models.
Comparison with State-of-the-Art
The framework was compared against specialized MTL optimization algorithms such as GradNorm and MGDA-UB. The distribution matching approach proved particularly effective in scenarios with high task heterogeneity, such as bird species categorization and clothing attribute recognition, where it surpassed existing optimization-heavy methods.
Conclusion
This paper presents a robust framework for multi-task learning that leverages task-relatedness to overcome annotation gaps and negative transfer. By focusing on consistency in prediction distributions rather than architectural changes, the method is easily integrated into existing pipelines. While the approach currently relies on static relationship matrices derived from domain knowledge or bridge datasets, future work may explore dynamic relationship learning to further refine task coupling during training.
Summary updated