An Empirical Study of In-context Learning in LLMs for Machine Translation
Nilekani Centre at AI4Bharat(尼罗卡尼AI4印度中心);IIT Madras(印度理工学院马德拉斯分校);National Institute of Information and Communications Technology(日本情报通信研究机构);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
近期,利用大语言模型(LLMs)通过上下文学习(ICL)进行机器翻译(MT)的兴趣激增(Vilar et al., 2023)。大多数先前的研究主要集中在优化翻译质量,对理解影响该质量的ICL具体方面的关注有限。为此,我们进行了首次此类关于机器翻译上下文学习的详尽研究。我们首先确立ICL主要由示例驱动而非指令驱动。随后,我们对示例的各个方面进行了广泛探索,以理解它们对下游性能的影响。我们的分析包括演示的质量和数量、空间邻近性以及源与目标的原创性等因素。此外,我们还调查了涉及示例间接性和不对齐的挑战性场景,以理解ICL的局限性。虽然我们确立了演示中目标分布质量相对于源分布的重要性,但我们进一步观察到扰动有时充当正则化器,从而带来性能提升。令人惊讶的是,ICL并不需要来自同一任务的示例,具有相同目标分布的相关任务被证明就足够了。我们希望我们的研究能作为在MT中利用ICL的考虑因素的指导资源。我们的代码可在 https://github.com/PranjalChitale/in-context-mt-analysis 获取。
英文摘要:
Recent interest has surged in employing Large Language Models (LLMs) for machine translation (MT) via in-context learning (ICL) (Vilar et al., 2023). Most prior studies primarily focus on optimizing translation quality, with limited attention to understanding the specific aspects of ICL that influence the said quality. To this end, we perform the first of its kind, an exhaustive study of in-context learning for machine translation. We first establish that ICL is primarily example-driven and not instruction-driven. Following this, we conduct an extensive exploration of various aspects of the examples to understand their influence on downstream performance. Our analysis includes factors such as quality and quantity of demonstrations, spatial proximity, and source versus target originality. Further, we also investigate challenging scenarios involving indirectness and misalignment of examples to understand the limits of ICL. While we establish the significance of the quality of the target distribution over the source distribution of demonstrations, we further observe that perturbations sometimes act as regularizers, resulting in performance improvements. Surprisingly, ICL does not necessitate examples from the same task, and a related task with the same target distribution proves sufficient. We hope that our study acts as a guiding resource for considerations in utilizing ICL for MT. Our code is available on https://github.com/PranjalChitale/in-context-mt-analysis.
SASST: Leveraging Syntax-Aware Chunking and LLMs for Simultaneous Speech Translation
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Okinawa Institute of Science and Technology(冲绳科学技術研究院);Nara Institute of Science and Technology(奈良科学技術研究院)
No One Fits All: From Fixed Prompting to Learned Routing in Multilingual LLMs
Department of Computer Science and Information Engineering, National Taiwan University, Taiwan(国立台湾大学计算机科学与资讯工程学系);Institute of Information Science, Academia Sinica, Taiwan(台湾“中央研究院”信息科学研究所);AI Research Center (AINTU), National Taiwan University, Taiwan(国立台湾大学人工智能研究中心)
Language on Demand, Knowledge at Core: Composing LLMs with Encoder-Decoder Translation Models for Extensible Multilinguality
Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences(智能信息处理重点实验室,计算技术研究所,中国科学院);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学,北京,中国)
Building Accurate Translation-Tailored LLMs with Language Aware Instruction Tuning
China University of Petroleum (East China)(中国石油大学(华东));The University of Sydney(悉尼大学);JD Explore Academy(京东探索研究院);Nanyang Technological University(南洋理工大学)
Separating Syntax from Language: A Mechanistic Account of Translation in Multilingual LLMs
Saarland University(萨尔大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Centre for European Research in Trusted AI (CERTAIN)(欧洲可信人工智能研究中心);University of Göttingen(哥廷根大学)
Boosting LLM Translation Skills without General Ability Loss via Rationale Distillation
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Department of Computer Science, University of Illinois at Chicago(芝加哥大学计算机科学系)
Ready to Translate, Not to Represent? Bias and Performance Gaps in Multilingual LLMs Across Language Families and Domains
United International University(国际联合大学);Qatar Computing Research Institute(卡塔尔计算研究所);Amazon GenAI(亚马逊生成人工智能);University of Virginia(弗吉尼亚大学);BRAC University(布拉克大学)
Vuyko Mistral: Adapting LLMs for Low-Resource Dialectal Translation
National Technical University of Ukraine "Igor Sikorsky Kyiv Polytechnic Institute"(乌克兰国家技术大学 "伊戈尔·西科斯基基土夫技术学院");Ukrainian Catholic University(乌克兰天主教大学)
Fine-grained Gender Control in Machine Translation with Large Language Models
LG AI Research(LG AI研究院);Seoul National University(首尔大学);IPAI, Seoul National University(首尔大学IPAI);Institute of Engineering Research, Seoul National University(首尔大学工程研究所)