In-context Learning as Maintaining Coherency: A Study of On-the-fly Machine Translation Using Large Language Models
The phenomena of in-context learning has typically been thought of as "learning from examples". In this work which focuses on Machine Translation, we present a perspective of in-context learning as the desired generation task maintaining coherency with its context, i.e., the prompt examples. We first investigate randomly sampled prompts across 4 domains, and find that translation performance improves when shown in-domain prompts. Next, we investigate coherency for the in-domain setting, which uses prompt examples from a moving window. We study this with respect to other factors that have previously been identified in the literature such as length, surface similarity and sentence embedding similarity. Our results across 3 models (GPTNeo2.7B, Bloom3B, XGLM2.9B), and three translation directions (\texttt{en}$\rightarrow$\{\texttt{pt, de, fr}\}) suggest that the long-term coherency of the prompts and the test sentence is a good indicator of downstream translation performance. In doing so, we demonstrate the efficacy of In-context Machine Translation for on-the-fly adaptation.
Code (0)
등록된 구현이 없습니다.
Tasks
In-Context LearningMachine TranslationSentenceSentence EmbeddingSentence-EmbeddingTranslationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Modeling Coherency in Generated Emails by Leveraging Deep Neural Learners
Advanced machine learning and natural language techniques enable attackers to launch sophisticated and targeted social engineering-based attacks. To counter the active attacker issue, researchers have since resorted to p…
Text GenerationCoherency through formalisations of Structured Natural Language, A case study on FRETish
Formalisation is the process of writing system requirements in a formal language. These requirements mostly originate in Natural Language. In the field of Formal Methods, formalisation is often identified as one of the m…
Efficient Machine Translation with a BiLSTM-Attention Approach
With the rapid development of Natural Language Processing (NLP) technology, the accuracy and efficiency of machine translation have become hot topics of research. This paper proposes a novel Seq2Seq model aimed at improv…
DecoderMachine TranslationTranslationGender-specific Machine Translation with Large Language Models
While machine translation (MT) systems have seen significant improvements, it is still common for translations to reflect societal biases, such as gender bias. Decoder-only Large Language Models (LLMs) have demonstrated …
coreference-resolutionCoreference ResolutionDecoderIn-Context Learning+3Source-primed Multi-turn Conversation Helps Large Language Models Translate Documents
LLMs have paved the way for truly simple document-level machine translation, but challenges such as omission errors remain. In this paper, we study a simple method for handling document-level machine translation, by leve…
Document Level Machine TranslationMachine TranslationTranslation