Skip to content

LOGO-CUHKSZ/Principled-Task-Grouping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Principled Task Grouping

This repository contains the official code implementation for the paper "Towards Principled Task Grouping for Multi-Task Learning" (arXiv:2402.15328).

Paper Abstract

This paper presents a novel approach to task grouping in Multitask Learning (MTL), advancing beyond existing methods by addressing key theoretical and practical limitations. Unlike prior studies, our approach offers a more theoretically grounded method that does not rely on restrictive assumptions for constructing transfer gains. We also propose a flexible mathematical programming formulation which can accommodate a wide spectrum of resource constraints, thus enhancing its versatility. Experimental results across diverse domains, including computer vision datasets, combinatorial optimization benchmarks and time series tasks, demonstrate the superiority of our method over extensive baselines, validating its effectiveness and general applicability in MTL.

Table of Contents

Installation

For each dataset, please refer to the original code repository for installation guidance.

Usage

Use the following commands to collect required data for task grouping:

Taskonomy

cd taskonomy
bash run_collect.sh

CelebA:

cd celeba/ours_code
python celeba-ours-collect.py

COP

cd cop
bash script_collect.sh

ETTm1

cd ettm1
bash scripts/combinations/longterm_ETTh1_collect.sh

Citing

If you find this code useful for your research, please cite the original paper:

@misc{wang2024principledtaskgroupingmultitask,
      title={Towards Principled Task Grouping for Multi-Task Learning}, 
      author={Chenguang Wang and Xuanhao Pan and Tianshu Yu},
      year={2024},
      eprint={2402.15328},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2402.15328}, 
}

License

This project is licensed under the MIT License. See the LICENSE file for more details.

This repository also includes third-party code from the following projects:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published