Bootstrapping Lexical Choice via Multiple-Sequence Alignment
Paper Β· 2002 Β· Regina Barzilay and Lillian Lee
Summary
A theorem prover can record what follows from a set of assumptions without saying how a person would explain the same step. A writer might state the assumptions explicitly, refer back to them, or leave some of them implicit. The writer still has to choose words that make the mathematical move recognizable. The authors study how a system can learn those choices from examples. Their aim is to build a dictionary that connects pieces of a formal meaning representation with words and phrases that can express them, a task known as lexical choice in text generation.
The authors use a corpus in which several people have put the same formal proof into words. Comparing those accounts helps because the information missing from one version can be explicit in another, and recurring expressions can provide clues about what belongs together. The method first aligns the verbalizations of each individual proof step. It then identifies phrases that express particular argument values, such as the name of the lemma used in a rewrite, and replaces them with slots that name their roles. Once those details have been set aside, the method can align descriptions of different instances of the same kind of step. It extracts a reusable template from the resulting alignment. A paraphrase thesaurus learned from the corpus helps the procedure recognize correspondences even when the wording differs.
The experiments use formal proofs from Nuprl. For argument values that an expert found expressed somewhere in the sampled verbalizations, the method correctly located 91% in the aligned text, compared with 44% for a baseline given a single randomly selected verbalization. The expert also judged 85% of the sampled templates plausible, compared with 30% for the single-verbalization baseline. These comparisons test what the extra verbalizations contribute to finding the material that belongs in a slot and to choosing wording that can be reused.
The authors also installed the induced dictionary in an existing proof generator and compared its output with the output produced using that generatorβs hand-built lexical chooser. On 20 held-out proofs, a judge familiar with Nuprl accepted the mathematical fidelity of all 20 texts produced with the induced dictionary and 17 produced with the hand-built chooser. For more than half of the test lemmas, a majority of readability judges preferred the text that used the induced dictionary. The evidence is strongest for this task and corpus. It shows that repeated human descriptions can supply enough information to learn useful wording for formal proof steps, even when individual descriptions leave parts of the step implicit.
Deep dive: Bootstrapping Lexical Choice via Multiple-Sequence Alignment
Learn how multiple-sequence alignment turns varied descriptions of formal proofs into a dictionary for choosing words and how well it works. Β· about 37 minutes to read
The problem and its context
The choices a dictionary has to capture
In the generation architecture the authors discuss, a system begins with some representation of what it is supposed to say. That representation may tell it that a conclusion follows from specified premises, or that an expression should be rewritten using a lemma. Those facts leave several choices open. A phrase has to signal the relationship among the pieces. The pieces themselves need wording, and the sentence has to give them positions a reader can interpret. A mapping dictionary records possible links between elementary units in the meaning representation and their realizations in words. The lexical chooser consults that dictionary as it turns a more complex meaning into language.
Consider a proof step that asks the reader to establish a product equality under assumptions about its factors. A formal representation can distinguish the premises from the goal by where they occur in the expression. In prose, that distinction might be carried by a verb introducing the assumptions and another introducing what remains to be shown. The dictionary has to capture enough of that wording to preserve the relationships. It also needs to leave room for the actual expressions to change when the same kind of step occurs elsewhere. A phrase that fits a specific equation may become useful across a corpus once the equation is replaced by a slot.
The authors describe dictionary construction as a substantial task for a human developer. In the conventional approach they discuss, someone examines formal inputs alongside human verbalizations, finds the recurring correspondences, and decides which ones to encode. The reader doing this work can use domain knowledge to connect an equation with an indirect reference or to recognize that a sentence has omitted part of the formal input. As a domain grows, there are more concepts and patterns of expression to inspect. The paper asks how much of the dictionary can be acquired directly from examples that are already useful to someone constructing a lexical chooser by hand.
This is a narrower problem than deciding what a proof explanation should include. A content planner might select facts, decide how much detail to give, or assemble the material that should be communicated. The question here is how to find words for semantic units once those units are available. Nuprl makes it possible to learn from proof steps directly because its steps are expressed at a level the authors found suitable for verbalization. The paper also discusses proof-generation settings where the corresponding input would come from a content planner. In that case, the proposed learning task would pair the planner's output with human wording.
Why several accounts of the same step help
A corpus can pair each formal expression with a verbalization and still leave the important correspondences unresolved. Knowing that a sentence describes a particular step gives a connection at the level of the whole sentence. It leaves open which phrase expresses the operation, which phrases express its arguments, and which details are supplied by surrounding discourse. The paper calls its input parallel because the formal expressions and verbalizations correspond. The fine-grained links needed for the dictionary still have to be inferred.
The proof example the authors use makes this gap concrete. The formal instruction has premises that set a and b to 0 and a goal that sets their product to 0. A verbalization refers to the theorem statement when introducing the variables. Another explicitly describes them as zero and refers to the product in words. Yet another states the assumptions and leaves the goal unstated. Each version can function in its own context. Each gives a learner a different view of what was said explicitly, what could be inferred, and how the same material could be expressed.
With a single account, the learner might take a context-specific reference for a standard expression of a mathematical operation. It might also have little evidence for where to put a slot when the corresponding value is absent from the sentence. With several accounts, recurring phrases can give the alignment stable points. Between those points, alternatives can suggest different realizations of the same material. A version that states a value overtly makes that value easier to locate in the combined representation, even when other versions give indirect references or leave it out.
The paper calls this arrangement a multi-parallel corpus. The additional texts are useful because they give different verbalizations for the same formal input. A collection of descriptions of different proofs would still show how people write about mathematics, but it would offer weaker evidence that particular alternatives express the same underlying step. The learning procedure also needs examples of different instances of a predicate, since it has to discover wording that generalizes across them. These are different sources of evidence. Variation within an instance helps reveal what its expressions correspond to. Recurrence across instances helps identify what is reusable.
Where alignment fits among earlier approaches
One starting point was statistical machine translation. A formal expression and its verbalization can be treated as texts in different languages for the purpose of finding correspondences. The authors describe earlier alignment research that learns from such pairings, including work in which translation techniques were used to connect linguistic expressions to meanings for language understanding. They also discuss approaches that align material within a language, where related passages can expose paraphrases or recurring grammatical structure.
The relevant distinction for this paper concerns how examples are grouped. As the authors describe it, statistical translation generally learns from pairs that supply a text on each side. They identify an earlier trilingual approach that also uses multiple-sequence alignment and report that its results were mixed. They separately note that several verbalizations had already been useful in proposals for evaluating translation. Here the extra versions supply evidence during dictionary acquisition itself. The authors also report a preliminary attempt to use an existing statistical alignment approach directly on proof verbalizations. In their account, it gave little encouragement. This observation motivates a procedure that explicitly uses repeated realizations of the same semantics.
The paper places its task alongside several strands of statistical generation. Some earlier systems learned from verbalizations that had already been linguistically annotated with semantic concepts. Such labels provide correspondences the authors aim to infer. Other work learned to choose among lexical or syntactic possibilities supplied by earlier stages of a generator. In those systems, a graph could represent the alternatives and a statistical procedure could select a surface form. The distinctive question here is where the links between meanings and those alternatives come from. The authors discuss earlier graph-based realization in connection with Generation that Exploits Corpus-Based Statistical Knowledge.
Another comparison is with speech recognition. In the work the authors describe, graphs of competing transcriptions can be compressed so that alternative realizations line up in local stretches. These structures resemble the graphs created by aligning proof verbalizations. The evidence for correspondence differs with the task. A transcription system can draw on pronunciation, while the proof procedure can exploit repeated wording, induced paraphrases, and symbols shared with the formal input.
The central alignment strategy comes from the observation that similarities across a group of sequences can become clearer when the sequences are compared together. The paper transfers that general idea to verbalization. In this setting, an insertion might be an explanatory aside, a deletion might be a premise left implicit, and a substitution might be a mathematical symbol written out in words. The shared structure that emerges from comparison gives the system a place to look for reusable linguistic correspondences.
The method, step by step
From proof steps to reusable wording
The input has a formal side and a linguistic side. On the formal side, the method expects a predicate with arguments or a term. A predicate identifies a kind of operation or relationship, and its arguments specify the pieces involved in a particular occurrence. In show-from, for instance, the roles include premises and a goal. A concrete equation can fill a premise role in one proof and a different equation can fill it in another. A term such as 0 can have a wording of its own. Both predicates and terms may require several words to express.
The difference between a predicate and an instance of it determines the order of processing. Suppose several authors describe the same rewrite step. The formula and lemma involved are fixed, even if their descriptions differ. That makes the descriptions relatively easy to compare. Now suppose the system compares descriptions of different rewrite steps. The lemma and the formula may both change, so their concrete wording can obscure everything the sentences have in common. The method aligns the descriptions within an instance first. It then abstracts over its particular arguments and uses the abstracted descriptions to compare instances.
The paper separates dictionary induction into per-instance alignment, cross-instance alignment, and template induction. A preliminary paraphrase procedure supplies information used in the per-instance stage. Preprocessing also establishes which verbalization sentences belong with which steps. The final templates are the dictionary entries used for lexical choice.
Learning a lexical dictionary from proof verbalizations
The steps in order.
Preparing the training material
The corpus begins with Nuprl proofs and human verbalizations of those proofs. Some of the verbalizations came from an existing collection produced in earlier work on Nuprl proof generation. To induce a dictionary at the level of proof operations, the authors need material at a finer scale than the document pair. A verbalization of a whole proof may describe several steps, while per-instance alignment needs the portion that belongs with a particular step.
The authors rely on an observation from the earlier Nuprl work that a step tends to correspond to a sentence. They use dynamic programming to pair steps with sentences on the basis of symbols they share. In this use of dynamic programming, partial correspondences contribute to the choice of an alignment over the larger sequences. Mathematical expressions that occur on both sides help this preprocessing even though those expressions are not enough to determine all the lexical correspondences the paper is after.
The preprocessing also includes manual cleanup. The authors repair problematic sentence boundaries with pattern matching, render non-ASCII symbols in a form that can be read, and remove a few verbalizations that do not correspond to the underlying proof. These decisions matter because a sentence assigned to the wrong step may still contain common mathematical words and superficially match the other descriptions. The experiments use proof-step and sentence pairings after this preparation. The authors make their Nuprl data available through the project's site.
How sequences become a lattice
Imagine reading several versions of a sentence with corresponding expressions placed beneath each other. A multiple-sequence alignment makes that arrangement explicit. It places each original sequence in a row. A column groups elements the alignment treats as corresponding. If a sequence has no element at that position, its row contains a gap. The row still preserves the order of the elements in the original sequence.
A gap is useful because the presence or absence of part of a verbalization is meaningful to the task. If an author inserts a phrase between material that other authors also express, the alignment can give that phrase a position while leaving the other rows empty there. Matching need not shift the rest of the sentence out of place merely because something extra was said. If a verbalization skips a goal, its row can have gaps where other rows express it. The alignment makes such differences available to later processing.
The paper describes the general scoring objective in terms of the similarities between entries in each column. In the notation below, the score is written as a sum over the columns and the pairs of distinct rows.
Score(A) = ββcβ ββi<jβ sim(A[i,c], A[j,c])
A is a proposed alignment, and Score(A) is its sum-of-pairs score. c identifies a column. i and j identify rows, and i<j means that each pair of rows is counted once. A[i,c] and A[j,c] are the entries in the selected column for those rows. sim gives the similarity of those entries, including the possibility that an entry is a gap. The inner β adds the contributions of the row pairs for a column, and the outer β adds the column scores.
The objective favors columns that bring together strongly matching elements. In principle, dynamic programming could compare alignments of prefixes of all the sequences and recover the highest-scoring multiple alignment. According to the paper, increasing the number of sequences raises the cost exponentially. It also cites a result establishing NP-completeness for the optimization problem when the sequence count can vary. The method therefore uses a progressive approximation based on pairwise alignment.
At the beginning of the approximation, each sequence can be treated as an alignment containing a single row. The procedure repeatedly merges alignments of subsets into alignments of larger subsets. To choose a pair of groups, it uses the average of the pairwise alignment scores for sequences drawn from the two groups. The resulting procedure is greedy. A decision made while combining smaller groups helps determine the alignments that are available in subsequent merges. Its benefit is that it can construct a multiple alignment without searching all possible alignments of all the sequences at once.
From the alignment, the authors build a lattice, a graph whose routes preserve the order of the aligned sequences. Aside from the nodes for its start and end, the nodes correspond to alignment columns. Traversing each row in order gives edges through the lattice. If the row has a gap at some point, its route can continue to the next node that contains material for that row. Several routes can coincide in a shared stretch, separate where the verbalizations diverge, and come together again when their wording or structure agrees.
A lattice preserves evidence that would disappear if the system selected one sentence immediately. An aligned position can retain different words that played a similar role. A path for a given verbalization can also bypass material expressed only in other versions. Later stages use both properties. The alternatives help identify potential paraphrases and argument expressions, while the original verbalization paths provide evidence about how much support a node received.
Learning which expressions can stand for each other
Word identity is useful evidence in proof verbalizations. If several sentences use the same technical term at a similar point, matching it is a reasonable starting place. But identity alone would miss common variations such as 0 and zero. The authors build a paraphrase thesaurus from the corpus so that the alignment and the argument-matching procedure can recognize some of those variations. Here a paraphrase pair consists of expressions that the procedure treats as alternatives in context.
The induction method looks for divergent paths between shared portions of aligned text. When two sentences agree around a stretch where they differ, the agreement gives a clue about the role of the intervening material. The words in the middle may express the same idea differently. The authors draw on this principle from Extracting Paraphrases from a Parallel Corpus.
For this step, the procedure starts by aligning pairs of parallel verbalizations. The common formal input already gives a reason to expect some shared content. The alignment narrows the search to local alternatives with common surroundings. The authors discard alignments with a score below four, aiming to avoid matches based on too little shared material. When alternatives from the intervening paths recur across alignments, the procedure records them as paraphrases.
The procedure then realigns the sentence pairs. At this stage of thesaurus induction, previously discovered paraphrases receive the same treatment as identical expressions. This can make contexts line up that earlier appeared to differ, bringing other intervening alternatives into view. The align-and-extract cycle continues until it yields no new paraphrases. The paper specifies recurrence across alignments as evidence for a candidate and describes the score cutoff for the alignments. It gives no separate numerical recurrence threshold in its account of candidate extraction.
Most of the learned alternatives are single words, but the authors also report phrases. The relationship between = and are equal to illustrates why these matter for slot construction. A compact symbol on the formal side can correspond to a sequence of words on the verbalized side. Once a multiword paraphrase has been induced, the system treats it as a single token for subsequent comparisons. This allows the phrase to be matched as a unit without assuming its individual words each correspond to the symbol.
The paper also treats thesaurus entries as lattices with no argument slots. This gives predicates and terms a common kind of representation. A realization of a term can consist entirely of words. A realization of a predicate can interleave words with positions to be filled by arguments. In both cases the dictionary must ultimately connect a piece of the formal input with a linguistic expression.
Aligning the verbalizations of an instance
The per-instance stage takes all the verbalizations assigned to a particular occurrence of a predicate and constructs a multiple alignment. Its similarity function makes an exact vocabulary match contribute more than an induced paraphrase match. It applies a small penalty for aligning a word with a gap, and a larger penalty for a mismatch. The authors chose the scores on held-out development material.
sim(x, y) = β§ 1 if x = y and x β Ξ£
βͺ 0.5 if x β y
β¨ β0.01 if exactly one of x and y is a gap
β© β0.5 otherwise
sim(x, y) is the score for comparing alignment elements x and y. Either element can be a vocabulary item or a gap. Ξ£ is the vocabulary, and β means that an element belongs to it. x = y denotes identity, and x β y means that the learned thesaurus lists the expressions as paraphrases. The opening brace groups the cases in priority order. The exact-match score is 1, the paraphrase score is 0.5, the score for exactly one gap is β0.01, and the remaining mismatch score is β0.5. The authors note that the progressive procedure does not encounter a comparison of a gap with another gap here.
The ordering of the scores explains the alignment's behavior. Repeated identical elements give the procedure its strongest anchors. An induced paraphrase still gives positive evidence, which may connect expressions that would otherwise count as mismatches. Leaving material unpaired has a relatively small cost. That last choice fits sentences whose writers insert an explanation or omit an expression, since a gap can preserve useful matches on either side of the variation.
There is a difference between using paraphrases here and using them in the iterative thesaurus procedure. During thesaurus induction, known paraphrases act as identities to help uncover other candidates. During per-instance alignment for dictionary induction, they receive their own score. There is consequently a distinction between what the learner provisionally accepts as shared context while mining alternatives and how strongly it favors those same alternatives once they are used to build the proof lattices.
Marking the arguments
The lattice for an individual occurrence still contains words and symbols specific to that occurrence. The procedure next compares the lattice with the formal argument values. For each argument value, it searches for a sequence of lattice nodes in which the nodes contain elements identical to, or listed as paraphrases of, symbols from the value. It replaces the identified portion with a slot labeled by the role of that argument. The result is a slotted lattice.
The slot label captures an important distinction. The string written in the original proof is a value. Its position in the predicate identifies its role. In show-from, the material assigned to a premise slot can change without changing what it means for that slot to be a premise. A reader can see the pattern in the difference between a sentence that names particular equations and a template that can be filled with equations from another proof. A successful slot preserves the latter possibility.
The premise-and-product example shows how the lattice helps the matcher. Some paths express values with mathematical symbols, while others give words or references that are farther from the formal notation. The combined structure contains stretches that correspond closely to the premise and goal arguments. A path containing an explicit expression can give the slot matcher an anchor, even if another path through the alignment expresses that material less directly. The paper illustrates how this yields a slotted representation with places for the premises and for the goal.
A match can also simplify the graph around the selected material. In the authors' example, the path that refers to the product in words disappears from the slotted lattice when the argument replacements change its structure. The final dictionary is therefore not a record of every expression that appeared in a human verbalization. It records the reusable material that survives identifying the arguments and extracting a template. That choice matters for references whose interpretation depends on the preceding proof text.
Comparing different instances of the predicate
After per-instance processing, each occurrence offers a lattice with lexical material interspersed with role labels. The cross-instance stage aligns these lattices for all occurrences of the same predicate. The aim is to find the linguistic structure that recurs when the operation stays the same and the values involved in it change.
The paper's example uses rewrite(lemma, goal). In one instance, the cited lemma is lemma100; in another, it is lemma104. Once the recognized lemma names have been replaced with the lemma slot, the instances have a strong point of correspondence in the same semantic role. The particular expressions supplied as goals also differ. The procedure can compare wording that introduces a lemma or presents the result without depending on the arithmetic expressions in the cases resembling each other.
The first rewrite instance shows why abstraction alone is insufficient. Both of its verbalizations include a statement specific to the lemma involved, and one reference to a division fact escapes argument matching. If the system had to rely on this instance on its own, language tied to that particular proof might appear to be part of an ordinary rewrite template. The other instance supplies independent evidence about how rewrites are worded. The merged lattice can give more weight to the recurring pattern and less to material confined to the first instance.
To align lattices, the procedure represents each lattice as a sequence of sets of nodes. A position corresponds to the nodes at a given distance from the start. Individual positions can thus contain alternative elements. The similarity function for comparing such sets takes the best matching pair of elements across the sets.
sim(S, U) = maxββ,α΅§β β S Γ U sim(x, y)
S and U are the sets of elements being compared at the two lattice positions. S Γ U is the set of ordered pairs with an element x taken from S and an element y taken from U. β indicates membership in that set of pairs. The sim on the right is the element similarity, and max selects its highest value over the pairs. The sim on the left is the resulting similarity of the two sets.
This rule allows positions to match when some of their alternatives correspond well. If two positions share a strongly matching element, weaker alternatives at either position do not lower that particular similarity score. That is helpful when a lattice contains expressions peculiar to individual verbalizations. The maximum measures the strongest available correspondence between positions. It leaves the amount of support for choosing particular parts of the final template to the path-weighting step.
Choosing the wording to store
The merged lattice can contain several ways of describing the predicate. To turn it into a dictionary entry, the authors extract a consensus sequence. They assign each node a weight based on how many original verbalization paths pass through it. A node supported by several paths contributes more evidence than one visited by a single path. The method downweights punctuation and nodes containing the common words the, a, to, and, and of. These elements can still occur in a template, but their recurrence carries less weight in choosing the path.
The weight of a path is a length-normalized sum of its node weights. Normalization makes length part of the decision, so additional nodes do not automatically make a path more attractive. Because the procedure tends to favor short paths, the authors treat sequences of fewer than six words as potentially spurious and exclude them. Their description supplies neither the numerical downweighting factors nor a further formula for length normalization. The maximum-weight path under the stated rule is computed by dynamic programming.
The selected path gives a sequence of words and labeled argument positions. In the rewrite example, the template uses wording that introduces the lemma and then presents what it yields, with slots for the lemma and the resulting goal. At use time, the entry supplies a way to word the predicate and a place for each argument that the template includes. The generation experiment installs this dictionary in an existing system so the authors can test the acquired lexical choices in complete proof texts.
This final choice is different from the choice made during alignment. The alignment groups the evidence about where expressions correspond. The consensus step asks which route through that grouped evidence has the most support under the weighting scheme. A useful alternative may remain in the lattice even when it loses to another route. The authors identify that unused expressive capacity as a reason to investigate other ways of extracting or selecting realizations.
Experiments and results
Training, development, and testing
The training corpus comprises 30 Nuprl proofs and 83 verbalizations. The proofs average 5.08 steps each. A proof step is the semantic unit used when corresponding sentences are gathered for per-instance processing. The sentence-matching preprocessing produced 382 pairs of steps and corresponding verbalizations. Those pairs reflect the finer granularity of learning from several passages per proof, rather than treating each complete proof explanation as a single sequence to align.
The authors used an additional five proofs for development. They selected their parameter settings on that material, and the development proofs were separate from the test data. The complete-text experiment uses 20 held-out proofs that the authors say remained unseen while they developed the method. The reported component evaluations have their own samples and denominators. The paper identifies random samples for the argument and template checks, while the explicit account of a held-out proof split pertains to complete-text generation.
The judgments were made by graduate students and researchers in computer science, with the authors excluded as judges. The evaluation calls for different kinds of judgment at different stages. A reader can assess whether two expressions are plausible substitutes in mathematical writing. An expert familiar with Nuprl can use the formal step to determine whether a phrase expresses an argument or whether a template is suitable. A reader comparing whole texts can assess readability without having the formal proof in front of them. Fidelity requires a comparison with the formal proof itself.
Are the learned paraphrases plausible?
The authors presented all 71 induced paraphrase pairs to two judges. Each judge considered whether the expressions were plausible substitutes in mathematical contexts. The judges accepted 87% and 82%, respectively. These are separate assessments of the same collection of candidates. The paper gives the judgments as plausibility rates, with no accompanying measure of how many valid paraphrases in the corpus the procedure recovered.
The context of that judgment is important. A pair such as applying and by can be useful around the invocation of a lemma. Its value depends on the words that surround it and the role it plays there. A pair such as conclusion and result can also be useful in proof prose without being equivalent in every sentence. The measured outcome asks whether the induced relationship is credible within the domain where the dictionary will be used.
This component has consequences for more than the paraphrase inventory. The thesaurus can help align verbalizations that use distinct expressions and help the matcher connect written-out mathematics to formal symbols. The plausibility check shows that much of its output represents recognizable alternatives to the judges. How much those alternatives account for downstream performance is a separate experimental question.
Can the system find the argument expressions?
For the next evaluation, the authors randomly selected 20 Nuprl steps together with the corresponding verbalizations. After reviewing the sample, a Nuprl specialist determined which formal argument values occurred in one or more verbalizations. There were 46 such values. The question was whether the system found a lattice node sequence correctly corresponding to each value.
The multiple-verbalization system correctly matched 91% of those values. The comparison used a baseline restricted to one randomly selected verbalization from the alternatives, which matched 44% correctly. The denominator is defined by what could be found across the available verbalizations. This is a useful measure for the paper's main question because it makes visible the loss associated with having fewer versions of the same step. An argument a writer leaves implicit can still enter the evaluation if another writer expresses it.
Correct argument-value matches in the sampled Nuprl steps
The multiple-verbalization system locates more of the arguments expressed somewhere in the sample.
The numbers
| System or setting | correctly matched argument values % |
|---|---|
| Single randomly selected verbalization | 44 |
| Multiple-verbalization alignment (this paper) | 91 |
Argument matching measures a particular decision about the lattice. If the system fails to identify the sequence expressing a value, a template may retain instance-specific language or fail to contain a position for that value. If it finds the right nodes, the slot can make corresponding material easier to compare across steps. The numerical result therefore describes a place where access to several descriptions changes the evidence available for generalization. The test does not require the system to identify an argument that every human verbalization in the sample leaves implicit.
Are the resulting templates usable?
The template evaluation moves from finding a piece of a step to wording the step as a whole. The authors randomly selected 20 induced templates. A Nuprl expert judged whether each was a plausible verbalization of the corresponding formal material. The multiple-verbalization procedure received a plausibility rate of 85%. The authors report 30% for the single-verbalization baseline.
Plausible induced templates for Nuprl proof steps
The expert accepts more templates learned from multiple verbalizations.
The numbers
| System or setting | plausible templates % |
|---|---|
| Single-verbalization baseline | 30 |
| Multiple-verbalization induction (this paper) | 85 |
A template can fail this judgment even if it contains an appropriate slot. Its remaining words may imply the wrong operation, include material peculiar to one example, or give an unsuitable way to express the step. Conversely, the component score does not require a template to express every detail a reader might expect in a full proof. It asks whether the template is a plausible realization of the relevant Nuprl material. Complete proof texts give the authors a way to examine the dictionary's effect when its entries are used in context.
How does the dictionary perform in a generator?
The authors compare their method with the existing Nuprl generator developed in the earlier work by Holland-Minkley and colleagues. That system uses a hand-built lexical chooser based on human analysis of the same corpus used to train the induced dictionary. For the experiment, the authors replace the traditional chooser with their dictionary and use the original generator as the comparison. Both versions receive the same 20 held-out formal proofs.
The shared generation setup keeps the comparison focused on lexical choice. Authors of human proof explanations might make different decisions about what to include or how to arrange the material. Comparing with their texts would bring those decisions into the result. Here the primary experimental change is the replacement of the hand-built lexical chooser, so differences in how the output presents a step can be examined in relation to the induced dictionary.
The paper gives an example in which the hand-built system's text refers to a change in the goal without having stated the initial goal in that verbalization. It illustrates how an otherwise intelligible expression can leave a reader without enough information to connect successive steps. Such an example gives qualitative context for the judgments. The aggregate results come from comparisons across the test proofs.
Readability and fidelity answer different questions
For readability, 11 judges compared pairs of texts generated from the same proof. They did not see the formal Nuprl proofs, and the order of the two outputs was randomized anew for each proof. The reported figure distinguishes preferences for the induced-dictionary output, preferences for the traditional system's output, and cases with no preference. These outcomes preserve a distinction between finding the induced output better and finding the pair equally readable.
The authors use both outcomes when discussing whether the induced system can rival the traditional one. They also report a stronger result for individual proof comparisons. For more than half of the test lemmas, more than half of the judges distinctly preferred the output produced with the induced dictionary. The finding concerns majorities by lemma. It is distinct from a pooled preference percentage across all judgments, which the paper does not state in its discussion.
For fidelity, a formal logic expert familiar with Nuprl compared the output texts with the formal proofs. The judge assessed whether a text preserved the main ideas and avoided introducing ambiguity. All 20 texts generated with the induced dictionary were judged correct, compared with 17 texts produced by the traditional system on the same held-out proofs.
Texts judged faithful on the held-out Nuprl proofs
The expert accepts more proof texts generated with the induced dictionary.
The numbers
| System or setting | accepted proof texts |
|---|---|
| Hand-built lexical chooser | 17 |
| Induced mapping dictionary (this paper) | 20 |
The two evaluations expose different strengths of the texts. Readability is about how well the explanation can be followed on its own. Fidelity requires the judge to check the explanation against the formal input. Together they show that the induced dictionary worked in a generator whose output could be compared directly with a hand-built system. The fidelity criterion concerns the main ideas and ambiguity in these texts, as judged by the expert.
What the ablations show
Restricting the system to one verbalization
The main controlled comparison removes access to several accounts of a step by giving the baseline one randomly selected verbalization. It tests the practical value of the corpus structure the paper proposes to exploit. Its results are the argument match rates of 91% with the multiple-verbalization system and 44% with the baseline, and the template plausibility rates of 85% and 30%, respectively. Both comparisons favor the system that can use the alternatives.
For argument matching, an important part of the result is coverage. The evaluation includes values that a human expert identified in at least one available verbalization. If the baseline sees a version that leaves a value implicit, it loses the direct evidence present in another version. That is a consequence of relying on a single rendering and belongs in the measured effect. The comparison does not separately measure performance on only those values expressed in the randomly selected text. As a result, it leaves open how much of the gain comes from wider coverage and how much comes from recognizing an expression more reliably once it is present.
The template comparison captures a longer chain of effects. A choice made while identifying an argument can change what remains available as recurring wording. An alignment with several paths can retain an alternative that better fits the predicate than the wording of the randomly selected version. Cross-instance comparison then helps recurring patterns gain support. The template result shows the combined consequence of restricting the evidence at the input. It gives no independent estimate for each decision further along that chain.
The baseline uses a randomly selected version, so it also addresses a specific alternative to using them all. A human choosing the most explicit version for each step might supply the learner with more favorable evidence. Selecting that version would itself require a way of recognizing what it covers. The paper's comparison establishes how its multi-parallel system fares against a single available rendering selected at random.
What the component checks and examples add
The paraphrase judgments test the output of an intermediate stage directly. Producing many plausible substitutes is relevant because the procedure uses them in both verbalization alignment and argument matching. The experiment gives human evidence about those pairs, without an evaluation of the complete system with the thesaurus removed. It therefore establishes the plausibility of much of the learned inventory while leaving its contribution to the argument and template scores unresolved.
The example with the product goal illustrates a mechanism that the aggregate argument score cannot show. A version that refers back to the theorem or omits the goal contributes little direct evidence for a particular argument value, while other versions put the value into words or symbols. The lattice puts those accounts in correspondence. This shows how the method can obtain a useful argument match despite uneven coverage across writers. The paper illustrates the structure for particular steps, without reporting the frequencies of different kinds of insertion, omission, or reference.
The rewrite example illustrates a different mechanism. Local agreement can support material that is true of a particular proof but unhelpful in a general template. Both verbalizations of the same instance may mention a detail of a lemma because that detail clarifies the immediate step. Replacing recognizable argument values with slots helps align another instance, and the combined evidence supports more reusable wording. This is an analysis of the representation and a worked example of cross-instance alignment. The paper does not supply a corpus-wide comparison of template quality with and without that stage.
The component and example analyses leave several design choices bundled together. The authors do not vary the alignment scores, compare alternative lattice similarity functions, or measure the effect of using a different path rule in the reported experiments. The paper explains what each of these choices is intended to accomplish. The single-verbalization baseline provides quantitative evidence for the combined approach under reduced input, while the examples show how specific stages can contribute.
What replacing the lexical chooser controls
The generated-text evaluation makes a different controlled change. It holds the formal proof inputs and the surrounding generator fixed and exchanges the means of making lexical choices. The hand-built system gives the authors a demanding comparison because it already produces readable and accurate proof verbalizations. Its chooser was also derived from the same corpus that supplied training examples to the induced dictionary.
This comparison asks whether the acquired dictionary is good enough to perform inside the existing system. A good paraphrase rate alone could not answer that question, since a thesaurus does not specify how to phrase an entire step. A good template rate is closer, but individual plausible templates might still produce awkward or ambiguous text across several linked steps. The readability and fidelity results show that the induced choices remained useful in complete outputs. The comparison establishes performance for the integrated dictionary on the test proofs while leaving the relative contribution of the individual induction stages open.
Limitations
Limits acknowledged by the authors
The authors point out that a lattice can contain several valid realizations even though their extraction procedure chooses a consensus path. Selection by path weight is efficient and yields a straightforward dictionary entry. It also leaves part of the linguistic variation collected during alignment unused. A phrase seen in fewer training verbalizations might be suitable for a particular proof or context even when it receives too little aggregate support to become the template.
The paper discusses alternative template induction and the possibility of applying statistical surface realization to learned lattices. The difference would be where the generation system makes the choice among alternatives. In the reported setup, a consensus decision extracts a template in advance. A realization procedure operating on a lattice could have access to alternatives that survived alignment. The experiments concern the consensus approach, so they leave the value of selecting from the fuller lattice for later investigation.
The authors also discuss crossing correspondences. A sequence alignment respects order within each input row. If expressions of arguments exchange their order between verbalizations, it can be difficult to match both arguments in the intended way in a shared sequence of columns. The authors describe such cases as rare in their data and point to translation approaches that can represent them. Their experiments give evidence for a domain in which preserving order was frequently workable. They leave open how the procedure would perform where reorderings are common.
The examples show failures involving context as well. The reference to a division fact in one rewrite verbalization is associated with a specific lemma and escapes the argument matcher. A graph built from more instances can reduce the chance that wording like this becomes part of the selected template. The matching procedure itself still relies on identity or induced paraphrase relations. When a human can trace a reference to an earlier statement through mathematical or discourse knowledge, the system may lack a corresponding match.
Limits of the evidence
The evaluation is confined to Nuprl proof verbalization. The procedure's formal input requirement is expressed in general terms as predicate-argument structure. The experiment also benefits from properties specific to this corpus. Proof steps correspond roughly to sentences, notation shared between a step and its verbalization helps preprocessing, and several people have already expressed the same formal material. Those conditions help explain how training examples can be gathered and compared. The paper argues that the method could be applied to the output of a content planner in other applications. The proof results leave that extension untested.
The setup reduces reliance on hand-building lexical entries. It still depends on example collection, preprocessing, some manual cleaning, and development decisions. Parameters are tuned on separate proofs. The paper reports the size of the corpus and describes the preparation, but gives no measurement of the time or effort saved relative to writing the dictionary by hand. The results show performance with the acquired dictionary, with the practical cost of obtaining and preparing similar data in another domain left open.
The argument evaluation is limited to values expressed somewhere in the expert's sample of the available verbalizations. A correct match demonstrates recovery of a connection between a formal value and available linguistic material. It says little about values omitted by every writer. Similarly, the paraphrase test measures accepted proposals among the induced pairs. It cannot show how many useful alternatives were missed. These distinctions matter because the paper treats expressiveness as a reason for learning from several versions. A method may extract a useful subset of the available expressions without recovering the range that human writers could use.
The main baseline changes more than the amount of material inside the final lattice. A single verbalization may offer different coverage, fewer shared contexts for comparison, and fewer alternatives from which to find a reusable phrasing. Those effects are pertinent to the comparison the authors designed. A narrower causal account would require measurements that separate them. The results also leave open the benefit of adding more verbalizations across different amounts and kinds of variation. Within this experiment, the alternative to the multi-parallel setup is a randomly chosen single account.
The template judgment is based on a small random sample and a Nuprl expert's assessment of plausibility. That is a direct check of whether induced output makes linguistic and mathematical sense to someone qualified to evaluate it. It leaves uncertainty about the full inventory, especially about predicate types that may occur less frequently or offer less consistent wording. The report also gives no separate breakdown by predicate, template structure, or difficulty of argument realization. The overall result supports the method in the tested sample, with little detail about which cases account for the remaining failures.
For the whole texts, the readability judgments and the fidelity judgment are human assessments with different instructions. The authors report majority patterns for readability and counts of accepted texts for fidelity. They do not report uncertainty estimates for those comparisons. The fidelity result comes from one expert, and the rubric concerns the main mathematical ideas and the presence of ambiguity. It would take a different evaluation to establish whether a rendering preserves every formal detail or whether judgments agree across experts. The paper evaluates the generated explanations by asking a knowledgeable reader to compare them with the source proofs.
The complete-text comparison likewise concerns the induced dictionary as installed in a particular generator. Its favorable results support replacing a hand-built lexical chooser in that setup. A separate end-to-end evaluation against human explanations could address different questions about quality, including what information a writer chooses to introduce and when. The authors chose the shared generator to isolate the lexical comparison. Consequently, the experiment says most about what the acquired dictionary contributes when the surrounding generation machinery is already in place.
What came after
Alignment as a way to learn paraphrases
The closest connection in the later work is a change in what the same general kind of evidence is used to recover. In the proof paper, parallel verbalizations help find wording for an explicit formal input. Paraphrases are learned on the way to that dictionary. Learning to Paraphrase: An Unsupervised Approach Using Multiple-Sequence Alignment makes paraphrase learning itself the task and identifies multiple-sequence alignment as its approach. The conceptual continuity is the use of recurring material to organize expressions that vary. The change in objective is from wording a formal operation to learning relationships among linguistic expressions.
Multiple translations provide another setting for redundant wording. The versions are related through the content being translated, so what varies between them can give evidence about alternative expressions. Syntax-based Alignment of Multiple Translations: Extracting Paraphrases and Generating New Sentences combines alignment of those versions with syntax and targets both paraphrase extraction and sentence generation. That is a different structural emphasis from the proof paper's sequence alignment and argument slots. The shared question is how to identify corresponding parts across accounts so that their variation can be reused. In the proof system, known semantic roles help organize the reusable result. In the later work, the title identifies syntactic structure as the basis of alignment.
A subsequent survey focuses on generating paraphrases at the phrase and sentence levels. That scope gives a place to consider the different jobs variation performs in the proof paper. A local pair such as a symbol and its verbal equivalent helps locate an argument, while a template gives a larger pattern for expressing a predicate. The later survey treats data-driven paraphrase generation as a subject in its own right. The connection is to the evidence available from examples, including the possibility of discovering alternatives at different linguistic scales. Generating Phrasal and Sentential Paraphrases: A Survey of Data-Driven Methods
The survey that pairs paraphrasing with textual entailment places alternative formulations alongside a related question about meaning. The proof paper's thesaurus is judged on whether its entries are plausible substitutes in mathematical contexts. Its complete-text fidelity check asks whether generated explanations preserve the main ideas of a formal source. These are distinct relationships between expressions and content, and the later survey's scope brings both broad families of questions into view. Its connection is as a survey of methods that includes the problem of learning when wording can vary while relevant meaning is preserved. A Survey of Paraphrasing and Textual Entailment Methods
Combining accounts and controlling what wording conveys
Sentence fusion makes several accounts of related information useful for summarization. A system producing a multidocument summary faces a question that resembles one in the proof paper. Separate accounts may overlap, say related things in different words, or supply details that their counterparts omit. The output must select and combine material in a way a reader can follow. Sentence Fusion for Multidocument News Summarization puts sentence combination to work in the setting of news from multiple documents. The change in purpose is from learning a reusable dictionary for formal predicates to producing summary text from overlapping source accounts.
The work on trainable generation of personality traits takes lexical and linguistic choice in a different direction. The proof paper uses several ways of saying roughly the same thing as evidence for an appropriate verbalization of formal content. Controlling User Perceptions of Linguistic Style: Trainable Generation of Personality Traits addresses a generation task in which choices among expressions matter for the personality readers perceive. The relationship is at the level of choosing language to meet a criterion. In the proof evaluation, suitability is assessed through readability and fidelity. In the later work's stated task, linguistic style is itself an outcome to be controlled.
The study of organization in student essays is farther from the original generation problem. Modeling Organization in Student Essays concerns the structure of written work beyond the realization of an individual predicate. It cites the proof paper, but the stated topic establishes a connection through the study of recurring structure in text. It leaves the extent of any direct reuse of the proof alignment procedure open.
Across these connections, parallel or related texts serve different purposes. Their variation can supply paraphrases, their shared material can support sentence fusion, and their wording can suggest choices for a generator with a different objective. The proof paper gives a particularly explicit account of when repeated wording becomes evidence for a dictionary entry. It aligns descriptions while their semantic input is shared, replaces concrete arguments with their roles, and only then looks for language that recurs across instances.
Cite
Cite as Regina Barzilay and Lillian Lee. 2002. Bootstrapping Lexical Choice via Multiple-Sequence Alignment. Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing (EMNLP 2002).
@inproceedings{barzilay2002bootstrapping,
title = {{Bootstrapping Lexical Choice via Multiple-Sequence Alignment}},
author = {Regina Barzilay and Lillian Lee},
booktitle = {Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing (EMNLP 2002)},
year = {2002},
doi = {10.3115/1118693.1118715},
url = {https://doi.org/10.3115/1118693.1118715}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/barzilay-2002-bootstrapping-lexical-choice-multiple-sequence/