Self-Modifying State Modeling for Simultaneous Machine Translation

Donglei Yu, Xiaomian Kang, Yuchen Liu, Yu Zhou, Chengqing Zong
6/4/2024
cs.CL

No official code found. Best implementation: EurekaForNLP/SM2 (7 stars, MIT, last commit 2024-06-02).

Abstract

Simultaneous Machine Translation (SiMT) generates target outputs while receiving stream source inputs and requires a read/write policy to decide whether to wait for the next source token or generate a new target token, whose decisions form a \textit{decision path}. Existing SiMT methods, which learn the policy by exploring various decision paths in training, face inherent limitations. These methods not only fail to precisely optimize the policy due to the inability to accurately assess the individual impact of each decision on SiMT performance, but also cannot sufficiently explore all potential paths because of their vast number. Besides, building decision paths requires unidirectional encoders to simulate streaming source inputs, which impairs the translation quality of SiMT models. To solve these issues, we propose \textbf{S}elf-\textbf{M}odifying \textbf{S}tate \textbf{M}odeling (SM$^2$), a novel training paradigm for SiMT task. Without building decision paths, SM$^2$ individually optimizes decisions at each state during training. To precisely optimize the policy, SM$^2$ introduces Self-Modifying process to independently assess and adjust decisions at each state. For sufficient exploration, SM$^2$ proposes Prefix Sampling to efficiently traverse all potential states. Moreover, SM$^2$ ensures compatibility with bidirectional encoders, thus achieving higher translation quality. Experiments show that SM$^2$ outperforms strong baselines. Furthermore, SM$^2$ allows offline machine translation models to acquire SiMT ability with fine-tuning.

View on arXivView PDF

Code Implementations(1)

EurekaForNLP/SM2Community100%
MIT

Source Code for ACL 2024 main conference paper "Self-Modifying State Modeling for Simultaneous Machine Translation".

71C++, LuaMay 27, 20242 years agoMIT

Cite this paper

@article{yu2024selfmodifying,
  title  = {Self-Modifying State Modeling for Simultaneous Machine Translation},
  author = {Donglei Yu and Xiaomian Kang and Yuchen Liu and Yu Zhou and Chengqing Zong},
  year   = {2024},
  eprint = {2406.02237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.02237v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.02237.svg)](https://codeofpaper.com/paper/2406.02237)

Discussion