Elamur Research

Terminology-Aware Segmentation and Domain Feature for the WMT19 Biomedical Translation Task

Paper · 2019 · Casimiro Pio Carrino, Bardia Rafieian, Marta R. Costa-jussà et al.

Summary

A biomedical translation can read fluently and still mishandle the word that carries the most important information. For English and Spanish, Carrino and colleagues investigate whether a list of specialist terms can help a neural machine translation system handle that vocabulary. Their proposal acts before training, at the point where sentences are broken into units. Ordinary subword tokenization can split a long or infrequent word into pieces that recur elsewhere. The authors keep that option for general vocabulary and exempt words found in a biomedical list. A sentence can therefore contain an intact specialist term next to a word represented by several pieces.

The authors use BabelNet, a multilingual lexical resource, to find biomedical words in their English–Spanish training material. They consult the domain associated with a word’s key concept and use a broad definition of biomedical vocabulary that includes areas such as chemistry and engineering. The resulting list serves two purposes. It determines which words are kept whole on both sides of a translation pair, and it supplies an optional label on the input side. The label tells the system whether the current word belongs to the list. The experiments use a Transformer to test whether changing the units, supplying the label, or sharing vocabulary and embedding weights produces better translations.

On the WMT18 test set, keeping terms intact without adding features yielded a BLEU score of 44.09 for English into Spanish, compared with 40.84 for ordinary sub-word segmentation. It yielded 44.84 for Spanish into English, compared with 43.70 for the same baseline. Adding the biomedical label produced the highest English-to-Spanish score on that test, 44.26, but yielded 43.49 in the reverse direction. The label was associated with lower scores than segmentation alone in both directions on the WMT19 results as reported. The submission presented as sharing vocabulary and embedding weights led the authors’ WMT19 comparisons in both directions, and their best submission ranked 2nd for Spanish into English and 3rd for English into Spanish.

The experiment gives the clearest support to changing where a listed word can be split. It gives less consistent support to telling the system explicitly that the word is biomedical. Those interventions can influence translations in different ways. Keeping a word intact changes the unit the system learns from and, on the output side, can produce. Adding a label supplies extra information about an input whose segmentation is already decided. The evaluation measures overall agreement with reference translations. It leaves open how much of that agreement came from more accurate rendering of specialist terms themselves.

Deep dive: Terminology-Aware Segmentation and Domain Feature for the WMT19 Biomedical Translation Task

Carrino and colleagues test whether keeping biomedical terms whole during segmentation improves English–Spanish machine translation. · about 31 minutes to read

The problem and its context

Fluency and terminology impose different demands

A translator working with biomedical material has to produce readable sentences and choose vocabulary appropriate to the subject. The paper treats those demands as part of the same industrial problem. A system can learn common sentence patterns and still encounter specialist words for which its training material supplies little evidence. Conversely, knowing that a word belongs to a specialist vocabulary gives only part of the information needed to translate the sentence around it. There is a question of what unit the system receives, alongside a question of what information the paired sentences provide about that unit.

The authors frame this as domain adaptation, the problem of making a translation system work well for a particular kind of text. A parallel corpus contains sentences paired with corresponding sentences in another language. These pairs give the system examples of what to produce for a given input. Large collections can supply many such examples, but the paper notes that comparable amounts of material are often unavailable for individual domains. A corpus can be substantial enough to train a system and still offer uneven evidence for specialist vocabulary. The article situates this concern in earlier accounts of the problems facing neural translation and of the methods used to adapt it. Six Challenges for Neural Machine Translation · A Survey of Domain Adaptation for Neural Machine Translation

The availability of paired examples matters at more than one scale. A whole sentence illustrates how an expression fits into its surrounding grammar and how other words contribute to the intended meaning. Repeated appearances of a unit give the system opportunities to learn about that unit across different contexts. A data preparation choice can change what counts as a recurring unit even when every sentence pair stays the same. The paper takes advantage of that distinction. Its intervention concerns the pieces the system sees and the information attached to those pieces.

What earlier approaches supplied

The paper describes earlier work that sought additional evidence by drawing on text beyond the available specialist sentence pairs. One strand used in-domain monolingual material, which shares the subject matter of the translation task and is available in a single language. The authors place work on copied monolingual data in this group. Another strand used parallel material from outside the domain. That material offers translation pairs, even though its vocabulary and sentence patterns may differ from those of the specialist task. Both strategies try to make useful evidence available when specialist parallel text is limited. Copied Monolingual Data Improves Low-Resource Neural Machine Translation

A second strand concerned the direct use of external knowledge. The paper points to previous work on guiding translation with terminology and on supplying domain information to a translation system. These approaches make it possible to give the system a signal that would otherwise have to be inferred from its examples. In Carrino and colleagues’ design, domain information is local to a word. A sentence may contain some words associated with the biomedical list and others that receive the general label. The paper uses the distinction to enrich a mixed sequence within a single sentence.

