Skip to main content
QUICK REVIEW

[Paper Review] GradMix: Multi-source Transfer across Domains and Tasks

Junnan Li, Ziwei Xu|arXiv (Cornell University)|Feb 9, 2020
Domain Adaptation and Few-Shot LearningComputer Science40 references3 citations
TL;DR

GradMix is a model-agnostic, gradient-based method for multi-source domain and task transfer (MS-DTT) in semi-supervised learning, where it adaptively weights and mixes gradients from multiple labeled source datasets to minimize target validation loss. It achieves state-of-the-art performance on digit and action recognition benchmarks by combining dynamic learning rate adaptation and pseudo-labeling of unlabeled target data.

ABSTRACT

The computer vision community is witnessing an unprecedented rate of new tasks being proposed and addressed, thanks to the deep convolutional networks' capability to find complex mappings from X to Y. The advent of each task often accompanies the release of a large-scale annotated dataset, for supervised training of deep network. However, it is expensive and time-consuming to manually label sufficient amount of training data. Therefore, it is important to develop algorithms that can leverage off-the-shelf labeled dataset to learn useful knowledge for the target task. While previous works mostly focus on transfer learning from a single source, we study multi-source transfer across domains and tasks (MS-DTT), in a semi-supervised setting. We propose GradMix, a model-agnostic method applicable to any model trained with gradient-based learning rule, to transfer knowledge via gradient descent by weighting and mixing the gradients from all sources during training. GradMix follows a meta-learning objective, which assigns layer-wise weights to the source gradients, such that the combined gradient follows the direction that minimize the loss for a small set of samples from the target dataset. In addition, we propose to adaptively adjust the learning rate for each mini-batch based on its importance to the target task, and a pseudo-labeling method to leverage the unlabeled samples in the target domain. We conduct MS-DTT experiments on two tasks: digit recognition and action recognition, and demonstrate the advantageous performance of the proposed method against multiple baselines.

Motivation & Objective

  • Address the challenge of transferring knowledge from multiple labeled source datasets to a target task with limited labeled data.
  • Overcome limitations of single-source transfer and feature alignment-based domain adaptation in scenarios with significant domain and task shift.
  • Develop a generic, model-agnostic framework that operates within standard gradient-based training without adding extra layers or loss functions.
  • Improve performance in semi-supervised MS-DTT by dynamically weighting source gradients based on their utility for the target task.

Proposed method

  • Use a meta-learning objective to assign layer-wise weights to gradients from each source dataset, such that the combined gradient minimizes the loss on a small validation set from the target domain.
  • Adaptively adjust the learning rate per mini-batch based on its importance to the target task, improving optimization efficiency.
  • Leverage unlabeled target data via a pseudo-labeling method that uses model ensembles to generate reliable pseudo-labels for training.
  • Perform gradient mixing during backpropagation, combining gradients from all sources in a way that prioritizes those most relevant to the target objective.
  • Maintain model-agnosticism by relying solely on gradient updates, making it applicable to any model trained with stochastic gradient descent.
  • Integrate the pseudo-labeled target data as an additional source during training to enhance feature learning on the target distribution.

Experimental results

Research questions

  • RQ1Can gradient-based knowledge transfer from multiple sources across diverse domains and tasks improve performance in semi-supervised settings?
  • RQ2How can gradient weights be dynamically assigned to prioritize sources that most benefit the target task?
  • RQ3To what extent can adaptive learning rate scheduling and pseudo-labeling enhance performance when labeled data for the target task is scarce?
  • RQ4Does GradMix outperform existing multi-source domain adaptation and semi-supervised learning methods in scenarios with large domain and task shifts?

Key findings

  • GradMix achieves 71.49% accuracy on the UCF101 action recognition benchmark using only 10 labeled clips per class from the target domain, outperforming the next best baseline (DCTN) by 1.36%.
  • With access to unlabeled target data and pseudo-labeling, GradMix reaches 73.68% accuracy on per-video classification, surpassing DCTN (72.85%) and MDDA (71.54%).
  • GradMix with MixMatch-based pseudo-labeling achieves 73.68% accuracy, demonstrating that incorporating state-of-the-art SSL methods further boosts performance.
  • The method significantly outperforms fine-tuning and source-only baselines, even with only 3 labeled clips per class, indicating strong generalization under low-shot conditions.
  • GradMix achieves state-of-the-art results on both digit recognition and action recognition tasks, validating its effectiveness across different domains and tasks.
  • The ablation study confirms that the combination of gradient weighting, adaptive learning rate, and pseudo-labeling is essential for performance gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.