Abstract
This paper presents an approach to train a unified deep network that simultaneously solves multiple human-related tasks. A multi-task framework is favorable for sharing information across tasks under restricted computational resources. However, tasks not only share information but may also compete for resources and conflict with each other, making the optimization of shared parameters difficult and leading to suboptimal performance. We propose a simple but effective training scheme called GradSplit that alleviates this issue by utilizing asymmetric inter-task relations. Specifically, at each convolution module, it splits features into T groups for T tasks and trains each group only using the gradient back-propagated from the task losses with which it does not have conflicts. During training, we apply GradSplit to a series of convolution modules. As a result, each module is trained to generate a set of task-specific features using the shared features from the previous module. This enables a network to use complementary information across tasks while circumventing gradient conflicts. Experimental results show that GradSplit achieves a better accuracy-efficiency trade-off than existing methods. It minimizes accuracy drop caused by task conflicts while significantly saving compute resources in terms of both FLOPs and memory at inference. We further show that GradSplit achieves higher cross-dataset accuracy compared to single-task and other multi-task networks.
Introduction
Multi-task learning (MTL) represents a significant step toward efficient computer vision, aiming to perform multiple analyses—such as pose estimation, person re-identification, attribute recognition, and body part segmentation—within a single unified model. While theoretically efficient, MTL often suffers from "gradient interference" or task conflict. For instance, features required for pose estimation (pose-variant) may directly conflict with those needed for identity recognition (pose-invariant). When these tasks share parameters, their gradient signals can counteract each other, leading to suboptimal performance across all tasks.
Existing solutions often introduce complex task-specific modules or attention mechanisms, which increase model size and computational latency. This paper introduces GradSplit, a training scheme that mitigates task conflict without increasing the inference-time complexity of the network.
Methodology: The GradSplit Training Scheme
GradSplit is designed to prevent destructive gradient updates during training while allowing the model to benefit from shared feature representations. The approach consists of three primary stages:
- Asymmetric Relationship Mapping: The system first quantifies inter-task relationships by comparing the performance of tasks trained in isolation versus those trained jointly. This results in a directional "relation mask" ($m$). If Task A negatively impacts Task B, the relationship is flagged to prevent interference.
- Filter Splitting: Within each convolutional layer, output filters are partitioned into $T$ groups, corresponding to the $T$ tasks being learned.
- Gradient Masking: During backpropagation, the gradients for a specific filter group are filtered. A group dedicated to Task B will only receive gradients from Task B and any "friendly" tasks that do not conflict with it.
Crucially, this masking only occurs during training. During the forward pass (inference), data flows through all filters normally, ensuring the model remains lean and fast. Additionally, the authors utilize Group Normalization (GN) instead of Batch Normalization to maintain stability when training across diverse datasets with varying distributions.
Experimental Evaluation
The GradSplit framework was evaluated across four diverse human-related tasks using the following datasets:
- PA-100k: Attribute recognition (e.g., "wearing a hat").
- Market-1501: Person re-identification (ReID).
- MPII: Human pose estimation (16 joints).
- LIP (Look Into Person): Semantic body part parsing (20 parts).
The experiments focused on a "single-annotation" setting, where each dataset provides labels for only one specific task, reflecting a common real-world data constraint.
Key Results and Insights
- Efficiency and Performance: GradSplit achieves a superior accuracy-efficiency trade-off compared to state-of-the-art MTL methods like MTAN. It utilizes approximately 50% fewer parameters and FLOPs than four separate single-task models while maintaining comparable accuracy.
- Mitigating Performance Drop: In a four-task configuration, GradSplit limited the multi-task performance drop ($\Delta_m$) to just -1.8%, a significant improvement over the -10% to -23% drops observed in other frameworks.
- Generalization: The model demonstrated enhanced cross-dataset robustness, suggesting that the gradient splitting strategy encourages the learning of generalized features rather than task-specific noise.
- Normalization Impact: A key finding was that Group Normalization is critical for multi-task learning across heterogeneous datasets, often proving more impactful than the specific MTL algorithm used.
Conclusion
GradSplit offers a robust and efficient solution for multi-task human image analysis. By intelligently splitting filters and masking conflicting gradients, it circumvents the traditional pitfalls of multi-task learning. The resulting unified network provides high-fidelity results across multiple tasks with a fraction of the computational cost of specialized models, paving the way for more efficient deployment of complex vision systems.
Summary updated