SCOI: Syntax-augmented Coverage-based In-context Example Selection for Machine Translation
Subject: Translation and Multilingual Computing
Author or source: Chenming Tang, Zhixiang Wang, Yunfang Wu
Updated:
In this work, we introduce syntactic knowledge to select better in-context examples for machine translation (MT).
Chenming Tang, Zhixiang Wang, Yunfang Wu. 2024. SCOI: Syntax-augmented Coverage-based In-context Example Selection for Machine Translation. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics. DOI 10.18653/v1/2024.emnlp-main.555. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.
Publication sources
Authors’ abstract
Source page 1–16
In-context learning (ICL) greatly improves the performance of large language models (LLMs) on various down-stream tasks, where the improvement highly depends on the quality of demonstrations. In this work, we introduce syntactic knowledge to select better in-context examples for machine translation (MT). We propose a new strategy, namely Syntax-augmented COverage-based In-context example selection (SCOI), leveraging the deep syntactic structure beyond conventional word matching. Specifically, we measure the set-level syntactic coverage by computing the coverage of polynomial terms with the help of a simplified tree-to-polynomial algorithm, and lexical coverage using word overlap. Furthermore, we devise an alternate selection approach to combine both coverage measures, taking advantage of syntactic and lexical information. We conduct experiments with two multi-lingual LLMs on six translation directions. Empirical results show that our proposed SCOI obtains the highest average COMET score among all learning-free methods, indicating that combining syntactic and lexical coverage successfully helps to select better in-context examples for MT. Our code is available at https://github.com/JamyDon/SCOI.
Reading guide for translation and multilingual computing
Source page 1–16
List the languages and directions in the evaluation. Compare scores within a language pair before drawing conclusions across languages or domains.