The source of the domain knowledge also matters to the design. A bilingual glossary could supply an equivalent for a particular expression, whereas the authors’ list supplies membership information for words in each language. Membership is enough to govern segmentation and build the binary feature. The ordinary training pairs still supply the evidence for how to translate an input in context. The authors’ use of terminology therefore belongs alongside earlier attempts to add domain knowledge, with its own point of entry into the pipeline.

Why split words at all?

A system with a fixed vocabulary needs a way to handle words outside that vocabulary. The paper addresses this open-vocabulary problem with byte-pair encoding, or BPE. It represents words using smaller pieces when appropriate, so that a word can be constructed from units that appear across the corpus. A common string can then have a useful representation even when some of the words containing it occur infrequently. The translation system learns from the resulting sequence of pieces and can generate output in those same kinds of units. The authors take this approach from earlier work on translating rare words with sub-words. Neural Machine Translation of Rare Words with Subword Units

BPE derives its treatment of a word from patterns in text. Those patterns can support useful divisions across many words. The specialist importance of a particular word is a separate consideration. For instance, a representation that breaks an abbreviation into pieces may work well as a way to express its spelling with a reusable vocabulary. A terminology list gives the system designer a reason to give the abbreviation a whole-token representation. That choice lets the system encounter the abbreviation repeatedly as an identifiable unit whenever it occurs.

Both granularities have a role in the authors’ proposal. An exemption for known terms gives them a stable place in the sequence. Continued splitting elsewhere preserves the general mechanism for handling vocabulary beyond those exemptions. The method therefore asks a narrower question than whether word tokens or sub-word tokens are universally preferable. It asks whether there is a useful set of words for which domain knowledge should override a learned segmentation rule.

The point at which the authors intervene

The contribution is a change to data preparation organized around a terminology list. The authors learn the usual BPE codes and alter how they apply them. This order matters because the list decides when to make an exception to rules that are also available for the rest of the corpus. It does not need to supply a new way of dividing general words. A list of specialist words for each language is enough to define the exemptions independently on the input and output sides.

The optional input feature extends the same premise. Once a procedure has determined that a word is in the list, it can retain that information explicitly in the prepared representation. A whole token can convey a word’s identity. A feature shared by listed terms conveys what their membership has in common. A system might learn to use that common signal across specialist words with very different spellings. Testing the choices separately is important because the presence of useful domain information does not establish that every way of supplying it will help.

The authors describe their segmentation proposal as a first attempt, to their knowledge, at using a terminology list to drive segmentation for a particular domain. The scope of that claim is the control of token boundaries by the list. The surrounding ingredients already had precedents in the work they cite, including sub-word segmentation, terminology and domain control. The new combination gives those ingredients distinct jobs in a translation system whose main architecture is already established.

The method, step by step

From sentences to translation units

The preparation begins with paired English and Spanish text. Each pair supplies an input and a corresponding translation, with the roles reversed when training in the other direction. Before applying the specialist rule, the authors standardize the data and learn how ordinary BPE would segment it. They also inspect the vocabulary of the training material with BabelNet. These steps produce the information needed to decide, for a particular word in a sentence, whether to use the usual BPE pieces or retain the word intact.

The list has a separate effect on each side of the pair. For an input word, the rule determines which unit or units enter the encoder, the part of the system that represents the input. For a word in the training translation, it determines which unit or units the decoder, the part that produces the output, learns to generate. The source-only feature adds another decision at the encoder input. It can identify a listed word as biomedical without asking the decoder to generate domain labels along with translated text.

Preparing terminology-aware data for translation training

The steps in order.

Preparing terminology-aware data for translation trainingStep 1: Clean and normalize English–Spanish sentence pairs1. Clean and normalize English–Spanish sentence pairsStep 2: Identify biomedical words with BabelNet2. Identify biomedical words with BabelNetStep 3: Learn shared BPE codes3. Learn shared BPE codesStep 4: Preserve listed terms on both sides4. Preserve listed terms on both sidesStep 5: Segment unlisted words with BPE5. Segment unlisted words with BPEStep 6: Optionally embed source-side domain labels6. Optionally embed source-side domain labelsStep 7: Train the Transformer on prepared pairs7. Train the Transformer on prepared pairs

Assemble and normalize the parallel text

The authors combine resources made available for WMT19 with material drawn from the OPUS collection. They work with biomedical pairs available as plain text and in Dublin Core format. The formats affect how the material is read and consolidated before training. By parsing and merging the sources, the authors create a common collection of sentences and their translations. They remove empty sentences and duplicates during cleaning. Parallel Data, Tools and Interfaces in OPUS

