How to Translate a Research Paper PDF and Keep the Formulas
October 16, 2026 · Oyren AI Team (AI-written)
Recommendation: A layout-preserving translator finds the text blocks on each page, protects the formulas, translates the prose and draws it back into the original boxes, and each of those four steps has a documented way to fail. A side-by-side check of equation numbers, terminology, layout flags and references catches those failures before a translated paper is quoted or cited.
Choose or create a workspace, upload a PDF and open it from the file list.
How layout-preserving PDF translation works
Copying paragraphs out of a research PDF into a chat window translates the prose at the cost of the document structure: multi-column flow, equation numbers, figure callouts, and table positions disappear. Layout-preserving PDF translators keep the page geometry intact by running every page through a four-stage pipeline:
In the first stage, a layout-detection model segments each page into body paragraphs, titles, displayed equations, tables, figures, and captions; PDFMathTranslate (Ouyang, Chu, Xin and Ma, EMNLP 2025 System Demonstrations) uses DocLayout-YOLO for this segmentation step. In the second stage, formulas and symbolic spans are replaced with placeholders so the translation model cannot alter them; BabelDOC (Qi Yang, Xiangyao Ma, Xiao Wang, Hao Wang and Rui Wang, ACL 2026 System Demonstrations) extends this stage with terminology extraction, cross-page context windows, and glossary-constrained decoding. In the third stage, prose blocks are sent to a neural machine translation service or large language model (PDFMathTranslate connects to more than 23 backends, including DeepL, Google Translate, and local Ollama models). In the fourth stage, the translated blocks are re-typeset into the original bounding boxes, scaling font size or line spacing so longer target-language sentences do not overlap adjacent figures.
As the PDFMathTranslate authors note, overall output quality still depends on the underlying translation model and prompt, bounding-box fidelity depends on the layout detector, and scanned PDFs require accurate OCR before the pipeline can run.
Measuring translation quality
Evaluating a translated research paper requires combining five complementary families of metrics because no single score captures prose accuracy, domain terminology, and page geometry together.
Surface overlap metrics such as BLEU (Papineni, Roukos, Ward and Zhu, ACL 2002) count n-gram matches against a reference translation, which is fast to compute on benchmarks even though valid technical paraphrases can score poorly. Learned neural metrics such as COMET (Rei, Stewart, Farinha and Lavie, EMNLP 2020) score candidate translations with a multilingual model trained on human quality ratings while inspecting both the source and reference sentences.
Human error taxonomies use Multidimensional Quality Metrics (MQM), where professional translators tag errors by category and severity; Freitag, Foster, Grangier et al. (TACL 2021) demonstrated that expert MQM annotations rank machine translation systems differently from crowd-worker ratings, and the WMT25 general translation task (Kocmi, Artemova, Avramidis et al., 2025) moved evaluation onto harder, multi-paragraph documents under the title "Time to Stop Evaluating on Easy Test Sets".
Downstream comprehension tests check whether key scientific facts survive translation: in Science Across Languages (Calzi Kleidermacher and Zou, Findings of EACL 2026), an LLM generated multiple-choice comprehension questions from six English articles and answered them solely from translations across 28 languages, with GPT-4o averaging 95.9% accuracy (ranging from 91.7% in Tamil to 98.0% in Swedish).
Finally, layout-specific metrics in BabelDOC measure bounding-box intersection-over-union (BIoU) and count untranslated blocks per page alongside 1-to-5 human ratings on a 200-page benchmark of research papers, technical manuals, and patents:
| Human rating (1 to 5) | DeepL (document) | PDFMathTranslate | BabelDOC |
|---|---|---|---|
| Human rating (1 to 5)Layout fidelity | DeepL (document)3.44 | PDFMathTranslate3.29 | BabelDOC4.59 |
| Human rating (1 to 5)Translation precision | DeepL (document)3.62 | PDFMathTranslate3.40 | BabelDOC4.28 |
| Human rating (1 to 5)Terminology consistency | DeepL (document)4.21 | PDFMathTranslate3.34 | BabelDOC4.47 |
| Human rating (1 to 5)Untranslated blocks per page (lower is better) | DeepL (document)2.33 | PDFMathTranslate6.25 | BabelDOC2.85 |
In the first three rows higher scores indicate better human ratings, while the fourth row counts missed blocks per page. Because BabelDOC and PDFMathTranslate share an author and were evaluated on the authors' own benchmark, the table reflects one research group's evaluation setup.
Known failure modes
Empirical evaluations of scientific PDF translation highlight five recurring failure patterns across models and layout engines.
First, language models occasionally drop entire equations or tables during generation. In the Science Across Languages appendix, each model translated 24 structured scientific articles into 10 languages (240 translations per model):
Out of 240 translated documents per model, GPT-4o omitted at least one equation or table in 2 documents, Llama 3.3 70B in 53 documents, and Qwen 2.5 72B in 168 documents. Because an omitted block leaves no visible syntax error in the prose, only a direct count against the source PDF reveals the missing equation or table.
Second, domain terminology is frequently overtranslated or rendered inconsistently across sections. In the same study's author survey, 13 of 15 researchers reading their own papers translated into their native languages flagged awkward technical phrasing, 5 of 15 objected to translating standard English terms of art, and 2 observed the same technical term translated two different ways within one paper when sections were translated in separate batches. In BabelDOC's ablation study, stripping out glossary and cross-page context control reduced terminology consistency from 5.00 to 3.00.
Third, target-language expansion overflows fixed bounding boxes: disabling adaptive typesetting in BabelDOC's ablation dropped layout fidelity from 4.50 to 3.00 as longer sentences collided with figures or clipped at box margins.
Fourth, spatial grounding between text and page coordinates can drift. Across 3,956 PDFs in 15 language pairs, the ForMaT dataset (Ciesiółka, Wiśniewski, Charkiewicz and Guttmann, EAMT 2026) showed that current document translation pipelines still struggle to preserve the exact spatial relationship between prose callouts and surrounding layout elements.
Fifth, bibliography entries are rarely protected by default: if a translation model transliterates author names, translates a journal title, or corrupts a DOI string in the reference list, readers can no longer look up the cited work.
One passage, five checks
Applying five visual checks to a single technical sentence exposes each of those failure modes without requiring fluency in the target language. Consider this illustrative machine-learning sentence:
The objective in Eq. (3),
L(θ) = Σᵢ ℓ(f_θ(xᵢ), yᵢ), is minimized with Adam (Kingma and Ba, 2015) at a learning rate of 3e-4, as in Table 2.
| Element in the source | Check in the translation | Failure it catches |
|---|---|---|
Element in the sourceEq. (3) | Check in the translationThe number (3) is unchanged and points to the same equation | Failure it catchesDropped or renumbered equation |
Element in the sourceL(θ) = Σᵢ ℓ(f_θ(xᵢ), yᵢ) | Check in the translationEvery symbol and subscript is identical to the source | Failure it catchesFormula sent to the translator without placeholder protection |
Element in the sourceAdam | Check in the translationKept as the optimizer's name, not translated as a word | Failure it catchesOvertranslated term |
Element in the source(Kingma and Ba, 2015) | Check in the translationNames and year exactly as printed | Failure it catchesAltered reference |
Element in the source3e-4, Table 2 | Check in the translationNumber and table label unchanged | Failure it catchesChanged number or lost table link |
Comparing those five invariants side by side on the original and translated pages verifies that equation numbers, mathematical symbols, proper method names, author-year citations, and hyperparameter values survived intact.
A review workflow that catches the errors
Reviewing a full translated paper follows the four verification branches and citation rule summarized below:
Clarifying the reading goal comes first: skimming a paper for background tolerates minor phrasing quirks, whereas quoting a passage, extracting benchmark numbers, or verifying a proof requires checking the original published PDF. Before translating a scanned paper, running OCR ensures a real text layer is present. Supplying a 10- to 20-term domain glossary keeps standard English method names and abbreviations consistent. Once the translation finishes, verifying that equation numbers (1) through (n) and all table and figure numbers match the source catches dropped blocks, and inspecting any flagged overflow or font-substitution regions resolves layout collisions. Above all, every direct quotation, reported number, and bibliographic citation in a manuscript is taken from the original publication.
Translating a paper in Oyren
The Oyren PDF Translator runs directly inside the workspace PDF viewer across 27 languages and incorporates explicit guards for the failure modes above. Regions classified as displayed equations, formulas, code blocks, or figures bypass the translation model completely. Inside body paragraphs, numbers, URLs, email addresses, and inline code spans are locked as protected tokens, and any block whose translation modifies a locked token is rejected automatically. Translated text stays in its own column: a longer passage first takes the free width beside it, up to the column's edge or the next block on its line, and wraps into the space below only where its alignment holds. Only then does it shrink, evenly and down to a 60 percent floor, and any block that still does not fit is flagged as overflow in the review list alongside blocks that required Noto fallback fonts. The translated result opens as an interactive preview where individual blocks can be retried or applied, and Save as new PDF writes a separate file next to the untouched original in the workspace.
When a research paper is a raster scan, workspace OCR prepares editable text blocks before translation begins, using standard AI credits. For equation-heavy scans, the OCR for scientific PDFs with equations article details how mathematical notation is handled. Opening any paper in a workspace places Translate right in the PDF toolbar alongside free Oyren Docs notes.
Common questions on translating research paper PDFs
Formula protection in layout-preserving translators
Layout-preserving translators detect mathematical regions and swap them for placeholders prior to translation so formulas are restored verbatim afterward. Errors only occur when the layout detector misclassifies an inline or displayed formula as ordinary prose.
Choosing evaluation metrics for translated papers
Because n-gram overlap (BLEU), neural quality estimation (COMET), comprehension quizzes, and bounding-box IoU each measure a single dimension, combining automated metrics with the five-point invariant check on equation numbers, symbols, method names, citations, and numerical values gives the most reliable check.
Independence of the BabelDOC benchmark ratings
BabelDOC and PDFMathTranslate share an author and were scored on the authors' own 200-page benchmark, so those ratings represent a single team's experimental comparison.
Citing a translated research paper
A translated PDF serves as a reading companion; published citations, direct quotations, theorem numbers, and benchmark tables should always reference the original paper in its language of publication.
Choose or create a workspace, upload a PDF and open it from the file list.
Open a PDF workspace