arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.03518cs.CLcs.AI
收藏

提升大语言模型在习语翻译中的能力

Improving LLM Abilities in Idiomatic Translation

Algoverse AI Research(Algoverse人工智能研究院)

Sundesh Donthi, Maximilian Spencer, Om Patel, Joon Doh, Eid Rodan, Kevin Zhu, Sean O'Brien

AI总结:

本研究针对大语言模型翻译习语的难题,通过扩展知识库寻找目标语言对应习语,提出余弦相似度查找和LLM生成习语两种方法,实验表明余弦相似度方法在GPT4o翻译中表现最佳,并开发了低资源乌尔都语数据集。

摘要:

对于像NLLB和GPT这样的大语言模型(LLMs)来说,翻译习语仍然是一个挑战。我们的目标是通过改进大语言模型对习语语言的处理,同时保留原始语言风格,来增强翻译的忠实度。这具有重要的社会影响,因为它保留了文化细微差别,确保翻译文本保留其意图和情感共鸣,促进更好的跨文化交流。以往的工作利用诸如IdiomKB之类的知识库,通过向大语言模型提供习语的含义来用于翻译。尽管这种方法比直接翻译产生了更好的结果,但它在跨语言保留习语写作风格方面的能力仍然有限。在本研究中,我们扩展了知识库,以在目标语言中找到对应的习语。我们的研究使用两种方法进行翻译:第一种方法采用SentenceTransformers模型,在原始语言和目标语言习语的含义之间语义地生成余弦相似度分数,选择最佳习语(余弦相似度方法)。第二种方法使用大语言模型在目标语言中找到对应的习语用于翻译(大语言模型生成的习语方法)。作为基线,我们进行了直接翻译,不提供额外信息。人工评估在英语到中文和中文到英语的翻译中显示,余弦相似度查找方法在所有GPT4o翻译中表现优于其他方法。为了进一步扩展IdiomKB,我们开发了一个低资源的乌尔都语数据集,包含乌尔都语习语及其翻译。尽管数据集有限,但余弦相似度查找方法显示出潜力,可能克服语言障碍,并使得探索中文和乌尔都语的各种文学作品成为可能。(LoResLM @ COLING预印本)

英文摘要:

For large language models (LLMs) like NLLB and GPT, translating idioms remains a challenge. Our goal is to enhance translation fidelity by improving LLM processing of idiomatic language while preserving the original linguistic style. This has a significant social impact, as it preserves cultural nuances and ensures translated texts retain their intent and emotional resonance, fostering better cross-cultural communication. Previous work has utilized knowledge bases like IdiomKB by providing the LLM with the meaning of an idiom to use in translation. Although this method yielded better results than a direct translation, it is still limited in its ability to preserve idiomatic writing style across languages. In this research, we expand upon the knowledge base to find corresponding idioms in the target language. Our research performs translations using two methods: The first method employs the SentenceTransformers model to semantically generate cosine similarity scores between the meanings of the original and target language idioms, selecting the best idiom (Cosine Similarity method). The second method uses an LLM to find a corresponding idiom in the target language for use in the translation (LLM-generated idiom method). As a baseline, we performed a direct translation without providing additional information. Human evaluations on the English -> Chinese, and Chinese -> English show the Cosine Similarity Lookup method out-performed others in all GPT4o translations. To further build upon IdiomKB, we developed a low-resource Urdu dataset containing Urdu idioms and their translations. Despite dataset limitations, the Cosine Similarity Lookup method shows promise, potentially overcoming language barriers and enabling the exploration of diverse literary works in Chinese and Urdu.(LoResLM @ COLING Preprint)

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

↑