Simple Disentanglement of Style and Content in Visual Representations

Lilian Ngweta, Subha Maity, Alex Gittens, Yuekai Sun, Mikhail Yurochkin
2/20/2023
cs.LGcs.CVstat.ML

No official code found. Best implementation: lilianngweta/PISCO (9 stars, last commit 2024-09-01).

Abstract

Learning visual representations with interpretable features, i.e., disentangled representations, remains a challenging problem. Existing methods demonstrate some success but are hard to apply to large-scale vision datasets like ImageNet. In this work, we propose a simple post-processing framework to disentangle content and style in learned representations from pre-trained vision models. We model the pre-trained features probabilistically as linearly entangled combinations of the latent content and style factors and develop a simple disentanglement algorithm based on the probabilistic model. We show that the method provably disentangles content and style features and verify its efficacy empirically. Our post-processed features yield significant domain generalization performance improvements when the distribution shift occurs due to style changes or style-related spurious correlations.

View on arXivView PDF

Code Implementations(1)

lilianngweta/PISCOCommunity100%

This repository contains code for the ICML paper "Simple Disentanglement of Style and Content in Visual Representations"

91Shell, PythonFeb 14, 20232 years ago

Similar Papers

Cite this paper

@article{ngweta2023simple,
  title  = {Simple Disentanglement of Style and Content in Visual Representations},
  author = {Lilian Ngweta and Subha Maity and Alex Gittens and Yuekai Sun and Mikhail Yurochkin},
  year   = {2023},
  eprint = {2302.09795},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.09795v2},
  journal = {ICML 2023 2023}
}

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/2302.09795.svg)](https://codeofpaper.com/paper/2302.09795)

Discussion