Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-06T01:59:08.171Z Has data issue: false hasContentIssue false

From unified phrase representation to bilingual phrase alignment in an unsupervised manner

Published online by Cambridge University Press:  01 August 2022

Jingshu Liu*
Affiliation:
LS2N – UMR CNRS 6004, Université de Nantes, Nantes, France Dictanova, 6 rue René Viviani, 44200 Nantes, France
Emmanuel Morin
Affiliation:
LS2N – UMR CNRS 6004, Université de Nantes, Nantes, France Dictanova, 6 rue René Viviani, 44200 Nantes, France
Sebastian Peña Saldarriaga
Affiliation:
Dictanova, 6 rue René Viviani, 44200 Nantes, France
Joseph Lark
Affiliation:
Dictanova, 6 rue René Viviani, 44200 Nantes, France
*
*Corresponding author. E-mail: liujish931@hotmail.com
Rights & Permissions [Opens in a new window]

Abstract

Significant advances have been achieved in bilingual word-level alignment, yet the challenge remains for phrase-level alignment. Moreover, the need for parallel data is a critical drawback for the alignment task. This work proposes a system that alleviates these two problems: a unified phrase representation model using cross-lingual word embeddings as input and an unsupervised training algorithm inspired by recent works on neural machine translation. The system consists of a sequence-to-sequence architecture where a short sequence encoder constructs cross-lingual representations of phrases of any length, then an LSTM network decodes them w.r.t their contexts. After training with comparable corpora and existing key phrase extraction, our encoder provides cross-lingual phrase representations that can be compared without further transformation. Experiments on five data sets show that our method obtains state-of-the-art results on the bilingual phrase alignment task and improves the results of different length phrase alignment by a mean of 8.8 points in MAP.

Information

Type
Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Diagram of a recursive neural network.

Figure 1

Figure 2. Diagram of a recurrent neural network (left) and 2 kernel sized convolutional neural network (right). For the purpose of clarity, we omit the output layer in the recurrent neural network.

Figure 2

Figure 3. Diagram of the tree-free recursive neural network (TF-RNN).

Figure 3

Table 1. Comparison of complexity. n is the input sequence length, d means the model dimension where we assume $d = d_{input} = d_{hidden} = d_{output}$ for simplifying the comparison. k is the kernel width for CNN

Figure 4

Figure 4. Proposed training system in monolingual context, $w_i$ is the ith word in a sentence, wrap is the token represented by the randomly generated vector for filling the phrase blank when generating the context. In the example, [$w_3$, $w_4$, $w_5$] is the phrase sequence.

Figure 5

Figure 5. Illustration of the tree-free phrase encoder.

Figure 6

Figure 6. Overview of the cross-lingual alignment training architecture. For a phrase x in language $D_{l1}$, we first use the shared tree-free phrase encoder, then the system can be trained into two subnetworks: the first one is the encoder–decoder system given the original phrase x w.r.t $D_{l1}$, and if x is a single-word phrase, we apply a second encoder–decoder system given the translated phrase BWE(x) also w.r.t $D_{l1}$. We alternatively iterate through all phrases in the two languages. The objective of the decoder is to reconstruct a wrapped sentence containing x.

Figure 7

Table 2. Detailed term length distribution

Figure 8

Table 3. Overall MAP comparison for the phrase synonymy task

Figure 9

Table 4. Overall correlation score comparison for the similarity task. The Semeval correlation score is the harmonic mean of Pearson and Spearman scores. A $\dagger$ indicates that the corresponding corpus for training a neural network is not available. In the case of the context-based approaches, we use the network trained on the Semeval2017 corpus, as it is also a general domain corpus

Figure 10

Table 5. Results of our system with the TF-RNN encoder and wrapped context objective with different embeddings

Figure 11

Table 6. Results of our system with the TF-RNN encoder and static embeddings with different training objectives

Figure 12

Table 7. Comparison of the encoder–decoder framework with a pseudo-siamese network. The two systems use the TF-RNN as phrase encoder

Figure 13

Table 8. Overall MAP for all phrase alignment. sw, n2n, and p2q, respectively, mean single-word to single-word, same length multiword, and variable length phrase alignment. We do not present the results of the distributional approach on the English-Chinese corpus because we do not have enough resources to build the co-occurrence matrix as in the other language pairs because the distributional approach requires a high coverage bilingual dictionary. Furthermore, if the dictionary does not use the same Chinese word segmentation approach as the WE corpus, it is even harder to find the words. $\dagger$ means the original data set used in Liu et al. (2018)

Figure 14

Table 9. MAP % for single-word phrase alignment

Figure 15

Table 10. Alignment examples within top 2 candidates ( is the segmentation point for Chinese words)