Elamur Research

NILC at SR'20: Exploring Pre-Trained Models in Surface Realisation

Paper · 2020 · Marco Antonio Sobrevilla Cabezudo and Thiago Pardo

Summary

Surface realisation turns a structured description of a sentence into something a person can read. In the deep track of the Surface Realisation Shared Task 2020, the description gives the system many of the words and some information about how they fit together. It scrambles their order, replaces inflected words with their dictionary forms, removes some function words and grammatical information, and generalises the labels connecting predicates to their arguments. A system must arrange the surviving material, recover the appropriate word forms, and supply missing words while preserving the meaning. The NILC team at the University of São Paulo tested an approach to this problem in the closed sub-track for English.

The authors adapted an earlier GPT-2 approach for generating text from Abstract Meaning Representation. They converted each modified Universal Dependencies structure into a sequence, placed that sequence before its corresponding sentence, and trained the small version of GPT-2 on both parts together. At test time, GPT-2 saw the structure up to a separator and generated the sentence that followed it. Word ordering and inflection were learned together. The authors compared six ways of writing the structure as a sequence. These varied in whether they kept parentheses for the graph’s branching structure, morphological information such as tense and aspect, and labels for the relations between nodes.

On the combined development set, the strongest version kept the parentheses and dependency labels while omitting the morphological material. It scored 42.52 on BLEU, 10.29 on NIST, and 0.9413 on BertScore. The full representation scored 39.28 BLEU, and removing parentheses from that full version brought the score to 35.89. The version that omitted both parentheses and relation labels scored 27.61. With the best development setting, the system averaged 42.33 BLEU, 9.31 NIST, 60.78 on the character-based DIST measure, and 0.9386 BertScore across the test sets. Scores were broadly similar across domains, though the authors singled out the current edition’s test set as an exception to that pattern. Overall automatic performance trailed other approaches in the track.

Human ratings exposed a gap between writing a natural sentence and recovering the intended meaning. NILC fell into the lowest group for meaning similarity. Its average standardised score on that measure was -0.079 for English (EWT). Yet it ranked second for readability on both human evaluation sets, with average standardised scores of 0.185 for EWT and 0.213 for Wiki. The readability assessment, conducted without a reference sentence, placed NILC ahead of the IMS entries, including the one from the open sub-track. The authors proposed investigating other ways to represent dependency structure, trying larger versions of GPT-2, and evaluating the approach in other languages.

Deep dive: NILC at SR'20: Exploring Pre-Trained Models in Surface Realisation

NILC tests how different ways of writing dependency structures affect GPT-2’s ability to generate readable English that preserves the source meaning. · about 30 minutes to read

The problem and its context

What a realiser receives

A surface realiser starts partway through the job of producing a sentence. Something upstream has already supplied a structured description of what the sentence should express. In this shared task, the description is derived from a sentence that already exists, so the organisers can compare the generated text with that sentence. Producing the output still involves decisions the structured description leaves open. The realiser has to choose an order for the words, decide how to inflect them, and, in the deep track, supply grammatical material that may be absent from the input. The task is a form of data-to-text generation within the broader study of text generation.

The source of the descriptions is a collection of annotated sentences, or treebanks. A dependency structure records which words depend on others and gives names to their connections. This separates a sentence’s organisation into units from the positions of those units in the written string. A link from a predicate to an argument can survive a shuffle that moves the corresponding entries far from their original positions. Conversely, having the links available does not give a reader the finished sentence. Generating that sentence from a structure goes in the opposite direction from the analysis usually associated with dependency parsing.

The authors situate the task in the spread of Universal Dependencies across multilingual applications. Shared conventions make annotated data from different languages useful for related tasks. Successive editions of the Surface Realisation Shared Task had already attracted systems that generated sentences from these structures or closely related ones. The organisers supplied inputs in CoNLL format, where a sentence’s words and annotations are represented in rows and fields. The competition made the input less directly recoverable than the original annotation by modifying the information in those fields.

What the deep track takes away

The shallow track removes the original order and the original word forms. For example, an input can tell the system that a verb belongs to the dictionary entry run while leaving it to recover whether the sentence needs run, runs, or running. The dictionary entry used in such an annotation is a lemma. The form that actually appears in the sentence is a word form. Generating that form from the lexical base and its grammatical context is the part of the task concerned with inflection, a question of morphology.

Track 2, the deep track, increases the distance between the input and the sentence. The organisers shuffle the word entries and use lemmas. They remove some prepositions and conjunctions in cases where other words or the structure are expected to provide enough evidence to infer them. Where needed, they replace determiners and auxiliaries with attribute–value information. This changes the kind of decision the realiser makes. An auxiliary supplied as a word only needs a suitable form and position. An auxiliary represented indirectly may also have to be recovered from an attribute and the construction in which it occurs.