The next stage uses scripts from the Moses distribution to normalize punctuation, perform tokenization, and apply truecasing. Tokenization at this stage gives the procedure words and punctuation units to work with before those units are potentially divided again by BPE. Truecasing standardizes capitalization choices. These operations define the form in which words are subjected to later preparation. In a method built around list membership, the form of a word matters because membership determines whether the term protection rule applies.

The authors discard sentences shorter than 2 tokens or longer than 80 tokens. Those thresholds belong to the preprocessing pipeline, before the later discussion of learned BPE units. The distinction is material because a sentence of a given length in words and punctuation can become a longer sequence after sub-word segmentation. The earlier filter decides what data enters the training and validation sets. The later exception rule controls how the retained sentences are represented.

Decide which words belong to the specialist list

BabelNet associates words with concepts and domains. A synset groups forms around a sense, and a word can have more than one such association. That creates a choice for a system that wants a word-level domain label. The authors base their decision on the word’s key concept. The reported procedure therefore selects a domain associated with the word in the resource, as opposed to assigning a fresh sense to every occurrence in its sentence.

To decide what counted as biomedical for this task, the authors started from the meaning of the biomedical concept and examined related concepts in BabelNet. The relations led them through areas such as medical practice, bioscience and related technology. They limited their lookup to four BabelNet domains: Biology, Health and Medicine, Engineering and Technology, and Chemistry and Mineralogy. The scope is broader than a list assembled exclusively from names of medical conditions. It reflects the related scientific and technical vocabulary that the authors judged relevant to this translation domain.

The procedure runs over words in the training data and queries the multilingual dictionary through the BabelNet API. The experiments report a list of 10,000 biomedical terms for English and Spanish. The authors use this result as a list of words whose presence can be tested while preparing a sentence. A word that passes this test receives the specialist treatment. A word outside the list proceeds through ordinary BPE and, in the feature condition, receives the general-domain label.

That last decision illustrates the difference between belonging to the list and being biomedical in a particular sentence. The method operationalizes the domain as a lookup result. A specialist word can be absent from the list and receive the general treatment, as the paper’s examples show. Conversely, the method assigns the specialist treatment to a listed word when it occurs, with the choice inherited from the word-level lookup rather than made again from context. Both outcomes follow from the same decision rule.

Apply the subword rules with exceptions

The authors learn shared BPE codes on the source and target data, with a maximum of 50k BPE symbols. The codes specify how to construct the kinds of pieces used to represent words. A code inventory learned from both languages can be applied to either side. This sharing at the segmentation stage is distinct from the experimental setting that also shares the vocabulary and embedding weights used during translation training.

Under ordinary BPE, the learned codes determine how a word is represented. Under terminology-aware BPE, the first relevant question at application time is whether the word is listed. If it is, the procedure passes the whole word through as a term token. Otherwise, the usual rules apply. This fallback can leave a word intact when the ordinary codes already do so. The policy guarantees the boundary for listed words and leaves the treatment of other words to BPE.

The paper illustrates the distinction with words such as calcification and ossification. Ordinary BPE gives these words internal boundaries in the examples. The terminology-aware version gives each its own whole token, while ordinary words nearby can remain split. Physiopathology receives the same whole-word treatment in its example. The identity of the surrounding words and the meaning of the sentence stay the same. What changes is where the sequence marks the ends of the units used for training.

The effect also appears with different kinds of specialist vocabulary. TAFI is broken into pieces by ordinary BPE in the example but kept intact by the exception rule. Hepatosplenomegaly and pancytopenia retain their whole forms as well. Those examples help distinguish leaving a word intact because of its domain membership from learning a special boundary rule for a particular affix or length. The exemption is the same kind of operation in each case.

Clot and hypertension illustrate a different point. The paper names both as terms outside the list, which leaves them eligible for ordinary splitting. They happen to appear whole in the displayed sentences. Their appearance there does not imply that the list protected them. A whole word in the resulting sequence may owe its form either to the terminology exemption or to ordinary BPE. This also explains why a list match is an opportunity to change the representation, while a visible change requires that ordinary BPE would have split the word.

The authors describe the resulting sequences as mixtures of whole terms and sub-words. Where the exemption prevents a split, the sequence has fewer tokens than its ordinary BPE counterpart. This is a local consequence of removing boundaries inside a word. The examples establish that such shortening occurs in individual sentences. The extent of shortening across a corpus depends on how frequently protected words occur and how ordinary BPE would have treated them.

Keeping terms whole on the target side changes the training targets. If a specialist output word was formerly represented by several successive pieces, the prepared translation supplies that word as a single unit. The decoder can then learn to produce the whole term at one output position. It still learns this choice from the translation pairs. Preserving the word on the source side makes it easier to identify as a unit in the input sequence, while preserving it on the target side changes the set of units the decoder can directly choose.

