Machine Translation Pre-training for Data-to-Text Generation - A Case Study in Czech
Paper · 2020 · Mihir Kale and Scott Roy
Summary
A restaurant record gives a system facts in a form that is easy to store. A customer needs those facts in a form that is easy to read. Getting from the record to a sentence takes several kinds of work. An English meal label needs a Czech equivalent, a phone number needs to survive intact, and a restaurant name may need a grammatical ending. Kale and Roy ask whether a system can acquire some of that experience from machine translation before it encounters the relatively small collection of examples that teach it how to turn records into descriptions. This is a test of translation as preparation for data-to-text generation.
The authors first train an encoder and decoder on paired Czech and English sentences. They then give the same system a new input: a restaurant record written as a string. In fine-tuning, they allow every parameter to adapt to the task of writing the corresponding Czech description. The decoder produces the finished wording, including the values themselves. An earlier Czech system assigns the choice of word forms to a separate stage supported by a lexicon. The authors also compare with direct training on restaurant examples and with MASS, which learns to recover masked text using the Czech and English sentences from the translation corpus individually.
With the full restaurant training split, the translation-pretrained system scores 26.35 on BLEU and 1.9 on slot error rate, which checks for the presence of eligible values from the record. On the same Czech Restaurant test set, the earlier pipeline scores 21.96 and 2.75, while MASS scores 17.72 and 24.82. People also assess outputs from 200 randomly selected test examples. Translation pretraining yields the highest scores among the systems they assess, with 97.5% of examples judged accurate against a reference and an average fluency rating of 4.83 on a 1-5 scale. MASS receives a close fluency score and a lower accuracy score.
The transfer advantage survives two different shortages. Given 100 annotated restaurant examples, the translation-pretrained system beats direct training on the entire restaurant split according to both BLEU and slot error rate. Using 1% of the parallel corpus for pretraining also yields better scores on those measures than MASS using the full corpus. Both experiments concern descriptions in Czech. The authors use Marathi to illustrate an additional requirement that can arise when a name must be written in another script and leave that setting for future study.
Deep dive: Machine Translation Pre-training for Data-to-Text Generation - A Case Study in Czech
Kale and Roy test whether pretraining on Czech–English translations helps a system turn restaurant records into accurate, fluent Czech descriptions. · about 33 minutes to read
The problem and its context
A record specifies facts more readily than wording
The paper takes its example from restaurant booking. A system has a representation of what it needs to communicate and must express it for the person using the service. The input is called a meaning representation, abbreviated MR. It contains a dialogue act, such as informing, together with fields carrying information about the restaurant. The dialogue act identifies the communicative purpose. A field, or slot, identifies the kind of information it carries through its key and supplies the particular information through its value. Together, the act and fields specify the content that the generator has to work with.
That specification leaves much of the writing open. A value may need to become part of a longer phrase, and the phrase has to fit with the rest of the sentence. The record can carry a name without indicating the grammatical role it will have in the eventual description. It can supply contact information without providing the words that introduce it. Choices of phrasing therefore create further choices about how to express individual values. A successful description resolves them while preserving what the record says about that particular restaurant.
The illustration in the paper makes the differences among values easy to see. The meal value is dinner, which calls for a Czech expression that conveys the same meaning. The number used to contact the restaurant needs to retain its digits. The restaurant name may need to take a form appropriate to its position in the sentence. These operations ask the writer to preserve different things. For the meal, it is the meaning of the English word. For the number, it is the literal string. For the name, it is the identity of the restaurant, which can survive a change in grammatical form. This last operation belongs to morphology, the system of forms that words take.
The authors introduce Marathi in the same illustration to make a further distinction. A restaurant name may have to be written in a script different from the one in which it was supplied. Transliteration is the rendering of the name in that other script. It raises a question about how to represent the same name, while translating a meal label raises a question about which expression conveys its meaning. A description could require each kind of decision. The Czech case gives the paper a concrete experiment in producing text for a language with complex inflection. The Marathi example explains why the authors expect the broader problem to involve more than inflection.
Small annotated corpora make those decisions hard to learn together. An example matched to a restaurant record can show how a writer realizes a dialogue act and how a name behaves in the particular sentence chosen for that example. The next input can call for a different combination of fields or put a value in a different grammatical context. The generator has to carry what it learned about one example into another. The amount of supervision is especially important in the setting described by the authors, where research had concentrated heavily on generation in English and where paired records and descriptions are usually limited in number.
The problem has a language component and a task component. A generator needs experience with what a Czech sentence can sound like and how a source expression can correspond to Czech wording. It also needs to learn that a restaurant input is a set of instructions about the facts and the communicative purpose of the sentence. The authors look to parallel sentences for the former kind of evidence and to annotated restaurant records for the latter. Their proposed order of training gives the system access to the larger source of evidence before asking it to learn the specialized mapping.
Earlier approaches to producing the sentence
In the paper’s account, earlier work commonly organized natural language generation as a pipeline with rules governing its stages. The research it reviews subsequently moved toward neural approaches that learn a mapping from inputs to outputs. Wen and colleagues showed how a recurrent generator could be controlled by semantic information for task-oriented dialogue systems. Further work explored architectures adapted to particular properties of structured input. Liu and colleagues conditioned a generator on tables, while Puduppully and colleagues explicitly represented the entities that appeared in the data. Kale and Roy approach the problem through the training of a general sequence-to-sequence architecture.
The earlier system for the Czech Restaurant task offers a way to see what the proposed training needs to replace. Its generator, based on TGen, can write a sentence containing placeholders for values. A placeholder reserves a position for a kind of information before the description contains the value in its final form. This is delexicalization. The system next uses a classifier to rank candidate sentences and uses a further component to select the surface forms that fill the placeholders. The surface form is the spelling or inflected form that actually appears in the sentence. That last stage, lexicalization, draws on a lexicon containing morphological forms for words and entities.
The division of labor gives the first stage a smaller problem. It can learn to place a name in an appropriate construction while passing the production of the name itself to another component. The final stage, in turn, can draw on a resource that lists forms the restaurant examples alone might seldom illustrate. Direct generation sets a different training target. The sentence the decoder emits already contains the name and any inflection it needs. The authors ask whether experience gained in translation can make this more demanding target viable for Czech.
Why the training task might make a difference
The paper situates the proposal alongside a broader move towards pretraining and adaptation. It points to the effectiveness of unsupervised pretraining in work following BERT and discusses evidence that training on text in several languages can support cross-lingual language understanding without pairing sentences across languages. It also cites transfer from translation for language-understanding tasks. For generation, the paper mentions work by Chi and colleagues that used multilingual unsupervised preparation for tasks such as summarization and question generation. Saleh and colleagues had already used translation pretraining in a shared-task submission. The Czech study brings the comparison to a setting where a structured input has to guide a description in another language.
The two pretraining approaches in the study offer distinct forms of practice. Recovering a hidden stretch of Czech trains a decoder to supply words that make sense in their Czech context. Translating into Czech trains it to produce a natural sentence whose meaning corresponds to a sentence it has been given in another language. Each can help with writing Czech. The authors’ hypothesis concerns what the second exercise may contribute when the eventual input includes values that the output must represent faithfully. They expect experience with source-conditioned transformations, such as preserving a number or changing the grammatical form of a name, to provide a useful starting point.
A translation system could also be used at the end of a pipeline, after an English generator has written a description. That approach assumes that the restaurant-record task can first be learned in English. The authors set up their study for a developer who has a Czech data-to-text corpus and a Czech–English translation corpus. An English counterpart to the restaurant corpus is outside that setup. The translation work is therefore done during preparation, and the adapted system learns from Czech descriptions paired with records. Its final input is the record.
The method, step by step
Use the same reader and writer for both tasks
The proposed system has an encoder, which reads the input sequence, and a decoder, which produces the output sequence using the encoded input. The architecture behind both is a Transformer. In a translation example, the encoder receives a sentence and the decoder learns to produce its counterpart in the target language. In a restaurant example, the encoder receives the intent and fields in textual form and the decoder learns from the corresponding description. Both tasks can thus be represented by a pair of sequences, even though the information in the first sequence is organized differently.
The authors give several reasons for using this design. They take earlier results to show that straightforward sequence-to-sequence systems are competitive for data-to-text generation. The Transformer is also a strong architecture for their translation stage. Finally, an encoder and decoder of the same design can start the restaurant stage with the parameter values learned during translation. This last point gives the approach its simplicity. Transfer happens by carrying over the learned numerical settings of the existing system, rather than by building a separate translator into the process of writing a restaurant description.
To make this work, the authors serialize the meaning representation. Serialization turns the intent and the slot key–value pairs into a linear string. The encoder still receives the field names, which say what the values refer to, and the intent, which specifies the communicative act. It reads these as a sequence. The output is ordinary Czech text, in an order that suits the description. The conversion into a string makes the record readable by the same architecture that reads a source sentence, while the paired descriptions teach the generator how to use the information carried by the fields.
Preparing a translation system to describe restaurant records
The steps in order.
Share the text units and signal the requested task
The authors learn a SentencePiece vocabulary of 32,000 tokens from Czech and English sentences in the pretraining corpus. Tokens are the units the encoder reads and the decoder produces. A vocabulary built for subword tokenization can contain pieces of words as well as units that correspond to whole words. The study uses the same vocabulary throughout its Transformer comparisons. Translation pretraining, span masking and direct training therefore begin with the same inventory of text units, although the procedures that give the systems their parameter values differ.
The serialized record is treated as a plain string at tokenization. The authors describe no dedicated rules for breaking up its fields. This matters because a record may contain the target language, English text and literal data, such as digits, in the same sequence. A common tokenizer provides units for representing that material. The annotation in the restaurant corpus supplies examples of how the different values should be expressed, while translation pretraining can supply earlier experience with some of the operations those examples require.
Two prefixes tell the system how to interpret its input. The first chooses the task. The authors use [TRANSLATE] for translation and [GENERATE] for writing a description from data. The second chooses the output language. It is <2en> for English or <2cs> for Czech, following the language-tag convention in Massively Multilingual Neural Machine Translation. The distinction matters because Czech can be requested for either task. A Czech target tag sets the language, and the preceding task tag specifies the relation the output should have to the incoming sequence.
During pretraining the same translation system can work from English to Czech or from Czech to English, depending on the requested output. The authors report that the bidirectional version worked slightly better in practice. Bidirectional here describes the translation tasks used for training. For the restaurant phase, the desired output is Czech. The generator encounters a changed source format and a different task tag while retaining the encoder, decoder and target-language convention used in pretraining.
Train on paired sentences before introducing restaurant records
The parallel training material comes from the WMT 2019 shared task. It comprises 57 million Czech–English translation pairs mined automatically from the web. A parallel pair contains a sentence in each language, with the two corresponding as translations. When the training task is English-to-Czech, the Czech member is the text to be predicted from the English member. The reverse direction changes which member serves as source and which one supplies the target. Each example gives the system an output to learn in relation to a specific input and a designated language.
The translation stage operates on sentences. Restaurant intent labels, the significance of a field key and the conventions of the booking task enter through the downstream examples. The preparation the authors seek is more general. A decoder trained for translation has practice writing Czech under a constraint on what the sentence should convey. The encoder has practice identifying information in the source sequence that can guide that writing. If the input includes material whose form must be retained or changed in a particular way, the target sentence supplies a training example of the relationship. This is the rationale for transfer. The eventual restaurant scores test its effect on completed descriptions.
For both translation and MASS, the reported Transformer configuration has 93M parameters, 6 layers, 8 attention heads and 512 hidden dimensions. The layers are successive stages of the network’s computation. The attention heads let the architecture learn multiple ways of relating positions in a sequence or relating output positions to the input. The hidden dimensions describe the size of the internal representations. The authors train the pretraining systems for 1 million steps with Adam and a batch size of 1024. Adam is the procedure that adjusts the parameters to improve predictions during training. The stated architecture and schedule give the comparison between objectives a common basis.
Adapt the entire system to descriptions
Fine-tuning replaces translation pairs with examples from Czech Restaurant. Each new training pair gives a serialized restaurant MR and a Czech description. The encoder now has to recognize how the intent and the field keys organize the source information. The decoder has to learn how a description for that intent can convey the corresponding values. Their initial parameter settings come from pretraining. Every parameter remains open to adjustment as the system learns the change of task.
This full update lets the encoder change how it reads a sequence now that the sequence contains field keys and values. It also lets the decoder adjust to the kinds of sentences that the restaurant task requires. A term identifying a field in the input can, for example, be informative about the function of the words that should appear in the output. That use of the field name can develop during fine-tuning even though translation examples lack the same record format. The final system reflects both experiences: the initial learning on sentences and the subsequent adjustment to records and descriptions.
The generation training runs use 10K steps and a batch size of 32. The authors report no hyper-parameter tuning. They select checkpoints by BLEU on the validation set. A checkpoint records the parameter values at a particular stage of training. Validation supplies the evidence for choosing which saved state to evaluate, and the reserved test set supplies the results used for the final comparison. The Transformer systems are implemented in Lingvo, which is based on TensorFlow.
Produce the final word forms during decoding
After training, the system receives the record string with the generation and Czech prefixes. The paper uses beam search with a width of 8. Beam search extends a set of promising partial outputs as decoding proceeds. It allows several early wording choices to remain in consideration while the system evaluates possible continuations. The result of decoding is a Czech description with the actual values in place.
This gives “fully lexicalized” a practical meaning in the experiment. The output sequence includes the forms the reader will see. The chosen construction and the form of a restaurant name are part of the same generation decision. In the earlier TGen pipeline, a placeholder can persist through candidate generation and ranking. A component with access to lexical forms then chooses what should appear in that position. Kale and Roy’s procedure gives the job of producing those forms to the decoder. The paper reports that it uses no external lexical data for that job.
The method also leaves decisions about which words express a fact inside the decoder’s ordinary prediction process. Its translation experience may favor preserving a number, and its restaurant training may teach the phrasing that makes the digits recognizable as a contact number. A description can nonetheless lose a value or convey the wrong relation between values. The automatic slot check and the human judgments assess the resulting text. They are evaluation procedures applied to the outputs.
Prepare the alternatives on the same task
For MASS, the authors use the sentences drawn from the parallel corpus as individual pieces of text. That gives 114 million monolingual sentences, divided equally between Czech and English. The input to the encoder contains a masked stretch. The target for the decoder is the hidden text itself. The system learns how the visible context constrains what belongs in the gap. It sees both languages across the corpus, and corresponding sentences in the two languages have no pairing role in this training objective.
This baseline matters because access to a large body of Czech text could account for part of the transfer even when the system never practices translation. MASS gives the decoder experience producing Czech in response to a partially visible input. The translation version supplies a different prediction problem using the same underlying sentences. Using shared vocabulary and architecture for these conditions helps make the final comparison about the kind of preparation each receives. In the restaurant phase both learn to produce descriptions from the annotated examples.
The scratch baseline learns its parameters on the restaurant task directly. It uses a 1-layer Transformer, with the same vocabulary as the other Transformer systems. The paper reports that increasing the size of the scratch system failed to improve performance. The earlier Czech pipeline supplies a comparison of a different kind. It brings a dedicated ranking step and an explicit method for lexicalization to the same downstream task. Taken together, the alternatives show what can be learned from the restaurant examples alone, what span recovery contributes, and how direct generation fares against a specialized pipeline.
Experiments and results
The Czech Restaurant splits
The Czech Restaurant dataset is organized into a training split of 3,569 examples, a development split of 781 and a test split of 842. The paper also counts distinct MRs after delexicalization. The counts at that level are 144 for training, 51 for development and 53 for testing. The example counts describe the number of instances available at each stage. The counts of delexicalized MRs describe the variety of representations after individual lexical details have been abstracted away.
The distinction helps explain the generalization challenge. When the lexical values in slots are replaced, the representation still shows the shape of the information to express. An informing act can carry one combination of details in an example and another combination elsewhere. The test set reserves delexicalized MRs that the training split never presents. Accordingly, the generator has to apply what it learned about intents and slots to held-out combinations. An individual value can be familiar while its role within the test combination is an instance of structural generalization.
Development examples support checkpoint selection, using the overlap criterion described in the training procedure. The main automatic comparison then uses the Czech Restaurant test set and the full downstream training split. The paper labels the translation-pretrained system nmt, the span-masking system mass, direct training scratch and the earlier pipeline tgen-sota. The distinct roles of these comparators matter when interpreting a result. Performance against MASS speaks most directly to the choice of pretraining. Performance against tgen-sota says how a new system that generates finished text compares with a purpose-built pipeline.
The authors have the earlier pipeline’s generated outputs and use them to calculate its slot error rate. Its other automatic results come from the prior Czech Restaurant study. The training details also mention tgen-lex, trained with the public TGen implementation using the earlier study’s hyper-parameters. The headline results table assigns the prior pipeline’s scores to tgen-sota. That is the comparison used for the main results and the human assessment.
What the scores ask of a description
BLEU is the reference-overlap score the authors use for selecting checkpoints and for several of their main comparisons. Together with NIST, METEOR, ROUGE-L and CIDEr, it makes up the group of overlap-based results that the paper reports using the E2E NLG Challenge metric suite. A reference supplies an example of how the information can be worded. The scores register agreement with reference text in ways summarized by their respective metrics. The paper treats higher values as better for each of them. They provide several views of textual resemblance, which is relevant to whether a generator has learned the descriptions expected for the task.
A separate measure, slot error rate or SER, asks about coverage of values supplied in the input. The paper describes looking for mentions of those values in the generated text and counting an output as correct under this check when it includes every value being assessed. The check is restricted to slots for which delexicalization allows reliable automatic evaluation. The binary slot recording whether children are allowed is excluded. Lower SER is the favorable outcome. The number is evidence about the particular test of value coverage the paper implements.
A sentence can resemble a reference closely and still omit information such as a phone number. Conversely, it can carry the requisite information while using phrasing with less reference overlap. This is why the two measures have different roles in the comparison. They can also respond differently when the training corpus is reduced. Human readers supply further evidence by judging whether the output conveys the reference meaning and whether it sounds natural. The paper keeps those judgments separate, since a sentence can read smoothly even when the information it communicates is incomplete.
Automatic results with the full restaurant training split
On Czech Restaurant test BLEU, the proposed approach scores 26.35. The earlier pipeline reaches 21.96, MASS reaches 17.72 and scratch reaches 11.66. The ordering puts both pretrained Transformer systems above the one trained on restaurant examples alone. It also puts translation above the span-masking alternative and above the specialized Czech pipeline. The comparison with MASS is especially pertinent because both systems have had an opportunity to learn from the Czech and English text used to prepare them.
BLEU on the Czech Restaurant test set after full restaurant training
Translation pretraining gives the strongest reference overlap in the comparison.
The numbers
| System or setting | BLEU |
|---|---|
| Direct restaurant training | 11.66 |
| MASS span masking | 17.72 |
| TGen pipeline | 21.96 |
| Translation pretraining (this paper) | 26.35 |
The same test set yields a slot error rate of 1.9 for translation pretraining and 2.75 for the TGen pipeline. MASS has 24.82 and scratch has 63.18. The pipeline and translation results are close on this measure. Both are substantially ahead of MASS, whose improvement over scratch accompanies a considerable remaining problem with slot coverage. That distribution gives the paper a result beyond the BLEU ordering. A method can learn much about plausible Czech wording and still struggle to express all the values from the record.
Slot error rate on the Czech Restaurant test set after full restaurant training
The translation-pretrained generator and the TGen pipeline have the lowest slot error rates.
The numbers
| System or setting | SER |
|---|---|
| Direct restaurant training | 63.18 |
| MASS span masking | 24.82 |
| TGen pipeline | 2.75 |
| Translation pretraining (this paper) | 1.9 |
The remaining automatic measures give the same ordering as BLEU. On the Czech Restaurant test set, NIST is 5.24 for translation pretraining, 4.77 for the TGen pipeline, 4.22 for MASS and 3.06 for scratch. For METEOR, the corresponding results are 25.81, 23.32, 21.16 and 15.79. These comparisons use the full restaurant training setting, just as the BLEU and SER comparisons do.
On ROUGE-L, the translation-pretrained result is 47.07. The pipeline scores 42.95, MASS scores 38.94 and scratch scores 28.27. On CIDEr, the test scores are 2.60 for translation pretraining, 2.18 for the pipeline, 1.75 for MASS and 0.84 for scratch. The lead thus extends across the automatic overlap measures the authors report. Because those measures all compare generated text with references, their agreement strengthens the account of reference match. The slot result adds evidence directed at a different property of the output.
The comparison with the TGen pipeline shows that producing the actual words and names inside the decoder is viable on this task. The earlier system’s low SER also demonstrates the strength of the pipeline as a comparator. Its lexicalization stage has information about the possible forms of values and a dedicated procedure for choosing among them. The translation-pretrained system performs well on the same coverage check through its learned generation procedure. Its lead on the overlap measures gives a further comparison of the completed sentences. The paper reports performance for each system as a whole.
Human accuracy and fluency
The authors sample 200 examples at random from the Czech Restaurant test set for human assessment. The systems assessed are translation pretraining, MASS and the earlier TGen pipeline. Scratch participates in the automatic comparison. The human study concentrates on the stronger systems, allowing the authors to ask how outputs that differ on automatic scores are experienced by readers. The judgments cover the meaning conveyed and how naturally the output reads.
In the accuracy assessment, a rater sees a generated description beside its gold text, meaning the reference description. The question is whether the generated description faithfully communicates what the reference means. This can reveal errors that a value-presence check leaves open. A reader can judge how words relate to each other in the sentence and notice a claim that changes the intended meaning. For each example, 3 raters make the judgment. An example passes when at least two of them accept it. The reported accuracy summarizes those example-level decisions.
The fluency assessment presents the generated text and asks how smooth and natural it sounds. The rating scale is 1-5, with 5 at the top. The authors again use 3 raters per example, and the outcome is an average across ratings. This produces a score with a different interpretation from accuracy. An example can have ratings anywhere on the fluency scale, while an accuracy decision enters the aggregate as accepted or rejected under the majority rule. The texts shown to raters also differ because fluency can be judged by reading the prediction alone.
For human accuracy on the sampled Czech Restaurant outputs, translation pretraining attains 97.5%. On the same percentage scale the pipeline attains 94.0 and MASS attains 90. For fluency, the average scores are 4.83 for translation pretraining, 4.77 for MASS and 4.48 for the pipeline. Translation pretraining leads on both judgments. The relative position of the other systems changes. The pipeline conveys the reference meaning more frequently than MASS under the accuracy rule, and MASS has the higher average rating for naturalness.
The reversal helps explain why the authors distinguish the judgments. Span recovery provides extensive practice producing text that fits a context. The authors attribute MASS’s strong fluency to the language generation ability learned in pretraining. The same system can receive a favorable naturalness rating even when readers detect a difference between the meaning of its description and that of the reference. The pipeline’s scores show another combination of qualities. It does well at conveying the reference meaning while receiving the lowest fluency average of the systems in the human comparison.
Translation pretraining has a favorable result under both protocols. The human accuracy score concerns full descriptions, extending the evidence about content beyond the eligible values that the SER procedure checks. The fluency score gives direct support for how the finished Czech sounds to the raters. Together with the automatic scores, these observations support the authors’ claim that translation preparation can yield accurate as well as natural descriptions in the Czech setting. The automatic and human numbers retain their own meanings and populations: the full test set for the main automatic results and the random sample for human judgment.
What the ablations show
What happens when the restaurant annotations are scarce
The authors vary the supply of downstream examples with the translation preparation already in place. They draw random subsets of 100 and 1000 examples from the Czech Restaurant training split. They report test BLEU and SER for direct training, MASS and translation pretraining at each size, with the full training split as the benchmark at the upper end. This design isolates a practical question about annotations. If a developer can start with a pretrained system, how much can it learn about the new input and its descriptions from a small set of paired records?
At 100 restaurant training examples, scratch has test BLEU of 3.03 and SER of 78.5. MASS reaches 4.42 BLEU and 78.74 SER. The translation-pretrained system reaches 15.45 BLEU and 31.82 SER. The MASS result illustrates why both measures belong in a study of sample efficiency. Relative to scratch, its sentences gain on the overlap score, while the slot error rate is slightly higher. The evidence at this size favors translation pretraining on both measures. The reported SER for that system still shows considerable difficulty covering the supplied values with this amount of downstream training.
One of the most informative comparisons crosses the training sizes. With 100 restaurant examples, translation pretraining reaches 15.45 BLEU and 31.82 SER. Direct training on the full split scores 11.66 BLEU and 63.18 SER. The downstream annotations in the small condition provide enough information about the task for the pretrained system to exceed that full-split comparator by either criterion. This is an observed gain in the use of restaurant annotations. It includes the advantage of the earlier investment in translation training, which is the resource the proposed procedure brings to the task.
At 1000 restaurant examples, the test BLEU scores are 21.17 for translation pretraining, 9.80 for MASS and 7.37 for scratch. The SER scores in the same order are 4.51, 66.15 and 70.19. The translation-pretrained condition at this size also exceeds MASS trained on the entire downstream split, which scores 17.72 on BLEU and 24.82 on SER. Keeping the smaller downstream corpus and changing how the system was prepared can therefore yield a better result than giving a span-masked system the full set of annotations.
Each translation-pretrained condition benefits from additional downstream material in the reported results. With the smallest restaurant subset, the system is well ahead of the available baselines yet still makes many more slot errors than after training on the larger subset. By the full split it has its strongest downstream scores in this experiment. Translation can prepare the system to rely on its input and to write Czech. The restaurant examples still convey how to interpret the fields and what constitutes an appropriate description for the intent. The change with training size gives a measure of how much the generator continues to gain from those examples.
The authors suggest that the transfer can reduce the cost of annotating data for generation. Their comparison gives this suggestion a specific footing. It shows configurations that beat a comparator trained with more restaurant examples. The relevant input is the collection of mappings from records to descriptions, and the measured outputs are BLEU and SER on the Czech Restaurant test set. Time, expense and the annotation effort needed for other domains are separate questions. The experiment establishes an advantage in the amount of this particular kind of training data needed to reach the reported comparison points.
What happens when aligned sentences are scarce
A different experiment reduces the Czech–English material available before restaurant fine-tuning. This simulates a situation in which an aligned collection is harder to obtain, while the target task remains the same. For the intermediate condition, the authors keep 10% of the parallel examples, reported as 5.7 million examples. The smaller condition keeps 1%, reported as 570K examples. Each translation system is subsequently adapted to Czech Restaurant. The comparison provides evidence about the method under a constraint on pretraining, distinct from the earlier constraint on restaurant annotations.
The paper reports the size of the corpora in tokens as well as in examples. The full translation condition, labeled nmt-50m, uses 1.6B pretraining tokens. The intermediate nmt-5m condition uses 160M, and nmt-500k uses 16M. These are the token totals attached to the pretraining conditions in the results. The MASS comparator uses its full material, reported as 1.6B pretraining tokens. The labels for translation conditions identify the runs, and the prose description of the parallel corpus supplies the paired-example counts.
Test BLEU on Czech Restaurant is 26.35 following full translation pretraining. With 160M translation-pretraining tokens the score is 23.70, and with 16M it is 22.52. Full-corpus MASS scores 17.72. More aligned material corresponds to higher BLEU within the translation settings tested. The smallest translation condition nonetheless beats the full-data span-recovery comparator. In this experimental setup, the practice obtained from a smaller paired corpus transfers well enough to retain an advantage in the reference-overlap measure.
The slot error results make the pattern more specific. Translation pretraining at 160M tokens yields 1.43 on Czech Restaurant test SER. With 1.6B tokens it gives 1.9, while with 16M it gives 12.47. MASS, at its full pretraining size, gives 24.82. The best observed SER in this comparison belongs to the intermediate translation setting. The authors regard its SER as comparable with that of the full translation run. The result for the smallest translation setting is worse than the other translation results and better than the full-corpus MASS score.
Czech Restaurant test slot error rate as translation pretraining data vary
The intermediate corpus has the lowest observed error, and the smallest translation corpus still outperforms full-corpus MASS.
The numbers
| System or setting | SER |
|---|---|
| MASS on the full corpus | 24.82 |
| Translation on the smallest corpus | 12.47 |
| Translation on the intermediate corpus (this paper) | 1.43 |
| Translation on the full corpus | 1.9 |
The experiment supports a qualified expectation about low-resource languages. It shows that the full Czech–English corpus is unnecessary for retaining the measured advantage over MASS. It also supplies a case in which reducing the pretraining corpus changes the absolute quality of the descriptions, especially at the smallest size. Those are distinct findings. An advantage over a baseline under scarcity can persist even as performance declines from the full-data translation condition. Both comparisons matter when deciding what the simulated shortage establishes.
What the controlled comparisons distinguish
Translation and MASS use the same source collection, a shared vocabulary and the same reported Transformer configuration. They differ in how examples are assembled and in what the decoder predicts. Training with aligned sentences asks for an output that corresponds to an input in another language. Span masking asks for text that belongs in a gap within a sentence. The final comparison favors the former procedure for the authors’ data-to-text task. It is evidence for the usefulness of producing source-conditioned output during preparation, alongside the practice both receive with text in the target language.
The differences in human accuracy and fluency make that interpretation more concrete. MASS comes close to translation pretraining in average fluency, while the accuracy judgments and slot checks show a clearer distinction in how the systems preserve content. This is the pattern one would expect if the manner of pretraining matters to how the generator uses the record. Its explanatory scope is at the level of the training procedure. The experiment leaves open how much of the effect is carried by experience copying, choosing translations for values, or producing the right grammatical forms.
The comparison with scratch asks about the practical benefit of bringing previous training to the restaurant examples. The reduced-annotation results show that this benefit persists at the small training sizes the paper examines. The comparison with the TGen pipeline is a test of a different design decision. It shows how well a decoder prepared by translation can do at producing full Czech word forms in a task where a strong existing system uses specialized stages. That comparison changes training, architecture and available lexical information together, so it supports conclusions about the competing systems’ performance.
The authors’ brief observation about translation direction supplies another design comparison. They report a slight advantage for the system that trains in both directions. They give detailed tables for the choices of objective and corpus size, while describing the choice of direction without a corresponding score breakdown. Its role in the paper is to motivate the adopted preparation. The reported experimental evidence that can be inspected in detail is the comparison between translation and span masking and the behavior of the systems when either form of supervision is restricted.
Limitations
Limits the authors identify
The authors present the result as a case study in Czech. They propose a wider evaluation across languages, especially when the script of the target language differs from the script used in the records. The illustration involving Marathi identifies a concrete operation such a study would need to address. The generator may have to preserve the identity of a restaurant by representing its name in another writing system, while choosing grammar appropriate to the resulting sentence. The reported results establish performance on Czech restaurant descriptions. The broader question about scripts is a direction the authors identify for future work.
They also identify a boundary of their automatic value check. SER is reliable for the slots to which their delexicalization-based evaluation can be applied. The binary children-allowed field is omitted. Expressing the information in that field can involve wording whose meaning does the work of conveying the value. Success on the checked slots accordingly establishes coverage of those values. It leaves that particular field outside the automatic result, even though accurate generation may require the description to express it.
The authors treat automatic reference scores as an incomplete account of generation quality. Their human evaluation adds a judgment of meaning against the reference and a separate judgment of naturalness. This addresses part of the problem they raise. It also defines the scope of their human evidence. Those results concern the sampled outputs of the compared systems in the main experiment. The restricted-data results are reported using BLEU and SER. Inferences about how a reader would rate those restricted-data outputs must therefore rest on the automatic evidence until they are assessed directly.
The resource assumptions also define the scope of the baseline comparison. The authors assume access to Czech annotations for the actual downstream task. They leave an equivalent English annotated corpus outside the setup. A method that first learns to describe the records in English and then translates those descriptions relies on the additional annotations. The study addresses a setting in which translation supervision can help prepare a generator for Czech without that intermediate corpus. Its results leave the choice between the two workflows open in a setting where English annotations are available.
Limits that follow from the evaluation
The held-out MRs establish a particular kind of generalization. The test conditions require producing descriptions for unfamiliar combinations after delexicalization. This is useful evidence that the generator can apply what it learned about fields across different arrangements. The experiment provides aggregate results over these test examples. A separate check for unseen restaurant names or other previously unencountered values would require identifying those values and reporting performance for them. The paper’s suggestion of robustness to unseen values should be read with the structural holdout in mind.
The domain places a further boundary on the result. A restaurant MR tells the generator the relevant intent and supplies a set of named facts. The paper’s broader definition of data-to-text encompasses structures such as tables and graphs. Inputs of those kinds could require different decisions about what to select and how to arrange it. The evidence here concerns descriptions generated from a flattened restaurant representation. Generalizing the result to a task with more extensive selection or planning would require testing the transfer under those demands.
The automatic and human evaluations are directed at related properties of an output, each with its own comparison target. SER tests whether the text mentions the values accepted by its slot procedure. A sentence could mention a number or name and still connect it to other information in the wrong way. Accuracy raters compare the prediction with the gold description, which gives them a way to catch changes in meaning even when the expected words occur. Their verdict establishes agreement with the meaning expressed by that gold text for the sample. A fact-by-fact audit against the input records would ask a more explicit question about the correspondence between every output claim and its source.
The metrics also give different kinds of comparisons between systems that are numerically close. The authors report the intermediate and full pretraining conditions as comparable on SER. The score of 1.43 for the intermediate translation setting and 1.9 for the full setting gives their observed ordering on the test split. The reported point estimates supply no range over repeated training runs. The downstream subset experiment likewise reports results for the sampled training subsets. Another draw can include a different assortment of field combinations. The larger patterns favor translation pretraining, and the small observed separations warrant the more limited interpretation that the paper gives them.
Reducing the corpus within Czech–English keeps the pair of languages and the source of the data fixed. A language with scarce alignment data might have a different mix of available subjects, sentence forms or written conventions. The reduced Czech condition still has 570K translation examples. This establishes a result for that quantity of data under the reported conditions. The experiment leaves open the amount and kind of parallel material another language would need, and the point at which the benefits would cease to hold as available data decrease further.
The scratch comparison also combines differences in training history with differences in the reported architecture. The paper uses a 1-layer Transformer for scratch and a larger configuration for the pretrained systems, explaining that larger scratch systems gave no improvement. This makes scratch a practical comparator under the choices the authors tested. The translation and MASS experiments provide the closer architectural match when the question is which pretraining procedure helps. Even there, the comparison concerns two complete objectives. The target sequences and the relationship between source and target change together with the use of the sentence pairing.
The individual operations motivating the research remain plausible explanations of the improvement. The paper names copying, translating and inflecting as requirements visible in the restaurant example. Its evaluations measure overall agreement, checked slot coverage and human judgments of the completed description. They give no separate error rates for each operation. The relative contributions could depend on what fields are present or the grammatical construction the generator chooses. A result on fully lexicalized text supports the usefulness of the preparation as a whole. Determining which abilities transfer most would take tests organized around those abilities.
Finally, the conclusion mentions the possibility of using translation pretraining to improve systems that generate delexicalized text. The main comparison shows how a translation-pretrained generator that emits final forms fares against a pipeline that uses placeholders. Estimating the advantage of adding translation pretraining to that kind of generator would call for comparing the same placeholder-based procedure across training conditions. The evidence for the method is clearest where the paper measures it directly: Czech output from an adapted encoder and decoder, with tests of how that approach responds to changes in the data available for training.
What came after
The subsequent use of the Czech result by other studies is undocumented here. The paper itself identifies two directions that would carry the experiment forward. One is to try the procedure across a wider range of languages and scripts. The motivating case of a restaurant name in Marathi shows what additional evidence such an experiment would have to collect. The name needs to retain its identity in the new script and work grammatically inside the description. A study of that extension could distinguish success at rendering the name from success at conveying the other information in the record.
The other direction is a combination of unsupervised and translation-based pretraining. The authors point to earlier work by Lample and Conneau that found benefits from combining these kinds of preparation for language understanding. Kale and Roy compare translation and span recovery as separate routes to Czech generation. Their human evaluation gives a reason to investigate the combination: MASS achieves high fluency, and the translation condition has the strongest accuracy with similarly fluent output. The open question for data-to-text generation is whether joint preparation can improve the finished Czech descriptions beyond what either training procedure achieves individually.
Cite
Cite as Mihir Kale and Scott Roy. 2020. Machine Translation Pre-training for Data-to-Text Generation - A Case Study in Czech. Proceedings of the 13th International Conference on Natural Language Generation.
@inproceedings{kale2020machine,
title = {{Machine Translation Pre-training for Data-to-Text Generation - A Case Study in Czech}},
author = {Mihir Kale and Scott Roy},
booktitle = {Proceedings of the 13th International Conference on Natural Language Generation},
year = {2020},
doi = {10.18653/v1/2020.inlg-1.13},
url = {https://doi.org/10.18653/v1/2020.inlg-1.13}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/kale-2020-machine-translation-pre-training-data/