Skip to main content
QUICK REVIEW

[Paper Review] Task-customized Masked AutoEncoder via Mixture of Cluster-conditional Experts

Zhili Liu, Kai Chen|arXiv (Cornell University)|Feb 8, 2024
Advanced Clustering Algorithms ResearchComputer Science6 citations
TL;DR

Proposes MoCE, a clustering-guided mixture-of-experts extension to MAE for task-customized self-supervised pre-training, delivering improved transfer on 11 downstream tasks and state-of-the-art results in detection/segmentation.

ABSTRACT

Masked Autoencoder~(MAE) is a prevailing self-supervised learning method that achieves promising results in model pre-training. However, when the various downstream tasks have data distributions different from the pre-training data, the semantically irrelevant pre-training information might result in negative transfer, impeding MAE's scalability. To address this issue, we propose a novel MAE-based pre-training paradigm, Mixture of Cluster-conditional Experts (MoCE), which can be trained once but provides customized pre-training models for diverse downstream tasks. Different from the mixture of experts (MoE), our MoCE trains each expert only with semantically relevant images by using cluster-conditional gates. Thus, each downstream task can be allocated to its customized model pre-trained with data most similar to the downstream data. Experiments on a collection of 11 downstream tasks show that MoCE outperforms the vanilla MAE by 2.45\% on average. It also obtains new state-of-the-art self-supervised learning results on detection and segmentation.

Motivation & Objective

  • Demonstrate negative transfer in standard MAE when transferring to semantically different downstream tasks.
  • Identify limitations of naive TokenMoE adoption for MAE in self-supervised settings.
  • Introduce MoCE to train experts on semantically similar image clusters.
  • Show MoCE achieves superior transfer across multiple downstream tasks and deployments.
  • Provide guidance on deploying task-customized MoCE models for efficient inference.

Proposed method

  • Cluster the pre-training data using features from a pre-trained MAE to form semantically coherent groups.
  • Replace select MLP layers with MoCE gates that route image tokens to cluster-conditioned experts.
  • Train each expert on data from its assigned clusters with a distillation loss to stabilize learning.
  • In deployment, select the most semantically relevant expert(s) to the downstream task using the clustering module.
  • Introduce an imbalance/regularization loss to encourage confident gate routing.

Experimental results

Research questions

  • RQ1Can MAE suffer from negative transfer across semantically diverse downstream tasks?
  • RQ2Does naively applying TokenMoE to MAE improve or degrade transfer performance?
  • RQ3Does MoCE, with cluster-conditional routing, enable better task-specific pre-training than vanilla MAE and TokenMoE?
  • RQ4How does MoCE perform on a broad set of downstream tasks including detection and segmentation?

Key findings

  • MoCE achieves up to 2.45% average improvement in Top-1 accuracy over MAE* on 11 downstream tasks.
  • MoCE yields state-of-the-art self-supervised results on detection and segmentation benchmarks.
  • TokenMoE does not improve MAE and can underperform due to semantics-agnostic routing.
  • MoCE's cluster-conditioned experts learn semantically coherent specializations (e.g., clothes, birds, dogs).
  • Deployment with a single active MoCE expert can halve parameters during testing and improve efficiency.

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.