MAKE: Vision-Language Pre-training based Product Retrieval in Taobao Search

Xiaoyang Zheng, Zilong Wang, Sen Li, Ke Xu, Tao Zhuang, Qingwen Liu, Xiaoyi Zeng · DOI

TL;DR

This paper introduces MAKE, a novel vision-language pre-training method for e-commerce product retrieval. MAKE addresses the challenges of varying user attention on product images versus titles and the semantic imbalance between short user queries and long product descriptions by introducing a Modal Adaptation module and a Keyword Enhancement mechanism. The method has been successfully deployed on Taobao Search, significantly improving retrieval performance.

What Problem Does This Paper Address?

Online shopping platforms like Taobao rely heavily on effective product retrieval to connect users with desired items. This process typically involves two stages: retrieval (narrowing down millions of products to a manageable subset) and ranking. The retrieval stage is crucial for user experience and transaction efficiency. The core challenge lies in text-to-multimodal retrieval, where a user's text query needs to be matched against products described by both text (titles) and images.

Existing vision-language (V+L) pre-training methods, while powerful, often fall short in this domain due to two key issues:

  1. Varying User Attention: Users' focus shifts between product titles and images depending on the product category. For instance, users might prioritize images for clothing but focus on technical specifications in titles for electronics. Standard V+L models don't adequately account for this dynamic.
  2. Semantic Imbalance: E-commerce user queries are often brief and to the point, while product titles can be lengthy, keyword-stuffed, and sometimes grammatically imperfect due to SEO practices. This creates a significant semantic gap that hinders accurate matching.

Methods

MAKE tackles these challenges with a novel three-tower pre-training architecture and two key mechanisms:

  • Three-Tower Architecture: Unlike typical V+L models with two towers (text and image), MAKE employs three: a Query Encoder, a Title Encoder, and an Image Encoder. This allows for specialized processing of user queries. The text encoders are initialized with StructBERT, and the image encoder with ImageBERT, both pre-trained on Chinese e-commerce data.
  • Modal Adaptation (MA) Module: This module addresses the varying user attention. It takes the outputs from the query, title, and image encoders and uses self-attention and cross-attention layers to fuse this information. Crucially, it introduces user queries as contextual information to dynamically assign appropriate weights to product titles and images, allowing the model to learn product representations that reflect category-specific user focus.
  • Keyword Enhancement (KE) Mechanism: This mechanism combats the semantic imbalance between queries and titles. It replaces the standard in-batch negative sampling (IBNS) with a more robust approach. Instead of treating all other queries in a batch as negative, KE groups related queries for the same product and jointly optimizes them. This helps to narrow the distance between embeddings of similar queries and alleviate the false-negative issue inherent in IBNS when dealing with semantically similar but distinct queries.
  • Pre-training Objectives: MAKE utilizes standard self-supervised objectives like Masked Language Modeling (MLM) and Mask Patch Modeling (MPM), along with a Query-Product Matching (QPM) loss for embedding alignment and a Query-Product Classification (QPC) loss (associated with the MA module) for refining joint representations.

Datasets

The paper utilizes a large-scale industrial dataset collected from Taobao Search online clicking logs, comprising user queries, product titles, and images. This dataset is described as having a "billion-level" training set, with 1.5 million search logs randomly sampled for evaluation.

Key Insights and Ideas

  • Dynamic Modality Weighting is Crucial: The observation that user attention varies significantly between titles and images across different product categories is a key insight. The MA module's ability to adapt these weights based on context is a major step forward.
  • Separate Query Encoding is Beneficial: Treating user queries distinctly from product titles, especially given the semantic imbalance, is essential for effective retrieval. The dedicated Query Encoder in MAKE is a direct response to this.
  • Addressing False Negatives in Embeddings: The KE mechanism's approach to handling semantically similar queries by grouping them is a clever way to improve query embedding quality and avoid penalizing relevant but slightly different queries.
  • Real-world Deployment Matters: The fact that MAKE has been deployed on Taobao Search and is serving millions of users daily underscores its practical impact and scalability.

Key Results

  • Offline Performance: MAKE significantly outperforms baseline V+L pre-training methods like CLIP, FashionBERT, and CommerceMM on text-to-multimodal retrieval tasks, achieving higher Prel, Pcate, and Recall@K scores.
  • Ablation Studies:
    • The Modal Adaptation (MA) module alone improves relevance and recall by 1.88% and 4.59%, respectively, and demonstrably adjusts attention weights towards images for visual-dominant categories and titles for text-dominant ones.
  • The Keyword Enhancement (KE) mechanism further strengthens query representations, reducing the distance between similar queries and improving overall performance.
  • Online A/B Tests: MAKE shows substantial improvements in online metrics:
  • Overall relevance: +2.20%
    • Gross Merchandise Volume (GMV): +0.79%
    • Number of Transactions (#Trans): +0.37%
    • MAKE shows even greater gains for inactive and new users (+2.01% GMV, +1.58% #Trans).
  • The additional computational cost for online serving is a mere 2 ms.

Limitations and Future Work

  • Limitations: The paper acknowledges the semantic imbalance between user queries and product titles as a significant challenge. While KE helps, it might not fully resolve all such imbalances. The reliance on a specific e-commerce corpus (Chinese) for pre-training might limit direct transferability to other languages or domains without further adaptation.
  • Future Work: The authors suggest that MAKE has been deployed online and is serving millions of users, implying ongoing monitoring and potential for further refinement. The success of the MA module in adapting attention suggests exploring more sophisticated cross-modal fusion techniques. The KE mechanism's effectiveness in handling query similarity could be further investigated for other retrieval tasks.

Summary updated

BibTeX
@inproceedings{zheng2023make,
  author = {Xiaoyang Zheng and Zilong Wang and Sen Li and Ke Xu and Tao Zhuang and Qingwen Liu and Xiaoyi Zeng},
  title = {{MAKE: Vision-Language Pre-training based Product Retrieval in Taobao Search}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543873.3584627},
}
Figure