Embed the domain label with the source token

The feature condition uses the same list to assign a binary label. One value represents biomedical membership and the other represents the general category. The word-level label is particularly straightforward for a protected term because the word occupies a single source token. The identity representation distinguishes that term from other words. The domain representation can be shared among words given the same label.

An embedding is a vector of learned numerical values used to represent a discrete item such as a token or a category. A binary category can have an embedding with several coordinates even though the category itself has only two possible values. The embedding supplies a flexible representation for the label. The authors combine it with the token’s embedding before the rest of the translation system processes the input.

The simplest combination they discuss is concatenation, which places the coordinates of the token vector and the feature vector next to one another. Their version adds a learned transformation after concatenation. A neural layer takes the joined vector, applies a weighted mapping and a bias, then transforms each output coordinate using a nonlinear function. The paper gives the operation as follows.

x̂ = g([x_w, x_f] W + b)

Here, x̂ is the resulting input vector, and the hat marks the transformed representation. The vector x_w is the embedding of the word or input unit, with w identifying the word component. The vector x_f is the embedding of the domain feature, with f identifying the feature component. The brackets and comma indicate concatenation in that order. Juxtaposition with W means that the combined vector is multiplied by the learned weight matrix W. The plus sign adds the learned bias vector b. The function g applies the same kind of nonlinear operation separately to each coordinate. The equals sign defines the representation that goes on to the translation system.

The authors use n for the size of the word embedding, m for the size of the feature embedding and d for the size of the resulting vector. In the reported experiments the word embedding has n = 512 coordinates, and the feature embedding has m = 3. The concatenated input has n + m coordinates, and W maps from that space to d coordinates. The bias and the transformed representation both have d coordinates. The paper gives no numerical setting for d in this description.

The feature has one application point in the experiments, on the input side. For English-to-Spanish translation it enriches English inputs. For Spanish-to-English translation it enriches Spanish inputs. The target sentences continue to use the terminology-aware segmentation in both directions. This arrangement lets the authors compare the effect of adding the feature against a system in which both sides already benefit from term exemptions.

Train the systems on the prepared sequences

The authors use the Transformer implementation in OpenNMT with its default parameters. The prepared source units enter its encoder, and tokenized target sequences supply the units its decoder learns to generate. The ordinary segmentation and terminology-aware settings use the same general translation architecture, with the feature condition adding the input mapping described above. The paper’s design therefore puts most of the task-specific decision making in preparation and representation. Attention Is All You Need · OpenNMT: Open-Source Toolkit for Neural Machine Translation

The baseline uses standard BPE. One terminology-aware setting changes only the segmentation, while another adds the source-side domain feature. The paper also describes a third terminology-aware experiment in which the source and target share a vocabulary, and the encoder and decoder share embedding weights. The training description says that this experiment also includes the feature. The results identify it by the shared vocabulary and embeddings and omit the feature from its label. That discrepancy matters when interpreting which ingredient accounts for its scores.

The common maximum vocabulary size is 50k tokens. The paper reports that the baseline and the third experiment reached 50k, while the other settings had smaller final vocabularies. The maximum used when learning BPE symbols and the maximum used for the translation vocabulary describe different stages. The former governs the segmentation inventory. The latter governs the stock of units represented during translation training. Term exemptions and the choice to share a vocabulary can affect the units that ultimately occupy that stock.

Experiments and results

Training, validation and test data

The training collection draws on several sources of biomedical parallel text. The authors name Scielo, UFAL and Pubmed among the training sources. They also include Medline, IBECS and EMEA. Khresmoi supplies the validation material. The validation data has a distinct role from the material used to fit the system. The authors use it to assess saved training states before preparing their competition submissions.

After preprocessing, the training set contains 2,812,577 English–Spanish sentence pairs, and the validation set contains 500 pairs. These figures describe the parallel material that remained after cleaning and length filtering. The same pair of languages supplies both translation directions, with the input and target roles exchanged. The results report the directions separately, so a change that helps English-to-Spanish translation can be examined independently of what it does for Spanish-to-English translation.

The authors use the WMT18 test set to compare each terminology-aware configuration with ordinary BPE. They report the WMT19 competition results for the terminology-aware submissions. This difference in the comparison sets matters. The WMT18 results can answer how each proposed variant fared against the paper’s standard-BPE baseline. The WMT19 results give the ordering of the reported submissions, with no corresponding baseline entry in that comparison.

How the paper measures translation quality

