Abstract
In this paper, we study a new representation-learning task, which we termed as disassembling object representations. Given an image featuring multiple objects, the goal of disassembling is to acquire a latent representation, of which each part corresponds to one category of objects. Disassembling thus finds its application in a wide domain such as image editing and few- or zero-shot learning, as it enables category-specific modularity in the learned representations. To this end, we propose an unsupervised approach to achieving disassembling, named Unsupervised Disassembling Object Representation (UDOR). UDOR follows a double auto-encoder architecture, in which a fuzzy classification and an object-removing operation are imposed. The fuzzy classification constrains each part of the latent representation to encode features of up to one object category, while the object-removing, combined with a generative adversarial network, enforces the modularity of the representations and integrity of the reconstructed image. Furthermore, we devise two metrics to respectively measure the modularity of disassembled representations and the visual integrity of reconstructed images. Experimental results demonstrate that the proposed UDOR, despite being unsupervised, achieves truly encouraging results on par with those of supervised methods.
Introduction
Deep learning is excellent at learning representations, but these representations are usually "tangled." In a global feature vector for an image of a landscape, the features for a bird and a tree are intertwined. This makes tasks like selective image editing (e.g., removing just the bird) or few-shot learning difficult because you can't easily isolate the "bird-ness" of the data.
While "disentangled representation learning" exists, it typically focuses on isolating abstract attributes like style, lighting, or rotation. This paper introduces the task of disassembling, which aims for category-specific modularity. The challenge is doing this in an unsupervised manner: learning which parts of a vector belong to which object category without human-provided labels.
Methodology
The proposed UDOR framework relies on a double auto-encoder architecture and a novel "object-removing" training strategy to achieve unsupervised disassembly.
Double Auto-Encoder (AE)
The system consists of an Image Reconstruction AE (IR-AE) to ensure the latent vector captures all image details and a Representation Reconstruction AE (RR-AE) to ensure the latent vector itself is consistent and robust.
Fuzzy Classification
To force the latent vector to be modular, it is split into $n$ parts. A classifier constrains each part to represent either a specific object category or an "empty" state. Since there are no labels, this is treated as a fuzzy problem where features from the same category should look similar across different images.
Object-removing Operation
During training, the model randomly "zeros out" one part of the latent representation. It then uses a WGAN-GP (Generative Adversarial Network) to reconstruct the image. If the representation is truly disassembled, zeroing out the "bird" part should result in a realistic image of the tree and background without the bird. The GAN enforces visual integrity, rewarding the model if the "edited" image looks like a plausible scene.
Experiments and Results
UDOR was evaluated on six diverse datasets, including Multi-MNIST, Pattern-Design, Multi-Fashion, Mugshot, Outfit, and the HAM10000 medical dataset.
Key Findings
- Performance vs. Supervised Models: Despite being unsupervised, UDOR achieved results on par with supervised auto-encoders (S-AE) and semi-supervised methods (DSD).
- Modularity: In Multi-MNIST tests, UDOR's modularity scores were significantly better than supervised methods, proving that the "Object-removing" operation effectively reduces correlation between different parts of the representation.
- Image Editing: Qualitatively, the model demonstrated the ability to swap or remove objects with high clarity, whereas supervised baselines often left "ghost" artifacts.
Conclusion and Future Work
UDOR demonstrates that visual integrity can serve as a powerful supervision signal for learning modular object representations. While the current model is robust to small shifts, it faces challenges with large positional variances. Future work aims to incorporate explicit position information into the latent representation to handle more complex, dynamic scenes where objects move freely.
Summary updated