Introduction
Multi-task learning (MTL) has become a cornerstone of modern machine learning, particularly in natural language processing. By training on several related tasks simultaneously, models can leverage shared information to improve generalization. Mathematically, MTL is framed as a multi-objective optimization problem where the goal is to find a set of parameters that minimizes the loss across all tasks. However, the effectiveness of this approach often hinges on how these multiple objectives are balanced.
The Problem: The Convexity Assumption
A common approach in MTL is the $L_1$-metric method, which minimizes a weighted sum of task-specific losses. This method relies on a critical assumption: the Pareto front—the set of optimal solutions where improving one task requires degrading another—must be convex.
In deep neural networks, the optimization landscape is frequently non-convex. As shown in the figure above, a non-convex Pareto front contains "concave" regions. The standard $L_1$ method is mathematically incapable of reaching solutions in these regions, leading to a "concavity gap" where potentially superior models are ignored. By missing these solutions, models end up with sub-optimal generalization.
Methodology: The Tchebycheff Procedure
To address this limitation, this paper introduces the Tchebycheff ($L_\infty$) metric for MTL. Instead of minimizing an average (weighted sum), the Tchebycheff procedure minimizes the maximum weighted loss among all tasks.
As illustrated, while the $L_1$ metric (dashed line) can only find tangent points on the convex parts of the front, the $L_\infty$ metric uses an "L-shaped" boundary. This allows the optimizer to "poke" into the concave regions, identifying optimal trade-offs that were previously unreachable. Geometrically, this ensures that the model can explore the entire Pareto front regardless of its shape.
Proposed Algorithms
The authors propose two primary algorithms to implement this logic:
- Tchebycheff Procedure: A standard implementation designed for hard-parameter sharing architectures, focusing on the "weakest link" in every epoch.
- Adversarial Tchebycheff Procedure: This variant incorporates an adversarial task discriminator. By attempting to predict the task origin of shared features, the discriminator forces the shared layers to learn task-invariant representations, which are generally more robust for cross-task generalization.
Experimental Evaluation
The proposed methods were evaluated across three distinct domains to prove their versatility:
- Synthetic Benchmarks: Mathematical problems with known non-convex Pareto fronts confirmed that $L_1$ fails to find certain optima while $L_\infty$ succeeds.
- Sentiment Analysis: Using the Amazon product review dataset (14 domains), the Adversarial Tchebycheff procedure outperformed existing state-of-the-art multi-task relationship learning methods.
- Topic Classification: On the 20 Newsgroups dataset, the method showed significant gains in classifying complex categories like "science" and "computers."
Key Insights
- Dynamic Optimization: The Tchebycheff procedure naturally prioritizes the task currently performing worst, ensuring balanced progress across all objectives without manual weight tuning during training.
- Adversarial Synergy: The authors found that adversarial training is most effective in the early stages of training to establish task-agnostic features, after which the model can focus on task-specific fine-tuning.
- Efficiency: Despite the selection logic, the procedure is computationally efficient. By using multi-processing to calculate task losses in parallel, the method can run faster than complex gradient-based alternatives like MGDA.
Conclusion and Limitations
The Tchebycheff procedure provides a robust solution for MTL in non-convex landscapes, consistently outperforming standard weighted-sum approaches. However, it currently requires a pre-training step to determine the initial weights ($w_t$) for each task based on their individual ideal empirical losses. Future research aims to automate this weighting process to create a fully end-to-end adaptive system.
Summary updated