# Structured Document Translation via Format Reinforcement Learning

Source: [Structured Document Translation via Format Reinforcement Learning](<https://www.sota2.com/research/paper/6932675dd6b0dd3342934593>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-12-12T06:00:01.681Z

Authors: Haiyue Song, Johannes Eschbach-Dymanus, Hour Kaing, Sumire Honda, Hideki Tanaka, Bianka Buschbeck, Masao Utiyama

Published: 2025-12-04T18:58:30.000Z

## Abstract

Recent works on structured text translation remain limited to the sentence level, as they struggle to effectively handle the complex document-level XML or HTML structures. To address this, we propose \\textbf{Format Reinforcement Learning (FormatRL)}, which employs Group Relative Policy Optimization on top of a supervised fine-tuning model to directly optimize novel structure-aware rewards: 1) TreeSim, which measures structural similarity between predicted and reference XML trees and 2) Node-chrF, which measures translation quality at the level of XML nodes. Additionally, we apply StrucAUC, a fine-grained metric distinguishing between minor errors and major structural failures. Experiments on the SAP software-documentation benchmark demonstrate improvements across six metrics and an analysis further shows how different reward functions contribute to improvements in both structural and translation quality.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Machine Translation on SAP software-documentation structured documents En→Ja (test)](<https://www.sota2.com/research/sota/machine-translation-on-sap-software-documentation-structured-documents-en-ja-test.md>): Machine Translation; SAP software-documentation structured documents En→Ja (test); Content-BLEU: 39.3.

- [Machine Translation on SAP software-documentation (structured documents) Ja→En (test)](<https://www.sota2.com/research/sota/machine-translation-on-sap-software-documentation-structured-documents-ja-en-test.md>): Machine Translation; SAP software-documentation (structured documents) Ja→En (test); Content BLEU: 52.79.

- [Structured Document Translation on Inline markup dataset En→Ja](<https://www.sota2.com/research/sota/structured-document-translation-on-inline-markup-dataset-en-ja.md>): Structured Document Translation; Inline markup dataset En→Ja; Content-BLEU: 45.6.

- [Structured Document Translation on Inline markup dataset Ja→En](<https://www.sota2.com/research/sota/structured-document-translation-on-inline-markup-dataset-ja-en.md>): Structured Document Translation; Inline markup dataset Ja→En; Content-BLEU: 37.02.

- [Machine Translation on SAP software-documentation structured documents En→Zh (test)](<https://www.sota2.com/research/sota/machine-translation-on-sap-software-documentation-structured-documents-en-zh-test.md>): Machine Translation; SAP software-documentation structured documents En→Zh (test); Content-BLEU: 49.88.

- [Machine Translation on SAP software-documentation (structured documents) Zh→En (test)](<https://www.sota2.com/research/sota/machine-translation-on-sap-software-documentation-structured-documents-zh-en-test.md>): Machine Translation; SAP software-documentation (structured documents) Zh→En (test); Content BLEU: 56.28.

- [Structured Document Translation on Inline markup dataset En→Zh](<https://www.sota2.com/research/sota/structured-document-translation-on-inline-markup-dataset-en-zh.md>): Structured Document Translation; Inline markup dataset En→Zh; Content-BLEU: 57.7.

- [Structured Document Translation on Inline markup dataset Zh→En](<https://www.sota2.com/research/sota/structured-document-translation-on-inline-markup-dataset-zh-en.md>): Structured Document Translation; Inline markup dataset Zh→En; Content-BLEU: 34.76.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2512.05100>)

[PDF](<https://arxiv.org/pdf/2512.05100.pdf>)
