Outfit Completion via Conditional Set Transformation

Takuma Nakamura, Yuki Saito, Ryosuke GotoarXiv 2023 · OpenReview

Abstract: In this paper, we formulate the outfit completion problem as a set retrieval task and propose a novel framework for solving this problem. The proposal includes a conditional set transformation architecture with deep neural networks and a compatibility-based regularization method. The proposed method utilizes a map with permutation-invariant for the input set and permutation-equivariant for the condition set. This allows retrieving a set that is compatible with the input set while reflecting the properties of the condition set. In addition, since this structure outputs the element of the output set in a single inference, it can achieve a scalable inference speed with respect to the cardinality of the output set. Experimental results on real data reveal that the proposed method outperforms existing approaches in terms of accuracy of the outfit completion task, condition satisfaction, and compatibility of completion results.

Introduction

Creating a cohesive outfit involves navigating complex interactions between heterogeneous items—such as tops, bottoms, and accessories—while adhering to specific contexts like season or style. Traditional AI approaches to "outfit completion" (filling in missing items in a partial outfit) typically treat this as an iterative scoring problem. These models evaluate complete outfits, requiring expensive optimization or exhaustive testing of combinations to find missing pieces. This lack of scalability makes them unsuitable for real-time e-commerce applications. Furthermore, standard set retrieval often focuses on finding similar items, whereas fashion requires finding "compatible" but distinct items.

Methodology

To address these challenges, we propose the Conditional Set Transformation (CST) framework. This model reimagines outfit completion as a high-speed conditional set retrieval task. Instead of searching for items sequentially, the model takes a "query set" (existing items) and a "condition set" (desired categories, e.g., "Bag" and "Outerwear") to generate the features of all missing items simultaneously.

Overview of the outfit completion framework using conditional set transformation and neighbor search.

Key technical components include:

  • Slot Attention: This mechanism maps the condition set to the output. It is permutation-equivariant, ensuring that the order of input conditions directly corresponds to the order of output features.
  • Permutation Invariance: The architecture ensures that the input order of existing clothes does not affect the final recommendation.
  • Set Attention Blocks (SAB): These blocks model the relationships between the items being predicted, ensuring that suggested items (like a bag and shoes) are compatible with each other as well as the query set.
  • Hybrid Loss Function: The training objective combines cross-entropy loss for item selection with a Set Matching Regularization term to penalize low overall compatibility scores.

Experimental Setup

We utilized the SHIFT15M dataset, a large-scale collection of approximately 2.56 million outfits from the fashion app IQON. For our experiments, we filtered the data to 583,788 high-quality outfits (at least five items and high "LIKE" counts) to ensure the model learned from aesthetically successful combinations. By treating completion as a retrieval task in a learned feature space, we can leverage efficient Approximate Nearest Neighbor (ANN) algorithms to search millions of items in milliseconds.

Key Results

Our experimental results demonstrate that the CST model significantly outperforms existing baselines across multiple dimensions:

  • Scalability: Unlike traditional models that suffer from linear increases in inference time, the CST model maintains a nearly constant inference speed regardless of outfit complexity.
  • Quantitative Performance: The model achieved superior results in Recall (finding the exact original item) and Accuracy (matching intended category and style).
  • Compatibility: Metrics such as Set Matching Distance (SMD) indicated that the completed outfits were more compatible than those created by humans in many instances.
Performance comparison across Recall, Accuracy, and SMD metrics for various methods.

In blind tests with fashion professionals, the model's suggestions were judged superior to original human-created outfits in 34% of cases, highlighting its practical utility in professional styling contexts.

Discussion and Limitations

While the CST framework offers significant improvements in speed and accuracy, two primary limitations remain. First, the model exhibits a "popularity bias," frequently suggesting safe, top-ranked items rather than the diverse choices seen in human-curated outfits. Second, the current architecture generates exactly one feature per category label, making it difficult to handle outfits requiring multiple items from the same category (e.g., a coat and a vest both labeled as "Outerwear"). Future work will focus on increasing the diversity of suggestions and refining the transformation process to support overlapping categories.

Summary updated

BibTeX
@misc{nakamura2023outfit,
  author = {Takuma Nakamura and Yuki Saito and Ryosuke Goto},
  title = {{Outfit Completion via Conditional Set Transformation}},
  year = {2023},
  eprint = {2311.16630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.16630},
}
Figure