Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Official implementation of "Direction-Oriented Multi-Objective Learning: Simple and Provable Stochastic Algorithms" [NeurIPS 2023]

License

Notifications You must be signed in to change notification settings

OptMN-Lab/SDMGrad

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDMGrad

Official implementation of Direction-oriented Multi-objective Learning: Simple and Provable Stochastic Algorithms.

Supervised Learning

The expriments are conducted on Cityscapes and NYU-v2 datasets, which can be downloaded from MTAN. (Update: For Cityscapes, please choose the smaller version provided in the original MTAN repo). Following Nash-MTL and FAMO, the implementation is based on the MTL library.

Setup Environment

Create the environment:

conda create -n mtl python=3.9.7
conda activate mtl
python -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113

Then, install the repo:

https://github.com/OptMN-Lab/sdmgrad.git
cd sdmgrad
python -m pip install -e .

Run experiment

The dataset by default should be put under experiments/EXP_NAME/dataset/ folder where EXP_NAME is chosen from nyuv2, cityscapes. To run the sdmgrad experiment:

cd experiments/EXP_NAME
sh run.sh

Reinforcement Learning

The experiments are conducted on Meta-World benchmark. To run the experiments on MT10 and MT50 (the instructions below are partly borrowed from CAGrad):

  1. Create python3.6 virtual environment.
  2. Install the MTRL codebase.
  3. Install the Meta-World environment with commit id d9a75c451a15b0ba39d8b7a8b6d18d883b8655d8.
  4. Copy the mtrl_files folder to the mtrl folder in the installed mtrl repo, then
cd PATH_TO_MTRL/mtrl_files/ && chmod +x mv.sh && ./mv.sh
  1. Follow the run.sh to run the experiments.

About

Official implementation of "Direction-Oriented Multi-Objective Learning: Simple and Provable Stochastic Algorithms" [NeurIPS 2023]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.