paper-with-me

Papers

Scalable Multitask Learning Using Gradient-based Estimation of Task Affinity

2024-09-09 · Dongyue Li, Aneesh Sharma, Hongyang R. Zhang

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.

📄 PDF Abstract BibTeX arXiv:2409.06091

Code (1)

virtuosoresearch/scalablemtl 공식 구현 jax

Tasks

GPUMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONTAG

Methods 이 논문이 사용한 방법론

Logistic Regression Logistic Regression, despite its name, is a linear model for classification rather than regression. Logistic regression is also known in the literature as logit regression,…

Similar Papers 제목 키워드 기반

Scalable Multi-Objective and Meta Reinforcement Learning via Gradient Estimation

2025-11-16 · Zhenshuo Zhang, Minxuan Duan, Youran Ye, Hongyang R. Zhang arxiv

We study the problem of efficiently estimating policies that simultaneously optimize multiple objectives in reinforcement learning (RL). Given $n$ objectives (or tasks), we seek the optimal partition of these objectives …

Reinforcement Learning

Cross-Task Affinity Learning for Multitask Dense Scene Predictions

2024-01-20 · Dimitrios Sinodinos, Narges Armanfard

Multitask learning (MTL) has become prominent for its ability to predict multiple tasks jointly, achieving better per-task performance with fewer parameters than single-task learning. Recently, decoder-focused architectu…

Decoder

Boosting Multitask Learning on Graphs through Higher-Order Task Affinities

2023-06-24 · Dongyue Li, Haotian Ju, Aneesh Sharma, Hongyang R. Zhang

Predicting node labels on a given graph is a widely studied problem with many applications, including community detection and molecular graph prediction. This paper considers predicting multiple node labeling functions o…

Community DetectionNode Classification

Co-Clustering for Multitask Learning

2017-03-03 · Keerthiram Murugesan, Jaime Carbonell, Yiming Yang

This paper presents a new multitask learning framework that learns a shared representation among the tasks, incorporating both task and feature clusters. The jointly-induced clusters yield a shared latent subspace where …

Clustering

Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning

2025-11-30 · Dongyue Li, Zhenshuo Zhang, Minxuan Duan, Edgar Dobriban 외 arxiv

Algorithmic reasoning -- the ability to perform step-by-step logical inference -- is a synthetic benchmark for evaluating multi-step reasoning abilities, designed for graph neural networks and also for transformer models…