pith. sign in

arxiv: 2406.07081 · v1 · pith:PIY4XFMOnew · submitted 2024-06-11 · 💻 cs.CL

Efficiently Exploring Large Language Models for Document-Level Machine Translation with In-context Learning

classification 💻 cs.CL
keywords translationin-contextlearningllmssentencestranslationscoherentcohesive
0
0 comments X
read the original abstract

Large language models (LLMs) exhibit outstanding performance in machine translation via in-context learning. In contrast to sentence-level translation, document-level translation (DOCMT) by LLMs based on in-context learning faces two major challenges: firstly, document translations generated by LLMs are often incoherent; secondly, the length of demonstration for in-context learning is usually limited. To address these issues, we propose a Context-Aware Prompting method (CAP), which enables LLMs to generate more accurate, cohesive, and coherent translations via in-context learning. CAP takes into account multi-level attention, selects the most relevant sentences to the current one as context, and then generates a summary from these collected sentences. Subsequently, sentences most similar to the summary are retrieved from the datastore as demonstrations, which effectively guide LLMs in generating cohesive and coherent translations. We conduct extensive experiments across various DOCMT tasks, and the results demonstrate the effectiveness of our approach, particularly in zero pronoun translation (ZPT) and literary translation tasks.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. G^2C-MT: Graph-Guided Context Selection for Document-Level Machine Translation

    cs.CL 2026-06 unverdicted novelty 6.0

    G^2C-MT frames DocMT context selection as path discovery on a discourse graph with semantic, adjacency, and keyword edges, using depth-biased random walks to sample context for LLM translation and reports outperforman...