The evaluation uses BLEU, which compares sequences of words in a translation with those in reference text and incorporates a penalty for short output. It gives a corpus-level indicator of the agreement between generated translations and references. For WMT18, the authors calculate the scores with the multi-bleu-detok.sh script from Moses. That scoring setup applies to the baseline and the proposed variants in the WMT18 comparison. Bleu: a Method for Automatic Evaluation of Machine Translation

The evaluation unit matters because the intervention acts at an earlier stage, inside the word representation. A system can change where it puts sub-word boundaries during training, yet the intended translation is still ordinary text. BLEU responds to the rendered translation and its agreement with the reference. The paper also counts occurrences from the terminology list in held-out material to characterize coverage. These counts describe how much vocabulary the procedure encounters, while BLEU describes the resulting translations as a whole.

To prepare their competition submissions, the authors rank the training checkpoints by validation-set BLEU score and average the highest-scoring checkpoints. A checkpoint is a saved state from training. Averaging checkpoints combines saved parameter values into the state used for a submission. The WMT19 scores therefore represent the systems prepared through that selection and averaging procedure. The WMT18 comparison is described separately, with the emphasis on applying the same BLEU scorer to the baseline and the proposed configurations.

English into Spanish on WMT18

English-to-Spanish systems on the WMT18 test set by BLEU

Every terminology-aware setting exceeds ordinary BPE, and the source feature setting leads.

English-to-Spanish systems on the WMT18 test set by BLEUStandard BPE baseline: 40.84Standard BPE baseline40.84Terminology-aware BPE: 44.09Terminology-aware BPE44.09Terminology-aware BPE with domain feature (this paper): 44.26Terminology-aware BPE with domainfeature (this paper)44.26Terminology-aware BPE with shared vocabulary and embeddings: 44.04Terminology-aware BPE with sharedvocabulary and embeddings44.04
The numbers
System or settingBLEU
Standard BPE baseline40.84
Terminology-aware BPE44.09
Terminology-aware BPE with domain feature (this paper)44.26
Terminology-aware BPE with shared vocabulary and embeddings44.04

For English into Spanish, the comparison starts at 40.84 BLEU for standard BPE. The system that only changes segmentation reaches 44.09 BLEU. This comparison gives direct evidence that the terminology-aware representation can help within the setup, since it does not require adding the explicit input feature. The domain-feature setting records 44.26 BLEU and leads the direction on this test. The shared vocabulary and embeddings entry scores 44.04 BLEU.

The ordering has two parts. The baseline trails every terminology-aware variant, making the benefit of the broad preparation change visible across settings for this direction. Among the proposed variants, the feature setting leads, followed by segmentation alone and then the shared setting. It is possible to observe both patterns without assigning the best result to a single mechanism. The comparison with ordinary BPE supports the exception rule, while the comparison among proposed variants reveals different outcomes for the additional choices.

Spanish into English on WMT18

Spanish-to-English systems on the WMT18 test set by BLEU

Terminology protection alone leads, while the domain feature setting falls below ordinary BPE.

Spanish-to-English systems on the WMT18 test set by BLEUStandard BPE baseline: 43.70Standard BPE baseline43.70Terminology-aware BPE (this paper): 44.84Terminology-aware BPE (this paper)44.84Terminology-aware BPE with domain feature: 43.49Terminology-aware BPE with domainfeature43.49Terminology-aware BPE with shared vocabulary and embeddings: 43.84Terminology-aware BPE with sharedvocabulary and embeddings43.84
The numbers
System or settingBLEU
Standard BPE baseline43.70
Terminology-aware BPE (this paper)44.84
Terminology-aware BPE with domain feature43.49
Terminology-aware BPE with shared vocabulary and embeddings43.84

The reverse direction changes the ordering. Standard BPE scores 43.70 BLEU, and terminology-aware segmentation alone leads with 44.84 BLEU. The shared vocabulary and embeddings setting reaches 43.84 BLEU. The setting identified by the domain feature scores 43.49 BLEU, below the standard-BPE baseline. The strongest variant for English into Spanish is therefore the lowest-scoring variant for Spanish into English on the same test edition.

Taken together, the WMT18 comparisons show that the segmentation-only setting improves over standard BPE in both directions. The shared setting likewise exceeds the baseline in both. The feature setting gives a direction-dependent result when compared either with plain terminology-aware segmentation or with the baseline. The paper’s general interpretation is that the Transformer benefited from the protected segmentation, while the explicit domain feature was less favorable overall. The directional results give the qualifications needed for that interpretation.

Performance in the WMT19 competition

The competition table reports columns labelled All and OK. The paper gives their BLEU values without describing the criteria behind the two labels. The clearest comparisons are within each reported column because the entries there are directly presented against one another. The shared vocabulary and embeddings setting leads all the columns. The authors also identify it in the text as their strongest WMT19 submission across directions.

