Multi-Task Learning Basics | Stanford CS330 Lecture 2

Added:

Multitask Basics
Model Sharing
Objective Design
Architecture Tuning
Optimization Challenges
Sharing Insights
YouTube Case Study
MoE Solution

Multitask Basics

0:05
Playing Section
  • 1

    Defines tasks via data distributions and loss functions.

  • 2

    Explores different multitask problem structures.

  • 3

    Introduces task descriptors as conditional inputs.

Fundamentals of supervised machine learning, including empirical risk minimization, loss functions, and evaluation metrics.
Basic deep learning architectures such as Multi-Layer Perceptrons (MLPs) and Convolutional Neural Networks (CNNs).
Standard optimization algorithms in deep learning, particularly gradient descent and its variants like Adam.
Familiarity with multi-variable calculus and linear algebra for understanding joint gradient updates and parameter sharing.
Advanced optimization techniques in multi-task learning to handle conflicting gradients and negative transfer, such as PCGrad or GradNorm.
Meta-learning paradigms (learning-to-learn), including optimization-based approaches like MAML (Model-Agnostic Meta-Learning).
Transfer learning, domain adaptation, and domain generalization strategies to apply learned representations to novel distributions.
Few-shot and zero-shot learning frameworks, which leverage multi-task representations to adapt to new tasks with extremely limited data.
28.8K views353likes1:17:37@stanfordonlineOriginal Release: 2023-03-31

Multi-task learning involves training a single neural network to perform multiple related tasks simultaneously by conditioning on a task descriptor (such as one-hot encoding or natural language description) and sharing parameters across tasks through various architectures (concatenation, additive, multiplicative conditioning, or multi-head structures), with key design choices including how much to share parameters, how to weight different tasks in the loss function, and whether to use vanilla optimization or advanced techniques like Minimax to address challenges such as negative transfer or overfitting.