[Paper Review] Adaptive Scheduling for Multi-Task Learning
This paper proposes adaptive scheduling for multi-task learning in multilingual neural machine translation, using validation performance to dynamically adjust task sampling or gradient scaling. It improves low-resource translation (e.g., En-De) without degrading high-resource performance (e.g., En-Fr), outperforming fixed schedules and baseline models through implicit and explicit adaptive strategies grounded in validation metrics.
To train neural machine translation models simultaneously on multiple tasks (languages), it is common to sample each task uniformly or in proportion to dataset sizes. As these methods offer little control over performance trade-offs, we explore different task scheduling approaches. We first consider existing non-adaptive techniques, then move on to adaptive schedules that over-sample tasks with poorer results compared to their respective baseline. As explicit schedules can be inefficient, especially if one task is highly over-sampled, we also consider implicit schedules, learning to scale learning rates or gradients of individual tasks instead. These techniques allow training multilingual models that perform better for low-resource language pairs (tasks with small amount of data), while minimizing negative effects on high-resource tasks.
Motivation & Objective
- To address performance imbalance in multi-task learning, especially in multilingual neural machine translation where low-resource tasks underperform.
- To reduce reliance on manual hyperparameter tuning for task sampling schedules.
- To mitigate catastrophic forgetting in multi-task models by dynamically adjusting task importance based on validation performance.
- To explore both explicit (sampling probability adjustment) and implicit (gradient/learning rate scaling) scheduling strategies.
Proposed method
- Adaptive scheduling uses a task's relative validation BLEU score (s_i / b_i) to compute unnormalized weights w_i = 1 / (min(1, s_i / b_i)^α + ε), which are normalized into sampling probabilities.
- For implicit scheduling, task weights are computed as w_i = 1 + sign(average_S - S_i) * min(γ, (max_j S_j)^α * |S_i - average_S|^β), ensuring minimum weight γ to prevent forgetting.
- The method applies to both explicit sampling and implicit gradient/learning rate scaling, with adjustments to maintain consistency under adaptive optimizers like Adam.
- Validation scores are used as the primary signal for adaptation, avoiding reliance on training loss, which may not correlate well with test performance.
- The approach is designed to be scalable to large numbers of tasks, where manual hyperparameter tuning becomes infeasible.
- Hyperparameters α, β, and γ control aggressiveness of adaptation and minimum task weight, respectively.
Experimental results
Research questions
- RQ1Can validation performance be used effectively to guide dynamic task scheduling in multi-task learning?
- RQ2How do explicit and implicit adaptive scheduling strategies compare in balancing performance across high- and low-resource tasks?
- RQ3Can adaptive scheduling improve low-resource translation without degrading high-resource performance?
- RQ4What are the stability and convergence properties of adaptive scheduling under common optimizers like Adam?
- RQ5How does adaptive scheduling scale to models with a large number of tasks?
Key findings
- The explicit adaptive scheduling method improved En-De BLEU score from 23.58 (baseline) to 24.67 on dev and 26.35 on test, outperforming fixed 50% and 75% En-Fr sampling schedules.
- The implicit validation-based scheduling achieved 34.67 BLEU on En-Fr dev and 40.89 on test, matching the single-task En-Fr baseline performance.
- Explicit adaptive scheduling achieved the highest test BLEU on En-De (26.35), indicating strong improvement for low-resource translation.
- Implicit gradient scaling (GradNorm) performed well on En-De (24.69 dev) but underperformed on En-Fr (34.33 dev), suggesting limitations in balancing high-resource tasks.
- The proposed methods reduced performance gaps between high- and low-resource tasks, with minimal degradation on high-resource pairs.
- Adaptive scheduling showed potential for scalability to large numbers of tasks, where manual hyperparameter search becomes impractical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.