Skip to main content
QUICK REVIEW

[Paper Review] Improving Zero-Shot Translation by Disentangling Positional Information

Danni Liu, Jan Niehues|Repository KITopen (Karlsruhe Institute of Technology)|Dec 30, 2020
Natural Language Processing TechniquesComputer Science33 references11 citations
TL;DR

This paper proposes a simple architectural modification—removing residual connections in a single middle encoder layer—to improve zero-shot translation by disentangling positional information from input tokens. The method enhances cross-lingual generalization, yielding up to 18.5 BLEU point gains on zero-shot translation while enabling seamless integration of new languages without retraining.

ABSTRACT

Multilingual neural machine translation has shown the capability of directly translating between language pairs unseen in training, i.e. zero-shot translation. Despite being conceptually attractive, it often suffers from low output quality. The difficulty of generalizing to new translation directions suggests the model representations are highly specific to those language pairs seen in training. We demonstrate that a main factor causing the language-specific representations is the positional correspondence to input tokens. We show that this can be easily alleviated by removing residual connections in an encoder layer. With this modification, we gain up to 18.5 BLEU points on zero-shot translation while retaining quality on supervised directions. The improvements are particularly prominent between related languages, where our proposed model outperforms pivot-based translation. Moreover, our approach allows easy integration of new languages, which substantially expands translation coverage. By thorough inspections of the hidden layer outputs, we show that our approach indeed leads to more language-independent representations.

Motivation & Objective

  • To address the poor performance of zero-shot translation in multilingual neural machine translation systems.
  • To investigate why standard models fail to generalize to unseen language pairs during zero-shot inference.
  • To develop a method that promotes language-agnostic representations by reducing positional dependence on input tokens.
  • To enable efficient integration of new languages into existing multilingual models with minimal data.
  • To demonstrate that structural modifications in the encoder can significantly improve zero-shot translation quality.

Proposed method

  • The method involves removing residual connections in a single middle encoder layer to break the one-to-one positional correspondence between input tokens and hidden states.
  • This modification allows the encoder to reorganize word representations freely, reducing language-specific encoding patterns.
  • The approach is applied to a standard Transformer-based multilingual NMT model with minimal architectural changes.
  • The model is trained on a multilingual dataset with supervised directions, and zero-shot translation is evaluated without further fine-tuning.
  • Positional embeddings are retained, but the model is designed to be robust to their form, ensuring generalization across languages.
  • The method enables easy extension to new languages by finetuning only on the new language’s parallel data, preserving zero-shot capability to all other languages.
Figure 1: An example of language-specific encoder outputs as a results of the strong positional correspondence to input tokens (even assuming the word embeddings are cross-lingually mapped).
Figure 1: An example of language-specific encoder outputs as a results of the strong positional correspondence to input tokens (even assuming the word embeddings are cross-lingually mapped).

Experimental results

Research questions

  • RQ1Why do standard multilingual NMT models perform poorly in zero-shot translation despite shared parameters?
  • RQ2To what extent does the positional correspondence between input tokens and encoder hidden states hinder cross-lingual generalization?
  • RQ3Can removing residual connections in a single encoder layer improve zero-shot translation quality without degrading supervised performance?
  • RQ4How does the proposed method affect the language-independence of hidden representations at both token and sentence levels?
  • RQ5Can the model support rapid integration of new languages while maintaining zero-shot translation capability?

Key findings

  • Removing residual connections in one middle encoder layer improves zero-shot translation performance by up to 18.5 BLEU points.
  • The improvement is most significant for related language pairs, where the model outperforms pivot-based translation.
  • The modified model produces more language-independent representations, as confirmed by analysis of hidden layer outputs.
  • The method enables easy integration of new languages with minimal data, expanding translation coverage by 2N language pairs when N languages are already supported.
  • The model maintains high performance on supervised translation directions, indicating no degradation in primary training objectives.
  • The approach is robust to different positional embedding schemes, including both learned and sinusoidal embeddings.
Figure 2: Illustrations of our proposed modifications to an original encoder layer: dropping residual connections once ( $\S$ 2.1 ); making attention query based on position encoding ( $\S$ 2.2 ). Before each self-attention (SA) and feed forward (FF) layer we apply layer normalization, which is not
Figure 2: Illustrations of our proposed modifications to an original encoder layer: dropping residual connections once ( $\S$ 2.1 ); making attention query based on position encoding ( $\S$ 2.2 ). Before each self-attention (SA) and feed forward (FF) layer we apply layer normalization, which is not

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.