Abstract
Determining visual compatibility between objects is a fundamental challenge in e-commerce and computer vision. This paper proposes a hierarchical approach to discover "mid-level" visual elements—recurring patterns of neural network activations—that define object styles and their mutual compatibility. By mining these patterns, the system moves beyond simple visual similarity to understand abstract stylistic concepts. While end-to-end deep learning models may offer higher raw accuracy, this hierarchical method provides significant advantages in interpretability, offering explanations for compatibility based on shared or complementary visual features.
Introduction: The Visual Compatibility Problem
In recommendation systems, the "cold start" problem occurs when new items lack text descriptions or metadata. Modeling visual compatibility—finding items that "go together" rather than just looking similar—requires understanding abstract styles like "formal" or "sporty" directly from pixels. This task is significantly harder than standard retrieval, as it necessitates a machine-level grasp of fashion aesthetics.
Methodology
The proposed system utilizes a two-level hierarchy to model compatibility:
- Base-level (Object Appearance): Image patches are processed through a Convolutional Neural Network (CNN). Association-Rule Mining identifies patterns in activations that frequently co-occur within a class (e.g., "striped" patterns in sweaters). These discovered patterns are termed "base-level elements."
- Top-level (Visual Compatibility): Using co-purchase data (e.g., Amazon's "bought together"), the system mines for co-occurrences of base-level elements between classes. For instance, it might learn that a specific "Hawaiian print" element in shirts frequently appears in compatible pairs with "khaki texture" elements in shorts.
- Inference: Compatibility is scored by detecting these mid-level elements using Linear Discriminant Analysis (LDA) classifiers and calculating a score based on the strength of learned rules.
Datasets and Evaluation
The study leverages a massive Amazon dataset containing 9.4 million products collected between 1996 and 2014. The authors focused on a subset of ~500,000 images from the "Clothing, Shoes and Jewelry" category, covering classes like accessories, jeans, shirts, and shoes. Ground truth for compatibility was derived from co-purchase links ("bought together" and "also bought").
Key Insights
- Interpretability over Raw Power: The authors acknowledge that while their method (AUC 0.655) is outperformed by end-to-end Siamese networks (AUC 0.804), it is uniquely "explainable." It can highlight the specific patches—such as a specific button style or fabric texture—that triggered a compatibility match.
- Implicit Context: A notable discovery was the model's inadvertent use of the human body as a context cue. It identified gender-based compatibility (e.g., skirts and tees) by picking up on female faces or exposed skin, effectively learning social context without explicit supervision.
- Scalability: The modular design allows new categories to be added by training independent base-level processes, making the system highly parallelizable and easy to expand.
Results
Quantitative evaluation yielded an AUC of 0.655 on the compatibility task. While lower than state-of-the-art black-box models, the qualitative results demonstrate the model's ability to cluster items into recognizable styles purely through unsupervised mining of CNN activations.
Limitations and Future Directions
The authors suggest several avenues for improvement. Incorporating negative examples (incompatible pairs) during training could significantly boost discriminative power. Additionally, denser patch sampling or multi-scale analysis might capture finer details. Finally, moving beyond a "maximum response" scoring logic to a weighted combination of multiple rules could yield more robust compatibility estimations.
Summary updated