The organisers also remove morphological information that can be inferred from agreement or syntax and retain only broad part-of-speech tags. A broad category can tell the system that a lemma is being used as a verb. It leaves decisions about the surface shape of that verb to other clues. The distinction matters when discussing NILC’s later experiments. The task’s own conversion has already removed some morphology before NILC receives an example. The authors then experiment with dropping the morphological material that remains in their representation.

The edges change as well. The organisers generalise their labels to predicate–argument labels in the style of PropBank and NomBank. A predicate describes an event, state or relationship, and its arguments identify participants or other entities involved in it. Such labels give the system a more abstract account of the relationship than the original syntactic labels did. They belong to the kind of annotation studied in semantic role labeling. The paper calls the resulting representation deep syntax, placing it closer to a meaning representation while retaining a structure derived from dependency annotation.

Recovering a sentence from deep syntax consequently involves choices that interact. Once a system has chosen a construction, that choice can affect which auxiliaries it needs and which form of the main verb is appropriate. The position and interpretation of a phrase may in turn depend on the construction around it. The shared task evaluates the sentence that results from all these choices. A well-formed output can contain the expected vocabulary while assigning a phrase to the wrong part of the sentence, and an output can convey the right event in an awkward form.

From separate decisions to joint generation

The paper describes earlier surface realisation work as commonly divided between generating inflections and deciding word order. Those problems can be assigned to distinct parts of a system, with one component responsible for choosing the forms and another for putting words in sequence. Earlier editions had also seen neural approaches to the same problems. NILC’s own entry in the first edition addressed the shallow track and used data augmentation. For the 2020 entry, the group chose the deep track and learned word ordering and inflection as parts of a single generation task, using the resources permitted in the closed sub-track.

This choice drew on work that first learned from a large quantity of unannotated text and then adapted that knowledge using a smaller supervised dataset. In that setup, the supervised examples can teach a system how to carry out a particular task while its prior exposure supplies regularities about how language is written. The authors situate their work alongside earlier research on contextual representations and pretraining, including Deep Contextualized Word Representations and BERT.

The paper points to uses of this approach for sentence classification, sequence tagging, and answering questions. It also describes it as established in generation tasks such as simplification, summarisation, and machine translation. In those generation tasks, the source is already text. A dependency structure presents a different interface. Its order is a convention for expressing relationships, and punctuation such as a parenthesis has a structural purpose. Success at producing fluent text gives a reason to try GPT-2 here. Whether it can reliably use these conventions to recover the source meaning is the question the experiments address.

The direct precedent was Mager and colleagues’ work adapting GPT-2 to generate sentences from Abstract Meaning Representation, or AMR. They reported improvements when using GPT-2 for that task, giving NILC a reason to test a similar strategy with deep dependency structures. The analogy is practical. Both tasks pair a structured input with a sentence, and both allow the input to be written as a sequence that precedes the sentence. The details of that sequence then become part of the experiment. NILC’s central comparison concerns which parts of the dependency representation are worth exposing in this form.

The method, step by step

Start with a paired structure and sentence

The training examples come from the shared task’s English Track 2 data. Each supplies a modified dependency structure and the sentence from which it was derived. The structure provides the source context. The sentence provides the target continuation. In training, the system sees the pair. At test time, it is given the source structure and has to produce the continuation. The authors pooled the training subsets for this procedure. Their implementation uses GPT-2 through HuggingFace’s Transformers and the paper identifies the project’s source code.

To show what a pair includes, the paper uses a sentence concerning Interior Ministry officials. In the sentence, a group referred to by them is on the receiving end of a running or managing action. The sentence begins with Two of them, and the phrase beginning with by introduces the officials who carry out the action. The target uses a sequence of auxiliaries with the participle run. The input annotation, by contrast, gives run as a lemma and includes Tense=Pres in the illustrated feature information. Recovering the target requires fitting that lexical item and the participants into a construction.

The paper shows the input in both CoNLL form and a graph view. These are ways for a reader to inspect essentially the same structured input. The rows expose attributes on individual entries, while the graph makes the connections easier to see. The CoNLL illustration also contains attributes named idX and original id. The paper associates these with the shallow track and the original token positions, and says they are removed from the test set. Their presence in the illustration therefore gives no basis for treating original sentence order as an available test-time cue.

Give the graph a sequence

GPT-2 works with a sequence of tokens. A graph allows a node to have multiple branches, whereas a sequence has a next token at each position. To bridge the two formats, the authors draw on PENMAN, the notation used in their AMR precedent. A written graph can place a node inside parentheses, use relation markers to introduce connected material, and nest a further pair of parentheses when a branch has structure of its own. In that representation, brackets tell the system where parts of the graph open and close, even though the entire expression arrives as a single line of tokens.

