Machine Translation without Words through Substring Alignment
Paper · 2012 · Graham Neubig, Taro Watanabe, Shinsuke Mori et al.
Summary
A translation system that learns from whole words can lose access to evidence it has already seen. A new compound may consist of familiar parts, or an unfamiliar inflected form may resemble forms the system knows. If the system treats each written word as an indivisible unit, those relationships are hard to use. For languages such as Japanese, there is an earlier decision to make about which characters should count as a word. This paper asks whether statistical machine translation can learn useful correspondences directly from character strings, leaving the choice of unit length to the alignment procedure.
The authors let the aligner connect a contiguous stretch of characters on one side of a sentence pair to a stretch of a different length on the other. The resulting units can be pieces of words, whole words, or phrases. A bilingual grammar combines these local correspondences into an analysis of the sentence pair, allowing neighboring pieces to keep or reverse their order across languages. To make the search practical, the authors add a way to estimate how readily a candidate alignment can be completed in the rest of the sentence. They also give the aligner a starting preference for substring pairs that repeatedly occur in corresponding sentences. The learned correspondences then supply a conventional phrase-based decoder with entries expressed in characters.
The experiments cover French, German, Finnish, and Japanese paired with English, with translation tested in both directions. The new alignment procedure makes character-based translation much stronger than a character baseline built with a conventional directional aligner. The comparison with word-based translation depends on what is measured. The character system trails on word-level BLEU in every tested direction, but can match or exceed word systems on character-level BLEU and, in some cases, on METEOR. Human ratings on a short-sentence sample show no significant average difference between the character and word systems for Finnish-to-English or Japanese-to-English.
The systems also make different mistakes. In the human comparison, character-based translation sometimes recovers a compound, a proper name, or an uncommon expression missed by word-based translation. The word system generally handles reordering and common word choices better. The component experiments show that substring counts improve translation scores across the tested Finnish and Japanese directions, while the look-ahead procedure makes alignment sampling faster and is especially helpful to accuracy when those counts are absent. Together, the results show that a translator can learn useful units without committing to a word segmentation for alignment, and that the gains are clearest where whole-word evidence is sparse.
Deep dive: Machine Translation without Words through Substring Alignment
Substring alignment lets a phrase-based translator learn from characters and handle rare words without first deciding where words begin and end. · about 37 minutes to read
The problem and its context
A word boundary is a decision about what can be learned
Statistical translation starts from a collection of corresponding sentences in two languages. A sentence pair says that the complete strings convey related information. The individual correspondences within the pair still have to be inferred. For a phrase-based translator, those correspondences determine which stretches of text it can learn to translate together. The choice of basic unit therefore affects both the evidence available to the aligner and the entries eventually available to the decoder.
When a system starts with words, it inherits decisions made during tokenization, the process of dividing text into units. Whitespace can offer an initial clue, but even a language with spaces typically needs some treatment of punctuation. Counting a word with attached punctuation separately from the same word elsewhere divides the evidence for its translation. Chinese, Japanese, and Thai pose a more direct problem in the paper’s account. Their writing does not supply whitespace boundaries between words in the way the usual pipeline expects. A segmentation convention decides which character strings the translation system will initially treat as units, and different conventions can change translation accuracy.
Even consistent word boundaries leave a problem inside the word. Morphology allows related forms to share pieces while appearing as distinct strings. If each form gets its own entry, the system sees less evidence for each entry than it could obtain by identifying what the forms share. Compounding has a similar effect. A compound can look unfamiliar as a single token even when its components would support an intelligible translation. Names and numbers also produce many distinct written forms, some with too few observations to support reliable whole-token estimates.
The paper describes two consequences of sparsity at different stages. During training, uncommon tokens can acquire incorrect alignments. One particularly damaging case is what the alignment literature calls garbage collection, where a rare item gets attached to a large stretch of the other sentence. The resulting association may reflect the scarcity of contrary evidence instead of a plausible translation. At decoding time, a word absent from the learned inventory is commonly copied into the output. Copying can preserve a recognizable name in some circumstances, but it does little for a compound whose parts need translation or a name whose spelling needs to change. The earlier alignment study discusses why rare items are difficult to link reliably. A Systematic Comparison of Various Statistical Alignment Models
Earlier approaches addressed particular sources of sparsity
The paper describes a collection of remedies developed for different phenomena. Morphological analysis and lemmatization can bring related word forms together. Compound splitting gives a translator access to pieces that a whole-word inventory might hide. Other techniques regularize variable forms or infer how words should be split from the data. Earlier work also considers the difficulty of producing appropriate forms when the language with richer morphology is on the output side. These approaches all change what can be shared across observations, but each starts by choosing a particular source of sparsity to address. Morphological Analysis for Statistical Machine Translation
Proper names prompted a different set of methods. The authors describe work using cognates and transliteration, where the system carries the written or spoken form of a name across languages. They also identify earlier work that combines transliteration with translation. The distinction matters for names that include an ordinary descriptive element alongside a distinctive name. Preserving the sound or spelling of every part would leave the descriptive part untranslated, while treating the entire expression as ordinary vocabulary may discard the very part that identifies the entity. Machine Transliteration and Translating Named Entities Using Monolingual and Bilingual Resources
Another line of research changed the boundaries themselves. The paper describes work on Chinese-to-English translation that adjusts Chinese segmentation while typically taking the English word sequence as given. Translation quality supplies a reason to prefer one division of the Chinese text to another. That work established the relevance of segmentation to the downstream task. Neubig and colleagues ask how much can be learned if neither side must supply a definitive word sequence to the aligner. Optimizing Chinese Word Segmentation for Machine Translation Performance and Improving Word Alignment by Adjusting Chinese Word Segmentation
Some earlier translation work had already used characters as input. The paper identifies Spanish–Catalan, Swedish–Norwegian, and Thai–Lao as cases in which this approach had been shown feasible. Its explanation emphasizes the strong associations possible between individual characters in those relatively close pairings. When a character often gives a clue to its counterpart, a conventional aligner has useful local evidence. In other pairs, a useful correspondence may only appear after several characters are considered together. A character can be a sensible element from which to construct a string while still being an inadequate unit on which to base an individual alignment decision.
The alignment restriction behind that difficulty
In the directional alignment methods described by the authors, a source element can be associated with several elements on the target side, but a target element is linked to at most one source element in a single run. With words, each elementary source item may carry enough information to indicate a likely counterpart. With characters, an elementary item may be shared by many unrelated words. An association that makes sense for the entire spelling can consequently be difficult to recover from the local comparisons the directional procedure is allowed to make.
The conventional phrase-based pipeline can run the alignment in both directions and combine the results through heuristics. It can then extract phrases with multiple elements on each side. That means a system with a directional aligner can still translate phrases. The issue is when evidence about a phrase becomes available. If the first step had to link isolated characters, the later extraction step depends on the quality of those links. A procedure that directly evaluates paired substrings can use information from the longer unit during alignment itself. Statistical Phrase-Based Translation
The authors build on earlier methods for aligning multiple elements on each side at once. They distinguish sentence-level phrase alignment from multilingual approaches that discover morphological boundaries by comparing words or short phrases. Those approaches are relevant because they derive internal structure from bilingual evidence, but an aligner for full sentences also has to decide which distant stretches correspond and how they are ordered. The paper’s choice of an inversion transduction grammar addresses that additional structure. It provides rules for deriving a complete sentence pair from paired pieces, with enough flexibility to express reordering and enough restriction to make search possible. Unsupervised Multilingual Learning for Morphological Segmentation and Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora
The method, step by step
From character strings to a phrase inventory
The starting point is a parallel corpus whose sentences have already been paired. On the character side of the experiment, the aligner takes the elements of each sentence to be individual characters. The spaces that occur in the input remain available as characters. A potential unit can therefore end inside a word, contain the whole word, or cross a space. The aligner chooses paired spans from these possibilities, using the evidence of the corpus and the structure of the sentence pair.
The grammar describes how those spans fit together. A rule can emit a paired substring directly. It can also combine a pair of smaller correspondences, keeping their order on both sides or reversing it on one side. Repeated combinations give a tree whose leaves represent local alignments and whose root covers the sentence pair. The tree lets the training procedure consider several possible ways to group the same characters. The learned phrase inventory can subsequently give the decoder whole correspondences to apply, even though its basic input and output elements are characters.
There are two additions to the underlying phrase aligner. A prior derived from substring counts gives recurring bilingual candidates a head start. A look-ahead calculation helps the parser decide which partial analyses to keep while building a tree. The prior answers a question about the corpus, namely whether a pair of strings recurs in corresponding sentences. Look-ahead answers a question about the current sentence pair, namely what the remaining text might cost to explain if a candidate span is kept.
Learning and using bilingual substring correspondences
The steps in order.
What a paired span represents
Write the target sentence as e and the source sentence as f. Their elements are eᵢ and fⱼ, where i is a target position and j is a source position. The target length is I and the source length is J. The notation e₁…eᵢ identifies successive elements starting at the beginning of the target sentence, and f₁…fⱼ does the same on the source side. The elements can represent words in one experimental condition and characters in another. The grammar’s operations apply to either sequence.
aₖ = ⟨s, t, u, v⟩
Here aₖ is the span at index k in an alignment, s and t are its target boundaries, and u and v are its source boundaries. The angle brackets group the boundaries into a single object. The span associates the contiguous target stretch eₛ:ₜ with the contiguous source stretch fᵤ:ᵥ, where the colon separates the start and end boundaries. When the paper writes a with all four boundaries as a subscript, it identifies the same kind of paired span directly by its location.
The one-to-many restriction in the directional baseline requires the source portion of an elementary link to consist of a single source element. In the paper’s representation of those links, that condition is written as follows.
u = v
The shared position u and v identifies the sole source element in the link. Each target element belongs to at most one linked span in the directional analysis. The associated conditional probability can be written in terms of the two sentences and the entire alignment.
P(e₁:ᵢ | f₁:ⱼ, a₁:ₖ)
In this block the final indices ᵢ, ⱼ, and ₖ stand for the full target length I, the full source length J, and the number K of alignment spans, respectively. P denotes probability, the bar means “given,” and the comma places both the source sentence and the alignment among the conditions. The directional procedure searches for an alignment of the source and target that gives the target sequence a high conditional probability. In the phrasal grammar, an elementary correspondence can instead use longer spans on both sides.
How the chart combines local alignments
An inversion transduction grammar is a kind of synchronous context-free grammar, which means its productions build structures for the source and target together. The phrasal version can generate a substring pair as a lexical unit. Its other operations combine adjacent units in straight or inverted order. For a straight combination, the earlier target child corresponds to the earlier source child. For an inverted combination, the earlier target child corresponds to the later source child. The grammar gets its reordering capacity from applying these choices recursively within larger spans.
The parser works from smaller spans toward larger ones. It stores a probability for each considered pair of spans in a chart. The inside probability is the probability of generating the contents of that paired span by the available derivations. A span can be generated directly as a phrase pair or assembled by splitting each side and combining the children. The recurrence groups the alternatives by how they build that span.
I(aₛ,ₜ,ᵤ,ᵥ) = Pₜ(eₛ:ₜ, fᵤ:ᵥ)
+ Σₛ≤S≤ₜ Σᵤ≤U≤ᵥ Pₓ(str) I(aₛ,S,ᵤ,U) I(aS,ₜ,U,ᵥ)
+ Σₛ≤S≤ₜ Σᵤ≤U≤ᵥ Pₓ(inv) I(aₛ,S,U,ᵥ) I(aS,ₜ,ᵤ,U)
In the recurrence, I applied to a span is its inside probability. The labels s, t, u, and v are the boundaries of that parent span. Capital S and U are possible split points on the target and source sides. The symbol Σ means to add the contribution of the splits within the indicated boundaries, and ≤ denotes the ordering of those boundaries. Pₜ is the probability of directly generating the paired phrases eₛ:ₜ and fᵤ:ᵥ. Pₓ(str) and Pₓ(inv) are the probabilities of choosing the straight and inverted grammar productions. Adjacent probability terms are multiplied. In the straight contribution, the first target child is linked to the first source child. In the inverted contribution, that same target child is linked to the latter source child. The inside scores in each product refer to the smaller spans that the corresponding split creates.
These are sums over alternatives. A strong chart cell can therefore get its probability from a good direct correspondence, from other plausible ways of assembling the span, or from both. The distinction between a directly generated phrase and a group of smaller phrases matters when the training procedure draws an alignment tree. The chart provides weights for the possibilities, and top-down sampling selects an actual derivation from them. At the sentence level this is called block sampling because a new tree is drawn for the sentence pair as a unit.
Exact chart construction has the following time complexity in the paper’s description.
O(n⁶)
Here O denotes the order of growth in the worst-case running time, n is sentence length, and the superscript marks the power of that length. The cost comes from considering paired spans and potential split points on both sides. A character representation makes this expensive because a sentence contains more elementary positions when counted in characters than when counted in words. The authors therefore use a beam, retaining a subset of the available chart entries as they process the sentence.
Deciding which spans deserve to stay in the beam
A beam limits how many partial analyses the search takes forward. The earlier strategy used here assigns spans to queues by size and processes the queues from smaller sizes to larger sizes. A probability beam discards a candidate when its score is too small relative to the strongest candidate in the relevant queue. The inside-only criterion is written as follows.
I(aₖ) < c I(â)
I(aₖ) is the candidate’s inside probability, I(â) is the inside probability of the best hypothesis â used for comparison, and c is the constant controlling the width of the beam. The less-than sign gives the condition for pruning. The product on the right is the reference score scaled by c. A smaller c lowers the cutoff and keeps a wider beam.
An inside score assesses the proposed pairing of the text in the cell. The paper’s chart example shows why the rest of the sentence can change its value to the search. An alignment of French les with English 1960s competes with the strong pairing of les with the. Meanwhile, a pairing of années with 1960s can fit beside that strong match. The inside scores of the weaker candidates alone do little to distinguish their prospects. If the earlier choice consumes les or 1960s, however, it changes which other matches can participate in the completed analysis. The best-supported use of a span can depend on what remains available after the span is used.
The outside probability O(aₖ) describes the probability of generating the rest of the sentence pair around a span aₖ. Computing it exactly would bring back much of the cost the beam is intended to avoid. The authors approximate it with O*, an outside heuristic inspired by look-ahead methods in parsing. The heuristic treats the remaining target and source text independently while estimating how well each can be covered. It gets its input from the direct phrase generation scores that the parser already calculates.
For each monolingual target span, the authors retain the strongest direct bilingual phrase score among all candidate source partners.
Iₑ*(s, t) = max{Pₜ(ã) : ã = ⟨s̃, t̃, ũ, ṽ⟩, s̃ = s, t̃ = t}
The label e identifies the target sentence, and Iₑ* is the best direct phrase score associated with target boundaries s and t. The asterisk marks a best-score quantity in the heuristic. The operator max chooses the largest value in the set. Here ã is a candidate bilingual span with target boundaries s̃ and t̃ and source boundaries ũ and ṽ. The target boundaries must equal s and t. The source boundaries vary over the candidates, and Pₜ(ã) is the probability of emitting the phrase pair at those boundaries. The colon separates the score being maximized from the conditions on the candidate.
The source-side quantity is constructed by fixing the source boundaries instead.
I𝒻*(u, v) = max{Pₜ(ã) : ã = ⟨s̃, t̃, ũ, ṽ⟩, ũ = u, ṽ = v}
The label f identifies the source sentence, and I𝒻* is the best direct phrase score involving the source interval with boundaries u and v. As in the preceding formula, ã denotes a candidate paired span, Pₜ is its direct generation probability, and max chooses the best eligible score. The source boundaries ũ and ṽ are constrained to equal u and v. The candidate’s target boundaries s̃ and t̃ can vary. The two tables can consequently give different perspectives on how easily a paired span can coexist with good coverage of the remaining text.
The authors use these monolingual tables to compute best scores for covering prefixes and suffixes. The target forward quantity illustrates the operation.
αₑ(s) = max{Iₑ*(0, S₁) Iₑ*(S₁, S₂) ⋯ Iₑ*(Sₓ, s) : S₁, …, Sₓ}
Here αₑ(s) is the best estimated score for covering the target prefix from boundary 0 to boundary s. The boundaries S₁ through Sₓ partition that prefix into consecutive spans, and x indexes the last interior boundary in a candidate partition. Iₑ* supplies the best score for each span. Adjacent terms are multiplied, and the ellipsis indicates the intervening factors for longer partitions. The max selects the highest product over the possible boundary choices. By calculating the forward scores in ascending boundary order, the procedure can build longer prefixes from shorter ones it has already scored.
The backward quantity βₑ(t) works towards the end of the target sentence from boundary t. It is calculated in the opposite order so that shorter suffixes are available before they are needed for longer ones. On the source sentence, α𝒻(u) and β𝒻(v) are the corresponding prefix and suffix quantities. These calculations are made separately for the two strings. The paper gives the look-ahead calculation a worst-case complexity of n², with n again denoting sentence length. It contrasts that with n³ amortized time for an earlier pruning approach. These are costs for calculating the heuristic, rather than running times for the entire alignment procedure.
O*(aₛ,ₜ,ᵤ,ᵥ) = min(αₑ(s) × βₑ(t), α𝒻(u) × β𝒻(v))
In this expression O* is the estimated outside probability of the paired span with boundaries s, t, u, and v. The product marked by × on each side combines the best score of the prefix before the span and the best score of the suffix after it. The labels e and f distinguish the target and source. The operator min takes the smaller of their estimates, so an easy remaining stretch on one side cannot compensate for a difficult one on the other. The parser uses the resulting estimate together with the inside score when comparing spans for pruning.
The independent coverings can use bilingual partners that would be incompatible if assembled into a full alignment. That independence is what makes them cheap to calculate. In the paper’s example, the look-ahead makes the match of années with 1960s, as well as a candidate match of 60 with 1960s, more competitive with les paired with the. The pairing of les with 1960s still compares poorly because it leaves a less promising remainder. These comparisons concern which partial analyses survive the search. The grammar and the subsequent draw from the chart still determine the sampled tree.
Giving the parser useful starting probabilities
The direct phrase probability used in the chart is part of the phrase aligner’s learned distribution. A prior provides a starting preference over possible phrase pairs within that distribution. Earlier phrase alignment research used evidence from individual words to favor pairs whose constituent words translated well. The paper keeps this form of evidence available and adds a second signal drawn from how full substrings occur across the corpus.
The earlier-style prior uses translation probabilities in both directions and a length term for each side.
Pₘ₁(e, f) = M₀(e, f) Pₚₒᵢₛ(|e|; λ) Pₚₒᵢₛ(|f|; λ)
Here e and f are candidate target and source phrases, and Pₘ₁(e, f) is their Model 1-based prior score. M₀(e, f) is the term that combines the directional translation evidence with unigram probabilities. Pₚₒᵢₛ is a Poisson probability for a phrase length, |e| and |f| are the lengths of the respective phrases, and λ in this formula is the mean length parameter. The authors set that parameter to 0.01. The terms written next to one another are multiplied. The punctuation inside each Poisson term separates its length argument from the distribution parameter.
M₀(e, f) = (Pₘ₁(f | e) Pᵤₙᵢ(e) Pₘ₁(e | f) Pᵤₙᵢ(f))²
Here M₀ is the bidirectional term in the preceding formula. Pₘ₁(f | e) and Pₘ₁(e | f) are the conditional translation probabilities of the source phrase given the target and of the target phrase given the source. Pᵤₙᵢ(e) and Pᵤₙᵢ(f) are the respective unigram-based phrase probabilities, which use probabilities of individual elements. The vertical bar marks conditioning, adjacent terms are multiplied, and the superscript ² applies to the parenthesized product. The underlying directional probabilities can be calculated efficiently for words or characters. With characters, the authors expect many important correspondences to be more evident in combinations of elements than in these elementary translation probabilities.
The new prior counts the sentences that contain a substring. A target substring e contributes to c(e) whenever it occurs in a target sentence. A source substring f contributes to c(f) whenever it occurs in a source sentence. A pair contributes to c(e, f) when the target sentence contains e and its paired source sentence contains f. This measures sentence-pair co-occurrence, so multiple appearances of the same substring within a sentence do not turn that sentence into several independent observations. A co-occurrence can still be incidental because aligned sentences contain other material alongside a phrase and its translation.
The authors use enhanced suffix arrays to find substring occurrences efficiently. They name esaxx as the implementation used for this counting step. Even with efficient lookup, the collection of possible bilingual pairs can be too large to keep in memory. The authors discount counts by a constant d set to 5, and their co-occurrence distribution assigns positive mass only when the joint count exceeds d. They also prune pairs whose conditional probability falls below 0.1 in either direction. A pair that appears in corresponding sentences only rarely, or whose association is weak from one direction, thus contributes less to the computation and may drop out of the stored co-occurrence inventory.
The paper considers several ways to turn the counts into prior scores. The chosen rule favors a pair when each side provides evidence for the other. A substring that is common in many unrelated sentences tends to provide weak directional evidence even if it accompanies a rarer substring frequently.
P꜀ₒₒ꜀(e, f) = P꜀ₒₒ꜀(e | f) P꜀ₒₒ꜀(f | e) / Z
= ((c(e, f) − d) / (c(f) − d)) ((c(e, f) − d) / (c(e) − d)) / Z
Here P꜀ₒₒ꜀(e, f) is the joint prior probability built from the substring counts. The terms P꜀ₒₒ꜀(e | f) and P꜀ₒₒ꜀(f | e) are the directional scores obtained from discounted counts. The first uses the source marginal c(f) in its denominator because f is the conditioning substring. The second uses the target marginal c(e). The joint count c(e, f) is the numerator’s count in both directions, d is the discount, and division by Z normalizes the product. The minus signs indicate that the discount is subtracted before taking each ratio.
Z = Σ{(e, f) : c(e, f) > d} P꜀ₒₒ꜀(e | f) P꜀ₒₒ꜀(f | e)
Z is the total unnormalized weight, and Σ adds the products of the directional scores over eligible pairs of substrings e and f. The colon introduces the eligibility condition, and > requires the joint sentence count c(e, f) to exceed the discount d. The co-occurrence calculation also uses the directional pruning described above. Dividing by the total makes the resulting weights a probability distribution over the pairs supported by this part of the prior.
The aligner can still consider pairs that receive no mass from the counts. To preserve that possibility, the authors mix the co-occurrence distribution with the earlier-style prior.
Pₚᵣᵢₒᵣ(e, f) = λ P꜀ₒₒ꜀(e, f) + (1 − λ) Pₘ₁(e, f)
Here Pₚᵣᵢₒᵣ(e, f) is the prior probability of the phrase pair. P꜀ₒₒ꜀ is the count-based distribution and Pₘ₁ is the Model 1-based distribution. The λ in this equation is the interpolation weight for the count-based component, a different use of the symbol from the Poisson mean. The quantity 1 − λ is the complementary weight on the other component, and the plus sign adds the weighted contributions. The authors put a Dirichlet prior on the mixture with α set to 1, where α is its prior parameter. The interpolation coefficient is learned during training.
This mixture matters because the count threshold deliberately removes sparse observations, including some plausible translations. It also makes the prior different from a rule that directly aligns every promising co-occurrence. Inside a sentence, recurrent substrings can overlap, or several of them can compete for the same material on the other side. The grammar requires the selected correspondences to form a compatible analysis. Corpus counts can favor a candidate without deciding the alignment in advance.
Sampling and decoding
The implementation that the authors modify is pialign. During training, it builds the chart for a sentence pair from the bottom up, using the current phrase distribution and pruning strategy. It then samples a replacement tree from the top down, drawing on the alternatives recorded in the chart. The lexical spans in these analyses supply bilingual phrase evidence. A relatively compact phrase table is important for this use because entries can contain long stretches of characters, and the decoder has to search with the resulting inventory.
Beam pruning changes which trees can be sampled. A correction based on Metropolis-in-Gibbs sampling was available, but the authors report that it had no significant effect on their results and omit it in the experiments. The practical training process therefore uses the pruned chart as the basis for sampling. This is relevant to the look-ahead experiment because a change in pruning can affect the alignment trees that training encounters as well as the time it takes to obtain them. Bayesian Inference for PCFGs via Markov Chain Monte Carlo
The decoder is Moses. It assembles a translation by choosing and combining entries from the phrase inventory, with an additional score for how well the resulting sequence fits target-side text. On the character system, the table entries and the target sequence are expressed in characters. The output can still contain ordinary words and spaces. What changes is the point at which the system commits to a usable translation unit. The unit comes from the learned correspondences, and its boundaries can depend on which source material the decoder is translating.
Experiments and results
The corpora and the reasons for choosing them
The authors use EuroParl for French–English, German–English, and Finnish–English. For development and testing, they draw on the sets assigned to the 2005 ACL shared task in machine translation. The Japanese–English experiments follow the Kyoto Free Translation Task’s prescribed splits of Wikipedia articles for training, tuning, and testing. Testing covers both translation directions for every language pair. This makes it possible to see whether a useful decomposition on the source side is accompanied by an ability to generate appropriate forms when the same language is on the target side.
The paired languages give the approach different kinds of evidence. French has inflection, but the authors describe it as having the clearest word-level correspondences with English among the languages tested. German supplies compounds whose pieces often need to be handled separately in English. Finnish supplies long words through rich, agglutinative morphology, in which several meaningful pieces can occur in a word. Japanese supplies text with unclear word boundaries and uses logographic characters, which the paper treats as potentially more informative per character than purely phonetic writing. These properties motivate the selection. The experiments compare whole language pairs, so several properties change together whenever the pair changes.
The authors restrict parallel training to sentence pairs whose source and target are both 100 characters or less. They give 18.8 English words as the average corresponding to 100 characters. The table below reports the corpus sizes in words, the unit used by the paper to describe the splits even though the character system learns from character strings. Translation training supplies paired sentences for alignment and phrase learning. Target-side training supplies text for scoring candidate outputs. Tuning is the development material used to set decoding weights, and final scores come from the separate test splits.
| Corpus pair | Translation training, English / other | Target-side training, English / other | Tuning, English / other | Test, English / other |
|---|---|---|---|---|
| German–English | 2.80M / 2.56M | 16.0M / 15.3M | 58.7k / 55.1k | 58.0k / 54.3k |
| Finnish–English | 3.10M / 2.23M | 15.5M / 11.3M | 58.7k / 42.0k | 58.0k / 41.4k |
| French–English | 2.77M / 3.05M | 13.8M / 15.6M | 58.7k / 67.3k | 58.0k / 66.2k |
| Japanese–English | 2.13M / 2.34M | 11.5M / 11.9M | 30.8k / 34.4k | 26.6k / 28.5k |
The treatment of word boundaries differs by corpus. EuroParl was already tokenized. The authors use that material as supplied in all conditions, so the character aligner can encounter spaces already introduced by the preprocessing. For Kyoto, the word system uses the task’s tokenization scripts, while the character system takes the original text for training and decoding. In character alignment, spaces that occur in the input receive the same treatment as other characters. For evaluation, the outputs are tokenized and lower-cased. The distinction between what the aligner sees and how the output is eventually scored is part of the experimental design.
The comparison systems and scoring
The experiments cross the choice of basic unit with the choice of aligner. GIZA-word uses GIZA++ for conventional directional alignment over words. ITG-word uses the phrasal grammar over words. GIZA-char uses directional alignment over characters, with the hidden Markov variant selected to accommodate longer sequences. ITG-char is the phrasal character system with both the substring prior and look-ahead. GIZA++ uses its default settings for word alignment. For character-based phrasal alignment, pialign uses a probability beam of 10⁻⁴ in place of its default 10⁻¹⁰. The authors report marginal improvement from widening the beam beyond the chosen value, especially with the count-based prior.
All systems use Moses for decoding. The decoder stack size is set to 1000 in place of 200. This stack holds candidate partial translations during search. The target-side fluency score uses a word 5-gram in word translation and a character 12-gram in character translation, both with interpolated Kneser–Ney smoothing. An n-gram is a sequence of adjacent units. Here it lets the decoder score an output element in the context of preceding elements of its own kind, words for one system and characters for the other. Smoothing makes such scoring possible even when a particular sequence has little direct training evidence.
The authors use minimum error rate training to tune all systems for word-level BLEU. The final automatic evaluation then uses word-level BLEU, character-level BLEU, and word-level METEOR. Both versions of BLEU use n = 4, with n identifying the maximum length of the sequences compared. Word BLEU compares consecutive word sequences against the reference, so a word that differs by a character breaks the exact word match. Character BLEU can still reward matching stretches of letters around the error. The authors find that METEOR, also applied at word level, falls between the two BLEU views in how the character system’s near misses affect the comparison. Meteor 1.3
The paper uses bootstrap resampling at p = 0.05 to identify scores whose difference from the best system is statistically insignificant. The procedure assesses whether the observed ranking is stable under resampling of the test material. A numerical lead in the examples below is a score ordering. The human evaluation has its own comparison and reported significance outcome. Statistical Significance Tests for Machine Translation Evaluation
Improving character translation through alignment
Across all tested directions and automatic metrics, ITG-char scores above GIZA-char. English-to-Japanese gives a particularly clear view of the comparison. The directional character system has very little success on word BLEU, whereas the phrasal character system recovers much of the performance of the word systems. The two word systems remain ahead on this metric. The comparison therefore shows both how much direct substring alignment changes the usefulness of character input and how much full-word accuracy remains to be recovered on this test.
English-to-Japanese systems on the Kyoto test set, word BLEU
Phrasal alignment recovers much of the word BLEU lost by the directional character baseline.
The numbers
| System or setting | word BLEU |
|---|---|
| GIZA-word | 20.79 |
| ITG-word | 20.26 |
| GIZA-char | 01.48 |
| ITG-char (this paper) | 17.90 |
The same pattern appears in EuroParl. On German-to-English test word BLEU, GIZA-char scores 08.05 and ITG-char scores 21.79. The word systems score 24.58 with GIZA++ and 23.87 with the grammar. On French-to-English, the character scores are 11.05 with GIZA++ and 26.70 with the grammar, while the word systems score 30.23 and 29.92, respectively. These comparisons show why the authors treat good substring alignment as a condition for useful character translation. Applying a word-oriented alignment procedure at finer granularity produces a very different result from allowing the aligner to choose the lengths of its basic correspondences.
This baseline comparison concerns the character translation systems as built. ITG-char brings together direct many-to-many alignment, the count-based prior, and look-ahead. Changing from GIZA-char to ITG-char therefore tests the complete alignment approach. The separate component comparisons below address how much each of the paper’s new additions contributes once the phrasal grammar is already in place.
Why the metrics give different rankings
Finnish-to-English shows the difference between good character coverage and exact word matches. ITG-char has word BLEU of 18.38, while GIZA-word scores 20.41 and ITG-word scores 20.83 on the EuroParl test. On character BLEU, the ranking changes. ITG-char leads both word systems. It also has the highest METEOR score in this direction, at 28.94, compared with 27.89 for GIZA-word and 28.46 for ITG-word. For a reader deciding how close the systems are, the relevant question is which kind of agreement with the reference matters.
Finnish-to-English systems on the EuroParl test set, character BLEU
The phrasal character system leads on character overlap in this direction.
The numbers
| System or setting | character BLEU |
|---|---|
| GIZA-word | 60.01 |
| ITG-word | 61.04 |
| GIZA-char | 41.62 |
| ITG-char (this paper) | 62.44 |
Japanese-to-English shows a related but distinct outcome. ITG-char scores 58.41 on Kyoto test character BLEU, above GIZA-word at 56.47 and ITG-word at 56.60. On METEOR its 24.58 is close to the word systems’ 24.70 and 24.89. On word BLEU, it scores 15.84, with the word systems at 17.95 and 17.14. For German-to-English, ITG-char’s character BLEU of 64.47 sits between the two word-system scores, 64.28 and 64.89, while its METEOR of 30.12 is below both word systems. For French-to-English, the phrasal character system scores 66.76 on character BLEU against 68.79 and 68.64 for the word systems, and its METEOR of 32.47 also trails their 34.20 and 34.29.
The authors read these comparisons as evidence that the relative performance going into English is most favorable when Finnish or Japanese supplies the input, with German next and French last. In Finnish, a long source word can contain pieces that are individually useful to an English translation. In Japanese, a fixed segmentation can commit to boundaries that do not suit a particular correspondence. Where word-level correspondences are stronger, as in the paper’s description of French and English, the word representation already gives the aligner informative units. The metric-specific comparisons show how far that explanation can be taken from this experiment. They are compatible with the authors’ account of the language differences, while the pair-level results leave several properties entangled.
The reverse directions also matter. On English-to-Finnish, ITG-char reaches 59.02 on character BLEU, with the word systems at 58.50 and 59.27. Its word BLEU is 12.14, below the word systems’ 13.22 and 13.12. On English-to-Japanese, ITG-char scores 28.46 on character BLEU, ahead of GIZA-word at 27.01 and ITG-word at 28.34, while recording METEOR of 35.71 against 38.41 and 38.34 from the word systems. The paper reports a consistent word-BLEU ordering across directions in favor of word-based translation. The direction-specific reversals occur on the other measures.
The reason offered by the authors is concrete. A character decoder can produce an almost correct word with an error in one or two letters. The error can destroy the word match even when a substantial part of the output agrees with the reference spelling. Character BLEU can see that agreement. It can also reward such overlap when the resulting word is still wrong, so its score describes a different property of the output from word BLEU. The human study adds a judgment about whether the translation conveys the reference information, which can resolve some cases that score differently under the automatic measures.
What raters found in short translations
The authors compare ITG-word and ITG-char with human ratings for Finnish-to-English and Japanese-to-English. Two raters evaluate 100 sentences each, focusing on sentences of 8–16 English words. They score how well a translation conveys the information in the reference on a 0–5 scale. Choosing short sentences makes the translations easier to rate and the differences easier to inspect.
For Finnish-to-English, ITG-word receives an average of 2.851 and ITG-char receives 2.826. For Japanese-to-English, the corresponding averages are 2.085 and 2.154. The authors report no significant difference in the averages for either pair. The numerical ordering changes between the pairs, and the assessment is limited to the sampled short sentences. Within that sample, the similar averages allow a closer look at how the systems arrive at different translations of particular passages.
The paper examines cases in which the character translation scores 2+ points better than the word translation. It reports source unknowns in 13/26 of these cases, target unknowns in 5/26, and uncommon expressions in 5/26. These fractions describe the selected cases with large gains for the character system. They do not measure how frequently the same phenomena arise throughout the test sets, or the probability that the character system will improve a sentence whenever one occurs.
One Finnish example contains tasa-arvodirektiivi. The word system leaves the source compound in its English output. The character system produces equality directive, which conveys the central content of the reference rendering, directive on equality. This is a case where access to parts of an unfamiliar string can change the translation substantially. Recovering a translation for the compound matters more to the reader than reproducing the exact reference order of the English words.
For Japanese, the paper gives a station-name example in which the word system outputs yoshiwara no eki, while the character output is yoshiwara-juku station, in agreement with the reference. The result combines a name whose written form needs to be carried across languages with a common element translated as station. Another example concerns World Health Organisation. The word system produces the shorter World Health, while the character system supplies the complete expression. The examples identify different circumstances in which changing the unit of alignment can help. They also leave room for the error analysis’s observation that, in other sentences, the word system more frequently selects suitable common words and puts them in a better order.
What the ablations show
Testing the additions within the same character aligner
The authors run a component comparison for both directions of Finnish–English and Japanese–English. Every condition here uses the phrasal grammar on characters. What changes is whether the count-based co-occurrence prior is present and whether pruning uses the look-ahead estimate. The condition without the count-based prior still has the earlier-style phrase prior, and the condition without look-ahead still has beam search. This arrangement tests the effects of the two additions within the same general alignment procedure.
English-to-Finnish illustrates the comparison. The full setting scores highest on test METEOR. Enabling either addition by itself improves on the condition with neither, and the highest score is obtained when the parser uses both the corpus-derived preference and the estimate of how the current partial alignment can be completed.
English-to-Finnish character ITG settings on the EuroParl test set, METEOR
Each addition helps on its own, and using both gives the highest score.
The numbers
| System or setting | METEOR |
|---|---|
| Neither addition | 23.30 |
| Co-occurrence prior only | 24.24 |
| Look-ahead only | 24.49 |
| Co-occurrence prior and look-ahead (this paper) | 25.31 |
The co-occurrence prior improves METEOR in every tested direction at either fixed look-ahead setting. On Finnish-to-English with look-ahead, the score is 28.65 without the count-based prior and 28.94 with it. With look-ahead off, the scores are 27.45 without the count-based prior and 28.51 with it. On Japanese-to-English with look-ahead, the count-based component takes the score from 24.36 to 24.58. With look-ahead off, the corresponding entries are 23.57 and 24.32. English-to-Japanese gives the same ordering for the prior within each search condition. With look-ahead the scores are 35.05 without it and 35.71 with it, while without look-ahead they are 34.50 and 35.74.
Those comparisons support the authors’ interpretation that whole-substring statistics provide a useful starting preference. Even without look-ahead, the parser can use recurring candidate pairs to direct its probability mass toward plausible correspondences. The alignment still decides whether those pairs fit particular sentences. The evidence comes from downstream translation quality, which is the intended use of the alignments. It does not identify which individual substring pairs became more accurate.
The authors also report preliminary comparisons of several ways of turning counts into scores. They tested raw co-occurrence, the Dice coefficient, a chi-squared association statistic, and the product of the directional conditionals used in the final experiments. They report significantly better results for the bidirectional conditional rule and use it thereafter. They give no separate scores for this preliminary comparison. The detailed component table tests the resulting prior as a whole, leaving the separate effects of count discounting, conditional pruning, and interpolation unmeasured.
Look-ahead has a clearer effect on search cost
When the co-occurrence prior is absent, the look-ahead condition has higher METEOR in every direction in the component table. The authors describe its accuracy benefit as stronger in that condition. When the prior is present, the accuracy pattern is smaller and varies by direction. On English-to-Japanese, the score with the prior is 35.74 without look-ahead and 35.71 with it. That direction illustrates why the main case for look-ahead cannot rest on a universal increase in the translation score once corpus evidence is already helping the aligner.
The benefit measured directly for computation is sampling throughput. The authors attribute it to being able to prune more aggressively with the estimate of the remaining span coverage. For Finnish, sampling rises from 1.3 sentences per second to 2.5 sentences per second. For Japanese, it rises from 6.8 sentences per second to 11.6 sentences per second. These are alignment sampling rates. They describe the stage that repeatedly builds charts and draws sentence-pair trees. The paper gives them separately from the heuristic’s theoretical complexity and from translation accuracy.
Together the component comparisons address different mechanisms. Corpus evidence changes the preferences among phrase pairs because some are repeatedly found in corresponding sentences. Look-ahead changes which partial analyses are likely to survive because some leave text that is easier to cover. Both can help keep a useful candidate available during training, which is consistent with the smaller accuracy effects of look-ahead once the counts are used. Its throughput benefit gives an independent reason for including it. The authors say the component comparisons on word and character BLEU followed similar patterns, but only give the METEOR values.
Limitations
Limits identified by the authors
Training on longer sentences remains an open problem in the paper. Chart parsing still has to work with spans in both strings, even if an inexpensive heuristic lets the parser discard more candidates. The actual experiments restrict parallel alignment training to pairs of at most 100 characters on each side. The authors suggest pruning spans with other heuristics or splitting sentences as possible routes to larger inputs. These are proposed extensions. The reported sampling rates apply to the training setup used in the experiments.
The authors also identify reordering and lexical choice as weaknesses of the character system. A correspondence can correctly recover the pieces of an unfamiliar expression while the complete translation still places them poorly or uses an unsuitable common word. The paper suggests improving the way character outputs are scored, changing decoding, or adjusting the order of source material before decoding. It does not evaluate those changes. The strengths found for sparse forms therefore come alongside weaknesses that affect ordinary parts of a sentence.
The count-based prior makes use of bilingual sentence occurrences and has to discard many sparse pairs for practical storage and estimation. The authors suggest monolingual text as a possible source of better estimates. They also propose exploring units between characters and words, so that word boundary information could contribute to efficiency and accuracy while the system retains the ability to handle smaller pieces. These directions carry forward the idea of flexible units. The experiments in this paper address the character and word conditions and the additions to the phrasal aligner.
The authors explicitly note a requirement of the tuning setup. The use of word-level BLEU to tune each system requires tokenized development data. Kyoto’s character system can align and decode original strings, but the paper measures and optimizes its behavior with a pipeline that includes word boundaries at the tuning stage. The setup was chosen so differences in tuning criteria would have less influence on the comparison.
Limits visible in the evaluation
The results cover more than one type of language pairing, but each non-English language appears with English as its partner. A result for Finnish–English leaves open how the same aligner would behave when both sides present different kinds of rich morphology, or when neither side has the writing conventions represented in these tests. The domains also differ across the corpora. Japanese is tested with Kyoto Wikipedia articles, while the European languages are tested using EuroParl. Observations across those cases are informative about the range of settings in which the system was tried, while attributing a score difference to a single linguistic property would require a more controlled comparison.
The amount of access to prior word boundaries varies as well. Kyoto provides the direct test of original text for both character training and decoding. EuroParl enters the experiments already tokenized, and the resulting spaces are visible to the character aligner. The aligner can cross or ignore those boundaries when it chooses a phrase, which changes their role substantially. The EuroParl experiments still leave open how much performance would change if that prior processing were removed. Evaluation in both cases uses tokenized and lower-cased text, so the scores are estimates under a specific comparison convention.
The comparison between word and character translation includes deliberate differences beyond how the input is split. The target-side scoring uses different context lengths and different elementary units. The directional aligner uses the hidden Markov variant for characters, and the phrasal character condition uses a different beam from the default. These settings are relevant to building usable systems for each representation. They mean that the main table compares complete translation configurations. The ablations within ITG-char give a more focused test of the two alignment additions, but do not separately test every associated training or decoding choice.
Automatic scores show several aspects of similarity to the reference. Word BLEU makes the whole-word cost of spelling errors visible, while character BLEU gives credit to their surviving portions. Neither score by itself establishes how well a reader can recover the intended information in every case. The human evaluation addresses conveyed information, but only for the short-sentence samples in Finnish-to-English and Japanese-to-English. Comparable averages in those samples leave the quality of longer sentences and the other directions unmeasured by human raters.
Finally, the qualitative breakdown begins with sentences that the character system already won by a large rating margin. It can explain which kinds of improvements occur among those wins. A corpus-wide estimate of the system’s ability to translate compounds, inflections, or names would require counting the relevant opportunities across the data and assessing the outputs for each. The paper’s examples establish that the approach can recover useful forms that the word system misses. Its tables establish the aggregate comparison under the test conditions. The distribution of gains and losses for each linguistic phenomenon remains a separate question.
What came after
Neural Machine Translation of Rare Words with Subword Units takes up the problem of rare words in neural translation and places the representation below the word level. The connection is the ability to reuse evidence for pieces of an unfamiliar form. In the earlier paper, the input consists of characters and the bilingual alignment can choose a continuous span of whatever length the grammar and data support. The later work names sub-word units directly as the means of addressing rare forms. The common concern is how a translator can make use of internal structure when the complete written word has too little evidence of its own. The later work’s focus does not establish that it reused phrasal inversion transduction grammar, the co-occurrence prior, or look-ahead pruning.
An Unsupervised Probability Model for Speech-to-Translation Alignment of Low-Resource Languages moves the alignment question to a setting with speech on one side and a translation on the other. Its stated focus is unsupervised alignment for low-resource languages. The connection to substring alignment concerns how correspondences can be inferred when they are not supplied as labeled links between convenient units. In Neubig and colleagues’ experiments, both sides are written strings and the aligner learns which stretches correspond from paired sentences. In the later setting, the bilingual correspondence problem spans speech and translated text. The relationship is at the level of the alignment problem. The scope of the later work leaves the details of its inference procedure and any reuse of the earlier paper’s components unspecified.
Cite
Cite as Graham Neubig, Taro Watanabe, Shinsuke Mori and Tatsuya Kawahara. 2012. Machine Translation without Words through Substring Alignment. Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{neubig2012machine,
title = {{Machine Translation without Words through Substring Alignment}},
author = {Graham Neubig, Taro Watanabe, Shinsuke Mori and Tatsuya Kawahara},
booktitle = {Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2012},
url = {https://aclanthology.org/P12-1018/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/neubig-2012-machine-translation-without-words-through/