Bootstrapping Generators from Noisy Data
Paper · 2018 · Laura Perez-Beltrachini and Mirella Lapata
Summary
A Wikipedia biography and its database record can describe the same person while giving different details. That makes them useful training material for text generation and a source of errors. A description might give a marriage date missing from the record, while the record might list a birthplace the description never mentions. A generator trained to imitate the whole description is rewarded for reproducing both grounded details and details it has no way to recover from the input. Laura Perez-Beltrachini and Mirella Lapata study how to train a generator to write short biographies from DBPedia records under these conditions.
The authors first train a separate system to find correspondences between database facts and words in Wikipedia abstracts. Training starts with coarse pairings: the system knows which person a sentence and a record concern, while the correspondence between any particular word and fact has to be inferred. The resulting word-level alignments give the generator an additional training signal. In multitask training, the generator learns to predict the next word and whether that position in the reference is supported by the input. In reinforcement learning, it produces its own continuations and receives a reward based on how precisely their words match the aligned vocabulary from the reference.
Multitask training gave the clearest improvement. On the test subset with human-revised references, it scored 37.18 on BLEU, using BLEU-4, compared with 35.89 for the standard generator and 35.74 for reinforcement learning. The revised references were intended to retain only material supported by the corresponding infobox. In a separate ranking task on the same subset, people judged the outputs for faithfulness and readability together. The multitask system placed significantly above the standard generator. Its mean rank was close to that of the reinforcement-learning system, and the difference between the two alignment-guided systems was statistically inconclusive. The reinforcement-learning system tended to write shorter biographies. The examples show the tradeoff that can follow: omitting a detail can prevent an unsupported claim, and it can also leave a useful fact out.
Deep dive: Bootstrapping Generators from Noisy Data
How a biography generator learns which words are supported by database facts when Wikipedia abstracts and their records only partly agree. · about 35 minutes to read
The problem and its context
A biography and a record have different jobs
A structured record offers facts in a form a program can read. A property states what kind of information a field holds, and its value supplies the specific information. The spouse property, for example, takes a person's name as its value. A biography has to decide which such facts belong in an opening description, how to express them and how to connect them. It may introduce a person's occupation before moving on to a relationship or an achievement. The same facts can be expressed with different wording, in different orders and with different amounts of detail.
The paper uses the filmmaker Robert Flaherty to show what happens when these sources only partly overlap. The article abstract describes his work and marriage. The structured facts include his spouse and his death date, giving a generator a basis for part of the description about his family. The abstract also gives the year the marriage began and discusses his wife's writing and award nomination. Those details have no corresponding facts in the input used for the example. A writer with access to the full article can include them. A system given the structured record alone has a different assignment.
This mismatch has consequences in both directions. Starting with a record, the learner has to determine which of its properties the reference actually uses. Starting with the text, it has to determine which words or phrases the record can support. The first problem is frequently called content selection: a biography is a selective account, and unused fields are normal. The second arises because the text can draw on information beyond the record. A single sentence can contain both kinds of material. Keeping or discarding the sentence as a whole would lose a distinction that matters for training.
The desired output also differs from a list of all the data. A reader expects a biography to bring related details together and give them some order. A field can be suitable for a particular person and still be unusual in biographies as a group. Conversely, a often occurring field can be a poor choice for a short introduction. The authors are interested in learning from what the abstracts say about each entity while limiting the influence of what the input cannot substantiate.
What earlier approaches supplied
The paper describes earlier work that treats loosely matched records and prose as a source of phrases for expressing particular facts. A typical procedure first uses heuristics to connect a data item to a likely sentence and then finds the part of that sentence that expresses the item. The approaches differ in how they find that part. Some score associations between words and data items. Others extract patterns along paths from dependency parsing, which represents grammatical links between words. Another approach asks people to help identify useful spans. Earlier work by Perez-Beltrachini and Gardent projects data items and simplified sentence representations into a shared space to help recover wording for properties.
Such work addresses an important part of the problem. An expression for a property can be reused across records with different values. A complete biography also requires deciding which properties to mention and producing connected prose from them. The authors therefore make the correspondence learner part of a larger generation procedure. Its output guides the training of a system that writes a text from a set of facts.
The paper identifies a more direct precedent in Lebret and colleagues' work on biographies. That task uses Wikipedia infoboxes and focuses on producing the opening sentence. Perez-Beltrachini and Lapata use the wider abstract, giving the learner a chance to describe properties that a first sentence may leave out. The paper also points to Challenges in Data-to-Document Generation, which pairs basketball statistics with game summaries. Game inputs there share a common set of fields. Biographical records can vary with the person's profession and with the completeness of the database. A scientist and an athlete may offer the generator quite different kinds of information.
Why attention alone leaves the problem open
The generator draws on the encoder-decoder approach used in machine translation. An encoder turns the input into vectors, and a decoder produces words in order. Attention gives the decoder a way to consult the input again at each step. For a biography, that means the decoder can give greater weight to the relevant properties as it moves from a name to an occupation or a place. The paper builds on earlier approaches to joint alignment and translation and dot-product attention.
Soft attention distributes weight over the available inputs. It can do so even when the next word in the training reference concerns a fact that is absent. The decoder also has access to the preceding words, which frequently give a strong clue to familiar continuations. If references frequently put a time expression after language about marriage or club membership, ordinary word prediction can learn that pattern. Given a record with a spouse or club but no relevant date, the pattern can still influence what the system writes. Attention provides a way to consult facts, while the training objective determines whether imitating that continuation is rewarded.
The paper brings in multi-instance learning to exploit supervision at the level where it is available. The known pairing concerns a set of facts and a sentence. The unknown part is which individual members of those collections correspond. The authors describe precedents in areas including image captioning and information extraction. As far as they knew, using this approach specifically to select content for generation was new. Once the correspondences are inferred, the paper compares an auxiliary prediction task with a sequence-level reward as ways to transfer that information to the generator.
The method, step by step
From a shared subject to a word-level signal
The training procedure begins with biographies and records about the same people. A record contains property–value pairs, with each pair representing an item the generator can use. The abstract is split into sentences for alignment. Each sentence is paired with the person's entire record, even though its words may refer only to a small part of it. The aligner learns from these pairings and from comparisons with mismatched records or sentences.
Consider a sentence that gives both a spouse's name and a date of death. Words about marriage and the spouse's name can provide evidence for the spouse field. Words about death and the year can provide evidence for the death field. A phrase about when the relationship began would need a different fact, even if it sits between those two mentions. The inferred alignment can therefore connect words within one sentence to different properties. It can also leave a word without an accepted match. The authors allow a mention to consist of separated words, so the correspondences need not partition a sentence into uninterrupted phrases.
The generator uses these alignments during training. In the multitask version, a word is labeled according to whether it has at least one qualifying link. In the reinforcement-learning version, the aligned words form the comparison set used by the reward. Both approaches begin with the same general type of encoder-decoder generator. The distinction is how evidence from the aligner influences the generator's training.
From biography records to alignment-guided generation
The steps in order.
The authors made the code and data available through their wikigen project. The method involves learning the correspondences and then using them in training, so producing a new biography requires its structured record instead of an abstract to align against.
Preparing the records and abstracts
The corpus comes from WikiBio, which contains 728,321 English Wikipedia biographies represented by their opening paragraphs and infoboxes. The authors kept the whole abstract for their task and selected examples with enough material on both sides. A record needed at least six property–value pairs. A qualifying abstract had multiple sentences and at least 23 words. The authors considered abstracts of up to 12 sentences and records with up to 50 property–value pairs. They associated each abstract with DBPedia properties for its main subject.
Where DBPedia supplied a class for a value, the authors appended the class to the value. A spouse's name could thus appear with a class indicating that the value denotes a person. This gives the encoder a signal shared across records in which individual names vary. The authors also added an empty relation to the property sets. The description of preprocessing lists that relation as part of the input. The alignment procedure still uses the similarity cutoff to decide which word links to retain.
Dates were normalized to a form that uses month names. For numerical material tied to a value in the record, the representation could identify the property and the position of the item inside its value. This is a form of delexicalization, meaning that a token referring to a field takes the place of a particular surface string. A day or year in the subject's birth date can then be represented by its position in that date field. Years and other numbers in the abstract without a corresponding recorded value were represented by YEAR and NUMERIC. The distinction matters to the reward because these generic stand-ins can appear in generated prose without supplying the actual information.
The vocabulary-building stage applied a similar substitution to words that were absent from the output vocabulary but present in the input vocabulary. A property name and a position in its value supplied the replacement token. Words outside both vocabularies became UNK, the unknown-word symbol. The aligner used vocabularies capped at 50k entries for both input and output. The generator's output vocabulary was capped at 20k. For alignment, an abstract with more than three unknown tokens was removed. For generation, abstracts with more than five were removed, as were examples with more than two unknowns in the property-value data. These decisions affect which training pairs survive and which names and numbers the systems learn to handle through field-specific tokens.
Putting properties and words in the same space
The aligner needs to compare expressions that have different forms. The database supplies a property label and a value, which can each be short phrases. A sentence supplies a word in context. The authors encode both as vectors in a common space so that a dot product can measure similarity. The vectors for an individual fact and an individual word are built differently to reflect the structure of each input.
𝐩ᵢ = biLSTM_denc(pvᵢ)
Here i indexes a property–value pair, pvᵢ is the sequence made by joining that pair's property name and value, and 𝐩ᵢ is its vector. biLSTM_denc denotes the bidirectional long short-term memory network used as the data encoder. An LSTM is a recurrent network whose state carries information from earlier positions in a sequence. The bidirectional version runs along the sequence in each direction. For a property–value pair, the authors add the final representations from the two directions. Every pair goes through the same encoder. The recurrence operates within each pair, so the procedure does not require a fixed order among the pairs in the record.
𝐰ₜ = biLSTM_senc(wₜ)
Here t is a position in sentence s, wₜ is the word at that position and 𝐰ₜ is its contextual vector. biLSTM_senc denotes the sentence encoder. The expression associates the output at t with that word, with the recurrent network processing the whole sentence. The forward and backward representations at the position are concatenated, meaning that their coordinates are joined into one vector. The resulting sentence representation retains a vector at every word position, which allows the aligner to make separate decisions about the words in a phrase.
The difference between these encodings is deliberate. On the data side the unit of alignment is a whole fact, even if the property and value take several words to write. On the text side the unit is an individual word, with its surrounding sentence available as context. An expression such as a verb about marriage can contribute information about the type of property. The name appearing nearby can contribute information about the value. A context-sensitive word vector gives the scorer a way to use both sorts of evidence.
Learning from matched and mismatched pairs
The aligner gives the record and sentence an overall score by asking which fact makes the strongest match for each word. The best contributions from all positions are then added.
S(P, s) = ∑ₜ₌₁^|s| maxᵢ∈{1,…,|P|}(𝐩ᵢ · 𝐰ₜ)
Here S(P, s) is the score for record P and sentence s. The bars in |s| and |P| give the number of words and property–value pairs, respectively. t indexes words and i indexes properties. 𝐩ᵢ and 𝐰ₜ are their vectors, and · is the dot product, the sum of products of corresponding coordinates. The maximum selects the strongest property score for position t. The outer sum adds that score for every position in the sentence.
This is the multi-instance part of the training. The known association is between the sentence and record as a whole. The maximum picks which member of the property set contributes to the score of each word. Through training, the encoders can learn recurring associations that make true record–sentence pairings easier to distinguish. The score needs no annotated answer specifying which fact a particular word should choose. The maximum also does not by itself establish that the word has a meaningful match. Even a word with weak scores has a highest score. The later threshold is what lets the system withhold an alignment.
The authors describe their contrastive objective as making the matched pair score higher than a pair with a different sentence or a pair with a different record. The equation as printed puts the matched score first within both hinge terms.
L_CA = max(0, S(P, s) − S(P, s′) + 1) + max(0, S(P, s) − S(P′, s) + 1)
Here L_CA denotes the content-alignment objective, P and s are the paired record and sentence, and P′ and s′ are a different record and sentence. S is the similarity just defined. Each max keeps the greater of zero and the score difference plus a unit margin. In a hinge loss minimized to achieve the ordering described in the prose, the mismatched score would have the positive sign and the matched score the negative sign. Minimizing the expression as printed would favor the reverse ordering. The description of the intended ranking and the signs in the displayed objective therefore disagree.
After training, the authors use the word-to-property scores directly. They choose a cutoff against human alignments in development data.
θ = avg(sim) + a × std(sim)
Here θ is the cutoff, sim is the collection of similarity scores, avg and std denote their mean and standard deviation on the development set, and a determines how far above the mean the cutoff lies. The authors set a to 0.75 and report an alignment threshold of 0.22. A word and property–value pair qualify for a link if their similarity exceeds that threshold. The resulting set A(P, T) contains links between words in abstract T and property–value pairs in record P. The generator's supervision comes from these links, with the manual annotation used to select and assess the alignment procedure on development data.
The shared generator
The three neural systems use an encoder-decoder design. With a property set as input, the decoder repeatedly predicts a word from the record and the sequence of words so far. The paper describes the generator as using the same property-encoding design introduced for alignment. Its experimental settings specify different input and hidden dimensions for alignment and generation.
P(Y | X) = ∏ₜ₌₁^|Y| P(yₜ | y₁:ₜ₋₁, X)
Here X is the input set of properties and values, Y is the target word sequence and |Y| is its length. yₜ is the word at position t, and y₁:ₜ₋₁ denotes all words preceding it. The P in this equation is a probability, distinct from the paper's earlier use of P as the name of a property set. The vertical bar means “conditioned on,” and the product combines the probabilities of all the individual word choices. The expression makes explicit that every choice can depend on the input and the earlier words.
The decoder starts from an average of the encoded input vectors. As it processes words, its recurrent state changes.
hₜ = LSTM(yₜ, hₜ₋₁)
Here hₜ is the decoder hidden state after processing word yₜ, hₜ₋₁ is the previous state and LSTM is the decoder recurrence. In predicting the next word, the system uses this state as a representation of the current prefix. At training positions driven by the reference, the prefix comes from the reference text. During free generation, it comes from the decoder's own choices.
The system also builds a context vector from the facts. It compares the current decoder state with the vector for each property and normalizes the resulting scores.
αₜᵢ = exp(hₜ · 𝐩ᵢ) / ∑ᵢ′ exp(hₜ · 𝐩ᵢ′)
Here αₜᵢ is the weight given to input property i at decoder step t. hₜ is the decoder state, 𝐩ᵢ is the vector for that property, and · denotes their dot product. exp is the exponential function. The denominator sums exponentiated scores over every property, indexed by i′. Normalization makes the weights a distribution over the input facts.
cₜ = ∑ᵢ₌₁^|X| αₜᵢ 𝐩ᵢ
Here cₜ is the context vector at position t, |X| is the number of property–value pairs, and i ranges over those pairs. The weighted sum contributes each fact vector 𝐩ᵢ in proportion to its weight αₜᵢ. Because the state changes from word to word, the same record can provide a different mixture of information at different points in the description.
The decoder combines this context with its recurrent state to score the possible next words.
g(hₜ, cₜ) = Wₒ tanh(W꜀ [cₜ; hₜ])
Here g maps the state hₜ and input context cₜ to vocabulary scores. [cₜ; hₜ] joins the two vectors. The matrix W꜀ maps their combined representation into a hidden layer of dimension d, where d is the hidden unit dimension. tanh acts on each coordinate of that layer, and the output matrix Wₒ converts the result into a score for each word in vocabulary V. The number of rows of Wₒ is the output vocabulary size, written |V|.
P(yₜ₊₁ | y₁:ₜ, X) = softmax(g(hₜ, cₜ))
Here yₜ₊₁ denotes the word to be predicted after prefix y₁:ₜ, with t giving the last position in the prefix. X is the input. g(hₜ, cₜ) is the vector of scores from the state and context. softmax converts those scores into probabilities by exponentiating them and dividing each by their sum. The expression denotes the distribution over the next word, with the probability of any particular word given by its entry in that distribution.
For the standard generator, training increases the probability of reference words.
L_wNLL = −∑ₜ₌₁^|Y| log P(yₜ | y₁:ₜ₋₁, X)
Here L_wNLL is the word negative log-likelihood loss, t ranges over reference positions, and |Y| is the reference length. P(yₜ | y₁:ₜ₋₁, X) is the probability assigned to that position's reference word given the preceding reference words and record X. log is the logarithm. With the minus sign, minimizing the loss encourages the system to assign high probability to the observed words. In this baseline objective, every word in the reference can contribute, including words from unsupported passages.
The authors concatenate an abstract's sentences into a single sequence for generation. During training they split the sequence into fixed-size blocks and carry out forward and backward computations for each block, including updates through the encoder. The decoder's final state on one block initializes the next. That state lets earlier material influence later words even though the training computation is divided into blocks. A block is an engineering unit of training and can cut across sentence boundaries. Its size is chosen on development data.
Multi-task training predicts support alongside words
The aligner gives every reference word a binary label. A word linked to any input fact is marked as aligned. The generator is trained to predict that label from the same preceding words and record it uses for word prediction. This adds a second task that encourages the shared internal representation to carry information about both what comes next and whether the reference at that position draws on the input.
P(aₜ₊₁ | y₁:ₜ, X) = sigmoid(g′(hₜ, cₜ))
Here aₜ₊₁ is the binary alignment label at the next position, y₁:ₜ is the preceding sequence and X is the input record. hₜ and cₜ are the decoder state and context for that position, and g′ is the scoring function of the alignment prediction branch. sigmoid maps its scalar score to the probability of the positive label. The probability of the negative label is the complement.
g′(hₜ, cₜ) = vₐ · tanh(W꜀ [cₜ; hₜ])
Here vₐ is a learned vector of dimension d, the size of the shared hidden layer. The dot product · converts that layer's output into the scalar score g′. The state hₜ, context cₜ, concatenation [cₜ; hₜ], matrix W꜀ and coordinate-wise tanh are the same components used to produce the word scores. The word and label predictions share the hidden representation and use different output parameters. The branch predicts whether the upcoming position is aligned from the prefix and record. The actual next word is what both branches are being trained to anticipate.
L_aln = −∑ₜ₌₁^|Y| log P(aₜ | y₁:ₜ₋₁, X)
Here L_aln is the negative log-likelihood for the alignment labels, aₜ is the label inferred for the reference word at position t, and t ranges over the |Y| reference words. P denotes the predicted probability of that label using prefix y₁:ₜ₋₁ and record X. log is the logarithm, and the minus sign makes assigning more probability to the observed label reduce the loss.
L_MTL = λ L_wNLL + (1 − λ) L_aln
Here L_MTL is the combined multitask loss, L_wNLL is the word prediction loss and L_aln is the alignment prediction loss. λ is the weight on word prediction, and 1 − λ is its complement, the weight on alignment prediction. The authors chose λ = 0.1 for the first four epochs, giving alignment prediction greater weight during that period. They switched to λ = 0.9 for the remaining epochs to emphasize generating the reference words.
The motivation is easiest to see in a familiar but unsupported continuation. The word objective can favor a date expression after a marriage phrase because the reference uses one. The auxiliary label can still mark the corresponding positions as lacking a match when the record has no marriage date. The parameters shared across the two tasks receive both signals. This changes the learning problem while retaining the full reference sequence as the target for word prediction. The alignment branch provides supervision for the generator. The paper specifies no compulsory support check that blocks a candidate word during decoding.
Reinforcement learning rewards a sampled continuation
The second training approach lets the decoder sample words and evaluates the resulting sequence. In the terminology of reinforcement learning, the decoder is the agent, the available actions are the words in its vocabulary, and its policy is the distribution over actions given the previous choices and the record. In the description of full-sequence generation, an end-of-sequence symbol terminates the output. During the training curriculum, predictions and rewards are evaluated at the block level.
r(Ŷ) = γ_pr r_pr(Ŷ)
Here Ŷ denotes the generated sequence and r(Ŷ) is its reward. r_pr(Ŷ) is unigram precision against the words in A(X, Y), the alignments inferred between input X and reference Y. Unigrams are individual words, so precision measures how much of the output matches aligned words instead of requiring an entire phrase in the original order. γ_pr scales the precision reward. The authors describe an additional deduction of κ, set to 0.025, each time the output contains one of the generic numerical stand-ins described in preprocessing. The paper specifies the scaling factor symbolically.
A sampled sequence can earn credit for using aligned words even when it gives a different continuation from the abstract. This is a distinction from training solely to recover the next reference word. The reward also has a distinct preference from a coverage objective. Once the decoder has produced readily supported material, adding another statement can lower precision if its words miss the comparison set. A short description can earn a high reward while leaving other usable facts untouched. The paper's discussion of the shorter reinforcement-learning output makes this property of the reward especially relevant.
L_RL = −𝔼_{Ŷ ∼ Pπ(· | X)}[r(Ŷ)]
Here L_RL is the reinforcement-learning loss, and 𝔼 is the expectation over sequences Ŷ drawn from the policy Pπ given input X. The symbol ∼ indicates sampling, π denotes the current policy, and the dot in Pπ(· | X) stands for a candidate sequence. r(Ŷ) is the reward just described. The negative sign expresses reward maximization as minimization of a loss.
The authors use REINFORCE to adjust the policy from sampled outputs. In reward-ascent form, the update uses the following sum for a sampled sequence.
∑ₜ₌₁^|Ŷ| ∇ log Pπ(ŷₜ | ŷ₁:ₜ₋₁, X) [r(Ŷ) − bₜ]
Here ∇ denotes differentiation with respect to the generator parameters, t is a sampled position, and |Ŷ| is the length of the sampled sequence. ŷₜ is the sampled word, ŷ₁:ₜ₋₁ is the sampled prefix, and Pπ is the policy's conditional word probability for record X. log is the logarithm. The expression multiplies each log-probability gradient by the difference between observed reward r(Ŷ) and baseline bₜ. A positive difference favors the sampled choice in an ascent update. The paper displays this positive expression as a gradient of the negative expected reward. With the loss sign used above, the loss gradient carries the opposite sign. The baseline is a linear reward predictor trained by minimizing mean squared error. It reads the decoder state hₜ, and its prediction error is prevented from updating that state through the baseline branch.
Introducing sampled words gradually
The reinforcement-learning system starts from the trained standard generator. The authors gradually replace negative log-likelihood training with sampled continuations inside each block. Initially, the beginning of a block is learned from the reference, and only a suffix is sampled and rewarded. The starting suffix has 3 tokens. The number of sampled tokens grows by that increment every 2 epochs until the whole block is assigned to the reinforcement-learning objective. As the suffix expands, the decoder gains experience with continuations increasingly shaped by its own previous choices. The reward is evaluated at the block level, consistent with the way the training procedure divides the document.
The authors initialized encoder word representations with pretrained GloVe vectors. The input and hidden unit dimensions were 200 for the aligner and 100 for generation. The recurrent components used a single layer, and the paper reports dropout of 0.3 for the decoder. Dropout removes some activations during training to regularize learning. The aligner, standard generator and multitask generator trained for 20 epochs with Adam at a learning rate of 0.001. The reinforcement-learning system continued from the standard generator for 35 additional epochs using stochastic gradient descent at a fixed learning rate of 0.001. Training block sizes were 40 for the standard generator, 60 for multitask training and 50 for reinforcement learning. The settings were chosen using development performance.
Experiments and results
How the data were divided
The generation training set contains 165,324 abstracts. The development set contains 25,399 and the test set 23,162. The paper reports abstract lengths in both sentences and tokens. The training abstracts average 3.51±1.99 sentences and 74.13±43.72 tokens. The development abstracts average 3.46±1.94 sentences and 72.85±42.54 tokens. The test abstracts average 3.22±1.72 sentences and 66.81±38.16 tokens. These figures describe the references in each split. The generated biographies can be shorter.
The records also differ across splits. The average number of properties per generation record is 14.97±8.82 in training, 14.96±8.85 in development and 21.6±9.97 in testing. The held-out records thus present more properties on average despite the shorter average test abstract. For alignment, the counted example is a sentence paired with a record. The paper reports 796,446 such instances for training and 153,096 for development. Those counts refer to the aligner's examples and have a different unit from the abstract counts for generation.
How well the aligner found correspondences
The authors assessed alignment on 132 development sentences manually linked to their infoboxes by two annotators. The annotators used a word-alignment interface and followed guidelines the paper takes from prior alignment work. The human agreement was 0.72 by macro-averaged F-score, treating one set of annotations as the reference and the other as the prediction. An F-score balances precision, the share of proposed links that are correct, with recall, the share of reference links that are recovered. Macro-averaging gives the evaluation units equal influence when combining their scores.
The comparison system used pretrained word vectors directly. For each property–value pair it averaged the vectors of the words in the pair, then compared that representation with the vector of each sentence word by dot product. Its cutoff was 0.4. On the manual development alignments, this method scored 0.057, and the learned Content-Aligner scored 0.36. The learned system provides a much stronger alignment signal than this direct comparison, although agreement with human annotation remains limited.
Word-to-property F-score on the manually aligned development sentences
The trained aligner recovers the manual correspondences better than the pretrained embedding baseline.
The numbers
| System or setting | F-score |
|---|---|
| Pretrained embedding baseline | 0.057 |
| Content-Aligner (this paper) | 0.36 |
The authors also evaluated at the coarser level. Given a correct record–sentence pairing and 14 distractors, they measured the average position assigned to the true match. On this rank@15 comparison, the learned aligner achieved 1.31 and the pretrained embedding baseline 7.99, with lower rank better. Placing a correct record near the top demonstrates that the score discriminates among coarse pairings. The manual link evaluation asks the more demanding question of whether its individual word decisions agree with human judgments.
What the generators were compared against
The standard encoder-decoder system is called ED. ED MTL adds the auxiliary alignment prediction task, and ED RL adds reinforcement learning after pretraining. The paper also evaluates a hand-written template system, Templ. Its rules cover the 50 most frequent property names in the training data. Personal properties, such as birth date and occupation, were ordered by how they commonly appear in the abstracts. Properties tied to a profession came later and were assigned equal priority among themselves. The system realizes a property with a sentence template and joins the resulting sentences.
The template system offers a comparison with explicit control over the facts used to fill sentences. The rules still need adequate coverage, natural wording and a sensible policy for repeated or competing values. A common database field can take up several sentences in template output even when abstract writers rarely mention it. ED offers a different comparison. It learns wording and selection from the paired data through standard word prediction. ED MTL and ED RL test what changes when that general architecture also learns from the inferred alignment signal.
Evaluating against original and revised abstracts
The automatic metric is BLEU-4. BLEU compares overlapping n-grams, or consecutive word sequences, between an output and its references and includes a penalty for short output. With the original Wikipedia abstracts as test references, Templ scored 5.47, ED 13.46, ED MTL 13.57 and ED RL 12.97. The multitask system led that comparison. The abstract used as the reference can contain legitimate information that is beyond the input database, so overlap with it measures a mixture of ordinary reference agreement and reproduction of details the generator was given no direct basis to supply.
The authors designed a second evaluation to bring the target text closer to the task. They took 200 randomly selected test abstracts and asked crowdworkers to revise each with its Wikipedia infobox in view. Workers removed material lacking a supporting fact and rewrote the remainder into readable prose. They collected three revisions for each abstract. Mean pairwise BLEU-4 among those revisions was 81.64, the paper's measure of agreement between the workers' texts. The revised references offer several ways to phrase a description tied to the input. The worker agreement measures similarity among those revisions and does not serve as another generator score.
BLEU-4 against the human-revised abstracts on the test subset
Multi-task training leads on the revised references, while reinforcement learning and standard training score close together.
The numbers
| System or setting | BLEU-4 |
|---|---|
| Templ | 6.43 |
| ED | 35.89 |
| ED RL | 35.74 |
| ED MTL (this paper) | 37.18 |
The paper reports the ED MTL gain over ED on revised references as 1.29 BLEU-4. ED RL finishes close to ED and below it in this comparison. The original-reference results and revised-reference results involve different reference constructions, with revisions available only for the selected test cases. Their absolute scores answer different evaluation questions. Within each comparison, the generator trained with the auxiliary label task has the highest overlap among the evaluated systems.
Comparing just the first sentence
The authors also ask how their opening sentences compare with the earlier WikiBio results. They use Stanford CoreNLP to isolate the first sentence of each generated biography and score that sentence against the opening sentence of the original Wikipedia abstract. On this first-sentence evaluation they report 37.29% BLEU-4 for ED, 38.42% for ED MTL and 38.1% for ED RL. The strongest result they cite from the earlier biography paper is 34.7%±0.36.
The paper presents this as a rough comparison. The earlier system is trained to generate a single sentence, while the newer systems generate the start of a longer biography. The newer work also adapts the data and selects examples by record richness and abstract length. The scores establish how the authors' outputs compare on the opening-sentence check they report. They do not isolate what the same training change would do under the earlier study's full experimental conditions.
How readers ranked the outputs
The authors requested 3 human judgments per case for the same 200 test pairs used to make the revisions. Workers saw an infobox and five anonymous texts in random order. These comprised outputs from the three neural generators, the template output and one human revision. Workers ranked them with two considerations in mind: faithfulness to the table and comprehensibility and fluency. They could tie outputs only when the strings were identical. The resulting rank combines judgments about information and writing quality.
Mean human rank for the systems and revised abstracts on the test subset
The human revision ranks highest overall, and the multi-task generator leads the automatic systems by a narrow margin over reinforcement learning.
The numbers
| System or setting | mean rank |
|---|---|
| Human-revised abstract | 2.27 |
| ED MTL (this paper) | 2.90 |
| ED RL | 2.91 |
| ED | 3.02 |
| Templ | 3.72 |
The human revision placed first 47% of the time. ED MTL was most often placed second or third, and ED RL drew a similar pattern. The plain ED system was most frequently fourth, and the template system was most often fifth. The authors assigned ratings from 1 to 5 based on rank, gave higher ratings to better placements, and used analysis of variance to test whether the system had an overall effect. Follow-up Tukey comparisons put the neural systems below the human revision and above the template system at p < 0.05. ED MTL also differed significantly from ED at p < 0.05. The difference between ED MTL and ED RL was statistically inconclusive. That last comparison matters because the small numerical advantage in mean rank could otherwise imply a sharper distinction than workers' judgments support.
What the ablations show
The paper provides comparative training runs, alignment checks and examples of errors, without component-by-component ablations of the aligner, auxiliary task or reward.
Learning the alignment improves two kinds of match
The pretrained embedding baseline is a direct test of how far a word-vector similarity rule goes without learning correspondences from the biography pairs. It can give credit to words with similar meanings and to values that appear in the text. The learned aligner adds recurrent encoding, context and training against mismatched inputs. Its improvement on both manually annotated links and coarse ranking indicates that learning from the pairings helps beyond applying a dot product to fixed pretrained vectors.
The comparison treats those changes as a package. It cannot tell how much the recurrent sentence context contributes, how much comes from the way facts are represented or how much depends on the objective used to rank true pairs over mismatches. The two alignment metrics also reveal different strengths. Finding the correct record among distractors can be possible when only a few diagnostic words match it. Agreement with manual links requires recovering the individual correspondences throughout the sentence. The stronger coarse ranking gives a reason to trust that the pair-level learning signal is informative, while the link result gives a direct view of the noise still reaching the generator.
The auxiliary task has the clearest comparative evidence
ED and ED MTL are the closest comparison for the question of whether predicting support can help ordinary word generation. The latter uses the auxiliary labels and gives alignment prediction an early emphasis before shifting weight toward word prediction. It scores higher with either kind of automatic reference, and its human rank is significantly better than ED's. Together those observations support the claim that the whole multitask procedure can improve this task over standard word training.
The authors tuned block size separately for each system. The multitask run also uses its particular weighting schedule, and the paper reports no equal-block comparison or experiment with the auxiliary labels held constant while the schedule varies. The results establish the advantage of the tested multitask training recipe. They leave the independent effects of the labels, their scheduling and block size unresolved.
ED RL tests a different use of the alignments. It samples words, rewards their overlap with the aligned vocabulary and progressively replaces the reference-driven part of each training block. It is close to standard ED on revised-reference BLEU-4, with a better numerical mean rank in the human study. It is also nearly level with ED MTL in the human results, in spite of the clearer difference in BLEU-4. That pattern gives no basis for treating the automatic metric as a complete account of what readers preferred. Its overlap and length penalty can respond strongly to brevity, while readers can value the omission of a suspect claim or favor a fuller description, depending on the case.
Example outputs reveal the costs of different selections
The Dorsey Burnette example illustrates why a shorter description can be rational. The standard generator produces a band membership statement with unresolved year placeholders. The reinforcement-learning output takes a safer direction by using a birthplace present in the record. It still corrupts the person's name, while the multitask description also changes the first name and garbles the band's name. The example illustrates the specific benefit of avoiding an unsupported interval alongside continuing problems with entity realization. A generator can select a legitimate kind of detail and still express the person or relationship inaccurately.
The Indrani Bose outputs draw attention to a different failure. The standard system describes a leadership role without supporting table evidence. The alignment-guided alternatives avoid that particular assertion, yet still produce institutional descriptions with problematic wording or unknown tokens. The template includes education and an honor grounded in the record but has difficulty with some phrasing. An input property can have a relevant value, and the output can still misuse it through poor wording or by attaching the wrong relationship to an institution.
In the Aaron Moores case, the multitask system gives a participation detail supported by a recorded Paralympic entry. The hand-written system stays with the smaller range of familiar facts it can express from that record. All three neural outputs change the first name, and the standard and reinforcement-learning variants assign the swimmer a nationality unsupported by the displayed data. The example shows why good choices about which event to mention can coexist with a serious factual error in the same short description.
For Kirill Moryganov, the template writes out many football fields, including repeated values and multiple team and year entries. The neural outputs are more selective, but the individual forms introduce problems of their own. The multitask system retains the displayed name and states the player's position, then assigns an unsupported nationality. Other outputs add middle names or describe a team relationship more specifically than the record warrants. These examples explain the authors' qualitative preference for the multitask system's balance of detail and faithfulness. The examples also show that the balance is imperfect. The paper does not use them to estimate rates of particular error types.
Limitations
Limits the authors identify
The authors identify a basic problem with using original Wikipedia abstracts as gold references. A grounded description can appropriately omit material that has no basis in the record and still lose overlap credit for that omission. A generator that imitates an unsupported passage can gain credit under the same comparison. The human-revised references reduce this problem for the sampled cases. They also introduce a new dependence on the decisions of editors asked to remove material and rewrite what remains. The authors' use of multiple revisions gives the metric more than one acceptable version of each short biography.
The paper also discusses the shorter output produced by reinforcement learning. The authors connect that tendency to the automatic and human results: leaving out a disputed or unavailable detail can make a biography safer, while leaving out a useful supported detail can make it less informative. Their interpretation of the examples is that the multitask generator tends to preserve more detail and frequently stays closer to the facts in the infobox. That judgment describes a pattern they observed. The similar mean human ranks and inconclusive difference between the alignment-guided systems limit the strength of a claim that readers clearly preferred one training method over the other.
The authors propose richer representations of the structured input and a hierarchical decoder as directions for further work. The generator treats the record as encoded property–value pairs and uses attention to consult them. It also treats the text as a flat word sequence, with state carried between training blocks. Hierarchical decoding would represent organization at the sentence level as well as the word level. The paper raises these possibilities without evaluating them.
Limits visible in the setup
The experiments are on selected English Wikipedia biographies paired with DBPedia facts. The examples have minimum requirements for record richness and text length, and the preprocessing removes pairs with too many unknown tokens. These choices make the task concrete and provide enough material for the study of multi-sentence generation. They also limit the population covered by the results. Very sparse records, entities with hard-to-represent values and prose from other domains could change the difficulty of finding useful correspondences. The discussion of other loosely paired sources motivates the research problem, while the evaluation itself is biographical.
The manual word alignment study is development evidence. The same development work helps determine the threshold and gives a report of its accuracy. The study demonstrates that the learned scoring process performs substantially better than the chosen embedding baseline on those annotations. It supplies no separate manual test-set estimate. The F-score of 0.36 also leaves considerable room for missed or spurious links, and the disagreement between human annotators indicates that exact word links can be difficult to judge. A partial phrase may have a clear relation to a record while individual articles, connectives or nearby modifiers admit different annotation choices.
The operational definition of support is limited. A word can align to some fact while the sentence that uses it expresses a different relationship. A correctly named person and a correctly named place do not establish that the person was born there. For reinforcement learning, overlap with a set of aligned reference words does not check how those words combine into a proposition. It can also overlook a valid fact if the original reference leaves that fact out. The reward should therefore be understood as a training signal derived from available evidence, with a narrower scope than statement-level verification or coverage of all relevant facts. The examples with incorrect names and unsupported nationalities make the practical distinction visible.
The multitask label is similarly coarse. It indicates that a reference position has some inferred link, without asking the generator to name the source field as part of its output. Its training benefit is compatible with the decoder still making mistakes about which dates, names or relationships belong together. The reinforcement-learning comparison likewise varies several parts of the training process at once, including optimization, pretraining, block size and the use of sampling. Its result belongs to that configured procedure. Without isolated variants, there is no way to assign the outcome to the precision reward alone.
Finally, the human ranking combines factual faithfulness with fluency and comprehensibility. A system can gain rank through better wording, through stronger factual support or through both. The study does not separately measure how often each generator states a supported fact, a contradicted fact or a claim absent from the record. Its evidence is strongest for the joint preference expressed by workers on the sampled biographies. The automatic overlap scores, human preferences and worked examples illuminate different parts of the task.
What came after
Later papers that cite this work address several parts of the problem the biography experiments bring together: representing the people or objects being described, deciding how to organize a document and keeping its statements grounded in the input. The titles identify those directions. The citation relationship alone does not establish whether a later system reused the aligner, the auxiliary labels or the reinforcement-learning reward.
Data-to-text Generation with Entity Modeling (2019) takes entities as its focus. The biography paper asks whether a word or phrase can be linked to a fact in a particular person's record. An entity-centered approach brings attention to the participants that the text describes. The connection is visible in errors such as the changed first names in the biography outputs. Selecting properties that are suitable for an athlete or musician is only part of writing about that individual. The description must also keep the person's identity and the selected details together as the text proceeds.
Towards Faithful Neural Table-to-Text Generation with Content-Matching Constraints (2020) makes faithfulness the goal of content-matching constraints. This is the closest connection in subject to the biography paper's use of word–fact correspondence. Perez-Beltrachini and Lapata learn which words in a loose training reference appear to have a basis in the record, then transfer that signal to generator training. The later title identifies content matching as a way to constrain table-to-text generation. Both address the gap between producing plausible prose and producing prose that can be justified by a particular input. Their citation relationship does not settle how closely their matching procedures correspond.
Data-to-text Generation with Macro Planning (2021) puts planning at the scale of the text in view. In the biography paper, local alignment can identify a name, an occupation or a club as source-supported content. Those matches leave open which details should appear together and what order makes sense across sentences. A planning approach addresses that broader organizational question. It connects to the authors' observation that their word-sequence decoder leaves room for more structure at the sentence level. Together, the citing works show how grounding a description in a record can involve decisions about individual expressions, the entities they describe and the organization of the document.
Cite
Cite as Laura Perez-Beltrachini and Mirella Lapata. 2018. Bootstrapping Generators from Noisy Data. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers).
@inproceedings{perezbeltrachini2018bootstrapping,
title = {{Bootstrapping Generators from Noisy Data}},
author = {Laura Perez-Beltrachini and Mirella Lapata},
booktitle = {Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)},
year = {2018},
doi = {10.18653/v1/n18-1137},
url = {https://doi.org/10.18653/v1/n18-1137}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/beltrachini-2018-bootstrapping-generators-noisy-data/