This procedure is called linearisation. Its order is the order in which the notation presents the graph. The system still has to infer the order in which the words should occur in the finished English sentence. That difference is important for understanding the experiment. A version without parentheses keeps a sequence derived from the graph, so nearby tokens may still provide cues. The parenthesised version also marks boundaries directly. The authors can compare these inputs while keeping the underlying task and the expected sentence the same.

The system treats relation markers differently from ordinary vocabulary. Labels that should function as structural markers receive tokens from GPT-2’s unused token list. A colon identifies a marker as a relation in the representation. The idea is that a relation’s role in the sequence is distinct from that of a word intended as sentence content. This treatment also applies to the names of morphological features. In Tense=Pres, the name Tense is handled as a relation, and the value Pres is treated as an ordinary token.

This distinction between feature name and value ties the encoding back to the original annotation. The input associates grammatical features with particular nodes, so a representation needs a way of showing what the feature is and where it belongs. Treating the name as a relation is how the full PENMAN version fits a feature such as tense into the same general notation as graph connections. The authors’ reduced versions then let them test what happens when that material is omitted.

From a deep dependency structure to a sentence

The steps in order.

From a deep dependency structure to a sentenceStep 1: Read the modified dependency graph1. Read the modified dependency graphStep 2: Write the graph as a PENMAN-derived sequence2. Write the graph as a PENMAN-derived sequenceStep 3: Mark relations and add the source separator3. Mark relations and add the source separatorStep 4: Train GPT-2 on paired structures and sentences4. Train GPT-2 on paired structures and sentencesStep 5: Prompt with the structure at test time5. Prompt with the structure at test timeStep 6: Generate a continuation with beam search6. Generate a continuation with beam searchStep 7: Detokenise the generated sentence7. Detokenise the generated sentence

Vary what the sequence preserves

Version A is the full PENMAN rendering. It is the comparison point for the reductions that follow. It has parentheses for the graph’s organisation, markers for relations, and the morphological material represented in the designated fields. Version B keeps the graph punctuation and removes the morphological relations and other material in the same input column. Tense and aspect are the paper’s examples of the affected features. Its remaining relation labels can still identify connections among nodes.

Version C starts with B’s reduction and also removes parentheses. It retains the remaining relation markers. Version D removes parentheses from the full version A, so it retains the morphological material as well as other relations. B and C thus show what changes when the parentheses are removed from the reduced representation. A and D give the corresponding comparison for the full representation. C and D offer a comparison of the morphological material when parentheses are already absent.

Version E starts from A and omits all relations while keeping parentheses. It can still present nested groups, giving the generator a cue to group membership even though the labels that identify the connections are gone. Version F omits both the relation labels and the parentheses. It leaves a linearised input with fewer explicit cues to the graph. The paper does not describe F as a fresh random shuffle of the words. Its sequence comes from the same family of PENMAN renderings, with those markings removed.

These variants distinguish several kinds of source information. A relation label can tell the generator how nodes are connected. Parentheses can show which material belongs together. A morphological feature can supply a grammatical clue about a node that is already identified by its lemma. Each serves a different purpose in the input, although the evidence they provide can overlap. For instance, the grouping of a phrase and the words in it can make its role easier to infer even in the absence of a label. The comparisons test the value of cues as they appear in these renderings, where changing the cues can also change the length of the sequence.

The paper illustrates A, B and C using the officials example. The sequence for A shows the full encoding of that input. B makes the annotation more compact by leaving out the morphological material, and C additionally strips the nesting punctuation. In all cases the target is the same sentence. The sample supplies a concrete way to distinguish removal of a feature from removal of a boundary: the former removes a piece of annotation such as tense, whereas the latter changes how visibly the remaining pieces are grouped.

Learn the structure and sentence together

After linearisation, the authors append a special separator to mark the end of the source. During training, the tokenised target sentence follows that boundary. During generation, the prefix ends at the separator. The separator matters because different types of continuation are appropriate on either side of it. A further annotation token may be appropriate while the input graph is still being written. After the separator, the opening tokens should belong to the realised sentence.

The probability objective covers the source and target jointly. The paper denotes the source sequence by a on the left and uses u for its tokens on the right. The factorisation below retains that distinction.

p_GPT−2(w, a) = (∏ⱼ₌₁ᴺ p_GPT−2(wⱼ | w₁:ⱼ₋₁, u₁:ᴹ)) × (∏ᵢ₌₁ᴹ p_GPT−2(uᵢ | u₁:ᵢ₋₁))

