Document-Level and Context-Aware Translation › Summary
Michael BrenndoerferNovember 25, 20262 min read
Language AI HandbookAll chapters - A model given only the current sentence receives no earlier sentence as input. Include context when the translation depends on an earlier term choice, antecedent, or form of address.
- Report term accuracy, term consistency, and term coverage separately.
- Glossaries supply terms for constrained decoding, placeholder protection, or training methods such as source tagging. Translation-memory examples can support fine-tuning or inference-time retrieval, as in the indexed kNN-MT example.
- Hard lexical constraints enforce phrase presence in accepted outputs. Soft constraints can favor a term while leaving room for a more natural alternative. Check alignment when you need consistency for every source occurrence.
- Test pronoun and discourse choices with examples whose disambiguating cues occur in another sentence.
- Architectures for context include concatenation, multi-encoder models, hierarchical models, caches, and long-context LLMs. Each has different costs and failure modes, and more context is not always better.
- Document memory can be implemented with TM retrieval, adaptive MT, or prompt-based glossary and style sheets in LLM pipelines.
- Evaluation is the weak link. Document BLEU and document COMET capture some cross-sentence effects, but terminology metrics and human evaluation remain essential. Watch for contamination in long-document benchmarks.
- Report targeted discourse results alongside aggregate translation scores. Within each test, compare systems on the same examples. Name each test set and describe what you know about overlap.
- Read the translated document as a whole to check relationships that individual segment reviews can miss.
The next chapter, Speech-to-Speech Translation, covers streaming, latency, and how recognition errors can propagate into translation.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!