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

即插即用与融合:跨异构词表的零样本联合解码基于词级重排序

Plug, Play, and Fuse: Zero-Shot Joint Decoding via Word-Level Re-ranking Across Diverse Vocabularies

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);SAP SE(思爱普公司)

Sai Koneru, Matthias Huck, Miriam Exel, Jan Niehues

AI总结:

提出一种零样本集成策略,通过词级重排序在解码阶段融合不同词表的模型,无需额外训练,可生成语音和图像感知的翻译并提升质量。

摘要:

近年来,自然语言处理领域的进展催生了具有专门优势的模型,例如能够处理多模态输入或在特定领域表现出色。然而,现实世界的任务,如多模态翻译,往往需要结合这些优势,例如同时处理翻译和图像处理。虽然单独的翻译模型和视觉模型功能强大,但它们通常缺乏在单一系统中执行这两项任务的能力。组合这些模型面临挑战,尤其是由于它们词表之间的差异,这限制了传统集成方法只能用于生成后技术,如N-best列表重排序。在这项工作中,我们提出了一种新颖的零样本集成策略,允许在解码阶段集成不同模型,而无需额外训练。我们的方法通过在词级结合分数来在解码过程中对束进行重排序,使用启发式方法来预测单词何时完成。我们在机器翻译场景中展示了该方法的有效性,表明它能够生成既具有语音感知又具有图像感知的翻译,同时提高整体翻译质量(论文接受后我们将发布代码)。

英文摘要:

Recent advancements in NLP have resulted in models with specialized strengths, such as processing multimodal inputs or excelling in specific domains. However, real-world tasks, like multimodal translation, often require a combination of these strengths, such as handling both translation and image processing. While individual translation and vision models are powerful, they typically lack the ability to perform both tasks in a single system. Combining these models poses challenges, particularly due to differences in their vocabularies, which limit the effectiveness of traditional ensemble methods to post-generation techniques like N-best list re-ranking. In this work, we propose a novel zero-shot ensembling strategy that allows for the integration of different models during the decoding phase without the need for additional training. Our approach re-ranks beams during decoding by combining scores at the word level, using heuristics to predict when a word is completed. We demonstrate the effectiveness of this method in machine translation scenarios, showing that it enables the generation of translations that are both speech- and image-aware while also improving overall translation quality (We will release the code upon paper acceptance.).

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

↑