Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T00:40:22.796Z Has data issue: false hasContentIssue false

A unified alignment algorithm for bilingual data

Published online by Cambridge University Press:  13 September 2011

CHRISTOPH TILLMANN
Affiliation:
IBM T.J. Watson Research Center, Yorktown Heights, New York, NY 10598, USA email: ctill@us.ibm.com
SANJIKA HEWAVITHARANA
Affiliation:
Carnegie Mellon University, Pittsburgh, PA 15213, USA email: sanjika@cs.cmu.edu
Rights & Permissions [Opens in a new window]

Abstract

The paper presents a novel unified algorithm for aligning sentences with their translations in bilingual data. With the help of ideas from a stack-based dynamic programming decoder for speech recognition (Ney 1984), the search is parametrized in a novel way such that the unified algorithm can be used on various types of data that have been previously handled by separate implementations: the extracted text chunk pairs can be either sub-sentential pairs, one-to-one, or many-to-many sentence-level pairs. The one-stage search algorithm is carried out in a single run over the data. Its memory requirements are independent of the length of the source document, and it is applicable to sentence-level parallel as well as comparable data. With the help of a unified beam-search candidate pruning, the algorithm is very efficient: it avoids any document-level pre-filtering and uses less restrictive sentence-level filtering. Results are presented on a Russian–English, a Spanish–English, and an Arabic–English extraction task. Based on simple word-based scoring features, text chunk pairs are extracted out of several trillion candidates, where the search is carried out on 300 processors in parallel.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2011
Figure 0

Fig. 1. Illustration of different levels of parallelism present in an English (left) and Spanish (right) comparable document pair. The sentences marked with solid lines are parallel sentences. The sentences marked with broken lines are not parallel, but contain sub-sentential fragments that are parallel. Both documents are from the Voice of America News (VOA News).

Figure 1

Fig. 2. Illustration of different link sets that are used in this paper. A link corresponds to a pair of text chunks that cover a certain number of sentences or words. During search, link sequences are extracted based on alignment coverage/continuity restrictions (see Figure 3 for an illustration). A link corresponds to a local transition between bitext (sentence or word) positions. A pattern recognition definition for link sequences is given in Section 2.1. 10-to-10-word level transitions for extracting sub-sentential fragments are not shown here.

Figure 2

Fig. 3. The unified algorithm handles three alignment types. Only one-to-one links are shown, but many-to-many links (see Figure 2) are handled uniformly across all alignment types. The search algorithm finds the shortest path through the bitext space. The path along with start and end point restrictions is shown as bold lines and points. For details, see Section 2.1.

Figure 3

Algorithm 1 The unified sentence alignment algorithm is a template. Two list processing functions adopt the algorithm to the alignment Types I–III. (·) specifies how hypotheses are recombined, and (·) specifies how a list of hypotheses is extended into new ones. Details are explained in Section 4.

Figure 4

Fig. 4. The partial score computation is based on the link diagonal: the incremental target coverage is computed proportionally to the source coverage. In this example, the link target interval is twice as long as the link source interval. When expanding the source coverage by a single source position j, the partial feature computation is based on the two additional target positions, i−1 and i.

Figure 5

Algorithm 2 Hypotheses List Extension Function. The function computes the successor states for an hypothesis with link l that ends in bitext position [jend, iend]. The auxiliary function (·) is defined in Algorithm 3. The link-type set can be defined at run time. λ is a binary variable, where λ = 0 indicates a search for sentence-level and λ=1 for sub-sentential links.

Figure 6

Algorithm 3 Link extension function (·). The allowable link-type sets are defined in Figure 2. The functions u−1S(j) and u−1T(i) yield the sentence-level position of document word-level source and target position (The indexing functions uS(·) and uT(·) are defined in Section 2.1). As there is no cost for transitions between links, the link score d is just copied into the link extensions.

Figure 7

Fig. 5. Illustration of the number of source document segmentations for a Type III alignment with 2-to-1 links. At each source position two source chunks start (with the exception of path end positions). These are matched against at least a single target chunk and are shown as transition links. Here, there are at least $2^{({\cal S}-2)/2}$ different segmentation paths where is the number of source sentences.

Figure 8

Table 1. Search complexity for different types along with search state definition, ‘fan-out’ (number of extensions per grid-point), maximum number of hypotheses in the single beam at position j (after recombination), and overall search complexity. is the average number of source words covered by a link. W = 20 is the size of the Type II re-ordering window. The complexity for the sub-sentential search assumes a monotone alignment across the entire document bitext

Figure 9

Table 2. Corpus statistics for the three languages pairs on which the extraction algorithm is evaluated

Figure 10

Table 3. Classifier evaluation in terms of precision/recall/F-score on the manually annotated data for the three languages pairs. The feature functions are defined in Section 5.3

Figure 11

Table 4. BLEU scores for Russian–English phrase-based SMT systems trained on the baseline data plus some extracted data (UN or news)

Figure 12

Table 5. BLEU scores for various Spanish–English phrase-based SMT systems trained on the baseline data plus some extracted data (Gigaword)}

Figure 13

Table 6. BLEU scores for various Arabic–English phrase-based SMT systems trained on the baseline data plus some extracted data (Gigaword)