arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.11565cs.CLcs.AI
收藏

Compass-Embedding v4:面向多语言电商嵌入的鲁棒对比学习

Compass-Embedding v4: Robust Contrastive Learning for Multilingual E-commerce Embeddings

Shopee(虾皮)

Pakorn Ueareeworakul, Shuman Liu, Jinghao Feng, Ling Hu, Zhantang Shi, Chengqi Sun, Liang Yao, Panyi Ouyang, Haibo Zhang, Anxiang Zeng

AI总结:

Compass-Embedding v4通过鲁棒对比学习解决多语言电商嵌入中的数据稀缺、噪声监督和生产约束问题,实现领域特定检索和分类的高性能表现。

摘要:

随着全球电商迅速扩展至新兴市场,缺乏高质量语义表示已成为低资源语言检索、推荐和搜索系统的关键瓶颈。在本工作中,我们提出了Compass-Embedding v4,一种高效多语言嵌入框架,专门优化于东南亚(SEA)电商场景,其中数据稀缺、噪声监督和严格生产约束共同挑战表示学习。Compass-Embedding v4解决三个核心挑战。首先,在混合任务监督下的大批次对比训练引入系统性假负样本,会降低语义对齐。我们提出Class-Aware Masking(CAM),一种轻量级的对InfoNCE目标的修改,通过抑制无效的批次负样本,提高语义辨别力,而无需改变训练效率。其次,低资源SEA语言面临数据有限且分布不均的问题。我们通过上下文 grounded 的合成数据生成、跨语言翻译和结构化电商数据构建,构建了多样化训练语料,实现了稳健的多语言和领域特定学习。第三,生产部署要求高吞吐量推理的同时保持嵌入质量。我们结合以鲁棒性驱动的大批次训练与球形模型融合,以缓解灾难性遗忘,并通过vLLM和FP8量化优化推理。在多语言基准和自有电商任务上的广泛评估表明,Compass-Embedding v4在主要SEA语言上实现了最先进的性能,显著优于通用嵌入模型在领域特定检索和分类中的表现,同时在高资源语言上保持了竞争性的性能。

英文摘要:

As global e-commerce rapidly expands into emerging markets, the lack of high-quality semantic representations for low-resource languages has become a decisive bottleneck for retrieval, recommendation, and search systems. In this work, we present Compass-Embedding v4, a high-efficiency multilingual embedding framework specifically optimized for Southeast Asian (SEA) e-commerce scenarios, where data scarcity, noisy supervision, and strict production constraints jointly challenge representation learning. Compass-Embedding v4 addresses three core challenges. First, large-batch contrastive training under mixed task supervision introduces systematic false negatives that degrade semantic alignment. We propose Class-Aware Masking (CAM), a lightweight modification to the InfoNCE objective that suppresses invalid in-batch negatives and improves semantic discrimination without altering training efficiency. Second, low-resource SEA languages suffer from limited and uneven data coverage. We construct a diversified training corpus through context-grounded synthetic data generation, cross-lingual translation, and structured e-commerce data construction, enabling robust multilingual and domain-specific learning. Third, production deployment requires high-throughput inference while preserving embedding quality. We combine robustness-driven large-batch training with spherical model merging to mitigate catastrophic forgetting, and optimize inference via vLLM and FP8 quantization. Extensive evaluations across multilingual benchmarks and proprietary e-commerce tasks show that Compass-Embedding v4 achieves state-of-the-art performance on major SEA languages, significantly outperforming general-purpose embedding models in domain-specific retrieval and classification, while maintaining competitive performance on high-resource languages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