Learning Explainable Disentangled Representations of E-Commerce Data by Aligning Their Visual and Textual Attributes

Katrien Laenen, Marie-Francine MoensComput 2022 · DOI

TL;DR

This paper introduces E-VAE, a novel framework for learning explainable, disentangled representations of e-commerce products by aligning visual and textual data. This approach tackles the challenge of noisy and incomplete e-commerce data, enabling more interpretable and accurate product understanding for tasks like outfit recommendation and cross-modal search.

What Problem Does This Paper Address?

Understanding products in e-commerce, especially fashion, is difficult due to scattered, fine-grained attributes across images and text. Product descriptions are often noisy and incomplete, while images have significant visual variations. Existing methods for learning multimodal representations often result in entangled features, making them hard to interpret and potentially unfair or untrustworthy. There's a growing need for explainable AI (XAI) in e-commerce to build user trust and improve transparency. Multimodal disentangled representation learning offers a promising avenue, but current approaches struggle with the complexities of real-world e-commerce data and lack automatic interpretation methods for the learned representations.

Methods

The core of this work is the Explainable Variational Autoencoder (E-VAE) framework. E-VAE builds upon the β-VAE architecture but introduces several key innovations:

  • Multimodal Disentanglement: Unlike unimodal VAEs, E-VAE is designed to disentangle multimodal e-commerce data, acknowledging that some factors of variation are shared and others are complementary between vision and language.
  • Two-Level Alignment: E-VAE leverages weak supervision from a two-level alignment process to steer disentanglement.
  • Coarse-grained alignment: Aligns textual attributes with the overall disentangled representations of product images. This helps focus on relevant factors of variation and makes the representations multimodal.
  • Fine-grained alignment: Aligns textual attributes with specific image regions using a bidirectional focal attention mechanism. This provides visual contextualization and further refines the alignment.
  • Automatic Textual Explanations: A key contribution is the automatic generation of textual explanations for the disentangled representations. This is achieved by projecting textual attributes into the disentangled space and using the alignment process to link latent features to human-understandable concepts. This addresses the lack of automatic interpretation methods in prior work.
  • Handling Real-World Data: E-VAE is specifically designed to handle the challenges of real-world e-commerce data, including extensive visual variation, noisy and incomplete descriptions, and complex cross-modal relations.

Datasets

The authors evaluate their approach on two widely used e-commerce datasets:

  • Polyvore Outfits Dataset: Used for outfit recommendation tasks. It includes both non-disjoint and disjoint versions with a large number of items and outfits across various product categories.
  • Amazon Dresses Dataset: Used for cross-modal search tasks. It consists of image-text pairs describing dresses of different styles and occasions.

Key Insights and Ideas

  • Weak Supervision is Key: The two-level alignment, even with weak supervision, is crucial for steering the disentanglement process towards human-relevant factors of variation, effectively ignoring irrelevant visual noise common in e-commerce images.
  • Textual Explanations Enhance Trust: The ability to automatically generate textual explanations for disentangled representations is a significant step towards making AI systems in e-commerce more interpretable, transparent, and trustworthy for users.
  • Fine-grained Alignment Matters: The fine-grained alignment of image regions with textual attributes, in addition to coarse-grained alignment, significantly improves performance in cross-modal search, suggesting that detailed visual-textual correspondence is vital.
  • Sparsity Correlates with Disentanglement: The study found a positive correlation between the sparsity of attribute representations and the quality of disentanglement, indicating that E-VAE effectively encodes specific attributes in distinct latent dimensions.

Key Results

  • Outfit Recommendation: E-VAE achieved state-of-the-art results on the Polyvore Outfits dataset for both outfit compatibility (OC) and fill-in-the-blank (FITB) tasks, outperforming baselines like β-VAE and TypeAware, especially on the larger non-disjoint split.
  • Cross-Modal Search: E-VAE achieved new state-of-the-art cross-modal search results on the Amazon Dresses dataset, outperforming several strong baselines including β-VAE, BFAN, and VarAlign. The retrieval model incorporating both coarse and fine-grained alignment (Rkl,(2)) generally performed best.
  • Explainability: The generated textual explanations were found to be useful by users in a survey, with attribute groups like "fit," "style," and "occasion" being particularly valued for personalized recommendations.

Limitations and Future Work

  • Dataset Challenges: The Polyvore Outfits dataset was noted as particularly challenging due to extensive visual variation across 11 product categories and a large, fine-grained attribute glossary.
  • Future Research Directions:
    • Further improving the alignment of disentangled representations with textual attributes.
  • Developing multimodal explanations (beyond just text) for search and recommendation systems.
  • Combining the strengths of E-VAE with transformer architectures.
  • Exploring self-supervised pretraining tasks for e-commerce images to better capture fine-grained discriminative regions.
  • Investigating alternative reconstruction losses to better handle saliency in e-commerce images.

Summary updated

BibTeX
@article{laenen2022learning,
  author = {Katrien Laenen and Marie-Francine Moens},
  title = {{Learning Explainable Disentangled Representations of E-Commerce Data by Aligning Their Visual and Textual Attributes}},
  journal = {Comput.},
  year = {2022},
  doi = {10.3390/computers11120182},
}
Figure