🤖 AI Summary
Large language models (LLMs) struggle with modeling cross-sentence/paragraph dependencies and maintaining discourse coherence in document-level machine translation. To address this, we propose DocBlocks—the first high-quality, fine-grained document-level parallel corpus—and a multi-paradigm fine-tuning framework that unifies instruction-driven document-to-document translation with context-aware chunked translation, jointly optimizing long-range dependency modeling and sentence-level fidelity. Our approach overcomes key limitations of conventional prompt engineering and agent-based architectures in both coherence preservation and inference efficiency. Experiments demonstrate substantial improvements on document-level translation: +2.1 BLEU and +4.3 COMET scores over strong baselines; 3.2× faster inference than agent-based methods; and competitive sentence-level translation performance.
📝 Abstract
Large language models (LLMs) have demonstrated strong performance in sentence-level machine translation, but scaling to document-level translation remains challenging, particularly in modeling long-range dependencies and discourse phenomena across sentences and paragraphs. In this work, we propose a method to improve LLM-based long-document translation through targeted fine-tuning on high-quality document-level data, which we curate and introduce as DocBlocks. Our approach supports multiple translation paradigms, including direct document-to-document and chunk-level translation, by integrating instructions both with and without surrounding context. This enables models to better capture cross-sentence dependencies while maintaining strong sentence-level translation performance. Experimental results show that incorporating multiple translation paradigms improves document-level translation quality and inference speed compared to prompting and agent-based methods.