Learning Attribute-driven Disentangled Representations for Interactive Fashion Retrieval

Yuxin Hou, Eleonora Vig, Michael Donoser, Loris Bazzani

In the world of computer vision, deep learning has long been considered a "black box"—extraordinarily effective at extracting features but notoriously difficult to interpret or control. Yuxin Hou’s doctoral thesis, Learning Latent Image Representations with Prior Knowledge, argues that we do not have to choose between the raw power of neural networks and the structured wisdom of classical mathematics. By embedding geometric, temporal, and semantic "priors" directly into the latent spaces of deep models, Hou demonstrates how to build AI that is not only more accurate but also more controllable.

Abstract

This research presents a framework for integrating domain-specific knowledge—such as epipolar geometry, camera motion priors, and semantic attributes—into deep learning latent representations. The result is a suite of models that achieve state-of-the-art performance in 3D reconstruction, novel view synthesis, and interactive fashion retrieval. By moving beyond standard "black-box" approaches, these methods remain significantly more interpretable and controllable, allowing for precise manipulation of visual features without unintended side effects.

The Problem: The Limitations of "Learning from Scratch"

Standard deep learning models often learn representations from scratch, ignoring decades of established knowledge in fields like computer vision and physics. This leads to several critical issues:

  1. Inconsistency: In video sequences, frame-independent predictions often "flicker" because the model lacks an understanding of the temporal or spatial relationships between frames.
  2. Lack of Control: In tasks like interactive image retrieval, it is difficult to modify one specific feature (e.g., the color of a shirt) without inadvertently changing others (e.g., the sleeve length). This is due to semantic entanglement in the embedding space.
  3. Efficiency: Learning complex geometric relationships from scratch requires massive amounts of data and compute. Classical geometry (like epipolar lines) provides a "cheat sheet" that models can leverage to improve performance with less data.

Methodology

Hou addresses these challenges across three primary research pillars:

1. Geometry-based Depth Reconstruction

Instead of standard uniform sampling, Hou introduces Histogram-Based Depth Plane Sampling. This method utilizes the distribution of training data to select the most effective planes for a "plane sweep" algorithm, allowing the model to work efficiently across both indoor and outdoor scales. Additionally, a "MaskNet" learns to predict ray termination (opacity) without requiring hand-crafted cost metrics.

2. Correlated Latent Representations via Gaussian Processes (GPs)

To solve the "flicker" problem in video, Hou uses Gaussian Processes to enforce soft constraints in the latent space. By defining new kernels for 6-DoF camera poses and raw gyroscope data, the model can "smooth" its internal representations based on actual camera movement, ensuring temporal and spatial coherence.

3. Attribute-Driven Disentanglement

For interactive tasks, Hou proposes the Attribute-Driven Disentangled Encoder (ADDE). This architecture employs a block-diagonal memory block to force the model to store different semantic traits (color, pattern, shape) in independent subspaces. This ensures that a mathematical operation in the latent space—such as swapping a color attribute—impacts only the intended feature while leaving others untouched.

Key Results and Insights

  • Superior Depth Accuracy: The proposed multi-view depth estimation outperformed established baselines like MVDepthNet and COLMAP across multiple datasets. It was particularly effective when using a limited number of depth planes (16), making it viable for real-time systems.
  • Interactive Retrieval Success: In fashion retrieval tasks using datasets like Shopping100k and DeepFashion, the ADDE model showed a significant jump in NDCG (Normalized Discounted Cumulative Gain). Crucially, it excelled at preserving undesired attributes; if a user requested a different color, the garment's shape remained identical.
  • Temporal Stability: GP-based fusion led to much more consistent depth maps in video sequences. The model effectively "recovered" frames where the camera might have been blurry or poorly positioned by referencing neighboring frames in the latent space.
  • The Power of Soft Constraints: A striking insight from the research is that "soft constraints" (like GP priors) are often superior to "hard constraints." By allowing the model to deviate slightly from the math when data is noisy, the system becomes more robust to real-world conditions.

Limitations and Future Work

While the research marks a significant step forward, several challenges remain. Many of the proposed methods rely on high-quality ground truth labels, such as depth maps or semantic tags. Future work could explore unsupervised disentanglement to remove this bottleneck. Additionally, the fashion retrieval model remains sensitive to label noise in training data. Finally, while camera motion priors work well for static scenes, handling dynamic objects (e.g., people moving through a 3D scan) remains an open challenge for the GP-based fusion approach.

Summary updated

BibTeX
@inproceedings{hou2021learning,
  author = {Yuxin Hou and Eleonora Vig and Michael Donoser and Loris Bazzani},
  title = {{Learning Attribute-driven Disentangled Representations for Interactive Fashion Retrieval}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=TNT_qDVudqN},
}
Figure