Shawn’s Blog
  • 🗂️ Collections
    • 🖥️ Slides Gallery
    • 🧑‍🍳️ Cooking Ideas
    • 🍱 Cookbook
    • 💬 Language Learning
    • 🎼 Songbook
  • ⚙️ Projects
    • ⚛ Continual Learning Arena
  • 📄 Papers
    • AdaHAT
    • FG-AdaHAT
  • 🎓 CV
    • CV (English)
    • CV (Mandarin)
  • About
  1. Multi-Task Learning (MTL)
  2. Configure MTL Experiment
  • Welcome to CLArena
  • Get Started
  • Continual Learning (CL)
    • Configure CL Main Experiment
      • Experiment Index Config
      • CL Algorithm
      • CL Dataset
      • Backbone Network
      • Optimizer
      • Learning Rate Scheduler
      • Trainer
      • Metrics
      • Lightning Loggers
      • Callbacks
      • Other Configs
    • Save and Evaluate Model
    • Full Experiment
    • Output Results
  • Continual Unlearning (CUL)
    • Configure CUL Main Experiment
      • Experiment Index Config
      • Unlearning Algorithm
      • Callbacks
    • Full Experiment
    • Output Results
  • Multi-Task Learning (MTL)
    • Configure MTL Experiment
      • Experiment Index Config
      • MTL Algorithm
      • MTL Dataset
      • Backbone Network
      • Optimizer
      • Learning Rate Scheduler
      • Trainer
      • Metrics
      • Callbacks
    • Save and Evaluate Model
    • Output Results
  • Single-Task Learning (STL)
    • Configure STL Experiment
      • Experiment Index Config
      • STL Dataset
      • Backbone Network
      • Optimizer
      • Learning Rate Scheduler
      • Trainer
      • Metrics
      • Callbacks
    • Save and Evaluate Model
    • Output Results
  • Implement Your Modules (TBC)
  • API Reference

On this page

  • Prepare Configs
  • Usage of clarena train mtl
  1. Multi-Task Learning (MTL)
  2. Configure MTL Experiment

Configure MTL Experiment

Modified

August 16, 2025

This section will guide you to configure custom multi-task learning experiment (MTL).

Prepare Configs

The multi-task learning experiments works the same as continual learning experiments. You need to create YAML file in the experiment/ folder as well. Please refer to Configure CL Main Experiment section.

Usage of clarena train mtl

The command clarena train mtl locates the config folder configs/, parse the configuration of the specified multi-task learning experiment, and run the experiment:

clarena train mtl experiment=<experiment-name>

Please make sure the configs/ folder meeting the requirements above exists in the directory where you run the commands. The <experiment-name> is the name of the YAML file in the experiment/ subfolder. For example, if the YAML file mtl_scifar100_jointlearning.yaml is in experiment/mtl_train/ subfolder, the <experiment-name> is mtl_train/mtl_scifar100_jointlearning.

The MTL experiment configs follow the same logic of hierarchy and overriding as CL experiment configs. Please refer to Configure CL Main Experiment section. We jump straight to the required config fields, starting from the experiment index config. Please go to Experiment Index Config section.

Back to top
Multi-Task Learning (MTL)
Experiment Index Config
 
 

©️ 2025 Pengxiang Wang. All rights reserved.