Attribute-Conditioned Multimodal Slot Factorization for Controllable Fashion Retrieval

Najmeh Forouzandehmehr, Topojoy Biswas, Evren Korpeoglu, Kannan AchanarXiv 2026

TL;DR

Standard fashion retrieval systems rely on single, monolithic embeddings that blend text and image data, making it difficult to control or isolate specific attributes like color or category. This paper introduces MM-slotgate, a multimodal slot encoder that factorizes item representations into distinct, independently controllable attribute slots, each governed by its own learned text-image gate. By dynamically balancing visual and textual evidence per attribute, MM-slotgate significantly boosts multi-constraint retrieval accuracy and enables precise, query-time attribute steering.

What Problem Does This Paper Address?

When shopping for clothes online, users rarely search for just one thing; they look for combinations of attributes (e.g., "women's patterned summer dresses" specifies demographic, pattern, and category constraints). Traditional search pipelines encode these queries and items into single, monolithic dense vectors (such as standard CLIP embeddings). This blending makes it incredibly difficult to isolate or emphasize a single attribute at retrieval time without completely rewriting the query.

While some recent methods use discrete "semantic IDs" to structure item representations, these are usually item-level or residual codes whose meanings are implicit and opaque. Furthermore, different attributes naturally favor different modalities: color and pattern are inherently visual, whereas category and demographic are more explicitly defined in text catalogs. A one-size-fits-all text-image blend fails to capture this nuance, either underusing visual evidence or applying the same modality mixture to every attribute.

Methods

The authors present MM-slotgate, a multimodal slot encoder that operates in three main stages:

  1. Feature Extraction: Items are embedded using a frozen Fashion-CLIP (fCLIP) backbone to generate text ($t_i$) and image ($v_i$) embeddings.
  2. Per-Slot Projection and Gating: The model splits the representation into four named semantic slots: pattern, color, category, and demographic. Crucially, each slot $s$ learns a scalar gate $g_s$ that determines the weight given to text versus image projections. A value of $g_s < 0.5$ indicates the slot leans heavily on visual evidence. The architecture also includes a graceful fallback mechanism to text-only projections for items missing product images.
  3. Vector Quantization (VQ): Continuous slot vectors are passed through a slot-specific VQ codebook using an Exponential Moving Average (EMA) update rule. This maps the continuous vectors to discrete, addressable codewords.

The entire architecture is trained end-to-end using a multi-task loss combining commitment loss (for VQ stability), cross-entropy alignment loss (matching slots to ground-truth labels), and an orthogonality loss to prevent slot collapse.

Figure 1: MM-slotgate decomposes a fashion item into four named multimodal slots. Each slot learns its own text–image gate before vector quantization. Continuous slots support weighted retrieval; quantized slot codes support targeted intervention, illustrated by changing only the color slot from blue to red.

Datasets

The model was evaluated on a 50K-item subset of the H&M Personalized Fashion Recommendations dataset. The dataset contains product text, product images, and four explicit attribute labels: pattern, color, category, and demographic (denoting the target audience, such as men's, women's, or kids'). The data was split into 45K items for training and 5K items for evaluation.

Key Insights and Ideas

  • Emergent Modality Preferences: Without any explicit modality supervision, the per-slot gates naturally converged to intuitive preferences during training. The color slot became image-leaning ($g_{\text{color}} = 0.426$), the category slot became text-leaning ($g_{\text{categ}} = 0.545$), and pattern and demographic settled near the middle.
  • Disentanglement Without Leakage: A common risk of multimodal fusion is that visual correlations might cause information to leak across slots (e.g., a certain color always being associated with a specific category). Linear probe analysis proved that MM-slotgate does not introduce excess cross-slot leakage beyond the baseline label correlations inherent in the dataset.
  • Direct Codebook-Level Steering: Because the slots are quantized and explicit, users can perform direct attribute interventions at query time (e.g., changing a query from "blue dress" to "red dress" by swapping just the color slot code) without needing to re-embed the entire item or query.

Key Results

  • Overall Performance: MM-slotgate achieved a macro ConstraintSatisfied@10 (CS@10) score of 0.7566, outperforming a global multimodal fusion baseline (0.7142) and a text-only fCLIP baseline (0.4755).
  • Massive Gains on Color: The biggest improvement was seen in color-based retrieval, jumping from 0.321 (text-only) to 0.889 with MM-slotgate. This highlights how crucial visual grounding is for attributes where textual descriptions (like "midnight" or "ink") can be highly ambiguous.
Per-constraint retrieval performance across different attribute combinations
  • Effective Intervention: Query-time attribute steering via codebook swapping yielded a 15.3× lift for target-class retrieval in the color slot, vastly outperforming the text-only baseline's 1.5× lift.

Limitations and Future Work

The primary limitation acknowledged by the authors is the simplicity of the current taxonomy, which is restricted to only four attributes. Real-world fashion catalogs involve much more complex, subjective, and fluid concepts. The authors note that extending this slot-factorization method to richer fashion concepts—such as occasion, style aesthetic, and brand—remains an important direction for future work.

Summary updated

BibTeX
@misc{forouzandehmehr2026attribute,
  author = {Najmeh Forouzandehmehr and Topojoy Biswas and Evren Korpeoglu and Kannan Achan},
  title = {{Attribute-Conditioned Multimodal Slot Factorization for Controllable Fashion Retrieval}},
  year = {2026},
  eprint = {2608.12570},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.12570},
}
Figure