Here p_GPT−2 denotes a probability assigned by GPT-2. The left side is the joint probability of the target token sequence w and the linearised source a. The right side writes the contents of a as u₁:ᴹ, the source tokens from the first through position M. M is the number of source tokens, and N is the number of target tokens. The index j ranges over target positions and wⱼ is the target token at position j. The notation w₁:ⱼ₋₁ means all target tokens before that position. The index i ranges over source positions and uᵢ is the source token at position i. The notation u₁:ᵢ₋₁ refers to the source tokens before that position. The vertical bar means “given,” the comma joins the two parts of the conditioning context in the first product, and the product signs ∏ indicate multiplication over the indexed positions. The multiplication sign × combines the sentence and source factors. The parentheses group the arguments of each probability and the two products, and the equals sign states the factorisation.

Read from the order in which the tokens arrive, the source factors account for successive tokens in the written structure. Each one is scored given the source tokens already seen. The sentence factors account for successive tokens in the target. Each target token is scored given the entire source and whatever part of the target has already been reached. The separator is an implementation detail marking the transition between these two pieces. At test time, the source is supplied, so generation concerns the sentence part of the factorisation.

Learning to generate the final target sequence gives a shared context to decisions that a pipeline could split apart. When GPT-2 chooses the next word form, it can use the graph and its own earlier choices in the sentence. An auxiliary it has already generated can help determine what form the main verb should take. The appropriate ending can likewise depend on what it has chosen as the subject. There is no separately reported output for ordering or inflection on the way to the sentence. Both skills are exercised through the same next-token training objective.

Joint training has another consequence. The graph notation is part of what GPT-2 learns to predict. Omitting a type of annotation changes the context available to the sentence and the sequence the training objective asks GPT-2 to predict before reaching the sentence. A comparison of linearisations therefore measures their effect on the full procedure. It cannot by itself locate the improvement in a particular stage of learning or a particular kind of output decision.

Train, decode and recover the written sentence

The authors initialise with the small version of GPT-2 and adapt it to the pooled task data. They describe convergence at 7 epochs and report a batch size of 8. They use AdamW to update the trainable parameters, with a learning rate of 6.25e-5. They also cap both source and target lengths at 350 and leave the embeddings frozen. Embeddings are the learned numeric representations associated with tokens. Freezing them keeps that part of the initial representation fixed while the rest of the trainable system adapts to the paired examples. This supervised adaptation of a pretrained system is fine-tuning.

The length setting matters because the full notation makes room for parentheses, labels and feature strings in addition to the lexical material. These all have to fit in the sequence budget along with the relevant source context. A compact representation can therefore help for more than one reason. It might make the relevant clues easier to find, or it might let a long input fit before useful tokens are lost. The paper raises the latter possibility when interpreting the development comparisons. It does not report how often truncation occurred for each encoding.

At test time, the same linearisation procedure prepares the source prefix, and GPT-2 generates the sentence after the separator. Decoding uses a beam size of 15. Beam search keeps multiple partial continuations under consideration so that a locally attractive next token need not immediately crowd out other sentence starts. The output then passes through the Moses detokeniser to convert the tokenised sentence into ordinary written text. This final step handles presentation after generation. The system’s decisions about what to say and how to arrange it have already been made.

Experiments and results

Development data, test data and comparisons

The English data includes 4 training files and 4 development files. The test collection contains 7 files from the previous edition and 1 from the current edition. The authors train on the combined training subsets and compare all six representations on the combined development subsets. They then carry the best development configuration, version B, into the automatic test evaluation. The development table consequently answers which of the candidate encodings worked best during selection. The test table describes the chosen system across the available test sets.

The full PENMAN encoding, A, is the internal comparison point for the representation experiments. It establishes how the same general approach performs with the structural and morphological annotations present. The paper also compares NILC with the shared-task field. It reports weaker automatic performance than other approaches in the track, though its automatic tables give scores for NILC’s variants and test outputs. Its human evaluation table provides the direct participant comparisons, including Concordia, IMS and RALI where those entries appear.

The submission is in the closed sub-track, identified as 20a in the human evaluation. The evaluation table also includes IMS in the open sub-track, 20b, for which the shared task allowed all kinds of resources. That distinction matters when reading a ranking. It identifies the conditions under which teams entered. The table compares the outputs judged by assessors, while the comparison between a closed and an open entry leaves differences in resources and system design bundled together.

What the automatic scores measure

BLEU measures overlap between a generated string and its reference through sequences of consecutive tokens, called n-grams. It combines their precisions with a geometric mean and applies a penalty to short output. The authors use a smoothed version with orders n = 1, 2, 3, and 4. In that notation, n is the number of consecutive tokens in a sequence. An output can match individual words while diverging from the reference in the order or phrasal combinations those words form. The longer sequences bring some of those differences into the score. The method is presented in Bleu: a Method for Automatic Evaluation of Machine Translation.

