mlsanityData to 7 Oct 2026

Scalable Multitask Learning Using Gradient-based Estimation of Task Affinity

arXiv 2409.06091 ↗First posted 9 Sep 2024cs.LG cs.AI cs.SIcited by 20

Not on the map. Why?

Abstract (arXiv)

Multitask learning is a widely used paradigm for training models on diverse tasks, with applications ranging from graph neural networks to language model fine-tuning. Since tasks may interfere with each other, a key notion for modeling their relationships is task affinity. This includes pairwise task affinity, computed among pairs of tasks, and higher-order affinity, computed among subsets of tasks. Naively computing either of them requires repeatedly training on data from various task combinations, which is computationally intensive. We present a new algorithm Grad-TAG that can estimate task affinities without this repeated training. The key idea of Grad-TAG is to train a "base" model for all tasks and then use a linearization technique to estimate the loss of the model for a specific task combination. The linearization works by computing a gradient-based approximation of the loss, using low-dimensional projections of gradients as features in a logistic regression to predict labels for the task combination. We show that the linearized model can provably approximate the loss when the gradient-based approximation is accurate, and also empirically verify that on several large models. Then, given the estimated task affinity, we design a semi-definite program for clustering similar tasks by maximizing the average density of clusters. We evaluate Grad-TAG's performance across seven datasets, including multi-label classification on graphs, and instruction fine-tuning of language models. Our task affinity estimates are within 2.7% distance to the true affinities while needing only 3% of FLOPs in full training. On our largest graph with 21M edges and 500 labeling tasks, our algorithm delivers estimates within 5% distance to the true affinities, using only 112 GPU hours. Our results show that Grad-TAG achieves excellent performance and runtime tradeoffs compared to existing approaches.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 44 of its 67 references that are in the map. First posted on arXiv 9 Sep 2024.

Builds on

44 of 67 references.

References · 44

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
  3. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  4. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  5. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  6. 2020Meta-Learning in Neural Networks: A Surveycited by 944
  7. 2017A Survey on Multi-Task Learningcited by 838
  8. 2018Multi-Task Learning as Multi-Objective Optimizationcited by 809
  9. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  10. 2017Federated Multi-Task Learningcited by 669
  11. 2019Which Tasks Should Be Learned Together in Multi-task Learning?cited by 367
  12. 2023Fine-Tuning Language Models with Just Forward Passescited by 337
32 more
  1. 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
  2. 2023TRAK: Attributing Model Behavior at Scalecited by 273
  3. 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
  4. 2021Efficiently Identifying Task Groupings for Multi-Task Learningcited by 218
  5. 2022Datamodels: Predicting Predictions from Training Datacited by 186
  6. 2020Graph Clustering with Graph Neural Networkscited by 163
  7. 2020Exploring and Predicting Transferability across NLP Taskscited by 126
  8. 2022A Kernel-Based View of Language Model Fine-Tuningcited by 118
  9. 2020Learning to Branch for Multi-Task Learningcited by 114
  10. 2020Understanding and Improving Information Transfer in Multi-Task Learningcited by 113
  11. 2015Best Subset Selection via a Modern Optimization Lenscited by 99
  12. 2016Fully-adaptive Feature Sharing in Multi-Task Networks with Applications in Person Attribute Classificationcited by 93
  13. 2020Transfer Learning of Graph Neural Networks with Ego-graph Information Maximizationcited by 93
  14. 2020Fine-Tuning Pre-trained Language Model with Weak Supervision: A Contrastive-Regularized Self-Training Approachcited by 83
  15. 2022An Information-Theoretic Approach to Transferability in Task Transfer Learningcited by 79
  16. 2019Branched Multi-Task Networks: Deciding What Layers To Sharecited by 76
  17. 2022Auto-Lambda: Disentangling Dynamic Task Relationshipscited by 73
  18. 2018VERSE: Versatile Graph Embeddings from Similarity Measurescited by 54
  19. 2020On the Generalization Effects of Linear Transformations in Data Augmentationcited by 47
  20. 2021Improved Regularization and Robustness for Fine-tuning in Neural Networkscited by 45
  21. 2023Generalization in Graph Neural Networks: Improved PAC-Bayesian Bounds on Graph Diffusioncited by 39
  22. 2022Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization Guaranteescited by 34
  23. 2020Precise High-Dimensional Asymptotics for Quantifying Heterogeneous Transferscited by 26
  24. 2023Identification of Negative Transfers in Multitask Learning Using Surrogate Modelscited by 20
  25. 2023Scalarization for Multi-Task and Multi-Domain Learning at Scalecited by 19
  26. 2021Newer is not always better: Rethinking transferability metrics, their peculiarities, stability and performancecited by 15
  27. 2023Boosting Multitask Learning on Graphs through Higher-Order Task Affinitiescited by 15
  28. 2014Relax, no need to round: integrality of clustering formulationscited by 14
  29. 2023Graph Neural Networks for Road Safety Modeling: Datasets and Evaluations for Accident Analysiscited by 13
  30. 2023Task Grouping for Automated Multi-Task Machine Learning via Task Affinity Predictioncited by 4
  31. 2023STG-MTL: Scalable Task Grouping for Multi-Task Learning Using Data Mapcited by 3
  32. 2023"It's a Match!" -- A Benchmark of Task Affinity Scores for Joint Learningcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 8; 2026: 10.

20 papers.

Sort:

By area:

  1. 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approachcited by 13
  2. 2025Efficient Ensemble for Fine-tuning Language Models on Multiple Datasetscited by 10
  3. 2025Linear-Time Demonstration Selection for In-Context Learning via Gradient Estimationcited by 8
  4. 2025Scalable Multi-Objective and Meta Reinforcement Learning via Gradient Estimationcited by 6
  5. 2025Causal Representation Learning from Multimodal Clinical Records under Non-Random Modality Missingnesscited by 5
  6. 2026Efficient Estimation of Kernel Surrogate Models for Task Attributioncited by 4
  7. 2025Latent Traits and Cross-Task Transfer: Deconstructing Dataset Interactions in LLM Fine-tuningcited by 2
  8. 2025FSDAM: Few-Shot Driving Attention Modeling via Vision-Language Couplingcited by 2
  9. 2024SyMerge: From Non-Interference to Synergistic Merging via Single-Layer Adaptationcited by 1
  10. 2026Empowering Power Outage Prediction with Spatially Aware Hybrid Graph Neural Networks and Contrastive Learningcited by 1
  11. 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoningcited by 0
  12. 2025Learning Multimodal Embeddings for Traffic Accident Prediction and Causal Estimationcited by 0
8 more
  1. 2026Ensemble Prediction of Task Affinity for Efficient Multi-Task Learningcited by 0
  2. 2026Lorentz Framework for Semantic Segmentationcited by 0
  3. 2026Learning Dynamic Representations and Policies from Multimodal Clinical Time-Series with Informative Missingnesscited by 0
  4. 2026Focus on What Matters: Two-Stage ROI-Aware Refinement for Anatomy-Preserving Fetal Ultrasound Reconstructioncited by 0
  5. 2026Is Fairness Truly Fair? Towards Reliable Lipschitz Fairness in Multi-Task Learning via Fixed-texorpdfstringδdelta Alignmentcited by 0
  6. 2026T3R: Deeper Test-Time Adaptation for Graph Neural Networks via Gradient Rotationcited by 0
  7. 2026MoPLEx: Estimating Plackett-Luce Mixture Models for Multi-Objective Alignmentcited by 0
  8. 2026Long-Context Demonstration Selection Using State Space Modelscited by 0