Unified Auto-Encoding with Masked Diffusion

Philippe Hansen-Estruch, Sriram Vishwanath, Amy Zhang, Manan Tomar
6/25/2024
cs.CVcs.AI

Official code: philippe-eecs/small-vision (34 stars, last commit 2024-06-26). 1 more implementation below.

Abstract

At the core of both successful generative and self-supervised representation learning models there is a reconstruction objective that incorporates some form of image corruption. Diffusion models implement this approach through a scheduled Gaussian corruption process, while masked auto-encoder models do so by masking patches of the image. Despite their different approaches, the underlying similarity in their methodologies suggests a promising avenue for an auto-encoder capable of both de-noising tasks. We propose a unified self-supervised objective, dubbed Unified Masked Diffusion (UMD), that combines patch-based and noise-based corruption techniques within a single auto-encoding framework. Specifically, UMD modifies the diffusion transformer (DiT) training process by introducing an additional noise-free, high masking representation step in the diffusion noising schedule, and utilizes a mixed masked and noised image for subsequent timesteps. By integrating features useful for diffusion modeling and for predicting masked patch tokens, UMD achieves strong performance in downstream generative and representation learning tasks, including linear probing and class-conditional generation. This is achieved without the need for heavy data augmentations, multiple views, or additional encoders. Furthermore, UMD improves over the computational efficiency of prior diffusion based methods in total training time. We release our code at https://github.com/philippe-eecs/small-vision.

View on arXivView PDF

Code Implementations(2)

A big_vision inspired repo that implements a generic Auto-Encoder class capable in representation learning and generative modeling.

342HTML, SCSSJun 18, 20242 years ago
Apache-2.0

Official codebase used to develop Vision Transformer, SigLIP, MLP-Mixer, LiT and more.

3,478222HTML, SCSSApr 4, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{hansenestruch2024unified,
  title  = {Unified Auto-Encoding with Masked Diffusion},
  author = {Philippe Hansen-Estruch and Sriram Vishwanath and Amy Zhang and Manan Tomar},
  year   = {2024},
  eprint = {2406.17688},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17688v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17688.svg)](https://codeofpaper.com/paper/2406.17688)

Discussion