Neural Fuzzy Repair: Integrating Fuzzy Matches into Neural Machine Translation

Bram Bulté, Arda TezcanACL 2019

Introduction

Professional translation workflows have long relied on Translation Memories (TM) for consistency and efficiency. While Neural Machine Translation (NMT) has advanced significantly, integrating these two paradigms has historically required complex architectural modifications. This paper, presented at ACL 2019, introduces Neural Fuzzy Repair (NFR), an architecture-agnostic approach that leverages the strengths of TM within a standard NMT pipeline through simple source augmentation.

Methodology: Source Augmentation and Retrieval

The core of NFR is a "plug-and-play" preprocessing step. Instead of feeding only the source sentence $s_i$ to the NMT model, the system retrieves the most similar sentence from a TM. If a match exceeds a similarity threshold (e.g., 50%), its corresponding translation $t'_1$ is concatenated to the source:

Source Sentence @@@ Fuzzy Match Translation

This augmented input allows the NMT model to treat the fuzzy match as a template or "hint," learning to "repair" it to match the current source sentence.

Retrieval Optimization

A significant challenge in TM integration is the computational cost of calculating edit distances across large databases. The authors optimized this process using SetSimilaritySearch, which drastically reduces the search space without sacrificing match quality.

Retrieval efficiency of optimized search methods compared to brute-force edit distance (ed).

As shown in the optimization results, the refined approach (sss_n20+ed(16t)) reduces retrieval time to just 0.25% of the original brute-force method, making the system viable for real-time professional translation environments.

Experimental Setup

The system was evaluated on the DGT-TM dataset, focusing on English-to-Dutch (EN-NL) and English-to-Hungarian (EN-HU). The models were trained using a standard bidirectional RNN with global attention, comparing "Dedicated" systems (trained only on matches) and "Unified" systems (trained on mixed data).

Results and Analysis

NFR demonstrated consistent and substantial improvements over baseline NMT and commercial systems. For EN-NL, the best NFR system achieved a BLEU score of 58.91, representing a +7.46 point increase over the baseline. Improvements were even more pronounced for the morphologically rich EN-HU pair (+7.77 points).

Robustness to TM Size

A key finding of the study is the system's resilience to smaller translation memories. The NFR approach maintains high performance even when the available TM is significantly reduced.

Performance of Unified NFR compared to NMT baseline across varying Translation Memory sizes.

As illustrated in the figure, the NFR system trained on only 12.5% (1/8th) of the TM still outperforms a baseline NMT model trained on the full dataset (100% size). This suggests that the quality of the retrieved "hint" is a more critical factor for translation quality than the sheer volume of training data.

Conclusion

Neural Fuzzy Repair provides a remarkably simple yet powerful method for bridging the gap between TM and NMT. By treating NMT as an "automatic post-editor" or "repairman," the approach achieves state-of-the-art results without requiring complex architectural changes, making it highly practical for industrial applications.

Summary updated

BibTeX
@inproceedings{bulte2019neural,
  author = {Bram Bulté and Arda Tezcan},
  title = {{Neural Fuzzy Repair: Integrating Fuzzy Matches into Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1175},
}
Figure