Mine and Refine: Optimizing Graded Relevance in E-commerce Search Retrieval
AI 摘要
提出一种用于电商搜索的分级相关性优化的“Mine and Refine”对比学习框架,提升检索效果。
主要贡献
- 提出“Mine and Refine”对比学习框架
- 引入基于LLM的策略一致性标注和噪音降低
- 设计多类别circle loss扩展,锐化相似度边界
方法论
两阶段训练:第一阶段Siamese网络全局语义空间学习,第二阶段挖掘难样本并使用多类别circle loss细化。
原文摘要
We propose a two-stage "Mine and Refine" contrastive training framework for semantic text embeddings to enhance multi-category e-commerce search retrieval. Large scale e-commerce search demands embeddings that generalize to long tail, noisy queries while adhering to scalable supervision compatible with product and policy constraints. A practical challenge is that relevance is often graded: users accept substitutes or complements beyond exact matches, and production systems benefit from clear separation of similarity scores across these relevance strata for stable hybrid blending and thresholding. To obtain scalable policy consistent supervision, we fine-tune a lightweight LLM on human annotations under a three-level relevance guideline and further reduce residual noise via engagement driven auditing. In Stage 1, we train a multilingual Siamese two-tower retriever with a label aware supervised contrastive objective that shapes a robust global semantic space. In Stage 2, we mine hard samples via ANN and re-annotate them with the policy aligned LLM, and introduce a multi-class extension of circle loss that explicitly sharpens similarity boundaries between relevance levels, to further refine and enrich the embedding space. Robustness is additionally improved through additive spelling augmentation and synthetic query generation. Extensive offline evaluations and production A/B tests show that our framework improves retrieval relevance and delivers statistically significant gains in engagement and business impact.