NIST also compares consecutive sequences with the reference. Its weighting favours less frequent sequences, which the metric treats as more informative. Thus a system’s scores on NIST and BLEU can order some inputs differently even when both metrics are applied to the same generated texts. Each favours overlap, while one gives more prominence to rarer matches. This can be seen in the development results for the full PENMAN representation and the version that retains brackets while dropping relation labels.

DIST uses characters as its units. It starts from the minimum edit cost of transforming an output into the single reference, given insertion, deletion and substitution operations that each cost 1. The reported measure is normalised and inverted, so higher scores correspond to greater closeness. Character agreement gives a different view of the output from exact token sequences. Even when a generated form differs from its target, it can share much of its spelling. Conversely, two expressions that convey similar ideas can require many character edits to turn one into the other.

BertScore uses contextual word representations from BERT. It matches words from the output and reference using cosine similarity, which compares the directions of the vectors representing them. Because those representations depend on context, the measure can reward similarities that an exact string match would miss. The four metrics therefore put different emphasis on wording, character overlap and contextual matching. The separate human assessment provides a more direct test of how readers judge the meaning and readability of the sentences.

Which representation led on development

Version B leads on all three measures in the combined development table. Its BLEU score of 42.52 is the highest among the encodings. It also reaches 10.29 NIST and 0.9413 BertScore. The full version A reaches 39.28 BLEU, 9.65 NIST and 0.9390 BertScore. Both keep the graph punctuation. The difference between them is the omission in B of the morphological relations and associated column material. This agreement across measures gives a clear basis for choosing B for the test evaluation.

BLEU by input representation on the combined English Track 2 development set

Keeping the graph boundaries while dropping morphological material gives the strongest score.

BLEU by input representation on the combined English Track 2 development setA, full PENMAN: 39.28A, full PENMAN39.28B, no morphological material (this paper): 42.52B, no morphological material (thispaper)42.52C, no morphological material or parentheses: 36.67C, no morphological material orparentheses36.67D, no parentheses: 35.89D, no parentheses35.89E, no relations: 38.00E, no relations38.00F, no relations or parentheses: 27.61F, no relations or parentheses27.61
The numbers
System or settingBLEU
A, full PENMAN39.28
B, no morphological material (this paper)42.52
C, no morphological material or parentheses36.67
D, no parentheses35.89
E, no relations38.00
F, no relations or parentheses27.61

The middle of the comparison contains a difference between metrics. Version E reaches 9.97 NIST and 0.9354 BertScore. On NIST it is higher than A, whose score is 9.65, although A is ahead of E on BLEU and BertScore. Version C reaches 9.82 NIST and 0.9350 BertScore. Version D reaches 9.59 NIST and 0.9347 BertScore. Version F comes last on both of these metrics, with 8.83 NIST and 0.9228 BertScore. The best and worst settings agree across all the development measures even though the middle ranks can change with the measure.

Automatic performance across the test sets

Version B averages 42.33 BLEU, 9.31 NIST, 60.78 DIST and 0.9386 BertScore across the test sets. These are test averages for the chosen configuration. The development figure of 42.52 BLEU describes the pooled development examples on which the authors selected that configuration. Since the development and test results refer to different collections of sentences, they serve different purposes in the paper. The test scores show how the chosen representation fared across the held-out files.

The individual files reveal variation that an average can hide. On en ewt, the system scores 45.19 BLEU, 9.96 NIST, 64.83 DIST and 0.9411 BertScore. On en gum, those measures are 40.94 BLEU, 9.00 NIST, 60.42 DIST and 0.9399 BertScore. On en lines, they are 41.04 BLEU, 9.09 NIST, 61.18 DIST and 0.9381 BertScore. On en partut, the system reaches 43.41 BLEU, 8.24 NIST, 59.74 DIST and 0.9438 BertScore.

A file can look relatively strong on one of these measures and weaker on another. For example, en partut has the highest BertScore reported in the test table and the lowest NIST. The filtered Lines test file has 39.68 BLEU, 9.31 NIST, 57.56 DIST and 0.9317 BertScore. Its NIST equals the reported test average, while its BLEU, DIST and BertScore are lower than their respective averages. The authors describe the test scores as generally close to their averages, with the current edition’s set as the exception. They take the overall pattern as a suggestion of similar performance across domains. The scores can be reasonably close across domains while the submission still trails the other approaches in the field.

Readability and meaning judged by people

