DRESS: Disentangled Representation-based Self-Supervised Meta-Learning for Diverse Tasks

Wei Cui, Tongzi Wu, Jesse C. Cresswell, Yi Sui, Keyvan Golestan · OpenReview

Abstract: Meta-learning represents a strong class of approaches for solving few-shot learning tasks. Nonetheless, recent research suggests that simply pre-training a generic encoder can potentially surpass meta-learning algorithms. In this paper, we first discuss the reasons why meta-learning fails to stand out in these few-shot learning experiments, and hypothesize that it is due to the few-shot learning tasks lacking diversity. We propose DRESS, a task-agnostic Disentangled REpresentation-based Self-Supervised meta-learning approach that enables fast model adaptation on highly diversified few-shot learning tasks. Specifically, DRESS utilizes disentangled representation learning to create self-supervised tasks that can fuel the meta-training process. Furthermore, we also propose a class-partition based metric for quantifying the task diversity directly on the input space. We validate the effectiveness of DRESS through experiments on datasets with multiple factors of variation and varying complexity. The results suggest that DRESS is able to outperform competing methods on the majority of the datasets and task setups. Through this paper, we advocate for a re-examination of proper setups for task adaptation studies, and aim to reignite interest in the potential of meta-learning for solving few-shot learning tasks via disentangled representations.

Introduction

Meta-learning, or "learning to learn," has long been a cornerstone of few-shot learning research. However, recent benchmarks have shown that simple pre-training of a generic encoder followed by linear fine-tuning can often outperform complex meta-learning algorithms. This paper argues that this phenomenon is not a fundamental limitation of meta-learning but rather a symptom of narrow benchmarks. Most current few-shot datasets, such as miniImageNet, lack task diversity. When all tasks are essentially object classification, models can succeed by learning a fixed feature extractor rather than developing true adaptation capabilities.

To address this, we introduce DRESS (Disentangled Representation-based Self-Supervised meta-learning), a framework designed to thrive in high-diversity environments by leveraging the underlying factors of variation in data.

The DRESS Framework

The core innovation of DRESS is the use of disentangled representation learning to programmatically generate a vast library of diverse training tasks. Instead of relying on human-provided labels, DRESS identifies independent latent dimensions within the data—such as color, shape, or orientation—and uses them as the basis for self-supervised tasks.

Overview of the DRESS pipeline, showing how disentangled latents are used to construct diverse self-supervised tasks for meta-learning.

The DRESS pipeline consists of five key stages:

  1. Disentangled Encoding: Utilizing architectures like Factorized Diffusion Autoencoders (FDAE), the model separates images into independent latent dimensions.
  2. Latent Alignment: Semantic concepts are aligned across the dataset to ensure consistency in the latent space.
  3. Clustering for Pseudo-Classes: Individual latent dimensions are clustered to create "pseudo-classes" (e.g., grouping images by a specific rotation angle).
  4. Task Construction: These pseudo-classes are sampled to form thousands of unique few-shot tasks.
  5. Meta-Optimization: The model is meta-trained (e.g., using MAML) to optimize for rapid adaptation across these diverse tasks.

Task Construction and Diversity

By breaking images down into their constituent parts, DRESS can generate tasks that force the model to look beyond simple object identity. For instance, one task might require distinguishing between object colors, while the next focuses on arm positions in a robotic simulation.

Examples of support and query samples for different self-supervised tasks generated by DRESS, illustrating variations in object color and arm position.

To validate this approach, we also propose a class-partition-based metric. This metric quantifies task diversity directly in the input space, mathematically demonstrating that DRESS produces a more varied set of challenges than traditional task-construction methods.

Experimental Results

We evaluated DRESS on datasets with multiple factors of variation, including SmallNORB, Shapes3D, and MPI3D, as well as the real-world CelebA facial attribute dataset.

  • Superior Performance: DRESS outperformed state-of-the-art unsupervised meta-learning methods (such as CACTUS and PsCo) in the majority of experimental setups.
  • Surpassing Supervised Baselines: In several cases, DRESS even outperformed supervised meta-learning models. This suggests that the self-generated, diverse tasks provide a richer training signal for adaptation than standard object labels.
  • Real-World Adaptation: On CelebA, DRESS successfully captured secondary features like hair color and eyeglasses, which are often ignored by high-capacity encoders like DINOv2 that focus primarily on facial structure.

Conclusion

DRESS demonstrates that meta-learning remains a powerful tool for few-shot adaptation when paired with high task diversity. By using disentangled representations to fuel self-supervised learning, we can move beyond the limitations of narrow benchmarks. This work advocates for a re-evaluation of how we study task adaptation and highlights the potential of disentanglement in building more robust and adaptable AI systems.

Summary updated

BibTeX
@inproceedings{cui2024dress,
  author = {Wei Cui and Tongzi Wu and Jesse C. Cresswell and Yi Sui and Keyvan Golestan},
  title = {{DRESS: Disentangled Representation-based Self-Supervised Meta-Learning for Diverse Tasks}},
  booktitle = {SSL @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=AguQIV9CeN},
}
Figure