Multi-Task Learning (MTL) aims to improve the generalization performance of multiple related tasks by training them simultaneously. Historically, researchers have navigated a difficult trade-off between two architectural extremes: hard-sharing, which is parameter-efficient but rigid, and soft-sharing, which is flexible but suffers from a massive memory footprint. This paper introduces a novel middle ground: the Task Adaptive Activation Network (TAAN).
The Challenge of Sharing in MTL
In deep MTL, the primary goal is to discover an optimal sharing structure. Hard-sharing architectures typically share the initial layers and branch out into task-specific heads. While efficient, this requires manual design to determine where the split should occur. Conversely, soft-sharing gives each task its own network and uses regularization to keep weights similar. While flexible, soft-sharing does not scale; a model with 50 tasks would require 50 times the parameters of a single-task model.
The TAAN Architecture
The authors propose the Adaptive Activation Layer (AAL) as a solution. In this framework, all weight matrices ($W$) and bias vectors ($b$) are shared across all tasks. The only task-specific components are the activation functions themselves.
To make these activations learnable, the network employs Adaptive Piecewise Linear (APL) units. An APL unit is constructed as a sum of shared hinge functions (basis functions). While the basis functions are common to all tasks, each task learns its own unique coefficients to combine them, allowing the network to "steer" shared features toward task-specific objectives without duplicating the heavy weight matrices.
Functional Regularization
Learning independent activations for every task can lead to training instability. The authors argue that regularization should occur in the functional space (what the layer does) rather than the parameter space (the raw coefficients). Because activation functions can be unbounded, standard distance metrics are insufficient.
To solve this, the authors use a Gaussian Mixture Model (GMM) to define a finite inner product and distance between functions. They introduce two specific regularizers:
- $L_{cos}$: Encourages the shape or correlation of activation functions across tasks to be similar.
- $L_{dis}$: Encourages the actual outputs of the functions to remain close in Euclidean space.
Experimental Results and Insights
The model was evaluated on two diverse benchmarks: the massive YouTube-8M video dataset and the Omniglot character recognition dataset.
Efficiency and Performance
On YouTube-8M, TAAN demonstrated remarkable efficiency. It utilized only 6.93M parameters, a fraction of the 46.2M required by the state-of-the-art DMTRL-TT. Despite this 85% reduction in size, TAAN + $L_{cos}$ achieved a Mean Average Precision (mAP) of 0.860, outperforming both DMTRL-TT (0.848) and standard hard-sharing (0.775). Furthermore, TAAN proved to be 2.5x faster to train than soft-sharing methods.
Automatic Task Differentiation
One of the most compelling insights is that TAAN automatically discovers the optimal sharing structure. By visualizing the similarity between learned activations across layers, the authors found that lower layers naturally learn more similar activations (high sharing), while higher layers become increasingly distinct (task-specific specialization).
Conclusion
TAAN proves that task-specific weights are not a prerequisite for high-performance multi-task learning. By focusing on the non-linearity of the network, the authors achieved a model that is both flexible and highly efficient. The shift from parameter-space regularization to functional-space regularization provides a more meaningful way to control task relationships, paving the way for more scalable and automated MTL architectures.
Summary updated