The shared-task organisers selected English (EWT) and English (Wiki) for human evaluation using Direct Assessment. Assessors rate meaning similarity with a human-authored reference available. For readability, they see the candidate sentence without the reference. Both judgments use a 0-100 scale. The table reports the raw averages as well as an average standardised score, labelled Avg. z, which determines the rankings. It also reports the number of distinct assessed sentences and the total number of judgments. The latter can be larger because an item can receive multiple judgments.

On meaning similarity, NILC is in the last cluster. For EWT, its raw average is 75.6 and its average standardised score is -0.079. Its Wiki raw average is 76.6, with an average standardised score of -0.491. The raw and standardised figures answer different questions in the table. For example, RALI’s raw Wiki average is 76 and its standardised average is -0.463, putting it above NILC in the ordering based on the standardised score. Cluster membership, where identified by the organisers, describes groups of systems for which higher clusters significantly outperform lower ones.

English EWT meaning similarity by average standardised human rating

NILC receives the lowest score for closeness in meaning to the human reference.

English EWT meaning similarity by average standardised human ratingIMS, 20b: 0.272IMS, 20b0.272IMS, 20a: 0.259IMS, 20a0.259Concordia, 20a: 0.245Concordia, 20a0.245IMS, 19: 0.201IMS, 190.201NILC, 20a (this paper): -0.079NILC, 20a (this paper)-0.079
The numbers
System or settingAverage standardised score
IMS, 20b0.272
IMS, 20a0.259
Concordia, 20a0.245
IMS, 190.201
NILC, 20a (this paper)-0.079

For readability, NILC is second on both sets. Its raw EWT average is 68.6, and its standardised average is 0.185. On Wiki it receives a raw average of 75.4 and a standardised average of 0.213. Concordia leads both readability rankings, with 0.321 on EWT and 0.37 on Wiki. The open IMS entry has standardised readability scores of 0.159 on EWT and 0.055 on Wiki. NILC’s pooled readability result for EWT draws on 823 distinct sentences and 947 judgments. The corresponding Wiki readability entry draws on 930 sentences and 1,273 judgments.

English Wiki readability by average standardised human rating

Readers place NILC behind Concordia and ahead of the IMS and RALI entries.

English Wiki readability by average standardised human ratingConcordia, 20a: 0.37Concordia, 20a0.37NILC, 20a (this paper): 0.213NILC, 20a (this paper)0.213IMS, 20b: 0.055IMS, 20b0.055IMS, 20a: -0.03IMS, 20a-0.03IMS, 19: -0.095IMS, 19-0.095RALI, 19: -0.562RALI, 19-0.562
The numbers
System or settingAverage standardised score
Concordia, 20a0.37
NILC, 20a (this paper)0.213
IMS, 20b0.055
IMS, 20a-0.03
IMS, 19-0.095
RALI, 19-0.562

The ranking changes with what assessors are asked to judge. On EWT, for example, IMS’s open entry places above NILC when readers compare the meanings of the candidate and reference, while NILC ranks higher when readers judge the output by itself. The authors interpret the readability result as evidence that GPT-2 can compose coherent sentences. The meaning ratings show that this ability was often insufficient to match the intended content as closely as the competing systems did. The aggregate rankings do not establish that each highly readable NILC sentence was also one of its weaker meaning matches.

What the ablations show

Removing the remaining morphological material

The comparison between A and B asks whether the full representation’s extra morphological material helps the generator. B’s lead is consistent across the combined development measures. The full input yields 39.28 BLEU and 9.65 NIST. Removing the specified material while retaining graph punctuation and the other relations yields 42.52 BLEU and 10.29 NIST. BertScore also favours B, at 0.9413 compared with A’s 0.9390. For this setup, retaining every available feature in the PENMAN encoding is a worse basis for generation than the particular reduction used in B.

That experiment changes both the content and the length of the sequence. The authors point out that the input with morphological relations can take more space. With a set maximum length, important tokens could be lost from some of the longer inputs. This gives a concrete alternative explanation for B’s advantage. Its better output can reflect the usefulness of a more compact context, the effect of losing redundant or distracting cues, or both. Neither the aggregate metrics nor the encoding comparison reveals which source tokens were retained for the sentences affected.

The paper checks the direction of the effect again using the shorter versions without parentheses. In that comparison, C lacks morphological relations and D retains them. The combined development BLEU values are 36.67 for C and 35.89 for D, with the same direction on NIST and BertScore. This helps because the evaluated inputs already have less structural punctuation to fit into the sequence. It replicates the direction of the morphology result under a different encoding. The absence of per-variant truncation statistics still leaves open the extent to which length explains either comparison.

