Abstract
Stylistic compatibility is a subjective and complex task in computer vision, particularly in the context of Scene-aware Complementary Item Retrieval (CIR). This paper presents ICAR (Image-Based Complementary Auto Reasoning), a novel framework designed to retrieve items that are stylistically compatible with a given real-world scene. By decoupling visual similarity from stylistic complementarity and employing a Flexible Bidirectional Transformer (FBT) to model items as unordered sets, ICAR significantly outperforms existing state-of-the-art methods. Experimental results on fashion and furniture datasets demonstrate improvements of up to 31.8% in stylistic cohesion metrics.
Introduction
The task of finding a coffee table that "fits the vibe" of a specific living room or a pair of shoes that completes an outfit is known as Scene-aware Complementary Item Retrieval (CIR). Unlike standard image retrieval, which focuses on visual similarity, CIR requires understanding the subtle, often subjective relationships that make items "belong together."
Two primary challenges hinder CIR:
- Subjectivity of Compatibility: Compatibility is distinct from similarity. While two identical chairs are similar, a chair and a matching table are complementary.
- Domain Gap: Queries typically consist of complex, real-world scenes, whereas target items are often clean, white-background catalog images.
Methodology
ICAR addresses these challenges through a two-stage "compatibility learning" framework.
Visual Similarity Learning (VSIM)
The first stage focuses on learning style-invariant features such as color, texture, and geometry. Using a ResNet50 backbone, ICAR projects both scene images and catalog items into a shared embedding space. This ensures the model can recognize similar visual attributes across the domain gap between real-world photos and catalog entries.
Flexible Bidirectional Transformer (FBT)
The core of ICAR is the Flexible Bidirectional Transformer (FBT). Traditional transformers often treat items as sequences, but stylistic compatibility is inherently an unordered set—the order in which a rug or a sofa is considered does not change their compatibility.
FBT utilizes flexible masking during training, where items in a scene are randomly shuffled and masked. The model then performs dual-arm prediction:
- Category Prediction: Identifying the type of item needed (e.g., "a lamp").
- Visual Style Prediction: Predicting the specific visual embedding of a compatible item.
Datasets and Evaluation
The framework was evaluated on four major benchmarks:
- DeepRooms: 210k room scenes and 1.4 million furniture objects.
- STL-Home & STL-Fashion: Specialized datasets for "complete the look" tasks.
- Exact Street2Shop: Links real-world fashion photos to catalog products.
To better evaluate stylistic "cohesion," the authors introduced the Style Frechet Inception Distance (SFID). Unlike standard Fill-In-The-Blank (FITB) accuracy, SFID measures the distribution distance between sets of items to assess how well they work together as a cohesive unit.
Results
ICAR demonstrated substantial improvements over previous benchmarks like OutfitTransformer:
- FITB Accuracy: Increased by 5.3% to 9.6% across all datasets.
- Stylistic Cohesion (SFID): Showed a 22.3% improvement in fashion and a 31.8% improvement in furniture.
- Generalization: The model successfully retrieved compatible 3D furniture models for real-world photos in zero-shot scenarios, highlighting its robustness across domains.
Conclusion
ICAR represents a significant step forward in modeling stylistic compatibility by treating items as unordered sets and explicitly separating similarity from complementarity. Future work may involve incorporating multimodal signals, such as text descriptors or video content, and accounting for spatial layouts to further refine the reasoning process in interior design and fashion.
Summary updated