TL;DR
UDAAN is an open-source, end-to-end post-editing tool designed to bridge the gap between raw machine translation and publishable-quality documents, specifically for Indic languages. By integrating OCR, domain-specific lexical constraints, and an interactive editing interface, it speeds up the translation process by a factor of three compared to traditional methods.
What Problem Does This Paper Address?
While Neural Machine Translation (NMT) has improved significantly, it still falls short of human-level nuance and accuracy. Professional translators often perform "Post-Editing" (PE) to refine MT output, but this process is frequently cumbersome.
The authors identify several major pain points in current workflows:
- Format Friction: Many documents exist as non-editable PDFs or images, requiring a separate, error-prone OCR step before translation can even begin.
- Domain Drift: Standard NMT models often struggle with technical or domain-specific terminology (e.g., legal or medical terms).
- Consistency: Manually ensuring that a specific term is translated consistently across a 50-page document is mentally taxing for human editors.
- Cognitive Load: Switching between source and target text windows makes it difficult to maintain context.
Methods
UDAAN (which means "flight" in Hindi) provides a unified pipeline to tackle these issues:
- Integrated OCR: The tool uses a fine-tuned version of Tesseract (LSTM-based) specifically optimized for Devanagari scripts, allowing users to upload PDFs or images directly.
- Lexically Constrained Translation: Instead of just providing a generic translation, UDAAN allows users to "plug in" domain-specific dictionaries. The NMT model (a Transformer-based architecture) is trained to ingest these lexicons probabilistically during the decoding stage, ensuring technical terms are handled correctly from the start.
- Word & Sentence Alignment: Using AwesomeAlign (a tool based on multilingual BERT), UDAAN creates a visual map between source and target sentences. When a user hovers over a sentence in one language, the corresponding sentence in the other language highlights automatically.
- Interactive Post-Editing: The editor tracks user edits. If a user changes a word, the tool suggests "global replacements" across the entire document to maintain consistency.
- Offline-First Workflow: Recognizing that translators often work in areas with spotty internet, the tool is available for Windows and Linux and uses Git for version control and synchronization.
Datasets
- Samanantar Corpus: The NMT models were trained on this massive dataset, consisting of 8.46 million parallel English-Hindi sentence pairs.
- In-domain Dictionaries: The system supports over 100 specialized dictionaries for fields like Physics, Mathematics, and Banking to guide the lexically constrained translation.
Key Insights and Ideas
- MT as a Starting Point, Not an End: The "aha moment" here is treating MT not as a final product, but as a high-quality "draft" that is tightly coupled with the editing interface.
- Reducing "Over-Recycling": Traditional Translation Memory (TM) tools can lead to repetitive, stale translations. By allowing users to ingest lexicons during the MT generation phase (rather than just doing a find-and-replace afterward), UDAAN produces more natural, domain-aware initial drafts.
- Visual Context Matters: By mapping OCR bounding boxes to unique IDs in the translation, the tool preserves the original document's formatting (tables, equations, images), which significantly reduces the "re-formatting" overhead that usually follows translation.
Key Results
The researchers conducted a user study with participants translating documents in Finance, Technical, and Literature domains. They compared UDAAN against translating from scratch (MS-Word) and editing raw MT output in a basic editor (MT-Only).
- 3x Speedup: On average, UDAAN reduced translation time by approximately 66%. For example, a technical document that took 94.7 minutes to translate in Word took only 27.0 minutes using UDAAN.
- Higher Consistency: The standard deviation of translation time was significantly lower with UDAAN, suggesting that the tool makes the translation process more predictable and less dependent on an individual's idiosyncratic speed.
- Format Retention: The tool successfully exported post-edited documents into multiple formats (docx, LaTeX, PDF) while maintaining the original layout.
Limitations and Future Work
While the tool is language-agnostic in design, the current experiments and fine-tuned OCR models are focused primarily on English-to-Hindi translation.
Future iterations aim to:
- Improve Replacement Logic: Move beyond simple string replacement to "morphologically-aware" suggestions (e.g., ensuring that if a noun is replaced, the surrounding verbs and adjectives in Indic languages are updated to match the correct gender/number/case).
- Web-based Interface: Transitioning from a desktop-only tool to a full web interface to allow for easier collaboration.
- Continuous Learning: Implementing a pipeline where the NMT model improves in real-time based on the edits a human translator makes.
Summary updated