The scope of the deletion also matters. Version B removes the morphological relations and other entries that the authors group with them in the same column. The experiment evaluates that removal together. It does not identify tense, aspect or any other feature individually as the cause of the change. Nor does it measure how frequently the system recovers a correct verb form using nearby words or surviving relations. The result is about how much the tested inputs help produce a whole sentence under the reported training and decoding setup.

Preserving graph boundaries

A comparison of A and D isolates the removal of parentheses from the full representation. Both use the remaining relation and feature material. On the combined development set, BLEU is 39.28 for A and 35.89 for D. NIST moves from 9.65 in A to 9.59 in D, and BertScore from 0.9390 to 0.9347. The bracket removal affects the measures to different extents. Each nonetheless favours keeping them in the full input.

The same pattern is visible after the morphological material has already been removed. B’s parenthesised input reaches 42.52 BLEU and C’s unparenthesised input reaches 36.67. Their NIST scores are 10.29 and 9.82, and their BertScores are 0.9413 and 0.9350. The advantage from marking the graph boundaries thus survives a change in which other information is present. A plausible reason is that nested punctuation makes it easier to tell where an argument or modifier belongs when the source has been written as a line of tokens.

The maximum length also changes how to interpret this result. Removing punctuation makes the representation shorter, yet it weakens the output in both matched comparisons. Compactness alone cannot account for the success of the tested representations. The kind of information removed matters. Removing morphological material and removing parentheses each cut tokens while moving the scores in opposite directions. The paper connects the usefulness of the punctuation to the structural information it preserves in the sequential input.

The tests cannot isolate everything GPT-2 extracts from a parenthesised input. Boundaries affect adjacency as well as group membership, and the system learns to predict the structure as part of the joint sequence. The experiment shows that the punctuation is useful with these renderings and this objective. It leaves open whether GPT-2 has learned to recover complete dependency attachments internally or instead benefits from a more local cue, such as the way a bracket separates neighbouring phrases.

What relation labels add

Version E helps distinguish knowing that material is nested from knowing the named relation. It leaves parentheses in place while removing relations. Its 38.00 BLEU is below the full A input at 39.28, but above D at 35.89, where the full variant loses parentheses and keeps relation information. BertScore follows that same ordering for A, E and D. NIST orders E above A while leaving D behind both. The paper’s observation that parentheses can carry some information about relationships is consistent with E’s relatively strong showing. The comparison also illustrates why the metrics should be reported separately.

Version F removes both forms of explicit structural cue and performs worst in the development table. Its 27.61 BLEU, 8.83 NIST and 0.9228 BertScore put it below E, which still marks the groups, and D, which still has relation markers. Comparing E with F shows the value of keeping boundaries when the relation labels are absent. Comparing D with F indicates that relation information still helps when the boundaries are absent. In the full set of variants, labels and brackets can each contribute under conditions where the other has been removed.

B and E add a further comparison. Both keep parentheses. B retains the relations among nodes while leaving out the morphological material, and E omits relations more broadly. B does better on all the development measures. The success of B and the weak showing of F together support a more specific interpretation of the paper’s result. Some labels may add little useful evidence or impose a cost in this representation, while explicit relationship cues overall help the system reconstruct the sentence. Useful grouping information in punctuation can coexist with useful information in the surviving labels.

All these ablations use automatic evaluation on development examples. They show which representations produce outputs closer to references by the selected metrics. The human assessment evaluates the submitted approach. It does not compare A through F. It therefore offers no direct evidence about which particular deletion improves readability or whether a change to the punctuation would move NILC up the human meaning-similarity ranking.

Limitations

Limits identified by the authors

The authors used the small GPT-2 version because of the computing resources available to them. They suggest that a larger version might improve results, drawing on the gains Mager and colleagues reported for generating text from AMR. Their own study supplies the results for small GPT-2 on the deep dependency task. Since the precedent uses a different representation and task, its evidence motivates a comparison of sizes instead of establishing an expected outcome for this submission.

The authors also flag a possible confound in the claim about morphology. The length limit could disadvantage the full representation by cutting useful tokens from some inputs. Comparing the shorter C and D versions makes the consistency of the result easier to see, but it leaves the mechanism unresolved. The additional evidence offered by that comparison is that the preference for removing morphological material survives the removal of parentheses. The paper has no separate measurement of the resulting loss of information from truncation.

Weak meaning preservation is an explicit concern. The authors connect the last-cluster meaning ratings with the lower automatic results and call for further experiments on how to improve the correspondence between the source and generated sentence. They also emphasise the conditions under which the high readability scores were obtained. Readers judged readability without a reference. That score gives evidence about a sentence as written, while the other assessment gives evidence about its correspondence with the intended sentence.

