Example-Based Machine Translation of the Basque Language
Paper · 2006 · Nicolas Stroppa, Declan Groves, Andy Way et al.
Summary
A Basque phrase can carry in a suffix information that English expresses with a separate word. Its place in a sentence can also differ from that of its English counterpart. These differences make it hard for a translation system to learn which pieces of a Basque sentence go with which pieces of its English translation, even when it has many examples of whole sentences in both languages. Stroppa and colleagues tackle this problem with MaTrEx, a machine translation system that learns from previously translated text. The study asks whether breaking sentences into linguistically motivated chunks, then aligning those chunks across changes in order, improves Basque-to-English translation.
The system prepares each language differently. For English, it uses cues such as determiners and prepositions to find chunk boundaries. For Basque, it uses a dedicated analyzer and gives grammatical information carried by suffixes its own representation. A chunk aligner then looks for corresponding pieces using word translation probabilities, cognates, and labels that describe the chunks. Its search allows jumps, so a good match can survive a difference in where the corresponding pieces occur. MaTrEx combines these example-derived matches with phrases extracted by a conventional statistical method and uses the combined resources to translate.
The experiments used a translation memory of software manuals. After filtering, the corpus had 276, 000 entries, of which the authors randomly set aside 3, 000 for testing. MaTrEx scored 22.23% on BLEU, compared with 17.31% for the phrase-based statistical baseline and 10.42% for the word-based baseline. It also had lower word error rates and higher precision and recall than either baseline. The comparison establishes the advantage of the complete hybrid system on this test. It leaves open how much of the gain came from each choice in the chunking and alignment procedure.
A separate manual assessment helps explain why the two kinds of phrase extraction might work well together. Among frequent pairs from statistical extraction, the authors report that 63.45% were fully correct equivalents. For frequent pairs found by both statistical extraction and example-based chunk alignment, they report 84.27%. Some of the remaining pairs were appropriate only in particular contexts. A Basque genitive form, for instance, can be useful when translating the part of a longer expression that identifies whose computer screen is meant. The assessment suggests that agreement between the extraction methods can identify useful phrase pairs, while the translation test shows what the combined resources achieved in one direction and one domain.
Deep dive: Example-Based Machine Translation of the Basque Language
How MaTrEx translates Basque into English by aligning chunks across different word orders, and how it compares with phrase-based translation. · about 36 minutes to read
The problem and its context
From translated sentences to reusable parts
The practical starting point was an existing translation workflow. The authors describe official institutions and private companies already using translation memories for Basque. A translation memory stores previously translated passages with their originals. When a new sentence resembles something in the memory, an earlier translation may supply part or all of what is needed. The software-manual collection in this study made it possible to investigate a larger learning problem. Given a store of matched sentences, could a system discover reliable correspondences between smaller pieces and use them in new sentences?
A sentence pair gives some of the evidence an automatic translator needs. It says that the source and target sentences belong together. It leaves the internal links to be inferred. A source word can correspond to more than one target word, a feature can surface in a different place, and phrases that translate each other can appear in different orders. A sentence pair can therefore be a sound translation example while offering several plausible analyses of its parts. Learning from the example means deciding which parts should be stored together for future use.
The authors identify a separate practical effort in the form of a rule-based system for translating Spanish text and websites into Basque. That effort addressed a different direction and language pair from the experiments here. MaTrEx takes advantage of the available Basque–English memory and uses observed translations as its main source of reusable material. The question for this study is how much linguistic analysis can help the system make better use of that material.
How Basque and English express the same information
The first difficulty concerns morphology, the structure inside words. The paper describes Basque as agglutinative. Several grammatical pieces can attach to a lexical form, and those pieces can be analyzed separately. An English translation may express the corresponding information with words of its own. A boundary between Basque words is therefore an unreliable guide to where the corresponding English units will begin or end. The paper uses the morpheme, a unit that carries lexical or grammatical information, as an alternative unit of analysis.
The location of an affix also matters. A case ending may be written on the last word of a phrase while expressing the role of that whole phrase. The paper illustrates this with the Basque expression corresponding to with the big man. The ending is on the adjective, where it appears because the adjective is last. Its grammatical information concerns the man described by the entire expression. The English preposition sits before the noun phrase. An alignment procedure has to find the relation across both a difference in how the information is written and a difference in position.
The paper also points out that Basque verbs express agreement involving person and number. Subject, object, and indirect object enter this description, roughly associated with ergative, absolutive, and dative case. This helps explain why the authors treat the internal structure of Basque words as relevant to translation. A verb and the phrases associated with it can have grammatical links even when those phrases occupy different parts of the sentence. The paper uses shallow chunks and their contents to find correspondences without having to recover a complete account of those links.
The second difficulty is the placement of constituents. A constituent is a group of words that functions as a unit, such as a noun phrase or a phrase expressing a location. The paper illustrates the flexibility of Basque sentence order with an example whose possible permutations are all well formed. It also shows why an algorithm cannot assume that a subject and verb will be next to each other. This flexibility is relative. The authors distinguish the order of larger sentence units from the more constrained order within units such as noun phrases and subordinate clauses. A translation procedure can therefore look for recognizable local groupings while allowing their sentence positions to change.
These observations motivate different choices at different stages. Splitting off a grammatical ending can expose a source of meaning that would otherwise be buried inside a word. Grouping the resulting pieces into a chunk can keep together information that belongs to the same phrase. Allowing jumps in the alignment can then connect chunks that occur in different orders. If the representation already obscures the relevant pieces, a more flexible search has less to work with. If the search insists on preserving order, even well-chosen chunks can be paired badly.
How earlier systems found correspondences
The authors situate MaTrEx between example-based machine translation, abbreviated EBMT, and statistical machine translation, abbreviated SMT. Both start from pairs of sentences already aligned across languages. In the example-based account, a system looks for source examples resembling the new input, finds useful fragments and their translations in those examples, and assembles target fragments into an output. Earlier work differed in what a fragment was. Some systems used recognizable elements as boundary cues. Others aligned pieces of phrase-structure trees or used dependency trees, which represent relations between words. One of the tree-based approaches discussed in the paper is Seeing the Wood for the Trees.
Phrase-based SMT also learns to translate stretches of text. Its phrases can be induced from word alignments, which record proposed correspondences between units in the two languages. A phrase in this sense is an extracted span. Its usefulness follows from its bilingual alignment and later use in decoding, and it need not coincide with a unit proposed by a linguistic analyzer. The introduction of phrases into SMT narrowed the practical distinction between the two traditions. MaTrEx builds on that convergence, keeping the statistically extracted phrases and introducing an additional route that starts with language-specific chunks. The paper relates the statistical side of this development to Statistical Phrase-Based Translation.
The related work gives examples of distinct ways to deal with a mismatch between languages. Research on segmenting translation memories used bilingual statistical methods to produce shorter entries from longer paired texts. The paper reports that this was harder for Basque–Spanish than for the other pairs in that study. Another line of work changed the order and grouping of parts of German sentences before German-to-English translation. Examples included rejoining detached verb prefixes with their verbs and undoing question inversion. These changes aimed to make the bilingual material easier to align. MaTrEx addresses differences in constituent order through the alignment search, while leaving deeper restructuring as a subject for future experiments.
Other studies changed the units presented to the translation system. In Arabic-to-English translation, the Arabic input was segmented into stems and affixes. The paper describes the value of that analysis as dependent on the amount of parallel training data and notes that its own Basque–English corpus is smaller than the upper size at which the Arabic study found a benefit. That comparison motivates testing a morphological representation. The Arabic evidence concerns a different language pair and training setup. The earlier study is Morphological Analysis for Statistical Machine Translation.
Czech-to-English work examined how to retain grammatical distinctions while reducing the variety of inflected forms. A lemma represents the base form underlying related word forms. The work discussed in the paper compared representations using lemmas, morphemes, and other ways to preserve or recode features. The authors highlight a finding about where to put those features. Some were more useful as separate tokens, and others were better kept with their lemmas. The useful representation tended to reflect how English expressed the corresponding information. That observation is relevant to MaTrEx’s treatment of Basque case endings and English function words. The study is Improving Statistical MT through Morphological Analysis.
The paper also discusses example-based work on English and Turkish that generalized bilingual examples into templates. A template marks parts of a pair as variables so that the same pattern can be reused with different material. Allowing stems and morphemes to occupy those positions makes the pattern sensitive to word structure. MaTrEx did not implement such templates for the experiments discussed here. Its route to reuse was to store and combine aligned fragments. The distinction concerns what is learned from an example. A fragment records a particular bilingual pairing, whereas a template also specifies where substitutions can occur.
The method, step by step
What MaTrEx learns before translation
MaTrEx separates the work of preparing examples from the work of translating a new input. The starting corpus is parallel, meaning that it contains sentences paired with their translations. Word alignment proposes links at a small scale. Chunking divides the source and target sentences into short units. Chunk alignment then relates those units within each paired sentence. These stages produce lexical and chunk resources for the decoder, the component that searches for an output translation.
The statistical phrase extraction route supplies a complementary resource. It uses word links to collect phrase pairs independently of the linguistic chunk boundaries. MaTrEx adds these phrase pairs to the pairs obtained through chunking and chunk alignment. The decoder can draw on the combined inventory, and the hybrid system can also retrieve sentences that have already been translated. The division into modules lets the authors choose a different chunker for each language while retaining a common procedure for comparing the resulting chunks.
How MaTrEx builds and uses translation resources
The steps in order.
The flow separates two decisions about a phrase. Chunking proposes where the phrase starts and ends, using evidence from one language at a time. Alignment proposes which phrase on the other side expresses corresponding material. Keeping the decisions separate makes it possible to use good monolingual analysis without assuming that the two languages will yield matching strings, matching boundaries at the word level, or matching positions in the sentence.
The two extraction routes also offer different kinds of coverage. A linguistically motivated chunker can isolate an expression whose parts belong together in a way that is apparent from its local grammar. Statistical extraction can propose a span that is valuable for translation even if the chunker would draw a boundary through it. A pair found by both routes can be considered alongside pairs supplied by just one. The later manual assessment asks whether that agreement tends to accompany better bilingual equivalents.
Segmenting English with surface cues
For English, the authors use a chunker based on the Marker Hypothesis. Its starting idea is that a limited set of forms gives clues to the grammatical organization of a sentence. Determiners, conjunctions, prepositions, and some pronouns are informatively placed in many English expressions. The chunker recognizes such forms and uses each new occurrence as a possible start of a chunk. A preposition, for instance, can give the system a reason to group the material following it into an expression.
A chunk must contain a content word. A content word is a word outside the marker set in this procedure. This requirement prevents the segmentation rule from simply making a separate chunk whenever a marker occurs beside another marker. Punctuation provides a further cue, with a different boundary convention. An ordinary marker can open a chunk, while punctuation used for segmentation is placed at the end of the chunk. These are preprocessing decisions about which words will be grouped before bilingual comparison starts.
The English procedure uses the surface form of the sentence to infer local structure. Its output is a series of chunks suitable for the aligner. The labels used in the bilingual comparison can also draw on the kinds of markers that characterize those chunks. This matters when considering the Basque procedure. There, the grammatical property the system wants to associate with a chunk may still be detectable even when it has no expression in the same position as an English marker.
Preparing Basque chunks and their features
The authors use EUSMG for Basque, relying on a toolkit that the University of the Basque Country’s Ixa group developed. EUSMG provides part-of-speech tagging, which assigns grammatical categories to words, together with lemmatization and chunking. Its grammatical analysis uses features associated with word units and follows a constraint grammar approach. The paper also mentions Patrixa, a Basque analyzer based on a unification grammar that works with morphemes. EUSMG is the analyzer used for the reported translation experiments.
The Basque preprocessing represents a sentence as a sequence of morphemes with explicit chunk boundaries. Grammatical morphemes can be represented with conventional strings. In the paper’s example about an old file that could not be read, the analyzer separates the expression for the file from the verbal material. Within the first chunk, the code ++abs++ms packages absolutive case, definiteness, and singular number. The code is a regularized expression of features that accompany the Basque phrase. The English side can express related information with a different arrangement of words.
The example involving with the big man shows what this changes inside a chunk. In the Basque form discussed by the authors, arekin appears on handi, the adjective meaning big. They separate the ending from the adjective and use the code ++soz+ms for associative case, definiteness, and singular number. The adjective can then contribute its lexical evidence, while the separated ending contributes grammatical evidence for the larger phrase. The representation gives the aligner access to both kinds of information without making the case marker a boundary that breaks up the noun phrase.
Another adaptation concerns the location of determiners and quantifiers. In the Basque phrases discussed by the authors, these elements can precede or follow a common noun. A system that assigns a chunk label by looking only at its first word would miss some of them. EUSMG can identify relevant elements through its grammatical analysis and indicate when they characterize the chunk. This makes it possible to use information about quantifiers, personal pronouns, and determiners in bilingual matching even where the English marker-based cues do not have direct positional counterparts.
The objective is to make the resulting units comparable for translation. On the English side, surface cues provide boundaries and information about the group. On the Basque side, a dedicated analysis recovers features from word structure or from components elsewhere in the group. The subsequent alignment works with the chunks and their properties. The experiment therefore uses different monolingual procedures to supply similar kinds of evidence to a shared bilingual search.
Building lexical evidence
The system obtains small-scale correspondences with GIZA++. In the Basque representation, an alignable unit can be a morpheme. The toolkit produces directional word alignments, and the authors use the refined procedure they attribute to Och and Ney to extract links from the original unidirectional outputs. Running alignment in different directions can give different proposals. The refined procedure provides the set of lexical links used with the chunk alignments at decoding time.
Word alignment contributes in two ways. The links are a resource the decoder can use when it needs to translate individual units. Word-to-word translation probabilities also provide evidence for aligning larger chunks. A pair of chunks containing several compatible lexical items is a stronger candidate than one whose contents have little support in the word translation data. Thus the chunk aligner can draw on statistical evidence even though the chunks themselves were obtained through language-specific linguistic procedures.
There is a distinction between the small units linked by GIZA++ and the larger units the chunk aligner treats as candidates. A lexical link concerns a pair of word or morpheme positions. A chunk link concerns bounded pieces of the sentence and can receive support from several internal correspondences. The system can therefore store an association at a level that is useful for later phrase translation while still using finer evidence to decide which association to store.
Choosing an alignment for the sentence pair
The aligner receives the Basque chunk sequence and the English chunk sequence from a sentence pair. It searches for a pairing of chunks across the sequences. An alignment can also leave some chunks unmatched. This is useful whenever a piece has no clean counterpart among the available chunks. Forcing a match in such a case could supply a misleading bilingual example to the decoder.
The paper describes the objective as follows.
â = argmaxₐ P(a | e, f) = argmaxₐ P(a, e | f)
Here a is a candidate alignment, and â is a maximizing alignment. The target sequence is e, and the source sequence is f. In this application, the target is English and the source is Basque. P denotes probability. The vertical bar means that the quantities to its right are given. A comma on the left of the bar groups outcomes in a joint probability. argmaxₐ returns the alignment that maximizes the expression following it. For fixed source and target sequences, the probability of the target given the source is the same for every candidate alignment. Consequently, choosing by the conditional probability of the alignment or by the joint probability of the alignment and target gives the same maximizer.
The paper first describes an edit-distance-style alignment. Edit distance normally asks how to transform one sequence into another by local operations. Here the analogous operations pair a source chunk with a target chunk or leave a chunk unpaired on one side. The following notation expresses the sequence of operations.
a = ((t₁, s₁), …, (tₙ, sₙ))
The symbol n is the number of alignment operations. At operation k, tₖ is the target chunk index and sₖ is the source chunk index. The subscripts 1 and n identify the start and end of the sequence of operations, and … stands for the intervening pairs. The special index 0 represents the absence of a chunk on its side. A pair with a null target leaves a source chunk unmatched. A pair with a null source leaves a target chunk unmatched.
The length and index conventions can be written as follows.
I = |e|, J = |f|, 1 ≤ k ≤ n, 0 ≤ tₖ ≤ I, 0 ≤ sₖ ≤ J
The bars around e and f denote sequence lengths. I is the number of target chunks and J is the number of source chunks. k indexes an operation in the alignment, and n is the final operation index. The relation ≤ includes equality. Real target positions run through I and real source positions through J, with 0 reserved for a null position on either side.
For the initial, order-preserving search, the conditions on the indices are as follows.
k < k′ ⇒ (tₖ ≤ tₖ′ or tₖ′ = 0) and (sₖ ≤ sₖ′ or sₖ′ = 0)
The symbols k and k′ denote an earlier and a later operation, as expressed by <. The arrow ⇒ means that the ordering of the operations implies the conditions on their target and source indices. The primed operation is later in the sequence. Each real index must respect the order condition on its own side, while a later null index is exempt. The two conditions are joined by and because they apply on both sides of the alignment.
The paper also requires that every real chunk position be covered by the alignment. Written with the sets of positions explicit, the requirement is as follows.
{1, …, I} ⊆ ⋃ₖ {tₖ}, {1, …, J} ⊆ ⋃ₖ {sₖ}
The braces enclose sets of positions. ⊆ means that every element of the set on the left must occur in the set on the right. ⋃ₖ collects indices across all operations k. The target requirement ranges through I, and the source requirement through J. A position can be covered even if it is paired with a null on the other side. Coverage ensures that the search accounts for the whole sentence pair, including pieces it chooses to leave unmatched.
The score for a candidate factors into contributions from its operations.
P(a, e | f) = ∏ₖ P(tₖ, sₖ, e | f) = ∏ₖ P(eₜₖ | fₛₖ)
The product sign ∏ₖ multiplies contributions across the alignment operations. On the middle expression, each contribution concerns the indices chosen by the operation in the given bilingual example. The final expression is the paper’s assumption that the contribution can be represented by a conditional score for the two chunks involved. eₜₖ is the target chunk at index tₖ, and fₛₖ is the source chunk at index sₖ. When the target is null, the score has the form P(e₀ | fⱼ), where j is a real source position. When the source is null, it has the form P(eᵢ | f₀), where i is a real target position. These are the two gap operations, named insertion and deletion in the paper’s convention.
The factorization permits dynamic programming. A dynamic programming search keeps the best result for partial alignment problems and reuses those results when extending them. In the order-preserving case, the operations resemble those used to compare strings by edit distance. Using negative logarithms of the conditional probabilities makes products of probabilities equivalent to sums of costs. The best complete alignment can then be sought by favoring lower accumulated cost. This is the sense in which probability takes the place of an ordinary edit penalty.
An order-preserving search would have trouble if a Basque phrase appears before another phrase and their English equivalents appear in reverse order. It could match one and lose the other, or use weaker matches that happen to respect position. MaTrEx adapts the search to allow jumps or block movements. This lets the alignment favor a plausible chunk correspondence even when its sequence position is inconvenient. The idea comes from earlier work on evaluating translations that contain reordered material, CDER: Efficient MT Evaluation Using Block Movements.
In MaTrEx, the block movement idea operates during construction of the bilingual chunk resource. The aligner is comparing two translations that already exist and deciding which pieces correspond. The decoder has a different task when it translates new input, since it has to choose the target material as well as its arrangement. The paper describes the adaptation that makes jumps possible in alignment. It gives the detailed mathematical treatment for the basic search and its local scores, with a more compact account of the jump extension.
Scoring candidate chunk pairs
Local scores tell the aligner which pairs are worth using. The authors derive them from evidence already available in the chunks and the lexical resource. Their procedure does not fit the chunk-pair parameters through a separate round of expectation maximization, which would alternate between estimating hidden assignments and updating parameters. Instead, they estimate how the contents of a Basque chunk can support the contents of an English chunk and incorporate additional signals about form and grammatical labels.
For word translation evidence, consider one source chunk and one candidate target chunk. There are several ways to link their internal units. In principle, the chunk score could add the contributions of those internal alignments. The paper approximates the sum using the strongest assignment. It then expresses that assignment through a product of best lexical scores.
P(eᵢ | fⱼ) = ∑ₐ꜀ P(a꜀, eᵢ | fⱼ) ≃ maxₐ꜀ P(a꜀, eᵢ | fⱼ) = ∏ₖ maxₗ P(eᵢₗ | fⱼₖ)
Here i and j index a target and a source chunk. eᵢ is the target chunk, and fⱼ is the source chunk. a꜀ denotes a possible alignment inside that pair of chunks, with c distinguishing this inner alignment from the sentence-level alignment. ∑ₐ꜀ sums over the inner alignments. ≃ marks the approximation that keeps the largest term, and maxₐ꜀ selects that term’s value. In the final product, k is a position inside source chunk j and l is a position inside target chunk i. fⱼₖ and eᵢₗ are the units at those positions. For each source position, maxₗ selects the strongest lexical probability over the positions of the target chunk. ∏ₖ combines the selected probabilities across source positions.
This inner calculation answers a different question from the sentence-level search. It asks how well a given pair of chunks can be supported by links between their contents. The sentence-level search asks where to use that pair and which other pairs can go with it. The best lexical links in the inner calculation can be chosen independently across source positions. The expression therefore describes a score from the available internal matches rather than requiring each source position to claim a distinct target position. The outer algorithm uses such scores when comparing complete candidate alignments.
The paper uses a similar form of computation for cognates. Cognate evidence treats related-looking forms across the two languages as a clue to a possible match. It is a separate signal from the probabilities estimated from word alignments. The third signal comes from chunk labels, which are compared by a matching procedure. Labels can carry grammatical information that the language-specific chunkers recovered in quite different ways. The paper describes the use of cognates and labels at this level of detail, without supplying a full specification of their individual scoring procedures.
The authors combine the evidence in a log-linear expression.
log P(eᵢ | fⱼ) = ∑ₖ λₖ log Pₖ(eᵢ | fⱼ) − log Z
The function log is the logarithm. P(eᵢ | fⱼ) is the combined conditional score of target chunk eᵢ given source chunk fⱼ. In this expression, k indexes sources of evidence, and ∑ₖ adds their contributions. Pₖ(eᵢ | fⱼ) is the score from source k, and λₖ is the weight assigned to that source. Z is the normalization parameter, with its logarithm subtracted from the weighted sum. The experiment uses a uniform combination of the lexical, cognate, and chunk-label information.
The reuse of an index in different formulas reflects three nested decisions. At the lowest level the system looks for support between units inside chunks. At the chunk-pair level it combines different kinds of evidence about those chunks. At the sentence level it compares sequences of pairings and gaps. The lexical probabilities can help a chunk match even when a label supplies little information, and a grammatical label can supply an additional cue even when the surface expressions are quite different.
Adding statistical phrases and decoding
The example-based resource is the set of chunk pairs obtained from the sentence analyses and their alignments. The statistical resource also contains phrases extracted with a conventional word-alignment-based method. MaTrEx merges the resources so that the decoder can use the lexical and phrasal evidence together. The point of the merge is that the criteria for proposing a pair differ. One route depends on the chunk analyses and cross-language comparison of chunks. The other infers phrase spans through statistical alignments.
When the same pair is obtained by both methods, the authors interpret the merge as increasing that pair’s probability. This interpretation becomes important in their analysis of frequent overlaps. A useful way to distinguish the effects is to consider the candidate inventory and the preference among candidates. An example-based chunk can add a pairing that statistical extraction missed. Shared pairs can also be favored when both sources support them. The reported translation experiment measures the result with the combined resource, so the potential contributions of coverage and preference are both present.
The MaTrEx decoder can retrieve a translation for a sentence it already has and provides a wrapper around PHARAOH, the phrase-based statistical decoder. PHARAOH searches for a target sentence using available translation alternatives. The description of the wrapper identifies how the authors bring example-based resources into a statistical decoding setup. The paper’s detailed methodological emphasis remains on how those resources are constructed, particularly the source representation, the chunk boundaries, and the search for bilingual chunk matches.
Experiments and results
The software-manual corpus
The bilingual data came from a translation memory of software manuals supplied by Elhuyar Fundazioa. Before filtering, the memory contained 320, 000 translation units. Its English side had 3.2 million words and its Basque side had 2.9 million words. The paper reports an average of approximately 10 words per English unit and 9 per Basque unit. A translation unit here is the paired material in the memory. These figures describe the original corpus before either the length filtering or the assignment of entries to training and test data.
The authors note that the Basque word count might seem high given how much grammatical information can be carried inside a word. They point to verbal expressions involving several words and to the frequency of lexical compounds. The reported averages therefore describe the material in the memory, while the Basque representation used for chunk alignment can divide its words into smaller units. A small difference in original word counts tells little by itself about how directly the source and target can be aligned.
The filter considered sentence length and the relative lengths of paired sentences, leaving 276, 000 entries. The authors randomly extracted 3, 000 sentences from this filtered collection for testing and used the remainder for training. The experiment translates Basque into English. In this setup the system has to analyze Basque morphology on the source side, and candidate translations are evaluated against English references. Generating Basque as a target would pose a different problem because the system would have to supply the necessary distinctions in its output.
The system used EUSMG for Basque and marker-based chunking for English. The local alignment evidence was combined with uniform weights. The authors describe the experiment as preliminary and report that they did not apply specialized processing for named entities, idioms, numbers, or dates. The resulting scores concern the specified general lexical and phrase resources with the paper’s chunking and alignment additions.
The comparison systems and the scores
The word-based statistical baseline uses only word-level alignments. It establishes how far the statistical setup can get with a lexical translation resource. The phrase-based statistical baseline uses both words and phrases learned from alignments. It supplies a comparison in which the system can already translate larger spans. The hybrid MaTrEx configuration is therefore compared with a system that already benefits from phrasal translation as well as with one restricted to individual lexical units.
Both baselines obtain word alignments with GIZA++ on the training data. Decoding is performed with PHARAOH using default settings. The English fluency component estimates the probability of English word sequences using trigrams, which use a word and its preceding local context. It is trained on the English training data with the SRI Language Modeling Toolkit and modified Kneser–Ney smoothing. Smoothing adjusts estimates so that rare or unseen sequences can still receive usable scores. The bilingual resources propose ways to express the source, and the English sequence scores give the decoder evidence about their arrangement as an output.
The paper evaluates translations automatically with a single reference for each test item. Word error rate, or WER, measures the word edits required to turn a candidate into the reference, so it responds both to the words that were chosen and to their order. Position-independent word error rate, or PER, disregards position in assessing word mismatches. A system can thus achieve a better PER by producing more of the needed words even when its arrangement remains imperfect.
BLEU measures overlap in words and consecutive word sequences with the reference. It offers a view of how well candidate wording matches the reference locally across the test corpus. The precision and recall reported in the paper provide other perspectives on matching output to reference. Precision concerns the share of produced material supported by a match, while recall concerns the share of reference material recovered. The paper reports the scores but gives less detail about the implementation of precision and recall than about the setup of the translation systems. Each measure here describes comparison with the reference wording.
Translation quality on the test split
On the software-manual test split, BLEU was 10.42% for word-based SMT, 17.31% for phrase-based SMT, and 22.23% for MaTrEx. This ordering captures both the improvement associated with using statistical phrases in the baseline comparison and the further advantage of the hybrid system. The authors report a 28.42% relative increase in BLEU for MaTrEx over their phrase-based baseline. The absolute score for each system is the clearest way to read the scale of the comparison.
BLEU on the Basque-to-English software-manual test split
MaTrEx has the highest reference overlap score among the systems compared.
The numbers
| System or setting | BLEU % |
|---|---|
| Word-based SMT | 10.42 |
| Phrase-based SMT | 17.31 |
| MaTrEx (this paper) | 22.23 |
The same systems had WER scores of 97.35%, 89.91%, and 68.25%, respectively. For MaTrEx against the phrase-based baseline, the authors report a drop of 21.66% in absolute WER on the percentage scale. WER is still substantial for the strongest system. Its value indicates how much the outputs and references can differ even when the hybrid system clearly improves the comparison.
Word error rate on the Basque-to-English software-manual test split
The hybrid system requires fewer reference-matching edits than either statistical baseline.
The numbers
| System or setting | WER % |
|---|---|
| Word-based SMT | 97.35 |
| Phrase-based SMT | 89.91 |
| MaTrEx (this paper) | 68.25 |
PER was 69.14% for the word-based baseline, 68.86% for the phrase-based baseline, and 49.36% for MaTrEx. The paper reports an absolute PER reduction of 19.5% for MaTrEx relative to the phrase-based baseline. Since PER ignores position, the improvement provides evidence that the hybrid system recovered more of the reference word material. WER and BLEU add evidence from measures that also respond to order. The metrics overlap in what they capture, so their agreement supports a broad improvement in reference matching without identifying how much was due to any particular reordering decision.
Position-independent word error rate on the software-manual test split
MaTrEx reduces word mismatches when positions are ignored.
The numbers
| System or setting | PER % |
|---|---|
| Word-based SMT | 69.14 |
| Phrase-based SMT | 68.86 |
| MaTrEx (this paper) | 49.36 |
Precision on the same split was 43.14% for word-based SMT, 49.63% for phrase-based SMT, and 59.99% for MaTrEx. Recall was 52.17%, 52.37%, and 55.67%, in the same system order. The hybrid system leads on both measures. Recall moves less across the configurations than precision does, so the increase in agreement with the reference is more visible in the precision figures. The error figures likewise show that the baseline transition and the transition to MaTrEx have different profiles. Moving from the word baseline to the phrase baseline yields a clearer change in WER than in PER, while MaTrEx scores substantially lower on both.
The paper also states a relative BLEU improvement against the word-based baseline that is inconsistent with its tabulated BLEU values. The test scores of 10.42% and 22.23% are the directly reported system results for that comparison. More broadly, the test answers a question about the overall translation configuration. Its scores are evidence about the output of MaTrEx on the filtered manual corpus, with the example-based resources and the statistical resources both available.
A manual check on extracted phrases
The manual assessment concerns the bilingual units available to a system, rather than full translated test sentences. The authors randomly selected 100 examples from statistical phrase pairs whose frequency was greater than 10. They judged whether the two parts of each pair were semantically correct equivalents, quasi-correct equivalents, or incorrect. A quasi-correct pair can work in a suitable context even though its isolated phrases appear to differ in meaning or grammatical information.
For that sample, the paper reports 63.45% correct, 31.10% quasi-correct, and 5.45% incorrect. It then examines 100 frequent pairs in the intersection between statistical phrase extraction and example-based chunk extraction. For the intersection, it reports 84.27% correct, 12.36% quasi-correct, and 3.37% incorrect. These percentages describe judgments on the sampled bilingual phrase pairs. They are separate from the automatic scores on the held-out sentence translations. The paper reports the rates to two decimal places without explaining how that precision follows from the stated sample sizes.
The pattern is informative about the extraction resources. The intersection has a higher fully correct rate and lower rates for the other categories. The result concerns the frequent pairs inspected by the authors. It offers a reason that statistical extraction and linguistically motivated chunking can work together: the pairs both methods find can be strong translation candidates, and a merged resource can favor them. The distinction between fully correct and quasi-correct is especially helpful for interpreting that claim, because a bilingual pair’s value can depend on how a decoder uses it.
What the ablations show
The paper reports no component-by-component ablation of MaTrEx. It offers a comparison with word-based and phrase-based statistical systems, together with a manual comparison of frequent statistically extracted pairs and frequent pairs recovered by both extraction routes. The translation comparison tests the complete hybrid setup. The manual comparison looks at the quality of individual resources that the setup can use.
What the baseline comparison isolates
The step from word-based to phrase-based SMT changes the granularity of the translation resource. Both use statistical word alignments, and the phrase-based setup also has access to phrases. The higher BLEU and lower WER of the phrase-based baseline show why the hybrid system needs to be judged against more than a word-level system. Access to longer spans already improves aspects of reference matching under the statistical approach. The small change in PER between the two baselines also shows that the improvement from adding statistical phrases has a different shape depending on what the metric counts.
The comparison between the phrase-based baseline and MaTrEx addresses a further question. Once a statistical phrase resource is already available, the complete configuration that incorporates chunk-based examples performs better across the reported metrics. The authors attribute this to the contribution of the EBMT chunks. The comparison gives evidence for that addition as implemented, which includes the representation, the extraction of aligned chunks, and their integration with statistical phrases. It does not vary these decisions individually.
For example, both morphology and the ability to jump are motivated by the Basque–English pairing. The experiments do not test how well the hybrid system would do with Basque word forms left intact or with order-preserving alignment alone. The data also do not separate the contributions of cognates, lexical probabilities, and chunk labels. The uniform combination is the setting that was tested. Comparisons among those signals would be needed to establish which were most useful or whether particular signals mattered for different kinds of phrases.
The same caution applies to the decoding interpretation. MaTrEx can contain additional chunk pairs, and the merge can alter support for pairs already present in the statistical inventory. Either change can affect the translations. An improvement in PER is consistent with the decoder having better lexical choices. A reduction in WER is also consistent with better phrasal choices or better arrangements of those choices. Neither outcome alone identifies jumps in the training alignment as the cause.
What agreement between extractors tells us
The manual analysis is closer to the proposed mechanism because it looks directly at the phrase pairs used as translation evidence. Among the sampled frequent pairs, the fully correct category is more prevalent when both extractors recovered the pair. This is consistent with the two procedures bringing different information to the same decision. Statistical extraction follows bilingual word links to propose spans. Example-based extraction asks whether linguistically chosen chunks can align on the basis of their lexical content and other properties. Agreement between them can therefore distinguish some pairs that satisfy both sets of criteria.
The result is evidence about the joint selection of pairs. The statistical sample is drawn from frequent statistical phrases, and the intersection consists of frequent phrases that also satisfy the example-based procedure. Restricting attention to the intersection changes which pairs are eligible for inspection. The analysis does not take the same pairs, apply alternative scores to them, and measure how the score changes affect the decoder. A higher correctness rate in the overlap shows a property of that selected resource. The authors’ explanation that merging increases the influence of better pairs fits the finding, but the test does not directly measure the effect of that increased influence on sentences.
There is also room for a contribution from pairs found only by example-based extraction. The intersection assessment cannot tell how accurate those exclusive pairs are because it selects precisely the pairs also found by the statistical method. Such exclusive pairs could improve coverage, while shared pairs could improve selection. The paper’s manual result supplies evidence for the quality of the shared frequent subset, and its translation result shows that the full system benefits in aggregate. The relative size of the two contributions remains unanswered.
Why context changes the manual judgment
The authors’ example involving your computer illustrates why they use a middle category. A Basque pair may include a genitive form while the isolated English fragment does not display the corresponding relationship. Taken in isolation, that looks like extra information. In a larger expression about a computer screen, the genitive expresses the relation between the computer and the screen and can be needed for the right Basque translation. A stored pairing with this form can therefore be appropriate under a particular continuation.
This example is about how to evaluate a resource containing Basque forms and English fragments. It does not supply a result for English-to-Basque decoding. It shows how a phrase boundary can hide the context that licenses a grammatical form. A pair that seems imperfect under inspection can help if the rest of the sentence supplies the needed context. If used independently in another context, the same pair can produce an error. That dependence is important when interpreting the report that over 94% of the sampled statistical phrase pairs were correct or quasi-correct. The combined figure includes both direct equivalents and pairs whose value depends on where they occur.
The higher fully correct rate for pairs found by both methods therefore means something more specific than a low rate of outright errors. It indicates that the overlapping resource contains more of the sampled pairs that annotators could treat as equivalents without invoking a restricted context. The paper gives a linguistic example of why the other category still has value, while leaving the decoder’s success at choosing context-appropriate uses to the aggregate translation evaluation.
Limitations
Limits the authors identify
The reported experiment is confined to Basque-to-English translation of software-manual material. The authors explicitly plan to evaluate the reverse direction and expect it to be harder because the output must express Basque grammatical information. The separation of a case ending on the source side helps the system interpret the ending during the reported task. Generating the correct Basque form requires choosing the relevant features and realizing them in the output. The experiment provides no reverse-direction result.
The authors also propose trying other data and other language pairs, especially Basque–Spanish. That pair would permit comparison with a dedicated rule-based system discussed in the paper. The present phrase-based and word-based baselines answer a different question, namely whether the hybrid system improves on statistical configurations in the Basque-to-English setting. The proposed comparison would be needed to assess how the method fares against dedicated rules in the language pair for which those rules exist.
There are stated limits on the depth and specialization of the linguistic processing. The alignment search can accommodate differences in constituent order, but it works with chunks and the information they expose. The authors propose investigating deeper restructuring to bring Basque constituent order closer to English before or during alignment. They also plan to investigate an adaptation of the English-style marker chunker to Basque. The reported results use EUSMG for Basque, so they leave the proposed adaptation untested.
The authors describe the run as preliminary and identify specialized processing that was absent, including processing for names, idiomatic expressions, dates, and numbers. These choices matter for what the evaluation covers. The paper demonstrates the performance of its implemented pipeline, including the use of the existing Basque analyzer. Success on this test does not show how much additional processing would help or how the system would handle inputs where the omitted categories were particularly consequential.
The authors qualify the hand assessment by frequency. The statistical examples were selected above a frequency threshold, and the overlap evaluation also concerns frequent pairs. The reported high share of pairs judged usable applies to that part of the resource. Rare pairs may be important for translation, yet they have little representation in an assessment selected in this way. The paper also explicitly treats quasi-correct pairs as appropriate in restricted settings, which limits how directly their rate can be translated into a statement about general-purpose phrase quality.
Limits of the evidence
The random test split draws entries from the same filtered translation memory used to construct the training set. That makes the results directly relevant to comparable software-manual material. The paper gives no separate test based on a different domain or a split by underlying manual. It also gives no separate accounting of how frequently the exact-sentence retrieval capability was used during evaluation. Since retrieval is available in the hybrid system, the aggregate scores leave open how much of its performance came from stored sentence matches and how much came from recombination.
Length filtering also defines the population under test. The paper gives the corpus totals before and after filtering and identifies length and relative length as criteria. It does not report performance on the discarded units. A practical reading of the scores should therefore keep the filtered split in view. They establish performance for the selected entries under the paper’s evaluation, with less information about units whose lengths or bilingual length differences made them unsuitable for that setup.
All sentence-level judgments reported in the main comparison are automatic and use a single reference per item. A different expression can convey the intended meaning while matching the recorded reference less closely. The manual evaluation partially addresses semantic equivalence at the phrase level, but it evaluates extracted pairs instead of the adequacy or readability of complete system outputs. Agreement among the automatic metrics strengthens the finding about reference matching. A separate assessment of full translations would be needed to measure how those gains appear to human readers.
The authors characterize the improvements as significant, but the results section does not describe a statistical significance test or provide uncertainty estimates. The score changes across systems are directly visible and consistently favor MaTrEx. The paper gives less information about variability across possible train–test splits or how that variability would affect the reported comparisons. The analysis also contains a relative BLEU claim for the word-based comparison that does not agree with the system scores in the results table. The system scores provide the firmer basis for interpreting that comparison.
The manual assessment leaves some details about measurement open. The reported rates have greater precision than the stated sample sizes alone would explain, and the paper does not give a procedure that accounts for that detail. It does not report agreement among independent judges or specify how consistently restricted-context pairs were distinguished from outright errors. The relative pattern in the reported categories can be described, while the exact percentages should be read as the paper’s assessment of its selected samples.
Finally, the component-level explanation remains weaker than the system comparison. The paper gives reasons to expect both morphological analysis and nonmonotonic alignment to help. It reports the quality of some phrase pairs that survive both extraction procedures. The experiment still supplies no direct estimate of what each representation, each evidence source, or the jump capability contributes by itself. Those design choices are plausible explanations for how MaTrEx obtains its resources. The supported empirical claim is that the resulting hybrid configuration outperformed the reported baselines under the tested conditions.
What came after
The paper sets out follow-up experiments, and completed later studies are undocumented here. Its proposed directions include reversing the translation direction, evaluating other kinds of text, and trying Basque–Spanish so that the approach could be compared with a dedicated rule-based translator. These extensions would address different uncertainties left by the software-manual test. The reverse direction would test whether the resource can support generation of Basque grammatical forms. Different texts would test how well the learned chunks and alignment choices carry across domains. Basque–Spanish would give the authors a setting in which the comparison could include a purpose-built rule-based system.
The authors also identify changes to the method itself. Adapting marker-based chunking for Basque would test how well that segmentation principle can use cues expressed as morphemes or located inside phrases. Deeper constituent restructuring would investigate whether the input can be made easier to align before the search has to rely on jumps. Translation templates represent another prospective extension, with reusable variable positions in bilingual patterns. These are research plans from the paper. The demonstrated result is the Basque-to-English manual-domain comparison, in which adding aligned examples to a statistical phrase resource improved the scores of the complete translator.
Cite
Cite as Nicolas Stroppa, Declan Groves, Andy Way and Kepa Sarasola. 2006. Example-Based Machine Translation of the Basque Language. Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers.
@inproceedings{stroppa2006example,
title = {{Example-Based Machine Translation of the Basque Language}},
author = {Nicolas Stroppa, Declan Groves, Andy Way and Kepa Sarasola},
booktitle = {Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers},
year = {2006},
url = {https://aclanthology.org/2006.amta-papers.26/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/stroppa-2006-example-based-machine-translation-basque/