Neural Paraphrase Generation using Transfer Learning
Paper · 2017 · Florin Brad and Traian Rebedea
Summary
Rephrasing a sentence takes more than finding new words for it. A good rewrite has to keep track of who did what, which details belong to the event, and whether a statement was denied, qualified, or attributed to someone else. Training a system to do this is difficult when there are few examples of long sentences paired with faithful rewrites. Florin Brad and Traian Rebedea investigate whether a generator can learn from more abundant examples of related language tasks before it trains on the sentences it will ultimately be asked to rewrite.
Their starting point is an encoder and decoder adapted from neural machine translation. The encoder reads a source sentence, and the decoder writes a new sentence in the same language. During generation, an attention mechanism helps the decoder draw on different parts of the source as its output develops. The authors train the same architecture along several routes. Some begin with entailment, where the task is to write a statement that follows from a given sentence. Others begin with pairs of short paraphrases. Every route eventually trains on the Microsoft Research Paraphrase Corpus, or MSRP, whose longer sentences frequently contain names and numbers.
The authors’ strongest route begins with entailment pairs from the Stanford Natural Language Inference corpus, continues with short phrase pairs from the Paraphrase Database, and ends with MSRP. On the MSRP test set, this route achieves a BLEU score of 15.76, compared with 0.09 for the system trained only on MSRP. BLEU measures overlap with reference wording. Test perplexity per word, a measure of how much probability the system assigns to the recorded target words, falls from 14.37 for the MSRP-only system to 3.08 for the strongest route. Every transfer route improves both test measures over the MSRP-only baseline.
The examples explain why these gains are only part of the story. The best system can reproduce the substance of a remark or attempt a fresh expression for a denial. It can also drop the speaker, change an officeholder’s role, or turn a report about a bomb exploding into a sentence about a letter. The experiments show that training on related data helps a generator learn to produce wording closer to the references. The published outputs show that preserving the facts of a complex sentence remains a separate difficulty.
Deep dive: Neural Paraphrase Generation using Transfer Learning
Neural paraphrase generation improves when training starts with entailment and short paraphrases, but important details can still disappear. · about 33 minutes to read
The problem and its context
What a rewrite has to preserve
A paraphrase is another way of expressing the meaning of a sentence. The task starts with a particular utterance, so its content sets the terms of success. Some changes can be local, such as replacing a wording with an equivalent expression. Others can affect the structure of the sentence. A rewrite may turn a passive clause into an active one, for instance, while keeping the act and its participants in the same roles. The freedom to change form makes paraphrasing useful. The requirement to preserve meaning makes it demanding.
Even a short stretch of text can make several commitments at once. A remark may contain advice, identify a speaker, and specify who heard it. The words spoken can be rendered accurately while the setting of the speech disappears. A news sentence can describe an incident and then tell the reader that its consequences were less severe than expected. Keeping the incident and losing the outcome changes what the reader learns. For the task Brad and Rebedea study, a generator has to handle these commitments together.
The paper situates paraphrasing within several kinds of language work. Sentence simplification can require a more accessible expression of the same idea. Sentence summarization may involve rewriting as part of producing a shorter account. A conversational agent may need another way to deliver an utterance. Expanding a question can give a system more ways to seek the information the question asks for. In each case, a useful reformulation needs to carry sufficient meaning for the next use of the sentence. Text generation · Summarization · Question answering · Dialogue systems
One way to frame the task is to ask whether each sentence supports the other. An entailment goes from a premise to a statement a reader can infer from it. A detailed account of a particular incident may support a more general statement about that incident. The general statement can still leave the original details unrecoverable. For paraphrases, support ordinarily needs to go both ways. The paper treats this as a useful approximation to what paraphrases are, drawing on work that surveys the relationship between the tasks. A Survey of Paraphrasing and Textual Entailment Methods
That distinction motivates the entire study. Entailment pairs offer a way to learn meaningful correspondences between sentences. They also permit shorter and less specific outputs than paraphrases generally do. A generator that becomes good at writing a plausible consequence of a sentence has acquired something relevant to rewriting. It still needs to learn how much of the source a rewrite should carry forward.
Why the authors start with translation
Earlier work had approached paraphrase generation as translation within a language. The input takes the place of a source-language sentence, and a different expression of its content takes the place of the translation. Paired examples can therefore be used to learn which outputs tend to go with which inputs. The output remains a sentence in the language of the input, while the computational task has the familiar form of mapping one sequence of words to another. Monolingual Machine Translation for Paraphrase Generation
The neural translation literature gave the authors an architecture for learning these mappings. In an encoder–decoder system, the encoder reads the source in order and builds an internal representation. The decoder uses the encoded information and the words it has already generated to predict the continuation. In the early arrangement described by the paper, the last hidden state of the encoder connects the source to the decoder. A hidden state is the network’s running internal representation of what it has processed. RNN Encoder–Decoder · Sequence to Sequence Learning
Attention gives the decoder access to information associated with multiple positions in the source. As a new word is generated, different parts of the input can matter. A phrase about a person’s title can be relevant at one point, and the description of that person’s action can matter at another. The paper follows an attention-based translation design for its experiments. This choice is especially relevant to the target data, where a sentence can contain several participants and details worth preserving across the output. Neural Machine Translation by Jointly Learning to Align and Translate · Effective Approaches to Attention-based Neural Machine Translation
The difficulty was finding suitable examples in sufficient quantity. The authors describe parallel corpora as readily available for translation. For a paraphrase generator, they wanted pairs whose members were both substantial sentences, with enough variety to train a large network. The resources available to them offered different pieces of that training problem. A collection of short paraphrases supplied examples of equivalent wording. A large inference corpus supplied related sentences. MSRP supplied longer rewrites of the kind used for the final evaluation, in comparatively limited quantities.
How this differs from the earlier approaches
The paper describes an earlier neural paraphrase generator that used stacked long short-term memory layers with residual connections. Stacking means that successive layers process representations made by earlier layers. A residual connection gives a layer’s input a path to a later computation alongside the layer’s own transformation. That work reported stronger performance than simpler sequence-to-sequence and attention-based alternatives on several resources, including phrase pairs, image captions, and question pairs. Brad and Rebedea take up the training-data question. They hold to an attention-based architecture and vary the route by which it acquires experience before reaching the target corpus. Neural Paraphrase Generation with Stacked Residual LSTM Networks · Microsoft COCO · Paraphrase-Driven Learning for Open Question Answering
The related work also includes a neural approach based on bilingual pivoting. A pivot is an intermediate language used to help connect different expressions in the original language. That approach was applied to paraphrase generation as well as to judging similarity and identifying paraphrases. Here, the intermediate step is another training task or dataset. At generation time, the input goes directly to a system that produces a rewrite in the same language. The influence of entailment or short paraphrases comes through the weights learned during earlier training. Paraphrasing Revisited with Neural Machine Translation
Two transfer studies frame what the authors could expect. Mou and colleagues considered transfer between equivalent inference tasks and transfer from inference to paraphrase detection. The paper describes gains for the equivalent-task case. A study by Zoph and colleagues approached scarcity within translation by learning first on a language pair with abundant data and reusing the resulting parameters for a language pair with less data. Brad and Rebedea ask a related question about generation. Can training on pairs that differ in length or in the kind of meaning relation they express improve the ability to rewrite longer sentences? How Transferable Are Neural Networks in NLP Applications? · Transfer Learning for Low-Resource Neural Machine Translation
The shift from detecting a paraphrase to generating one matters. Detection begins with a pair of sentences and asks how they are related. Generation begins with one sentence and requires a new sequence of decisions about all the words in an output. A system that learns from inference pairs for this purpose must use the relation as a source of examples to imitate. The transfer experiment asks whether that imitation provides a productive starting point for the more demanding requirement of preserving the content of long sentences.
The method, step by step
From a supplied sentence to a generated one
The authors use a sequence-to-sequence network, abbreviated SEQ2SEQ. In this setting the sequences are the words of the input and output. The network has an encoder, which reads the supplied wording, and a decoder, which writes the candidate paraphrase. The two parts are trained together from examples where both sequences are available. The example teaches the network which output should be probable when that particular input is supplied.
The paper writes the paraphrase objective as a conditional probability.
P(Y ∣ Y′)
P denotes probability. Y is the target paraphrase, and Y′ is the source wording, with the prime distinguishing the input sequence from the output sequence. The vertical bar ∣ means “given.” The parentheses place the target and its condition together as the arguments of the probability expression. Training aims to make the recorded target sequence probable when its paired source is given.
The decoder makes its decisions in sequence. Its next prediction depends on information from the source and on the continuation it has already produced. During generation, a choice made early in the sentence thus helps shape the choices available later. Opening with a particular participant or grammatical structure can set up an output that needs to introduce the action and its other participants in a compatible way. The target in the training pair gives the network an example of how such decisions fit together.
The architecture has a 2-layer long short-term memory network, abbreviated LSTM, with 2000 hidden units. An LSTM is a recurrent network, which means that each step uses an internal state carried forward from earlier steps. Its memory mechanism regulates what information can persist as more words are read or written. The hidden units are components of the network’s internal representation. The paper also specifies word embeddings of size 1000. An embedding represents a word by a vector of learned numerical values, giving the network a form it can process and update through training.
The attention mechanism brings information from the encoder into the decoder as generation proceeds. Think of an input that first identifies several people and then describes their relationship. While producing a role or title, the decoder can emphasize the source portion that carries that role. While producing the action, it can draw more heavily on the wording that expresses the action. Attention provides a way to use the source selectively at each step. The paper’s qualitative examples allow a reader to assess how much the resulting output actually preserves.
The implementation is based on the attention-equipped SEQ2SEQ system described by Luong and colleagues. The authors identify the Harvard NLP seq2seq-attn repository as the implementation associated with the architecture they use. The experimental changes concern where the weights are learned and the order in which the datasets are visited. The same encoder–decoder setup can therefore serve the entailment task, the short paraphrase task, and the final sentence-level task.
Training and generation along the strongest transfer route
The steps in order.
What goes into the training pairs
The final dataset is the Microsoft Research Paraphrase Corpus, abbreviated MSRP. It was used for paraphrase detection, which means that the original task could present both sentences and ask for a judgment about their relationship. To turn the corpus into a source of generation targets, the authors discard negative examples. The remaining pairs allow one member to serve as input and the other as an example output. This supplies training material for generation without collecting a separate set of rewrites. The Microsoft Research Paraphrase Corpus
The short paraphrase stage uses the XS phrasal subset of the Paraphrase Database, abbreviated PPDB. The authors choose this variant for its higher-scoring pairs relative to other variants. These examples provide a large supply of short expressions linked by paraphrase. They give the network practice replacing a span with an equivalent expression. A phrase pair has limited room to demonstrate how a long sentence distributes its information across clauses. Its immediate contribution is supervision on how alternative wording can express a similar piece of meaning. The Paraphrase Database
The entailment stage uses the Stanford Natural Language Inference corpus, abbreviated SNLI. Its examples pair a premise with a hypothesis. In the cases used here, the hypothesis is supported by the premise. The authors keep the entailment pairs and remove the neutral and contradiction cases. A neutral hypothesis lacks sufficient support from the premise, while a contradiction conflicts with it. Keeping the entailment category supplies pairs with a positive meaning relationship that can serve as source and target texts for generation. Stanford Natural Language Inference
The entailment-generation task can be written as a source-to-target mapping.
S → T
S is a premise sentence and T is a sentence that can be inferred from it. The arrow → represents the direction of generation, from the supplied premise to the target the network is trained to produce. This task gives the network an opportunity to learn correspondences between sentence-length inputs and outputs whose wording may differ.
The authors expect the SNLI pairs to help in part because premises and hypotheses frequently share words. Shared wording can indicate which pieces of a sentence carry through to a related statement. To see the attraction of these examples, consider what the decoder has to learn before it can produce a faithful rewrite. It needs to relate its own emerging wording to an input it has already read. Entailment pairs supply many opportunities to adjust those relationships. The target paraphrase training later places a stronger demand on how much information should survive.
The preparation also adds a reversed example for each supplied pair. The direction change can be written with the authors’ pair notation.
(X, Y) → (Y, X)
X and Y denote the two members of a text pair. The parentheses group the members, and the comma separates the input position from the output position within each pair. Here the arrow → means that the preparation procedure adds the reversed ordering to the dataset. The original ordering stays available. In (X, Y) the network reads X and learns to produce Y. In (Y, X) it learns the other direction.
For paraphrases, this treatment follows from the expectation of mutual support. If a pair supplies valid alternative expressions of the same content, either expression can be rewritten as the other. In SNLI, the augmentation relies on a different judgment. The authors treat the paired sentences as useful paraphrase-like material for this experiment. When a hypothesis expresses less than its premise, reversing the example can ask the network to reconstruct details for which the shorter input provides limited evidence. This is a property of the signal the method chooses to use.
The three resources consequently supply distinct forms of practice. MSRP shows how longer sentences in the target corpus are paired and includes the names and numbers that make those sentences difficult to reproduce. PPDB provides shorter, high-scoring paraphrase pairs in substantial quantity. SNLI provides a larger source of pairs of related sentences than the target corpus alone. The transfer design tests whether ordering these experiences can make the final training stage more effective.
How training moves between datasets
A training stage starts with an encoder and decoder and fits their parameters to a dataset. Parameters are the numerical weights that the network adjusts as it learns. After a stage on a source corpus, the parameters from the selected checkpoint initialize training on the next corpus. In this way the next stage can begin with representations and word-prediction behavior acquired earlier. Updating those parameters for the new data is fine-tuning.
The paper denotes a direct transfer with an arrow between dataset names.
X → Y
Here X is the dataset for the initial training stage and Y is the next dataset. The arrow → means that the parameters learned on X are passed to a new training run on Y. The dataset symbols describe the succession of training runs. The arrow has a different role here from the direction of generation within an individual sentence pair.
An additional transfer stage extends this notation.
X → Y → Z
X is the initial dataset, Y is the intermediate dataset, and Z is the final dataset. Each → means that training on the dataset to its right starts from parameters selected after training on the dataset to its left. The parameters reaching Z have already been adjusted on Y, beginning from the state learned on X. Swapping the first two datasets therefore changes which data most recently shaped the weights that arrive at the final stage.
For direct transfer, either SNLI or PPDB can supply the initial checkpoint, and the next training is on MSRP. For the longer schedules, one route moves from SNLI through PPDB to MSRP. The other starts with PPDB and passes through SNLI before reaching MSRP. The comparison system trains on MSRP alone. All of these routes end with training on the same target corpus, which gives the resulting test comparisons a common endpoint.
Validation perplexity governs checkpoint selection. A checkpoint is the state of the parameters at a point in training. The validation data serve as held-out examples for choosing among these states. When fitting one of the earlier datasets, the authors keep the checkpoint with the lowest perplexity on that dataset’s validation split and transfer those weights. The final system is selected using MSRP validation data. This procedure judges each stage against examples from the dataset it is currently learning.
Perplexity expresses how surprising the target words are under the probabilities assigned by the network. Lower perplexity per word indicates that the target words receive higher probability in aggregate. It is possible to use this quantity during training while also assessing complete decoded sentences with a separate measure afterward. That distinction matters because fitting the recorded words across many pairs and writing a faithful alternative in one particular case are different outcomes.
The fitting procedure uses stochastic gradient descent, or SGD. The gradient indicates how changes to the weights affect the training objective, and SGD uses estimates from training data to make a succession of updates. The learning rate sets the scale of those updates. The authors apply a learning-rate decay of 0.5 when validation perplexity fails to fall across consecutive epochs. An epoch is a pass through the training data. They describe training runs of 20 epochs and use early stopping in the sense of retaining the settings with the best validation perplexity. The weights passed on or used for evaluation can therefore come from the point that performed best during the run.
The resulting sequence of training stages has a practical interpretation. At each stage the network is asked to predict target wording for the pairs it sees there. Target-task behavior can build on what it already learned, and updates can change that behavior to suit the current examples. PPDB training after SNLI can shift the network toward the kind of equivalence represented by short paraphrases. SNLI after PPDB can give more recent practice in sentence-level entailment. The paper compares the outcomes of those orders without making either influence a separately adjustable part of the architecture.
How the decoder chooses a sentence
At the end of training, the authors use beam search to generate a paraphrase. Beam search keeps a limited set of promising partial outputs while the decoder extends them. An early word choice may look good initially and make later choices difficult. Keeping several candidate beginnings gives the search room to follow alternatives as more of the sentence becomes available. The paper uses a beam size of 5, which sets the width of that set during decoding.
The selected output is the result of the decoder’s probabilities and the search over candidate sequences. Attention can influence those probabilities by supplying information from relevant source positions. The candidate words still come from a fixed vocabulary. A separate copying mechanism would give the decoder a way to carry an item straight from the source into its output. The authors’ architecture leaves proper names and other rare items to ordinary word prediction, a distinction that becomes visible in the examples.
Training and decoding answer different questions. During training, each pair supplies a recorded target against which the network can learn. At test time, beam search has only the supplied source and the probabilities learned during training. The reference sentence then serves to evaluate what the search produced. This setup makes it possible to ask both whether transfer gives better probability estimates for the recorded targets and whether those estimates lead to decoded sentences with closer reference wording.
Experiments and results
The datasets and the common test
The study reports separate training and validation sizes for each resource. For MSRP, the paper lists 3,854 training pairs, 1,652 validation pairs, and 2,294 test pairs. This is the target corpus for the final training stage and the source of the reported test comparisons. Its relatively long sentences make it useful for examining whether the network preserves names, numbers, and relations between participants. The published examples also show that paired sentences can differ in the amount of description they give.
For the XS phrasal subset of PPDB, the paper lists 457,000 training pairs and 114,888 validation pairs. Its dataset table leaves the PPDB test column empty. The subset serves as a training resource in the transfer routes, and its validation split supports checkpoint selection there. The large count and the short span of typical pairs are separate features. The corpus gives the network many opportunities to learn alternative expressions, while the task of linking details across a long sentence still comes from other training.
The paper lists 183,416 training pairs, 3,329 validation pairs, and 3,368 test pairs for SNLI. It uses entailment examples for the generation stage. The headline results compare complete training routes on MSRP. SNLI is relevant to those results through the behavior learned before the network reaches MSRP, and some routes also carry that behavior through a separate stage on PPDB.
Pair counts describe the volume reported for each split. The preparation also includes reversed pairs, and the paper does not give a separate set of counts alongside the reported ones for the data before and after that operation. The relative roles of the datasets are clearer than an inference about exactly how many reversed examples each split contains. PPDB supplies phrase-level equivalence, SNLI supplies sentence-level entailment, and MSRP supplies the sentence-level paraphrase task on which the authors compare the routes.
The baseline and what each metric measures
The baseline is the attention-based encoder–decoder trained on the MSRP training split alone. It uses the architecture adopted for the transfer experiments and reaches the same target task directly. It therefore establishes what the chosen setup achieved with target-corpus training alone. The transfer schedules add earlier training, using the same destination. The comparison asks whether experience from the preceding datasets changes the result after the network has had a chance to learn from MSRP.
BLEU evaluates the generated text through overlap with references. Matching words and matching sequences of words contribute to the score. This allows the researchers to measure whether a system tends to produce recognizable reference phrasing across a test corpus. A source sentence can have several legitimate paraphrases, and a particular reference captures just one way of wording its content. That flexibility makes the relationship between BLEU and paraphrase quality dependent on the references available. The paper cites earlier evaluation work reporting a reasonably close relationship with human judgments, particularly when several references are used. BLEU · Collecting Highly Parallel Data for Paraphrase Evaluation
Per-word perplexity evaluates the probability assigned to target wording. A system can assign reasonably high probabilities to many words in the reference and still choose a decoded sequence that changes an important fact. Conversely, a legitimate alternative expression may have relatively little exact overlap with a given reference. For this experiment, it helps to read the measures as addressing related levels of performance. Perplexity reflects word prediction on the recorded targets. BLEU reflects the overlap of the generated wording with reference wording. The sample sentences reveal what those statistics leave open about individual outputs.
The paper also plots perplexity on training and validation data for the transfer schedules. The authors use those curves to discuss how direct transfer and an additional transfer stage behave during learning. The test perplexities and BLEU scores below belong to the MSRP test split. validation perplexity serves the different purpose of choosing a checkpoint during training.
The test results
Training routes compared by BLEU on the MSRP test set
Training on entailment followed by short paraphrases gives the highest reference overlap.
The numbers
| System or setting | BLEU |
|---|---|
| MSRP only | 0.09 |
| SNLI → MSRP | 7.17 |
| PPDB → MSRP | 10.29 |
| PPDB → SNLI → MSRP | 12.91 |
| SNLI → PPDB → MSRP (this paper) | 15.76 |
The MSRP-only baseline scores 0.09 BLEU on the MSRP test set. Starting from SNLI gives 7.17, and starting from PPDB gives 10.29. Both direct routes improve reference overlap under the same final task, with short paraphrases providing the stronger direct starting point under this measure. The result is consistent with the value of phrase-level equivalence even when the final examples are substantially longer.
Using both auxiliary datasets gives the two highest BLEU scores in the comparison. The route from PPDB through SNLI to MSRP scores 12.91 BLEU on the MSRP test set. The route from SNLI through PPDB to MSRP scores 15.76 on the same test. Both routes give the system experience with each type of pair before it reaches the target corpus. The difference in their scores shows that the sequence of that experience matters in these runs.
Training routes compared by per-word perplexity on the MSRP test set
The route that places short paraphrases after entailment gives the lowest test perplexity.
The numbers
| System or setting | Per-word perplexity |
|---|---|
| MSRP only | 14.37 |
| SNLI → MSRP | 3.97 |
| PPDB → MSRP | 3.73 |
| PPDB → SNLI → MSRP | 3.78 |
| SNLI → PPDB → MSRP (this paper) | 3.08 |
The per-word test perplexity of the MSRP-only baseline is 14.37. Direct transfer from SNLI brings the result to 3.97, and direct transfer from PPDB gives 3.73. The route with SNLI first and PPDB second achieves 3.08. On this measure too, all transfer settings improve on the baseline and the entailment-first route through PPDB performs best.
The reverse schedule shows where the rankings diverge. PPDB followed by SNLI reaches 3.78 per-word perplexity on the MSRP test, while PPDB alone as a precursor reaches 3.73. The reverse schedule nonetheless gives the higher BLEU of those two settings, with 12.91 against 10.29. The advantage of adding a stage depends on which stage is added and which outcome is being measured. The authors observe a broad association between better validation perplexity and higher BLEU. The test scores show that the measures need not order every pair of settings alike.
The direct-transfer curves are read by the authors as favoring training from PPDB over training from SNLI. Their comparison of the longer routes likewise favors the schedule that reaches MSRP through PPDB after beginning on SNLI. They interpret the pattern as evidence that entailment supplies useful related wording and phrasal paraphrases supply practice with a closer meaning relation. The scores establish the comparative outcome of the tested schedules. The meaning-based account is the authors’ explanation for that outcome.
What the best route actually writes
The paper follows the quantitative results with examples generated by the strongest route. Each example has a source sentence from the MSRP test set, the sentence selected by the decoder, and the corpus target. This presentation lets a reader see whether the output represents the source event and whether it resembles the reference. The two judgments can differ when the source and target themselves provide different details.
One source concerns reporting arrangements for Mike Butcher and Alex Arena. It identifies Butcher with an operating role and Arena with a financial role, and says they will report to So. The decoded sentence retains the reporting relationship and a financial title. It omits both people’s names and gives the other office an executive title in place of the operating title. The reference carries the names and roles more fully and describes the reporting relationship with additional context. The output retains a recognizable fragment of the event while making it harder to determine who occupies a position and which position is meant.
Another example contains a judge’s remark about the recipient keeping up their skills. The decoder carries forward much of the remark, with only modest variation in how it is phrased. It ends after the quoted thought. Consequently, the speech survives while its attribution and the description of the person addressed disappear. The reference includes an identified judge and recipient and situates the remark in relation to sentencing. An output like this can share a substantial stretch of wording with the reference while conveying less about the event the sentence describes.
The example about Prince Nayef illustrates a different problem. The source attributes a denial of reports to the interior minister and names him. The decoder attempts a more varied wording, shifting from denial toward refusal and replacing the named minister with a reference to internal affairs. The result stays near the original subject matter. The attribution becomes less specific and the action changes in character. The reference keeps the denial and identifies the minister, while also supplying context about the country.
The final example begins with a letter bomb sent to Prodi, says that it exploded in his hands, and reports that he escaped injury. The output preserves a letter and a reference to Prodi, then introduces a claim about his being surrounded. The bomb, the explosion, and the absence of injury are lost. The target sentence preserves the explosion and its outcome and identifies the person by his former office. Even where the generated words visibly relate to parts of the input, the event a reader would reconstruct from the output is substantially different.
These examples reveal several ways that a test gain can coexist with inadequate rewrites. A sentence can preserve locally plausible expressions while losing their participants. The decoder can retain a remark while discarding who said it. It can attempt more varied wording and end up changing a relation or event. The examples also show different kinds of partial success. The judge’s remark remains recognizable with minimal rewriting, while the denial example shows more initiative in choosing vocabulary. The two qualities that matter for a paraphrase, variation and fidelity, have to be judged together.
What the ablations show
Each auxiliary corpus helps on its own
The paper’s component comparisons operate at the level of training data and schedule. The authors compare MSRP alone with each direct route into MSRP, then compare those routes with schedules that use both auxiliary datasets. They keep the attention-based architecture in use throughout. The experiments therefore address the usefulness of the training routes as a whole. They offer little leverage on the contribution of individual layers or of attention itself.
Starting from SNLI improves both reported test measures relative to MSRP-only training. This establishes that the entailment training procedure, including the way its pairs are prepared, can supply a useful initial state for the paraphrase task. The transferred behavior may include better handling of shared words, better prediction of related sentence continuations, or more general benefits from learning on a larger set of examples. The design evaluates the combined effect of that training. It does not measure those possible contributions individually.
The PPDB comparison shows that short paraphrases can give an even stronger direct starting point. In the reported tests, PPDB is ahead of SNLI on both BLEU and per-word perplexity when each transfers straight to MSRP. This is compatible with the authors’ view that phrase pairs help with semantic equivalence. Training on PPDB and training on SNLI also differ in corpus size, length, and the kinds of language seen. The result supplies a reason to prefer PPDB among the direct routes tried. The score difference alone gives no way to apportion credit among those differences.
The direct comparisons have a useful consequence for how the paper’s question is understood. Entailment training proves helpful in this setting, and a supply of short paraphrases proves helpful in its own right. The strongest schedule draws on both findings. Its performance is compatible with the idea that the two resources provide complementary experience. The specific skills exchanged between stages are inferred from the nature of the datasets and the scores.
The order comparison gives the clearest test of sequence
The two longer routes use the same named corpora and end on MSRP. In one, the system learns from entailment and then from short paraphrases. In the other, it learns from short paraphrases and then from entailment. Because both contain the same auxiliary resources, their comparison isolates the order of those stages more closely than the direct-transfer comparison does. The route with PPDB closest to MSRP leads on both test measures.
The authors offer a progression to explain the result. Textual entailment pairs tend to have words in common, giving the network practice connecting input and output. Their meanings can still differ because the hypothesis is allowed to express part of what the premise supports. The phrase pairs then give the network examples selected for a closer paraphrase relation. Training on the longer MSRP pairs follows that experience. Under this reading, the route moves from related sentences to closer equivalence before asking the network to handle complex sentence-level rewrites.
The interpretation fits how the tasks are set up and how the schedules rank. The experiment measures the outcome after the entire route, so it leaves the internal changes open. One possible account is that the PPDB stage reshapes output choices learned during SNLI training. Another is that the same data affect training differently when the starting weights come from a different corpus. The comparisons establish that the order matters for the reported outcomes. They do not show which parameters carry a particular paraphrasing skill through the sequence.
Which additional training helps also depends on the existing route. Adding the entailment stage at the beginning of PPDB-to-MSRP gives the strongest overall test result. Inserting it after PPDB raises BLEU relative to direct PPDB transfer, while test perplexity per word moves slightly in the other direction. This distinction is important when interpreting the authors’ discussion of the training and validation curves. A more favorable curve during learning and a higher score on decoded text can support a schedule even when a separate test measure shows a smaller benefit or a different ordering.
The lowest-validation-perplexity checkpoint is used at each stage. Accordingly, the order comparison includes the effect of fitting and selecting on the corpora in that order. The selection step can carry different learned states forward depending on what the current dataset rewards. This is part of the transfer procedure being evaluated. The results tell a reader how the sequence worked as a complete procedure, from source training to checkpoint selection to final decoding.
The examples suggest mechanisms the comparisons leave open
The authors examine examples from the SNLI-to-PPDB-to-MSRP route. They see that the decoder frequently retains part of the source and omits other material. One explanation they propose is that SNLI provides many hypotheses shorter than their premises. Training on these pairs exposes the network to targets where keeping the central implication can be sufficient. That pattern might influence a generator that later needs to preserve fuller sentence meaning.
The examples fit that possibility. The judge’s remark can stand on its own even though the source gives its attribution. A general reporting relationship can survive after the named people and details of their roles are dropped. At the same time, the Prodi example shows that an output can introduce a new claim along with its omissions. A tendency toward shorter outputs might explain why material disappears. An individual example offers little basis for attributing all of its changes to the earlier entailment stage.
The fixed vocabulary gives the authors another explanation, especially for missing proper names. A vocabulary limits the ordinary words available to the decoder, and rare items can be difficult to predict. A copying mechanism could provide a direct route from the input to the output for such items. There is no copying comparison in the experiments. The proposal arises from a recurring visible failure and from the way the decoder is built.
The qualitative analysis and the transfer comparisons answer complementary questions. The comparisons show which complete routes improve the reported measures. The examples reveal what the strongest route can still mishandle. A similar set of decoded examples for each route would be needed to study whether errors in attribution, retention of names, or truncation become more or less common with a particular schedule. The paper instead uses the strongest system’s outputs to show the limits of its own best quantitative performance.
Limitations
Limits the authors identify
The authors begin with the shortage of complex sentence pairs. Transfer gives the system useful prior training, and the gains on MSRP show that this training helps their setup. The final examples still require abilities that appear only unevenly in the earlier data. A short phrase pair can teach a substitution without illustrating how to preserve several facts in a long sentence. An entailment pair can connect statements even when the target leaves out information from the source. The target training stage has to adapt those useful patterns to fuller rewrites.
The authors describe their outputs as capable of restating parts of a sentence. Limited lexical variety is one of their main concerns. A decoded sentence can hug familiar wording closely, as in the judge example, and leave the reader with a shortened version of the input. More varied wording has its own risk. In the denial example, the attempt to use different vocabulary changes the character of the action and the identity of the agent. A stronger output would need both dependable preservation and enough freedom to produce an alternative expression.
They also point to proper names and rare words. The target corpus contains many names and numbers, and the fixed vocabulary makes such items difficult to predict. Attention can let the decoder draw on the position associated with a name. To reproduce the name, the architecture still needs a way to generate the relevant word. The authors propose adding a copying mechanism to help retain rare or unknown items. Their examples explain the motivation for this proposal, while the paper leaves the effect of such a mechanism to future work.
The proposed link between entailment training and truncation is also tentative. The authors note that most SNLI hypotheses are shorter than their premises and suggest that this may influence the learned generator. The examples show omissions under the strongest route. They do not identify the training stage responsible for an omission or establish how often a rewrite loses details because of target length, vocabulary restrictions, search, or other aspects of generation.
The evaluation itself has a stated limit. The paper treats BLEU as informative and acknowledges that the field lacks a conclusive standard measure for paraphrase generation. Reference overlap can reveal that different training routes produce more or less recognizable wording. It can reward shared phrasing in a passage whose attribution is missing, and it can give limited credit to a faithful expression worded differently from a reference. The qualitative examples help readers make these distinctions for the sentences shown.
Limits visible in the design
The test comparison is specific to MSRP. It shows gains for this training and evaluation setup on that corpus’s test pairs. That is narrower than evidence that the same order would work best across every type of rewrite. A collection devoted to questions, captions, or simplified sentences could place different demands on how much meaning must be retained and how much wording can change. Those tasks provide context for why paraphrasing matters. Their performance under these transfer schedules remains outside the reported experiment.
MSRP also supplies a particular kind of target. Its pairs come from a corpus for paraphrase detection. A target can identify a person with a title the source expresses differently, or provide context beyond the source sentence. The example about the judge makes this visible. The corpus target specifies information that the supplied wording expresses more generally. A generator instructed to preserve the source’s content and a generator evaluated against all the wording of the paired sentence can face slightly different demands. BLEU reflects the latter comparison.
The test results are point scores. The paper gives no spread across repetitions or uncertainty estimates for the differences between training orders. The rankings describe the reported runs, with a clear advantage over the MSRP-only baseline in those runs. They give less information about how stable the ordering would be across new training runs, changes to the available pairs, or different choices of validation checkpoint. This matters particularly when interpreting relatively close perplexity results among the transfer routes.
Corpus identity also bundles several experimental factors together. SNLI and PPDB differ in the number of reported pairs, their typical length, the type of semantic relation, and the material that appears in the examples. Each change can affect what the learned weights make available at the next stage. The direct comparison is enough to establish which initialization performed better in the tested setup. Separating the effect of equivalence from that of size or length would require comparisons organized to vary those properties separately.
The augmentation is likewise evaluated as part of the full training procedure. Adding reversed paraphrase pairs can provide useful examples in both directions. Reversing SNLI pairs can turn a supported inference into a task of reconstructing a more detailed premise. That creates a tension with the ultimate goal of writing a sentence whose content is licensed by the input. The paper offers no forward-only SNLI comparison, so its improvements cannot establish whether reversal helped, had little effect, or contributed to particular generation errors.
The authors’ manual examination covers selected outputs from the best schedule. It establishes the presence of omissions and meaning changes in that schedule, and it presents concrete cases of partial success. It cannot establish how frequently the problems occur throughout the test set or whether the other routes show them at different rates. The paper also gives no separate human scores for meaning preservation or lexical variety. For those properties, the reader can assess the displayed sentences, while the corpus-wide results concern reference overlap and probability assigned to the references.
The architecture and search are kept fixed across the schedule comparison. This gives the experiment a consistent basis for evaluating transfer. It also bounds the conclusion. The evidence pertains to the specified attention-based LSTM setup, its vocabulary, its checkpoint rule, and its beam search. The experiments leave open how much more of the input could be retained by changing the search procedure or the available output operations. Even in the authors’ suggested copying direction, preserving a name would address only part of the problem. A faithful sentence also needs to connect that name to the right role, action, and outcome.
The qualitative examples make that last distinction concrete. Copying the name of an officeholder would help identify the subject of a denial, but the sentence would still need to express denial accurately. Keeping the word for a bomb would help preserve the kind of object involved, while the rewrite would still need to convey the explosion and its effect. A faithful paraphrase depends on how details are assembled as well as on which words survive. The experiment demonstrates better generation under transfer while leaving that fuller form of fidelity open.
What came after
The paper closes by proposing more work on lexical variety and a copying mechanism for rare or unfamiliar words. Those directions follow from different failures in its examples. Variety concerns the ability to produce a genuinely different expression. Copying concerns source details whose exact form may be essential, such as a person’s name. The same rewrite can call for both abilities, since it may need to keep a name verbatim while changing the wording around it.
No later work is documented here as taking up the specific entailment-to-phrase-to-sentence schedule. The paper’s closing proposals therefore mark the questions it leaves open. Its comparison establishes that the order of related training tasks can improve the scores of a paraphrase generator. Its outputs leave a further question for subsequent evaluation: whether such a gain brings a rewrite closer to preserving the full statement a reader was given.
Cite
Cite as Florin Brad and Traian Rebedea. 2017. Neural Paraphrase Generation using Transfer Learning. Proceedings of the 10th International Conference on Natural Language Generation.
@inproceedings{brad2017neural,
title = {{Neural Paraphrase Generation using Transfer Learning}},
author = {Florin Brad and Traian Rebedea},
booktitle = {Proceedings of the 10th International Conference on Natural Language Generation},
year = {2017},
doi = {10.18653/v1/w17-3542},
url = {https://doi.org/10.18653/v1/w17-3542}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/brad-2017-neural-paraphrase-generation-transfer-learning/