Augmenting Training Data for Massive Semantic Matching Models in Low-Traffic E-commerce Stores

Ashutosh Joshi, Shankar Vishwanath, Choon Hui Teo, Vaclav Petricek, Vishy Vishwanathan, Rahul Bhagat, Jonathan May

Introduction

Modern e-commerce search relies on Semantic Matching—the ability to understand that a user searching for "waterproof trail runners" likely wants "Gore-Tex hiking shoes," even if the keywords don't overlap perfectly. To learn these connections, models like Extreme Multi-label Classification (XMC) require massive amounts of behavioral data, such as clicks and purchases.

However, new or niche "low-traffic" stores face a cold-start problem: they lack the historical data to train these massive models effectively. While one solution is to "borrow" data from larger stores (Knowledge Transfer), this often introduces "noise" because customer behavior varies significantly between different store types. Researchers at Amazon and USC have developed a method to generate high-quality, store-specific training data from a very limited initial pool.

Methods: The Query Reformulation Pipeline

The authors propose a multi-step pipeline to augment data via Query Reformulation (QR). This approach expands a small training set of 0.83 million pairs into over 16 million intent-preserving tuples.

Overview of the Query Reformulation (QR) and AL-XMC training pipeline.

The process involves four key stages:

  1. Identifying Related Queries: Item-to-item collaborative filtering identifies queries that frequently lead to the purchase of the same products, quantified using Pointwise Mutual Information (PMI).
  2. Graph-Based Clustering: To ensure shared intent, a query graph is constructed. A Clustering Coefficient (C3) identifies "cliquish" neighborhoods, which are then merged or pruned to isolate groups of queries with identical purchase intent.
  3. T5 Fine-Tuning: These high-fidelity query pairs are used to fine-tune a T5-Base model. The model learns to generate paraphrases of "seed" queries that preserve the original shopping intent.
  4. Data Augmentation: Sparse behavioral data is "multiplied" by replacing original queries with T5-generated reformulations. This augmented dataset is then used to train a massive AL-XMC (Aggregated Label eXtreme Multi-label Classification) model.

Key Results

The QR-augmented model demonstrated a significant performance boost, achieving a 19.57% improvement in product accuracy over the baseline model trained only on local data.

Comparison of training data sources and their impact on product accuracy improvement.

As shown in the results table, the QR method achieved performance comparable to the best Knowledge Transfer method (IKT48) but required only about one-third of the training data (16.14m vs 47.58m pairs). This suggests that "local" context is more valuable than "global" volume, as transfer data often introduces noise from irrelevant inventories.

In live A/B testing over 14 days, the model increased the Search Click Rate (SCR) by 0.26% and decreased the Customer Reformulation Rate (CRR) by 0.30%, indicating that customers found relevant products more quickly without needing to re-type their search.

Conclusion

By leveraging graph clustering and generative language models, this research provides a path for low-traffic e-commerce stores to utilize state-of-the-art semantic matching models. While the method still requires some initial behavioral data, it significantly reduces the data volume needed to achieve high accuracy. Future work may explore multilingual applications and the generation of "pseudo-queries" directly from product descriptions to further mitigate the cold-start problem.

Summary updated

BibTeX
@inproceedings{joshi2022augmenting,
  author = {Ashutosh Joshi and Shankar Vishwanath and Choon Hui Teo and Vaclav Petricek and Vishy Vishwanathan and Rahul Bhagat and Jonathan May},
  title = {{Augmenting Training Data for Massive Semantic Matching Models in Low-Traffic E-commerce Stores}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-industry.19},
}
Figure