In English-to-Spanish translation, terminology-aware segmentation alone scores 43.40 BLEU in the All column and 46.09 in OK. With the domain feature, the scores are 43.01 in All and 45.68 in OK. The shared setting reaches 43.92 in All and 46.83 in OK. The relative ordering is the same for both reported evaluations. The shared setting leads, segmentation alone follows, and the setting explicitly labelled with the domain feature trails.

Spanish-to-English submissions on the WMT19 OK evaluation by BLEU

The submission with shared vocabulary and embeddings leads the other terminology-aware settings.

Spanish-to-English submissions on the WMT19 OK evaluation by BLEUTerminology-aware BPE: 43.55Terminology-aware BPE43.55Terminology-aware BPE with domain feature: 42.70Terminology-aware BPE with domainfeature42.70Terminology-aware BPE with shared vocabulary and embeddings (this paper): 45.09Terminology-aware BPE with sharedvocabulary and embeddings (this paper)45.09
The numbers
System or settingBLEU
Terminology-aware BPE43.55
Terminology-aware BPE with domain feature42.70
Terminology-aware BPE with shared vocabulary and embeddings (this paper)45.09

For Spanish-to-English translation, the OK scores are 43.55 BLEU for segmentation alone, 42.70 for the feature setting and 45.09 for the shared setting. The adjacent All column gives 37.92, 37,21 and 39.41, respectively. The paper prints the middle score with a comma. It also labels this Spanish-to-English All column WMT18 even though the table caption and surrounding discussion identify the table as WMT19 results. The figures belong to that competition table, with the mismatch leaving the header ambiguous. The Spanish-to-English OK column is explicitly labelled WMT19.

The authors report a final competition rank of 2nd for Spanish into English and 3rd for English into Spanish. These places describe performance among competition submissions. The BLEU comparisons within the paper describe performance among the authors’ own configurations. That distinction explains why the shared setting can lead both directions in their submission table while the competition placements differ by direction.

Coverage of the terminology list

To see whether the training-derived list remained relevant beyond training, the authors count biomedical terms from the list in validation and test material. On the validation set they report 713 for Spanish and 831 for English. On the WMT18 test set, the Spanish count is 355 and the English count is 363. On the WMT19 test set, they count 399 for Spanish and 502 for English.

The counts establish that terms eligible for the exception rule occur in the held-out material in both languages. They also give a reason to examine the two directions separately. The language providing the input changes with direction, as does the language for which the system must generate terms. The counts are descriptive, and the paper gives no denominator that would turn them into a proportion of all biomedical vocabulary present or of all running text in each split.

The counts also answer a narrower question than how frequently the rule actually changes a token boundary. A term can belong to the list and already be intact under ordinary BPE. Its presence would matter to the optional feature and to the eligibility rule, while its segmentation would look the same in both preparations. The coverage figures establish where the method has a chance to act. The sentence examples show some genuine changes, and the test scores record the combined outcome of those changes and the training that follows.

What the ablations show

The comparison that isolates segmentation most closely

The clearest test of the main idea is ordinary BPE against terminology-aware BPE alone on WMT18. The proposed setting changes how terms are represented on both sides and omits the optional source feature and the reported sharing changes. It improves BLEU for English into Spanish and Spanish into English. That provides stronger evidence for the segmentation rule than a comparison based only on the competition winner, which bundles several choices and is evaluated without the ordinary-BPE row.

This is an ablation of the preparation choices as used in the system, instead of a test that holds every property of the representation fixed. Keeping a word intact changes the sequence and can affect the final vocabulary. The paper reports that the segmentation-only configuration and the baseline end up with different vocabulary sizes under the common cap. The result therefore supports the full change from standard BPE to term-preserving BPE, including its consequences for the units available to training.

There are also distinct possible contributions from each side of the parallel pair. On the source side, a protected term becomes a whole unit in the input representation. On the target side, the decoder can learn to produce a corresponding whole term when that term is in the target vocabulary. The comparison changes both sides at once. It establishes that the joint treatment was effective on WMT18 in both translation directions, while leaving the contributions of source and target protection unresolved.

The sample segmentations explain what the rule does in enough detail to understand this result. A string represented by several fragments under ordinary BPE can occupy one position under the term-aware rule. The rule applies to individual words while leaving other segments available. As a consequence, the contrast does not depend on turning the whole sentence into a sequence of full words. The experiment measures the effect of selected changes embedded in a mostly ordinary sub-word pipeline.

An explicit label adds an uneven benefit

The feature comparison starts from the segmentation-only system and uses the binary category as additional source input. In English into Spanish on WMT18, the feature condition scores higher than segmentation alone. In Spanish into English on that test, the ordering reverses. Both directions have held-out matches to the relevant term lists, so the reverse-direction loss occurs in a setup where the feature can identify specialist input vocabulary. The presence of relevant labels in a test set is therefore insufficient to establish that their learned representation improves translation.

