NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FineGAN: Unsupervised Hierarchical Disentanglement for Fine-Grained Object Generation and Discovery

Krishna Kumar Singh, Utkarsh Ojha, Yong Jae Lee

Abstract

We propose FineGAN, a novel unsupervised GAN framework, which disentangles the background, object shape, and object appearance to hierarchically generate images of fine-grained object categories. To disentangle the factors without supervision, our key idea is to use information theory to associate each factor to a latent code, and to condition the relationships between the codes in a specific way to induce the desired hierarchy. Through extensive experiments, we show that FineGAN achieves the desired disentanglement to generate realistic and diverse images belonging to fine-grained classes of birds, dogs, and cars. Using FineGAN's automatically learned features, we also cluster real images as a first attempt at solving the novel problem of unsupervised fine-grained object category discovery.

1. Introduction

Distinguishing between "entry-level" categories, such as a dog versus a car, is a well-established task in unsupervised object discovery. However, identifying fine-grained categories—such as the subtle differences between a Yellow-billed Cuckoo and a Black-billed Cuckoo—remains a significant challenge. These objects often share similar global shapes and habitats, requiring a model to disentangle specific visual attributes like texture and color from general silhouettes and backgrounds.

Examples of fine-grained bird categories highlighting the challenge of distinguishing subtle visual differences.

Standard Generative Adversarial Networks (GANs) often struggle with this because they "tangle" features together; for instance, a model might incorrectly associate a specific background (like water) as an intrinsic part of an object's identity. FineGAN addresses this by hierarchically disentangling an image into three distinct factors: background, object shape, and object appearance, without requiring any human-provided labels.

2. Methodology

FineGAN employs a stage-wise generation process that decomposes the image creation into three hierarchical levels:

  1. Background Stage: Generates a background image ($B$) using a background code ($b$). To ensure the background remains distinct from the object, the model is trained on patches extracted from real images outside of object bounding boxes.
  2. Parent Stage (Shape): Generates the object's mask and basic silhouette, conditioned on a "parent" latent code ($p$).
  3. Child Stage (Appearance): Fills the generated shape with specific colors and textures based on a "child" latent code ($c$).
FineGAN's hierarchical generation process disentangling background, parent (shape), and child (appearance) codes.

The core innovation lies in the Hierarchical Constraints. By enforcing a structure where the number of parent codes ($N_p$) is smaller than the number of child codes ($N_c$), multiple child codes are tied to a single parent. This forces the model to use the parent code for shared attributes (shape) and the child code for unique variations (appearance). This is reinforced by maximizing Mutual Information between the latent codes and the generated output, ensuring each code controls a consistent visual factor.

3. Experiments and Results

FineGAN was evaluated on three fine-grained benchmarks: CUB-200-2011 (birds), Stanford Dogs, and Stanford Cars. Although these datasets contain labels, FineGAN operates entirely unsupervised during training.

3.1 Image Quality and Disentanglement

FineGAN significantly outperforms baseline models like InfoGAN and StackGAN-v2. On the CUB dataset, it achieved an Inception Score (IS) of 52.53, a notable improvement over InfoGAN’s 47.32. Qualitatively, the model demonstrates impressive control, allowing for "mix-and-match" generation where the shape of one species can be combined with the color patterns of another while maintaining a consistent background.

3.2 Category Discovery

The model's ability to generate fine-grained details translates to superior feature extraction for discovery. In unsupervised clustering tasks, FineGAN achieved 12.6% accuracy on the CUB dataset, doubling the performance of previous state-of-the-art methods like DEPICT (6.1%).

4. Conclusion

FineGAN represents a significant step forward in unsupervised hierarchical disentanglement. While it shows remarkable performance in generating and discovering fine-grained categories, challenges remain. The model is sensitive to the predefined number of parent and child codes, and its discovered categories do not always align perfectly with human taxonomy. Future work will focus on bridging the gap between unsupervised discovery and fully supervised performance.

Summary updated

BibTeX
@inproceedings{singh2019finegan,
  author = {Krishna Kumar Singh and Utkarsh Ojha and Yong Jae Lee},
  title = {{FineGAN: Unsupervised Hierarchical Disentanglement for Fine-Grained Object Generation and Discovery}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=iKhLzcxBktN},
}
Figure