[Paper Review] Auxiliary Task Update Decomposition: The Good, The Bad and The Neutral
This paper proposes ATTITTUD, a model-agnostic framework that decomposes auxiliary task gradients into three components—helpful, harmful, and neutral—based on their impact on the primary task's loss. By reweighting these components via efficient singular value decomposition and automatic differentiation, the method improves generalization in low-data regimes, consistently outperforming baselines on vision and text classification tasks.
While deep learning has been very beneficial in data-rich settings, tasks with smaller training set often resort to pre-training or multitask learning to leverage data from other tasks. In this case, careful consideration is needed to select tasks and model parameterizations such that updates from the auxiliary tasks actually help the primary task. We seek to alleviate this burden by formulating a model-agnostic framework that performs fine-grained manipulation of the auxiliary task gradients. We propose to decompose auxiliary updates into directions which help, damage or leave the primary task loss unchanged. This allows weighting the update directions differently depending on their impact on the problem of interest. We present a novel and efficient algorithm for that purpose and show its advantage in practice. Our method leverages efficient automatic differentiation procedures and randomized singular value decomposition for scalability. We show that our framework is generic and encompasses some prior work as particular cases. Our approach consistently outperforms strong and widely used baselines when leveraging out-of-distribution data for Text and Image classification tasks.
Motivation & Objective
- Address the challenge of selecting beneficial auxiliary tasks in multitask learning, especially when data for the primary task is limited.
- Overcome the risk of negative interference from auxiliary tasks that degrade primary task performance.
- Develop a scalable, model-agnostic method to fine-tune auxiliary gradients based on their impact on the primary task.
- Enable flexible, adaptive reweighting of gradient components without requiring symmetric task optimization.
- Provide a unified framework that generalizes prior methods like PCGrad and classical multitask learning.
Proposed method
- Decompose auxiliary task gradients into three orthogonal components relative to the primary task’s per-example gradient subspace: positive (helpful), negative (damaging), and neutral (no impact).
- Use the Taylor expansion of the expected primary loss to define the impact of each auxiliary gradient direction on the primary task.
- Leverage randomized singular value decomposition (SVD) to efficiently estimate the k-dimensional subspace spanned by primary task per-example gradients in an online, stochastic manner.
- Apply automatic differentiation (specifically the R-operator) to compute Jacobian-vector products efficiently for large deep networks.
- Re-weight the three components using learnable or fixed scalars (e.g., η_aux = (1.0, 0.0, 0.0)) to control their contribution during optimization.
- Integrate the framework into stochastic training pipelines to support large-scale vision and NLP tasks.
Experimental results
Research questions
- RQ1Can we decompose auxiliary task gradients into components that help, harm, or leave the primary task loss unchanged?
- RQ2How can we efficiently estimate the primary task gradient subspace in a scalable way for deep neural networks?
- RQ3Does fine-grained reweighting of gradient components lead to improved generalization on low-resource primary tasks?
- RQ4Can the proposed framework unify or outperform existing asymmetric multitask learning methods like PCGrad or standard multitask learning?
- RQ5How do hyperparameters like subspace dimension k and sample size for SVD estimation affect performance in low- and high-data regimes?
Key findings
- The proposed ATTITTUD framework achieves 76.1% average accuracy on MultiCifar100, outperforming the next best baseline (PCGrad) at 75.6%.
- On the Cat-vs-Dog Cifar10 task, ATTITTUD achieves 67.1% accuracy (±1.31), surpassing PCGrad (64.2%) and multitask learning (65.3%).
- On the ChexPert-5k medical imaging benchmark, ATTITTUD improves AUC from 81.4% (pretrained ResNet) to 83.3%, demonstrating strong transfer performance.
- Using a randomized SVD-based basis for the gradient subspace yields 62.2% average accuracy, significantly outperforming canonical (51.42%), random (58.72%), and unit_avg_grad (59.13%) baselines.
- The best-performing configuration (η_aux = (1.0, 0.0, 0.0)) removes in-span components, reducing overfitting and improving generalization.
- Larger sample sizes for subspace estimation reduce variance but provide diminishing returns in accuracy, indicating a trade-off between computational cost and fidelity.
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.