On WMT19, the setting explicitly labelled with the feature scores below segmentation alone across the reported columns. The repeated ranking gives the authors a basis for their conclusion that the domain feature tended to hurt performance. The English-to-Spanish WMT18 result remains an exception and is important to the interpretation. It shows that the paper’s evidence concerns the conditions under which this implementation helped or hurt, instead of a general verdict about word-level features.

A protected token already receives a representation tied to its own identity. The added information is a common category across words with such an identity. One possible explanation for the results is that the shared category offered little useful evidence once important words were represented intact. Another possibility is that the label helped for some words and introduced an unhelpful grouping for others. The reported experiments do not distinguish these explanations. They compare outcomes of the input design, with no measurement of how the system uses the feature on individual terms.

The input design bundles the category and its integration. The authors concatenate the word and label embeddings and apply the learned nonlinear projection. The comparison tests that package against omitting it. There is no separate score for plain concatenation, for introducing the transform without the tag, or for supplying a different domain categorization. The feature result consequently attaches to the particular binary labels and mapping used in the paper.

Sharing offers a different comparison

The shared vocabulary and embeddings entry has the strongest WMT19 scores among the submissions. On WMT18 its position depends on the direction and the comparison. It trails terminology-aware segmentation alone in both directions on WMT18. Compared with the setting explicitly identified by the domain feature, it trails in English into Spanish but leads in Spanish into English. The pattern shows that the option performing best on the competition evaluation did not lead every earlier comparison.

Sharing BPE codes was already part of preprocessing. Sharing the vocabulary further means that the representations used for the source and target draw from a common set of units. Sharing embedding weights links how the encoder and decoder represent those units. These changes can affect training even when the visible token boundaries stay the same. The embedding and vocabulary changes also appear together, so their individual contributions cannot be estimated from the reported rows.

The discrepancy about the feature in the third experiment puts an additional limit on this comparison. Taking the training description literally, the shared configuration adds sharing to a system already equipped with the feature. Taking the shorter result label as the complete specification, the feature’s presence is uncertain. Either reading leaves the observed score ranking intact. The evidence establishes the performance of the reported shared setting, and the paper’s description leaves its exact combination of ingredients unclear.

The realized vocabulary sizes offer another reason to interpret the comparison as a system-level result. The shared setting and the baseline reach the cap, while the other configurations do not. A score can reflect the effect of the shared representations, the vocabulary available under that arrangement, or their interaction with the segmentation rule. The experiment is sufficient to select a stronger submission on WMT19. It gives less information about how much each choice contributed to that result.

The examples and counts show where the method can act

The segmentation examples work as a direct check of the intended behavior. They show that ordinary BPE splits some listed terms and that the alternative preserves them. They also show ordinary pieces still present around protected words. A sentence can therefore benefit from stable treatment of a particular term without losing the use of reusable pieces elsewhere in the same input.

The examples also show why the terminology list’s size and quality are priorities for the authors. A word outside the list falls through to BPE, independently of whether a reader would recognize it as specialist vocabulary in context. The term counts then show that some list members occur in the held-out splits. Together, these analyses establish a plausible route from list construction to changes in the test input. Their scope ends before any claim about a specific test translation.

The paper does not vary the terminology list to examine which entries are decisive. The examples and counts provide a check of coverage and operation in place of a comparison between alternative lists. They make the proposed mechanism observable, but they cannot show whether the gain comes primarily from technical abbreviations, long words that would otherwise have many pieces, often recurring specialist vocabulary, or some combination of these. The measured improvement belongs to the list as a whole.

Limitations

Limits the authors identify

The authors explicitly connect the effectiveness of the segmentation to the quality and size of the list. The rule can protect a word only if the word belongs to that list. Their examples point out biomedical vocabulary that remains subject to ordinary BPE. This is a practical consideration for a training-derived list. A term absent from the material used to build the list has no route to protection through that lookup, even if it appears in later inputs. The authors propose collecting terminology independently of the training data as future work.

They also identify multiword terminology as a direction for extension. The reported procedure tests words and retains individual terms as units. A biomedical expression spanning several words can depend on the combination of those words, even when its components are individually familiar. Protecting one or more constituent words leaves the boundaries between them in place. The authors propose drawing multiword terms from biomedical glossaries to explore a procedure that can account for those expressions.

The authors describe the preparation strategy as independent of the particular neural translation architecture. The portability claim has a clear scope. The term-aware segmentation produces token sequences that could be supplied to another system accepting such inputs. The input feature requires a way to include its label representation with the token representation. The experiments establish performance only for the reported Transformer implementation and training conditions. Testing another architecture would answer a separate empirical question about whether the benefit carries over.

