JASS: Japanese-specific Sequence to Sequence Pre-training for Neural Machine Translation

Zhuoyuan Mao, Fabien Cromieres, Raj Dabre, Haiyue Song, Sadao KurohashiarXiv 2020

TL;DR

JASS (Japanese-specific Sequence to Sequence) is a novel pre-training method that injects Japanese syntactic knowledge—specifically "bunsetsu" units—into Neural Machine Translation (NMT) models. By combining bunsetsu-based masking and reordering tasks, JASS significantly boosts translation quality in low-resource settings, especially when used alongside standard language-agnostic pre-training like MASS.

What Problem Does This Paper Address?

Neural Machine Translation (NMT) is notoriously data-hungry, typically requiring millions of parallel sentences to achieve high quality. For many language pairs involving Japanese, such large datasets simply don't exist. While general pre-training methods like MASS (Masked Sequence to Sequence) leverage abundant monolingual data, they are "language-agnostic"—they treat sentences as sequences of random tokens.

This approach ignores the rich syntactic structure of Japanese, which is well-understood and easily extracted using mature linguistic analyzers. The authors aim to bridge this gap by creating a pre-training objective that is aware of Japanese linguistic units, helping models learn the "rules" of the language before they ever see a single translated sentence.

Methods

The authors introduce JASS, which combines two new pre-training tasks centered around the bunsetsu—a basic Japanese syntactic unit roughly equivalent to a noun or verb chunk.

Figure 1: Word and bunsetsu segmentations for a Japanese sentence with the meaning “LoveLive is made of three projects.” Below is the English version translated word-for-word, where “ ” represents the meaningless segmented parts.
  1. BMASS (Bunsetsu-based MASS): Standard MASS masks random spans of tokens. BMASS specifically masks spans that correspond to entire bunsetsus. This forces the model to learn how to reconstruct meaningful, self-contained semantic units from their context, rather than just guessing missing words.
  2. BRSS (Bunsetsu Reordering Sequence to Sequence): This task addresses the structural differences between Japanese (typically Subject-Object-Verb) and languages like English (Subject-Verb-Object). The model is trained to "un-reorder" a Japanese sentence that has been artificially transformed into a pseudo-SVO structure back into its original form.

JASS is a joint execution of these two tasks. The authors also explore MASS+JASS, a multi-task approach that combines standard token-level masking with these linguistically-motivated objectives to get the best of both worlds.

Datasets

  • Monolingual Data: Approximately 22 million sentences each for Japanese (Common Crawl), English (News Crawl), and Russian (News Crawl) were used for the initial pre-training phase.
  • Parallel Data (for fine-tuning):
    • ASPEC (Japanese–English): A scientific abstract corpus. The authors tested various training sizes from 1,000 to 1,000,000 sentences to simulate different resource levels.
  • JaRuNC (Japanese–Russian): A news commentary corpus with only ~12,000 parallel sentences, representing a realistic, difficult low-resource scenario.
  • Tools: The Jumanpp tokenizer and KNP parser were used to identify bunsetsu boundaries in the Japanese text.

Key Insights and Ideas

  • Syntactic Chunks > Random Tokens: Masking meaningful linguistic units (bunsetsus) provides a more effective training signal than masking arbitrary token spans. It helps the model capture the "minimal units of meaning" essential for translation.
  • Structural Awareness: Explicitly training for reordering (BRSS) prepares the model for the heavy structural shifts required when translating between Japanese and SVO languages like English or Russian.
  • Complementary Knowledge: Perhaps the most significant finding is that JASS and MASS are complementary. MASS helps the model learn general language modeling, while JASS provides specific structural and syntactic "hints."
  • Low-Resource Hero: The benefits of JASS are most pronounced in low-resource settings (3k to 50k parallel sentences), where the model has less opportunity to learn these structures from parallel data alone.

Key Results

The experimental results demonstrate that JASS is a powerful alternative to standard pre-training:

  • Outperforming MASS: In Japanese-to-English translation with 3K to 50K parallel sentences, JASS significantly outperformed standard MASS.
  • The Power of Combination: The MASS+JASS model achieved the highest BLEU scores across most settings. For example, in the 10K Ja-En setting, MASS+JASS reached 16.09 BLEU, a significant jump over the 15.16 achieved by MASS alone.
  • Low-Resource Success: On the difficult Japanese-Russian pair (JaRuNC), JASS and MASS+JASS showed clear improvements over both the supervised baseline and standard MASS.
Table 4: BLEU scores for Ja-En translation. MASS+JASS consistently provides the best results in low-resource scenarios.

Limitations and Future Work

  • Domain Mismatch: The pre-training was done on general web/news data, while fine-tuning often happened on scientific data (ASPEC). The authors believe this domain mismatch might be limiting potential gains and plan to explore domain adaptation.
  • Language Scope: Currently, JASS is specific to Japanese. However, the underlying philosophy—leveraging language-specific syntactic units for pre-training—could be applied to other languages with similar linguistic properties.
  • Qualitative Analysis: While BLEU scores are promising, the authors note that human evaluation is necessary to truly understand how these syntactic "hints" change the fluency and accuracy of the generated translations.

Summary updated

Abstract

Neural machine translation (NMT) needs large parallel corpora for state-of-the-art translation quality. Low-resource NMT is typically addressed by transfer learning which leverages large monolingual or parallel corpora for pre-training. Monolingual pre-training approaches such as MASS (MAsked Sequence to Sequence) are extremely effective in boosting NMT quality for languages with small parallel corpora. However, they do not account for linguistic information obtained using syntactic analyzers which is known to be invaluable for several Natural Language Processing (NLP) tasks. To this end, we propose JASS, Japanese-specific Sequence to Sequence, as a novel pre-training alternative to MASS for NMT involving Japanese as the source or target language. JASS is joint BMASS (Bunsetsu MASS) and BRSS (Bunsetsu Reordering Sequence to Sequence) pre-training which focuses on Japanese linguistic units called bunsetsus. In our experiments on ASPEC Japanese--English and News Commentary Japanese--Russian translation we show that JASS can give results that are competitive with if not better than those given by MASS. Furthermore, we show for the first time that joint MASS and JASS pre-training gives results that significantly surpass the individual methods indicating their complementary nature. We will release our code, pre-trained models and bunsetsu annotated data as resources for researchers to use in their own NLP tasks.
BibTeX
@misc{mao2020jass,
  author = {Zhuoyuan Mao and Fabien Cromieres and Raj Dabre and Haiyue Song and Sadao Kurohashi},
  title = {{JASS: Japanese-specific Sequence to Sequence Pre-training for Neural Machine Translation}},
  year = {2020},
  eprint = {2005.03361},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.03361},
}

Loading related content...

Figure