The scope of the submitted system is English Track 2 under closed conditions. The authors propose applying the approach to other languages and exploring different ways of encoding the dependency structures. Those directions address distinct questions. A new encoding would test how much better GPT-2 can use the available structure. Another language would test whether the method and the relative value of its input cues carry over when the realisation decisions differ.

Limits of the experimental comparisons

The development comparisons vary the encoding around a single generation approach. The paper gives no matched comparison with separately trained word-ordering and inflection components on the same data. It also gives no comparison between the pretrained GPT-2 system and a version trained from scratch under the same procedure. The shared-task entries supply external points of comparison, but differences in system design extend beyond these individual choices. The paper establishes how NILC’s end-to-end submission performed and how sensitive it was to the input format within that setup.

The joint objective leaves another question open. The authors train on predicting source tokens as well as target tokens. A separate comparison that scored only the target while providing the graph as context would address whether training on the source contributes to the result. Nothing in the reported tables distinguishes improvement from a better input context and improvement from the change to the source prediction part of the objective. Each variant changes both. The measured effect belongs to the variant as run.

Likewise, “without parentheses” describes a particular reduction of PENMAN. The experiment establishes the value of keeping the delimiters relative to that reduction. Other formats could express the same graph boundaries with different markers or arrange the graph in a different sequence. The paper offers no comparison with such encodings. “Without relations” also applies to a group of labels rather than to identified dependency types. A score for that variant cannot tell us which relationships are easy to infer from nearby words and which depend on explicit marking.

The development and test comparisons support different claims about generalisation. The encodings are all evaluated on pooled development data, after which only B is used to produce the reported test results. Its test performance across domains is some evidence about the stability of the selected system within the shared-task English data. The table cannot establish whether another encoding would have won on an individual test domain. The paper’s observation about the similarity of test scores should therefore be read at the level of the evaluated system and these files.

What the scores leave unexplained

The automatic measures compare output with a reference sentence. Changing the expression of an event can reduce word or character overlap while leaving the intended event recognisable. BertScore can credit contextual similarities, but the report provides no breakdown showing which outputs received such credit or why. The numbers measure aggregate agreement under the reported scoring procedures. They cannot determine how much of the lost score is due to wrong content, valid alternative wording, or a grammatical error that leaves the gist intact.

The human judgments distinguish two of those concerns at a higher level. They show that a system can rank well when readers judge its sentences in isolation and rank poorly when readers compare their meanings with the references. The paper gives no error analysis by phenomenon that would attribute the meaning result to particular problems such as omitted participants, wrong attachments, auxiliary choices or incorrect inflection. Its example explains what the source looks like and how the authors encode it. It is not an example of an analysed generation error.

Nor do the aggregate human scores show how the judgments relate on individual sentences. For EWT, NILC’s meaning entry covers 1,657 distinct sentences and its readability entry covers 823. For Wiki, the reported counts are 721 for meaning and 930 for readability. These are distinct totals for the two assessments. The tables provide no item-level correspondence from which to decide how frequently readability and fidelity coincide or diverge within a single output. The two rankings establish the overall contrast while leaving that finer relationship open.

The paper’s strongest evidence concerns the choice of representation within its own setup. The shared-task input has already removed information and generalised labels, and the authors compare particular ways of writing what survives. Removing additional feature material helps on development, while removing cues to structure hurts. That evidence gives a concrete reason to investigate what a sequential encoding makes easy or difficult for GPT-2 to use. It leaves questions about scale, other languages, and alternative graph representations for separate experiments.

What came after

No later study is documented here as extending NILC’s system or testing its conclusions in a new setting. The follow-up directions described in the paper are the authors’ proposals. They wanted to try other linearisations and other ways of supplying structural information, then evaluate larger versions of GPT-2 and apply the approach in other languages. These directions follow from different observations in the study. The development experiments show sensitivity to how the graph is written. The human comparisons show that readable sentences can still miss the intended meaning. Further experiments along those lines would test whether a better representation or a larger GPT-2 can improve meaning preservation while retaining the readability observed in the shared task.

Cite

Cite as Marco Antonio Sobrevilla Cabezudo and Thiago Pardo. 2020. NILC at SR'20: Exploring Pre-Trained Models in Surface Realisation. Proceedings of the Third Workshop on Multilingual Surface Realisation.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{cabezudo2020nilc,
  title = {{NILC at SR'20: Exploring Pre-Trained Models in Surface Realisation}},
  author = {Marco Antonio Sobrevilla Cabezudo and Thiago Pardo},
  booktitle = {Proceedings of the Third Workshop on Multilingual Surface Realisation},
  year = {2020},
  url = {https://aclanthology.org/2020.msr-1.6/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cabezudo-2020-nilc-sr-20-exploring-pre/