arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.23919cs.IR
收藏

统一的多任务相关性建模在电子商务中的应用:跨大语言模型和交叉编码器的任务路由架构比较

Unified Multi-Task Relevance Modeling for E-Commerce: Comparing Task Routing Architectures Across LLMs and Cross-Encoders

Walmart Global Tech(沃尔玛全球科技)

Md Omar Faruk Rokon, Jhalak Nilesh Acharya, Shasvat Desai, Hong Yao, Kuang-chih Lee

AI总结:

针对电子商务中六种实体对关系类型的多任务相关性建模问题,本文系统比较了三种任务路由架构在LoRA适配的大语言模型和全微调交叉编码器上的表现,提出MHP集成方法达到89.96%准确率,并发现编码器-解码器在任务身份编码上的不对称性。

摘要:

如何构建一个单一的相关性模型,处理电子商务中从查询-产品匹配到产品类型相似性的六种不同实体对关系类型,而每个任务具有不同的数据量、不同的语义要求和潜在冲突的学习信号?这个问题很重要,因为当前的行业实践依赖于每个任务使用单独的模型,这阻碍了知识迁移并产生不一致的相关性信号。我们的工作基于以下见解:基于编码器和仅解码器模型通过不同机制编码任务身份,因此任务路由架构(任务身份如何传递给共享模型)的选择以不对称方式影响这两类模型。作为我们的关键创新,我们结合了三个想法:(a) 一个统一的多任务框架,在共享的三点相关性尺度下联合训练六个实体对任务;(b) 在LoRA适配的大语言模型和全微调交叉编码器上系统比较三种任务路由架构(文本前缀路由、多头分类、带私有Transformer层的多头分类);(c) 利用私有层路由引入的多样性的多数投票集成。首先,我们展示了MHP集成(带私有层的多头分类)在453K测试样本上达到89.96%的准确率,是所有配置中最高的。其次,我们展示了在没有私有层的情况下移除文本前缀会导致仅解码器大语言模型的严重退化,而交叉编码器保持稳健,这表明编码器-解码器在任务身份编码上存在不对称性。第三,我们展示了多任务训练在低资源任务上比单任务基线提升高达14%。

英文摘要:

How can we build a single relevance model that handles six different entity pair relationship types in e commerce from query product matching to product type similarity when each task has different data volumes, different semantic requirements, and potentially conflicting learning signals? This question is important because current industry practice relies on separate models for each task, preventing knowledge transfer and producing inconsistent relevance signals. Our work is driven by the following insight: encoder based and decoder only models encode task identity through different mechanisms, so the choice of task routing architecture how task identity is communicated to the shared model affects these two families in asymmetric ways. As our key novelty, we combine three ideas: (a) a unified multi task framework that jointly trains on six entity pair tasks under a shared three point relevance scale, (b) a systematic comparison of three task routing architectures (text prefix routing, multi head classification, and multihead with private transformer layers) across both LoRA adapted LLMs and fully finetuned cross encoders, and (c) a majority vote ensemble that exploits the diversity induced by private layer routing. First, we show that the MHP Ensemble (multi head with private layers) achieves 89.96% accuracy on 453K test examples the highest across all configurations . Second, we show that removing text prefixes without private layers causes severe degradation for decoder only LLMs while cross encoders remain robust , suggesting an encoder decoder asymmetry in task identity encoding. Third, we show that multi task training yields up to 14% improvement on low resource tasks over single task baselines.

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

↑