---
title: "Modeling Voting for System Combination in Machine Translation"
authors:
  - "Xuancheng Huang"
  - "Jiacheng Zhang"
  - "Zhixing Tan"
  - "Derek F. Wong"
  - "Huanbo Luan"
  - "Jingfang Xu"
  - "Maosong Sun"
  - "Yang Liu"
doi: "10.24963/ijcai.2020/511"
url: "https://ijcai.org/proceedings/2020/511"
pdf: "https://ijcai.org/proceedings/2020/0511.pdf"
venue: "Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence"
year: 2020
pages: "3694-3701"
track: "Main track"
keywords:
  - "Natural Language Processing: Natural Language Processing"
  - "Natural Language Processing: Machine Translation"
---

# Modeling Voting for System Combination in Machine Translation

Xuancheng Huang, Jiacheng Zhang, Zhixing Tan, Derek F. Wong, Huanbo Luan, Jingfang Xu, Maosong Sun, Yang Liu

*Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence*, pages 3694-3701. DOI: [10.24963/ijcai.2020/511](https://doi.org/10.24963/ijcai.2020/511)

## Abstract

System combination is an important technique for combining the hypotheses of different machine translation systems to improve translation performance. Although early statistical approaches to system combination have been proven effective in analyzing the consensus between hypotheses, they suffer from the error propagation problem due to the use of pipelines. While this problem has been alleviated by end-to-end training of multi-source sequence-to-sequence models recently, these neural models do not explicitly analyze the relations between hypotheses and fail to capture their agreement because the attention to a word in a hypothesis is calculated independently, ignoring the fact that the word might occur in multiple hypotheses. In this work, we propose an approach to modeling voting for system combination in machine translation. The basic idea is to enable words in hypotheses from different systems to vote on words that are representative and should get involved in the generation process. This can be done by quantifying the influence of each voter and its preference for each candidate. Our approach combines the advantages of statistical and neural methods since it can not only analyze the relations between hypotheses but also allow for end-to-end training. Experiments show that our approach is capable of better taking advantage of the consensus between hypotheses and achieves significant improvements over state-of-the-art baselines on Chinese-English and English-German machine translation tasks.

## Full text

## 1 Introduction

Machine translation (MT) is a challenging artificial intelligence task. Although many methods have been proposed for MT [Brown et al., 1993; Koehn et al., 2003; Bahdanau et al., 2015; Vaswani et al., 2017], they can only capture partial regularities of the translation process due to the complexity and diversity of natural languages. To address this problem, system combination, which aims to combine the hypotheses of multiple MT systems to obtain better translations, has been intensively studied [Rosti et al., 2007b; He et al., 2008; Zhou et al., 2017] and widely used in MT evaluations [Barrault et al., 2019]. Table 1 shows an example. Given an input German sentence (i.e., src), there are three erroneous but complementary hypotheses (i.e., hyp1, hyp2, and hyp3) generated by three different MT systems. The goal of system combination is to combine them to produce a better translation (i.e., trg).

∗Yang Liu is the corresponding author: liuyang2011@tsinghua. edu.cn.

1 We release our source code at Github: https://github.com/ THUNLP-MT/Voting4SC

Table 1: Example of system combination in machine translation. Given a German sentence (i.e., src), there are three hypotheses (i.e., hyp1, hyp2, and hyp3) generated by three different German-English MT systems. The goal of system combination is to combine these erroneous but complementary hypotheses to obtain a better English translation (i.e., trg).

| src            | Ich hatte gestern einen Kuchen gegessen.                       |
|----------------|----------------------------------------------------------------|
| hyp1 hyp2 hyp3 | I ate a cake. I eat a cakes yesterday. I ate a fish yesterday. |
| trg            | I ate a cake yesterday.                                        |

Approaches to system combination can be roughly divided into two broad categories: statistical and neural approaches. Among statistical approaches combining hypotheses at different levels [Bangalore et al., 2001; Matusov et al., 2006; Rosti et al., 2007a; Rosti et al., 2007b; He et al., 2008; Karakos et al., 2008; Chen et al., 2009; Feng et al., 2009; Freitag et al., 2014; Ma and McKeown, 2015], word-level combination approaches [Rosti et al., 2007b; He et al., 2008] prove to achieve the best translation performance. These approaches are capable of analyzing the relations between hypotheses and voting on the most probable word at each position by using a pipeline: choosing a backbone, aligning the words between hypotheses, building a confusion network, and generating the translation. Despite the benefit of explicit modeling of voting, the use of pipelines often results in the error propagation problem: errors made in early steps in the pipeline will be propagated to subsequent steps.

Figure 1: The architecture of our approach. Based on the multi-source sequence-to-sequence model, our approach introduces a voting mechanism to find the agreement between hypotheses. During voting, while a voter's influence depends on the source sentence x and the partial output y&lt;k, its preference for a candidate depends on their word similarity calculated using the output of hypothesis encoders (i.e., Hhyp n ). The result of voting is used to change the attention weights between hypotheses and output (i.e., hyp-trg Att) to encourage words receiving more votes to be more likely to be included in the output.

![Image](https://ijcai.org/proceedings/2020/fulltext/511/image_000000_413ec21942f0387658339bb804376d57ca03bf07551b66d75cf6dc6a81c48450.png)

Recently, the error propagation problem has been alleviated by end-to-end training of neural combination methods [Zhou et al., 2017], since system combination can be regarded as a multi-source sequence-to-sequence problem [Zoph and Knight, 2016]. 2 One advantage of this line of work is that the importance of a word in a hypothesis can be quantified by its attention weight, without the need for explicit hypothesis alignment. However, a key limitation is that the attention weights between one hypothesis and the output are calculated independently, ignoring the fact that a candidate word might occur in multiple hypotheses. For example, in Table 1, as "ate" occurs in two hypotheses and "eat" occurs in one hypothesis, "ate" should be more likely to appear in the output. However, such connections between hypotheses are not taken into consideration in existing work.

In this work, we propose an approach to model voting for system combination in machine translation. The basic idea is to find the consensus between hypotheses by enabling words in hypotheses to vote on representative words. Our approach distinguishes between two types of words during voting: voter and candidate. For example, in Table 1, if "fish" in hyp3 is chosen as a candidate, all words of hyp1 and hyp2 will serve as voters to decide whether "fish" should be included in the output. To do so, our approach quantifies the influence of each voter and its preference for each candidate using contexts and word similarities, respectively. By modifying attention weights, candidates receiving more votes are more likely to participate in the generation process. Our approach combines the merits of statistical and neural combination methods by both exploiting the relations between hypotheses and allowing for end-to-end training. Experiments show our approach achieves significant improvements over state-of-the-art statistical and neural combination methods on NIST and WMT benchmarks.

2 By definition, system combination methods do not include model ensemble [Xiao et al., 2013], which combines the predictions of multiple homogeneous models during decoding instead of combining the hypotheses of multiple heterogeneous MT systems after decoding.

## 2 Approach

Figure 1 shows the overall architecture of our model. The model starts with learning the representations of the source sentence and hypotheses (Section 2.1). Given the representation of hypotheses, our approach introduces voting by calculating the similarities between words in hypotheses and increasing the attention weights of similar words collectively (Section 2.2). Finally, the decoder takes the representations of contexts as input and encourages words on which most hypotheses agree to be more likely contribute to the generation of the output (Section 2.3).

## 2.1 The Encoders

As system combination takes multiple hypotheses from different MT systems as input, it is natural to cast system combination as a multi-source sequence-to-sequence problem [Zoph and Knight, 2016] as suggested by Zhou et al. [2017].

Formally, let x be a source sentence (i.e., src) and ˜y1:N = ˜y1 . . . ˜yN be N hypotheses generated by different MT systems, where ˜yn is the n-th hypothesis (i.e., hypn). We use ˜ yn,j to denote the j-th word of the n-th hypothesis. We use y = y1 . . . yK to denote the output (i.e., trg) with K words. Hence, the system combination model is given by

<!-- formula-not-decoded -->

where yk is the k-th target word, y&lt;k = y1 . . . yk-1 is a partial output, and θ is a set of model parameters.

To model the source sentence x and hypotheses ˜y1:N, our model consists of N + 1 encoders:

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

where Encodersrc (·) is the encoder for src, Hsrc is the representation of src, Encoderhyp (·) is the encoder for each hypothesis, and Hhyp n is the representation of hypn. Note that the parameters of the hypothesis encoder are shared by all hypotheses.

Figure 2: Voting in system combination. Similar words are highlighted in similar colors. "yesterday" in ˜y2 is a candidate, which receives votes from voters in ˜y1 and ˜y3. The influence of each voter is a real-valued number highlighted in red and its preference for the candidate is highlighted in blue.

![Image](https://ijcai.org/proceedings/2020/fulltext/511/image_000001_81b313c903e9d438f069b6beb391198e3d884b6e87ab93d690a62f5abb3d433c.png)

Although the multi-source sequence-to-sequence framework has shown the superiority of end-to-end training of neural combination methods over conventional statistical methods [Zhou et al., 2017], the dependencies between hypotheses that are critical for finding the consensus are ignored because symbolic hypothesis alignment is not allowed in neural networks. Therefore, it is important to re-introduce voting into modern system combination methods while keeping the benefit of end-to-end training.

## 2.2 The VotingMechanism

We first use an example to illustrate the basic idea of voting. Figure 2 shows a source sentence x, a partial output y&lt;k, and three hypotheses ˜y1, ˜y2, and ˜y3. The question is which word in the hypotheses is more likely to be the fifth word of the output.

Our approach distinguishes between two kinds of words in hypotheses: voter and candidate. The voting mechanism allows each word (i.e., voter) to vote for other words (i.e., candidates) in other hypotheses. For example, the fifth word of ˜y2 in Figure 2 (i.e., "yesterday") is a candidate and all words in ˜y1 and ˜y3 are voters. The voters decide whether the candidate should be included in the output by voting.

The voting process involves two basic problems:

1. Influence: how influential is the voter?
2. Preference: which candidate does the voter support?

The influence of each voter is quantified as a real-valued number (highlighted in red in Figure 2), which is actually the energy used in calculating attention weight:

<!-- formula-not-decoded -->

where f(·) is a function that calculates the energy, ˜ yn,j is the j-th word of the n-th hypothesis, and en,j is its corresponding energy that reflects how likely it will be the next word. In Figure 2, "yesterday" receives the highest energy according to the source sentence and the partial output. Note that the energy of each word will change as the partial output changes. For example, the energy of "yesterday" will be decreased when the model is predicting the sixth word. This is much better than simply using number of occurrences that are independent of contexts as votes.

The preference of a voter for a candidate can also be measured as a real-valued number (highlighted in blue in Figure 2), which is actually the similarity between the voter and the candidate:

<!-- formula-not-decoded -->

where ˜ ym,i is a voter and hm,i is its representation retrieved from Hhyp m . 3 Likewise, ˜ yn,j is a candidate and hn,j is its representation. In Figure 2, "yesterday" is mainly supported by voters "yesterday" and "ate". Note that the similarities between the voters and a candidate are normalized at the hypothesis level to avoid the length bias: longer hypotheses tend to send out more votes.

It is easy to collect all votes by calculating a weighted sum of energies of voters. As a result, the extended energy of each candidate can defined as

<!-- formula-not-decoded -->

Clearly, the extended energy depends on both the influence (i.e., em,i) and the preference (i.e., sim(˜ ym,i, ˜ yn,j )).

Finally, the result of voting is used to change the attention weights between the hypotheses and output:

<!-- formula-not-decoded -->

In this way, candidates receiving strong support such as "yesterday" in Figure 2 will be more likely to appear in the output.

## 2.3 The Decoder

The decoder takes the representations of contexts as input and generates the output:

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

where Decoder(·) is the decoder, htrg k is the representation of the k-th target word yk in trg, and g(·) is a function that calculates the generation probabilities. The difference between our Decoder(·) and the decoder described in Transformer [Vaswani et al., 2017] is that our Decoder(·) contains additional hyp-trg attention layers, which replace the attention weight with αn,j described in Eq.(7) (See Figure 1) .

When designing the decoder, we take advantage of two characteristics of system combination. First, words in hypotheses account for a large portion of those in the groundtruth output. Second, the hypotheses and output belong to the same language, making it convenient to detect and reduce word omission and repetition.

3 We also tried other methods for calculating word similarity such as edit distance and the distance between word vectors but found that using the output of encoders works best because surrounding contexts are taken into consideration during representation learning.

## Using both Restricted and Full Vocabularies

The first characteristic of system combination is that most words in hypotheses will appear in the ground-truth output. This is why conventional statistical combination methods [Rosti et al., 2007b] only use a restricted vocabulary which contains words in hypotheses to constrain the search space. However, as there are still words in the ground-truth output falling outside the restricted vocabulary, modern neural combination methods often use the full vocabulary to ensure the coverage. Nevertheless, the observation that words in the hypotheses are more likely to be included in the output is not fully exploited.

As a result, we propose to use both restricted and full vocabularies to both take advantage of the observed regularity and ensure coverage. This can be done by calculating the output probabilities using restricted and full vocabularies separately and interpolating them using a gate:

<!-- formula-not-decoded -->

where Pr(·) is the probability calculated using the restricted vocabulary, Pf(·) is the probability calculated using the full vocabulary, and λk is a gate for predicting yk. Note that λk obtained by htrg k after a simple linear transformation and Sigmoid activation function, which depends on the context and is not fixed during decoding.

## Improving Coverage using Dynamic Weighting

Due to the lack of coverage vector that indicates whether a source word is translated or not [Koehn et al., 2003], word omission and repetition are severe problems in neural MT systems that hinder translation performance [Tu et al., 2016]. Fortunately, in system combination the hypotheses and output are in the same language, making it possible to detect and reduce word omission and repetition. For example, in Figure 2, as "cake" has already been included in the output, it should not appear in the output again. We propose to assign each word in hypotheses a weight, which changes dynamically during decoding: once a word is included in the output, its weight is decreased accordingly.

More precisely, we count the frequency of the words in hypotheses on average, which is represented by ch ∈ R|Vf | . Meanwhile, we count the frequency of the words in y&lt;k, which is denoted as cyk ∈ R|Vf | . Then, the probability distribution can be weighted by:

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

where wk ∈ R|Vf | is a weight vector, ˜pk ∈ R|Vf | is a weighted probability distribution for yk, Vf is the full vocabulary, and ⊙ is the point-wise multiplication. We keep the weight no smaller than 1.0 for each word and use a logarithmic function to deal with unexpected high frequency. At last, ˜pk is utilized by the beam-search algorithm to select top partial translations.

## 3 Experiments

## 3.1 Setup

## Datasets

We evaluated our approach on Chinese-English (Zh-En) and English-German (En-De) translation tasks. For the ChineseEnglish task, the training set contains about 1.25M sentence pairs from LDC with 27.9M Chinese words and 34.5M English words. 4 We used the NIST 2006 dataset as the development set. The NIST 2002, 2003, 2004, 2005, and 2008 datasets were used as test sets. For the English-German task, the training set is the WMT 2014 training data with 4.5M sentence pairs, the validation set is newstest2013, and the test set is newstest2014. We used byte pair encoding (BPE) [Sennrich et al., 2015] with 32K merges to segment words into sub-word units.

## Evaluation Metrics

We report case-insensitive tokenized BLEU scores for Chinese-English and case-sensitive tokenized BLEU scores for English-German. For English-German, we apply compound splitting 5 similar to that of Vaswani et al. [2017]. We used the paired bootstrap resampling [Koehn, 2004] for statistical significance tests.

## Single MT Systems

For the system combination task, we constructed all training datasets with outputs of three translation systems. We used the same systems for training, validation, and testing for both language pairs. Except for pretrained MT model, all single MT systems used the same training dataset as combination systems for training.

For the Chinese-English task, we used Transformerbase [Vaswani et al., 2017] with left-to-right decoding (TRANS-L2R), Transformer-base with right-to-left decoding (TRANS-R2L) and non-autoregressive translation model (MASK-NAT) [Ghazvininejad et al., 2019] as the three "black-box" translation systems. We used the training data simulation strategy [Zhou et al., 2017] to alleviate the training-test bias.

For the English-German task, in order to demonstrate the effectiveness of our approach on top of the state-ofthe-art results, we used FAIR's pretrained Transformerbig (TRANSFORMERbig-FB) [Ott et al., 2018], DynamicConv (DYNAMICCONV) [Wu et al., 2019], and vanilla Transformer-big (TRANSFORMERbig) [Vaswani et al., 2017] as individual MT systems.

## Baselines

We compared our approach with the following two state-ofthe-art statistical and neural combination methods:

1. JANE [Freitag et al., 2014]: a statistical system combination method included in RWTH's open-source statistical machine translation toolkit. It was designed based on confusion networks [Rosti et al., 2007b; He et al., 2008]. We used JANE with its default setting.

4 The training set includes LDC2002E18, LDC2003E07, LDC2003E14, part of LDC2004T07, LDC2004T08 and LDC2005T06.

[5 https://github.com/pytorch/fairseq/blob/master/scripts/ compound split bleu.sh](https://github.com/pytorch/fairseq/blob/master/scripts/compound_split_bleu.sh)

Table 2: Results on the Chinese-English task. The evaluation metric is case-insensitive tokenized BLEU. "All" is the concatenation of all test sets. The translations of the top three single MT systems are the inputs of the bottom three system combination methods. "††": significantly better than "TRANSFORMER-L2R" (p &lt; 0.01). "‡" and "‡‡": significantly better than "JANE" (p &lt; 0.05 and p &lt; 0.01). "**": significantly better than "HIER" (p &lt; 0.01).

| Method                                | NIST02      | NIST03      | NIST04      | NIST05     |   NIST08 | All         |             |
|---------------------------------------|-------------|-------------|-------------|------------|----------|-------------|-------------|
| TRANS-R2L                             | 45.11       | 44.67       | 46.66       | 46.08      |    36.90 |             | 44.26       |
| MASK-NAT [Ghazvininejad et al., 2019] | 46.69       | 45.93       | 47.27       | 45.72      |    36.14 |             | 44.76       |
| TRANS-L2R [Vaswani et al., 2017]      | 47.25       | 47.30       | 47.97       | 47.64      |          | 37.49       | 45.92       |
| JANE [Freitag et al., 2014]           | 47.75       | 47.88       | 48.90       | 48.83      |          | 38.66       | 46.78       |
| HIER [Zhou et al., 2017]              | 48.71       | 48.31       | 48.96       | 48.74      |          | 38.42       | 46.85       |
| OURS                                  | 49.30††‡‡∗∗ | 49.24††‡‡∗∗ | 49.65††‡‡∗∗ | 49.28††‡∗∗ |          | 39.41††‡‡∗∗ | 47.69††‡‡∗∗ |

2. HIER [Zhou et al., 2017]: a neural system combination method leveraging multi-source NMT framework [Zoph and Knight, 2016]. It was originally designed for the RNNsearch model [Bahdanau et al., 2015]. To make a fair comparison, we adapted it to the Transformer model in our experiments since our approach is built on top of Transformer.

## Hyper-parameter Setting

We used the same hyper-parameter setting for both baselines and our approach. The number of layers was set to 6 for both encoders and decoder. The hidden size was set to 512 and the filter size was set to 2,048. The number of individual attention heads was set to 8 for multi-head attention. We tied all three src, hyp, trg embeddings for the English-German task. The embeddings and softmax weights were tied for both language pairs. In training, we used Adam [Kingma and Ba, 2014] for optimization. Each mini-batch contains 19K tokens for the Chinese-English task and 25K tokens for the EnglishGerman task. We used the learning rate decay policy described by [Vaswani et al., 2017]. In decoding, the beam size was set to 4 for both language pairs and the length penalty was set to 1.0 and 0.6 for Chinese-English and English-German, respectively. The other hyper-parameter settings were the same as the Transformer-base model [Vaswani et al., 2017]. We used the development set to select the best model. We implemented our approach on top of the opensource toolkit THUMT 6 .

## 3.2 Main Results

Table 2 shows the results on the Chinese-English task. We find that our method outperforms the best single system TRANS-L2R, the statistical combination method JANE, and the neural combination method HIER. All the differences are statistically significant (p &lt; 0.01). The superiority over JANE and HIER suggests that combining the merits of analyzing the dependencies between hypotheses and end-to-end training of neural networks helps to generate better translations.

Table 3 shows the results on the English-German task. Our approach also achieves significant improvements over the state-of-the-art results (p &lt; 0.01). The gaps are relatively smaller than those on Chinese-English because the EnglishGerman task uses single reference while Chinese-English uses four references. Considering that TRANSFORMERbigFB is nowadays acknowledged strongest single system result, JANE cannot improve the translation quality and HIER improves a little while our approach achieves significant improvements, indicating that voting mechanism and end-toend training of neural networks is important especially when the translations of single systems already have high quality.

[6 https://github.com/THUNLP-MT/THUMT](https://github.com/THUNLP-MT/THUMT)

Table 3: Results on the English-German task. The evaluation metric is case-sensitive tokenized BLEU. The translations of the top three single MT systems are the inputs of the bottom three system combinationmethods. "††": significantly better than "TRANSFORMERbigFB" (p &lt; 0.01). "‡‡": significantly better than "JANE" (p &lt; 0.01). "**": significantly better than "HIER" (p &lt; 0.01).

| Method                                | newstest2014   |
|---------------------------------------|----------------|
| TRANSFORMERbig [Vaswani et al., 2017] | 28.72          |
| DYNAMICCONV [Wu et al., 2019]         | 29.74          |
| TRANSFORMERbig-FB [Ott et al., 2018]  | 29.76          |
| JANE [Freitag et al., 2014]           | 29.62          |
| HIER [Zhou et al., 2017]              | 29.95          |
| OURS                                  | 30.52††‡‡∗∗    |

Table 4: Ablation study. "Dynamic Weighting" denotes improving coverage using dynamic weighting (see Section 2.3), "Restricted Vocabulary" denotes using both restricted and full vocabularies (see Section 2.3), and "Voting Mechanism" denotes the voting mechanism (see Section 2.2).

| Model   | Model                  |   NIST06 |
|---------|------------------------|----------|
| OURS    | OURS                   |    49.00 |
| -       | Dynamic Weighting      |    48.72 |
|         | -Restricted Vocabulary |    48.65 |
|         | -Voting Mechanism      |    48.55 |

## 3.3 Ablation Study

Table 4 shows the results of ablation study. We find that the voting mechanism seems to play a critical role since removing it deteriorates the translation performance, which can be attributed to finding the consensus between hypotheses.

Table 5: Generalization ability evaluation. We report the results of single MT systems and system combination methods (i.e. HIER and OURS) on the Chinese-English task. N denotes the number of single MT systems. Note that both system combination methods were trained on the outputs of three single MT systems (i.e., N = 3) and tested on various number of single systems (i.e., N = 2, 3, 4, 5). "†" and "††": significantly better than the best system among inputs (p &lt; 0.05 and p &lt; 0.01). "‡" and "‡‡": significantly better than "HIER" (p &lt; 0.05 and p &lt; 0.01).

|   N |   Single MT Systems |   Single MT Systems | Single MT Systems   | Single MT Systems   | Single MT Systems   | Training   | Test   |   HIER | OURS      |     ∆ |
|-----|---------------------|---------------------|---------------------|---------------------|---------------------|------------|--------|--------|-----------|-------|
|   2 |               47.44 |               46.18 | -                   | -                   | -                   | No         | Yes    |  47.35 | 47.76†‡   | +0.41 |
|   3 |               47.44 |               46.18 | 45.18               | -                   | -                   | Yes        | Yes    |  48.26 | 49.00††‡‡ | +0.74 |
|   4 |               47.44 |               46.18 | 45.18               | 47.09               | -                   | No         | Yes    |  48.59 | 49.56††‡‡ | +0.97 |
|   5 |               47.44 |               46.18 | 45.18               | 47.09               | 45.97               | No         | Yes    |  48.79 | 49.80††‡‡ | +1.01 |

Both combining restricted and full vocabularies and dynamic weighting are shown to be beneficial for improving system combination but seem to have relatively smaller contributions than the voting mechanism.

## 3.4 Generalization Ability Evaluation

Table 5 shows the results of generalization ability evaluation. We are interested in evaluating whether a system combination method performs well when the number of single MT systems during testing is different from that during training.

In this experiment, we used the outputs of three single systems for training combination methods and tested them on two, three, four, and five single systems. 7 We find that our approach consistently improves over single systems while HIER underperforms the best single system when N = 2. In addition, the gap between our approach and HIER grows with the increase of N, indicating that the more hypotheses, the more effective the voting mechanism.

Specifically, we found that the number of single MT systems are more important than the averaged performance of single MT systems (See N = 4 and N = 5 in Table 5), indicating that the consensus of different hypotheses are more important than the quality of individual hypothesis. We shared the parameters of each hypothesis encoder Encoderhyp (·) so that the system combination model has the ability to generalize to different number of single systems.

## 3.5 Effectiveness of Similarity Calculation

Table 6 shows the top-10 similar non-identical word pairs according to their similarities (See Eq.(5)). The similarity are averaged by every occurrences of the word pair on the Chinese-English development set. The higher the ranking, the higher the similarity. We only display word pairs that two words are non-identical because the similarity between two identical words are naturally high. However, we find that some non-identical word pairs have signally high similarities (e.g., the similarity between "kind" and "type", which is the highest ranked non-identical word pair, is ranked 37, higher than most of identical word pairs). It can be attributed to that different words might have similar meanings, indicating that our approach is able to catch the similar words in spite of their different morphologies.

7 As JANE requires that the number of single systems during testing must be identical to that during training, it was not included in this experiment.

Table 6: The top-10 similar non-identical word pairs. "Rank" refers to the rank among all word pairs, which is calculated according to their similarities in our approach (See Eq.(5)).

| Rank                                | Word Pair                                                                 | Word Pair                                                                     |
|-------------------------------------|---------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| 37 84 96 97 151 156 165 211 224 228 | kind example made besides greatest make difficulties strategic moreover 7 | type instance makes except broadest makes difficulty strategy furthermore 7@@ |

Figure 3 shows an example on using our approach to combine two single MT systems on the Chinese-English task. Word pairs with similarities higher than 0.12 are aligned with lines. We find that our approach is capable of identifying similar words such as "eliminated" and "squeezed" even if the two hypotheses have significantly different syntactic structures.

## 3.6 Matching Rate Evaluation

We attempt to evaluate whether our approach really leverage the consensus between hypotheses. Figure 4 shows the averaged matching rate between outputs and hypotheses in ngrams (n=1, 2, 3 and 4), respectively. The matching rate for individual n-gram between single hypothesis and output is the same as the matching rate in BLEU metric. The averaged one are averaged among different hypotheses, which reflects weather the output adopted the consensuses of hypotheses. As shown in this figure, JANE achieves highest averaged matching rate in 1-gram but as the interval becomes lager, its averaged matching rate decreases. Our method achieves highest averaged matching rate in n-grams (n &gt; 1), which can be attributed to the voting mechanism and end-to-end training of neural architecture.

## 4 RelatedWork

System combination has been an active field in the past two decades and there are numerous valuable literatures addressing it from different aspects [Bangalore et al., 2001; Matusov et al., 2006; Rosti et al., 2007a; Rosti et al., 2007b; Huang and Papineni, 2007; He et al., 2008; Li and Zong, 2008; Karakos et al., 2008; Feng et al., 2009; Chen et al., 2009; Du and Way, 2010; Heafield and Lavie, 2010; Ma and McKeown, 2012; Freitag et al., 2014; Ma and McKeown, 2015; Freitag et al., 2015; Zhu et al., 2016; Zhou et al., 2017; Barrault et al., 2019].

Figure 3: Case study. Word pairs with high similarities are aligned with lines. We find that our approach is able to identify similar words between hypotheses even if they differ in word orders significantly.

| Source     | 欧洲 羽毛球 锦标赛 第二 轮 开始 有 种@@ 子@@ 选手 遭 淘汰 ouzhou yumaoqiu jinbiaosai dier lun kaishi you zhong zi xuanshou zao taotai                                           |
|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Reference  | seeds began being eliminated in the second round at badminton European championship                                                                        |
| Hypotheses | European badminton championships start with seed players being eliminated seed players is squeezed out in second round of European badminton championships |
| Pm`b       | seed players start being eliminated in second round of European badminton championships                                                                    |

Figure 4: Averaged matching rate between outputs and hypotheses. We calculates matching rates of each hypothesis and output and averages them in n-grams (n=1, 2, 3 and 4), respectively, which is calculated on the Chinese-English development set.

![Image](https://ijcai.org/proceedings/2020/fulltext/511/image_000002_f9c6365a6dc5b1f3b1d05252d1793ed4a21e459fd7836e8ec6e2d018f7bbc4b3.png)

Our idea of introducing voting into neural combination methods is inspired by classical confusion networks [Rosti et al., 2007b; He et al., 2008], which leverage word alignment between hypotheses to find groups of competing candidate words. The voting mechanism proposed in this work is significantly different from confusion networks in two aspects. First, our approach does not rely on a pipeline involving symbolic structures and thus facilitates end-to-end training of neural networks. This is important for alleviating the error propagation problem. Second, our approach leverages the contexts to compute votes dynamically. In other words, the influence and preference of a voter will change as the partial output changes.

The neural combination method proposed by Zhou et al. [2017] first shows the effectiveness of end-to-end training of multi-source sequence-to-sequence models in system combination. Along this direction, our work is also based on the same framework but focuses more on introducing voting into system combination. Our work shows that it is important to analyze the relations between hypotheses to find their consensus. As the attention weight between the hypothesis and output is calculated separately, we propose to increase the attention weights of a group of identical or similar words receiving high votes collectively.

Our work is also related to model ensemble [Xiao et al., 2013] widely used in the deep learning community. The major difference is that model ensemble is a "white-box" method that aims to integrate predictions of multiple homogeneous models during inference while system combination is a "black-box" method that tries to combine hypotheses of multiple heterogeneous systems after inference.

## 5 Conclusion

We have presented a voting mechanism for system combination in machine translation. Our approach combines the advantages of statistical and neural methods by taking the relations between hypotheses into account and training models in an end-to-end manner. The voting mechanism allows words in hypotheses to vote on words that should be included in the output. Experiments show our approach achieves significant improvements over state-of-the-art baselines on Chinese-English and English-German translation tasks.

## Acknowledgements

This work was supported by the National Key R&amp;D Program of China (No.2017YFB0202204), National Natural Science Foundation of China (No.61925601, No.61761166008, No.61772302), Beijing Advanced Innovation Center for Language Resources (No.TYR17002), and the NExT++ project supported by the National Research Foundation, Prime Ministers Office, Singapore under its IRC@Singapore Funding Initiative. Derek F. Wong is supported by the National Natural Science Foundation of China (Grant No. 61672555), the Science and Technology Development Fund, Macau SAR (Grant Nos. 045/2017/AFJ, 0101/2019/A2).

## References

1. [Bahdanau et al., 2015] Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015. [Bangalore et al., 2001] Bangalore Bangalore, Germán Bor- del, and Giuseppe Riccardi. Computing consensus trans- lation from multiple machine translation systems. ASRU, 2001.
2. [Barrault et al., 2019] Loïc Barrault, Ondřej Bojar, Marta R Costa-jussà, Christian Federmann, Mark Fishel, Yvette Graham, et al. Findings of the 2019 conference on ma- chine translation (wmt19). In WMT, 2019.
3. [Brown et al., 1993] Peter E. Brown, Stephen A. Della Pietra, Vincent J. Della Pietra, and Robert L. Mercer. The mathematics of statistical machine transla- tion: Parameter estimation. CL, 1993.
4. [Chen et al., 2009] Boxing Chen, Min Zhang, Haizhou Li, and AiTi Aw. A comparative study of hypothesis align- ment and its improvement for machine translation system combination. In ACL/IJCNLP, 2009.
5. [Du and Way, 2010] Jinhua Du and Andy Way. Using terp to augment the system combination for smt. 2010.
6. [Feng et al., 2009] Yang Feng, Yang Liu, Haitao Mi, Qun Liu, and Yajuan Lü. Lattice-based system combination for statistical machine translation. In EMNLP, 2009.
7. [Freitag et al., 2014] Markus Freitag, Matthias Huck, and Hermann Ney. Jane: Open source machine translation sys- tem combination. In EACL, 2014.
8. [Freitag et al., 2015] Markus Freitag, Jan-Thorsten Peter, Stephan Peitz, Minwei Feng, and Hermann Ney. Local system voting feature for machine translation system com- bination. In WMT@EMNLP, 2015.
9. [Ghazvininejad et al., 2019] Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. Mask-predict: Parallel decoding of conditional masked language models. In EMNLP/IJCNLP, 2019.
10. [He et al., 2008] Xiaodong He, Mei Yang, Jianfeng Gao, Patrick Nguyen, and Robert Moore. Indirect-HMM-based hypothesis alignment for combining outputs from machine translation systems. In EMNLP, 2008.
11. [Heafield and Lavie, 2010] Kenneth Heafield and Alon Lavie. Combining machine translation output with open source: The carnegie mellon multi-engine machine translation scheme. In PBML, 2010.
12. [Huang and Papineni, 2007] Fei Huang and Kishore Pap- ineni. Hierarchical system combination for machine trans- lation. In EMNLP-CoNLL, 2007.
13. [Karakos et al., 2008] Damianos G. Karakos, Jason Eisner, Sanjeev Khudanpur, and Markus Dreyer. Machine trans- lation system combination using itg-based alignments. In ACL, 2008.
14. [Kingma and Ba, 2014] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2014.
15. [Koehn et al., 2003] Philipp Koehn, Franz J. Och, and Daniel Marcu. Statistical phrase-based translation. In NAACL, 2003.
16. [Koehn, 2004] Philipp Koehn. Statistical significance tests for machine translation evaluation. In EMNLP, 2004.
17. [Li and Zong, 2008] Maoxi Li and Chengqing Zong. Word reordering alignment for combination of statistical ma- chine translation systems. ISCSLP, 2008.
18. [Ma and McKeown, 2012] Wei-Yun Ma and Kathleen McK- eown. Phrase-level system combination for machine trans- lation based on target-to-target decoding. 2012.
19. [Ma and McKeown, 2015] Wei-Yun Ma and Kathleen McK- eown. System combination for machine translation through paraphrasing. In EMNLP, 2015.
20. [Matusov et al., 2006] Evgeny Matusov, Nicola Ueffing, and Hermann Ney. Computing consensus translation for mul- tiple machine translation systems using enhanced hypoth- esis alignment. In EACL, 2006.
21. [Ott et al., 2018] Myle Ott, Sergey Edunov, David Grangier, and Michael Auli. Scaling neural machine translation. In WMT, 2018.
22. [Rosti et al., 2007a] Antti-Veikko I. Rosti, Necip Fazil Ayan, Bing Xiang, Spyridon Matsoukas, Richard M. Schwartz, and Bonnie J. Dorr. Combining outputs from multiple ma- chine translation systems. In HLT-NAACL, 2007.
23. [Rosti et al., 2007b] Antti-Veikko I. Rosti, Spyridon Mat- soukas, and Richard M. Schwartz. Improved word-level system combination for machine translation. In ACL, 2007.
24. [Sennrich et al., 2015] Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. In ACL, 2015.
25. [Tu et al., 2016] Zhaopeng Tu, Zhengdong Lu, Yang Liu, Xiaohua Liu, and Hang Li. Modeling coverage for neu- ral machine translation. In ACL, 2016.
26. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017.
27. [Wu et al., 2019] Felix Wu, Angela Fan, Alexei Baevski, Yann Dauphin, and Michael Auli. Pay less attention with lightweight and dynamic convolutions. ICLR, 2019.
28. [Xiao et al., 2013] Tong Xiao, Jingbo Zhu, and T Liu. Bag- ging and boosting statistical machine translation systems. AI, 2013.
29. [Zhou et al., 2017] Long Zhou, Wenpeng Hu, Jiajun Zhang, and Chengqing Zong. Neural system combination for ma- chine translation. In ACL, 2017.
30. [Zhu et al., 2016] Junguo Zhu, Muyun Yang, Sheng Li, and Tiejun Zhao. Sentence-level paraphrasing for machine translation system combination. In ICYCSEE, 2016.
31. [Zoph and Knight, 2016] Barret Zoph and Kevin Knight. Multi-source neural translation. In HLT-NAACL, 2016.
