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

在仅用英文调整查询编码器时保持多语言质量

Preserving Multilingual Quality While Tuning Query Encoder on English Only

Primer Technologies Inc.(普里默科技公司)

Oleg Vasilyev, Randy Sawaya, John Bohannon

AI总结:

研究双段落检索系统中查询编码器在纯英文数据上调整时对多语言质量的影响,发现低学习率的“绝热调整”能保持甚至提升非调整目标的系统属性。

摘要:

双段落检索系统的查询编码器可以针对特定类型的查询或领域进行调整,同时保持预计算和存储的文档表示不变。与彻底重构整个知识库的嵌入不同,在需要时从一个查询编码器切换到另一个是很容易实现的。在这项工作中,我们提出一个问题:当编码器在狭窄领域上调整时,能否保持其通用、原始的质量,或至少不让其退化太多?我们在一个高质量的多语言嵌入模型上进行了实验:在单一的纯英文数据集上对其进行调整时,我们观察到这种调整不仅保持了多语言质量,甚至有所提升。在明显不同的数据上的嵌入质量也得到了改善或至少得以保持。基于我们的观察,我们提出了一个更普遍的假设:以刻意低的学习率进行调整,可以保持或改善系统在训练中获得但未被调整专门针对的属性。我们称之为绝热调整,并提供了初步的解释。

英文摘要:

A query encoder of a dual passage retrieval system can be tuned for specific types of queries or domains, while the precomputed and stored documents representations are kept intact. Switching from one query encoder to another when needed is easily feasible, unlike overhauling the embeddings of a whole knowledge base. In this work we raise a question: Can the generic, original qualities of the encoder be preserved or at least left not too degraded when it is tuned on a narrow domain? We conducted experiments on a high quality multilingual embedding model: Tuning it on a single English-only dataset, we observe that the tuning not only preserves the multilingual qualities, but even improves them. The embedding qualities on distinctly different data are also improved or at least preserved. Drawing on our observations, we suggest a more general hypothesis: Tuning with intentionally low learning rate can preserve or improve a system's properties acquired in training, but not specifically targeted by tuning. We call this adiabatic tuning and provide tentative explanations.

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

↑