Multi-task learning (MTL) aims to improve the generalization performance of multiple prediction tasks by sharing relevant information across them. In deep neural networks, this is typically achieved through hand-designed architectures where early layers are shared and later layers branch into task-specific heads. However, the space of possible multi-task architectures is combinatorially large, making manual design tedious and error-prone. This paper proposes an automatic approach for designing compact multi-task deep learning architectures by dynamically widening a "thin" network during training.
The Challenge of Multi-Task Architecture Design
In traditional MTL, researchers often rely on a "shared trunk" architecture. Deciding exactly where to split the network and which tasks should share specific branches is a significant challenge. Most current architectures are based on human intuition regarding task relatedness, which often results in bloated models that do not scale efficiently as the number of tasks increases.
Proposed Method: Adaptive Model Widening
The authors introduce a three-stage approach to automate the creation of tree-like deep architectures where similar tasks reside in the same branch until the top layers.
- Thin Model Initialization: The process begins with a thin version of a standard architecture (e.g., VGG-16). To jumpstart training, the most representative filters are selected from a wider, pre-trained network using Simultaneous Orthogonal Matching Pursuit (SOMP).
- Adaptive Model Widening: This is the core innovation. The algorithm operates in a greedy, top-down manner. Starting from the output layer and moving toward the input, it decides whether to split a branch into multiple new branches based on task affinity and complexity.
- Task Affinity & Complexity Trade-off: Tasks are grouped if they find the same training examples "difficult" or "easy" simultaneously. A cost function penalizes the creation of new branches to ensure the resulting model remains compact.
Key Insights
- Dynamic Growth vs. Pruning: Rather than compressing large models through pruning, this method starts thin and grows only where necessary, which is more computationally efficient during training.
- Difficulty as a Similarity Proxy: Using the probability of concurrently difficult examples is a robust way to measure task affinity, accounting for the actual learning dynamics of the network rather than just simple label correlation.
- Automated Intuition: The learned groupings often align with human logic. For instance, the model naturally grouped facial hair attributes (Goatee, Mustache, No Beard) into the same branch without prior semantic knowledge.
Experimental Results
The method was evaluated on the CelebA (40 facial attributes) and DeepFashion (50 clothing categories) datasets. The results demonstrate that "less is more":
- Efficiency: On CelebA, the proposed "Branch-32-1.0" model achieved 91.26% accuracy with only 4.99 million parameters, compared to a VGG-16 baseline that required 134.41 million parameters for 91.44% accuracy.
- Speed: The learned models were approximately 3x faster during inference than standard baselines.
- Performance Stability: As shown in the attribute-wise analysis, the compact adaptive model maintains or improves accuracy across a wide variety of specific tasks compared to more expensive models.
Conclusion
The proposed fully-adaptive feature sharing approach successfully automates the design of efficient multi-task networks. By starting thin and widening greedily, the method produces architectures that are up to 90x more compact and 3x faster than standard baselines while maintaining state-of-the-art accuracy. Future work may explore non-uniform branching factors to allow the network to allocate even more capacity to particularly difficult tasks.
Summary updated