Limits visible in the experimental setup

BLEU measures agreement with references across the translated text. The paper reports no term-specific accuracy measure or assessment in which readers judge the correctness of biomedical terminology separately. It is therefore possible for an improvement to reflect changes in the term itself, in the surrounding words, or more generally in how the system learned from the revised representation. The evidence supports a claim about better overall BLEU under specific conditions. It cannot identify which biomedical choices improved or how often.

The use of whole terms has a plausible downside that the paper’s design leaves unmeasured. Sub-word units let different words share some of the evidence associated with recurring pieces. A protected word has its own identity and can lose that direct form of sharing with other words. For a specialist word seen infrequently, the separate identity may be harder to learn than a composition of familiar pieces. The experiments establish the net result of the policy under the authors’ conditions. They offer no frequency-based analysis that could show when one representation works better for a particular term.

The list inherits decisions from BabelNet and from the authors’ choice of domains. The procedure assigns the domain using the key concept associated with a word. It leaves open whether a current occurrence expresses that concept, especially for a word used in several senses. The evaluated system uses the resulting label and rule consistently, but the paper gives no manual audit of domain assignments or comparison against a context-sensitive assignment procedure. The measured results therefore concern the operational list the authors actually derived.

Coverage likewise remains only partly characterized. There are counts of terms found in the held-out splits, but no reference count of all terms a domain expert would identify. The paper does not say how many list matches changed ordinary segmentation or how those changes were distributed among sentences. High reuse of a list could involve some terms that ordinary BPE already handles as whole words. Useful information about the list’s reach would require knowing both its membership and the baseline treatment of the matched words.

The study is confined to English–Spanish biomedical translation in the reported data setting. A language pair with different spelling patterns, or a specialist corpus with a different distribution of technical words, might interact differently with the same rule. Even within the tested pair, the feature results differ by translation direction on WMT18. That difference makes the direction of translation a demonstrated condition of the findings, while transfer to other languages and subjects remains untested.

The paper gives one score per system and evaluation combination, with no reported uncertainty or variation across independent runs. The results establish the observed rankings. They do not determine which close scores would recur in another training run. Likewise, the competition’s strongest shared setting demonstrates competitive performance, while the lack of a standard-BPE entry in the WMT19 comparison leaves the direct competition-era gain over ordinary BPE unknown.

Finally, some reported configurations and evaluation labels are underdescribed. The prose and result label for the shared experiment leave uncertainty about whether it includes the source feature. The competition table reports All and OK without explaining the selection criteria, and one column header conflicts with the description of the table. These issues leave the within-column score ordering readable while limiting more specific comparisons across setups, splits and editions.

What came after

The subsequent research record available for this paper contains no citing work whose use of the approach can be described. The authors’ own forward plans are the point at which the account ends. They proposed extending the exception rule to terms that span several words, using entries drawn from biomedical glossaries. This would bring a new decision into segmentation because the procedure would need to recognize a phrase as a unit before deciding what to preserve. The reported experiments deal with membership at the level of individual words.

The authors also proposed building a terminology list independently of the training corpus. That would alter how words become eligible for protection. A corpus-derived list is anchored to the vocabulary seen during preparation, whereas an independently assembled list could include specialist terms absent from the training text. Whether those additional entries would help would depend on their relevance and on how the translation system represents them when it has limited training evidence for their use.

These proposals address different boundaries of the experiment. Multiword recognition would broaden the kinds of expressions the rule can preserve. Independent collection would broaden where its terminology can come from. Both follow from the original design, in which membership in a list governs eligibility for protection. Their effects remain open questions beyond the reported English–Spanish comparisons.

Cite

Cite as Casimiro Pio Carrino, Bardia Rafieian, Marta R. Costa-jussà and José A. R. Fonollosa. 2019. Terminology-Aware Segmentation and Domain Feature for the WMT19 Biomedical Translation Task. Proceedings of the Fourth Conference on Machine Translation (Volume 3: Shared Task Papers, Day 2).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w19-5418

@inproceedings{carrino2019terminology,
  title = {{Terminology-Aware Segmentation and Domain Feature for the WMT19 Biomedical Translation Task}},
  author = {Casimiro Pio Carrino, Bardia Rafieian, Marta R. Costa-jussà and José A. R. Fonollosa},
  booktitle = {Proceedings of the Fourth Conference on Machine Translation (Volume 3: Shared Task Papers, Day 2)},
  year = {2019},
  doi = {10.18653/v1/w19-5418},
  url = {https://doi.org/10.18653/v1/w19-5418}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/carrino-2019-terminology-aware-segmentation-domain-feature/