Quality Controlled Paraphrase Generation
Paper · 2022 · Elron Bandel, Ranit Aharonov, Michal Shmueli-Scheuer et al.
Summary
A useful paraphrase has to change enough to give the reader a genuinely different expression of the same thought. That balance is difficult to strike. A rewrite that changes very little contributes little variety, while one that changes a key detail can turn into a different claim or question. In “Quality Controlled Paraphrase Generation,” the authors make this balance part of the request given to a paraphrase generator. Their system, QCPG, accepts a sentence and separate scores for how closely the rewrite should preserve its meaning, how much its grammatical structure should change, and how much its wording should change. The generator chooses the words and structure needed to pursue those targets.
The authors teach QCPG what the scores mean by measuring them on existing pairs of sentences. Because those pairs vary in quality, the scores help distinguish examples of close copying, substantial reformulation, and changes in meaning during training. A separate predictor estimates the scores typical of a rewrite of each source sentence. At generation time, the request is expressed as a change from that sentence-specific starting point. This matters because a sentence containing names or numbers can leave less room for changes in wording than a sentence whose content is easier to express in other terms. The authors use development data to see which adjustments yield the combination of similarity and variety they want.
On held-out caption pairs from MSCOCO, question pairs from WikiAnswers, and sentence pairs from ParaBank2, a setting chosen on development data scored higher than an uncontrolled T5-base baseline on all the reported automatic quality measures. The largest gains varied by dataset. On the MSCOCO test set, the lexical diversity score was 42.4 for QCPG and 23.0 for the baseline. On the WikiAnswers test set, the syntactic diversity score was 41.5 for QCPG and 24.7 for the baseline. Judges comparing the systems’ rewrites with the source also favored QCPG for meaning preservation overall, with many ties on ParaBank2.
The controls were directional within a moderate range. Asking for more change along a particular dimension generally increased the corresponding score, though it could affect other scores as well. At large requests for changes in wording or structure, the average response eventually weakened. The results show why a sentence-specific reference and development-set measurements are useful together. The reference makes a request relative to the source, and the measurements show which requests the generator can use reliably on average.
Deep dive: Quality Controlled Paraphrase Generation
Quality Controlled Paraphrase Generation tests whether a system can rewrite sentences with more varied wording and structure while preserving meaning. · about 36 minutes to read
The problem and its context
What makes a rewrite useful
A paraphrase changes how a sentence expresses something while preserving what it says. The authors take this definition from work on what counts as a paraphrase. The distinction is easy to see in a question. A person can ask about the temperature scale used in Australia with a full sentence or a short question that puts Australia at the end. Both can ask for the same information. A question about the scale used in scientific work shares much of the same vocabulary, but it specifies a different context. A collection assembled by grouping similar questions can contain both kinds of pair. A generator trained on the collection has to learn how far it can vary the expression while retaining the details that determine the answer.
The paper describes uses of paraphrasing in question answering, text summarization, data augmentation, and adversarial learning. The reason to introduce another expression differs across those uses. A question-answering system may encounter the same request in a shorter or differently ordered form. Data augmentation can expose a system to expressions that recur less frequently in its existing examples. In summarization, the ability to express the same information in different words or constructions gives a system more ways to write a concise sentence. The paper treats these applications as motivation for generating rewrites that vary in form while keeping their content. The Natural Language Decathlon, A Neural Attention Model for Abstractive Sentence Summarization, QANet, Syntactically Controlled Paraphrase Networks
The authors assess quality along three dimensions. Semantic similarity concerns how much meaning is shared. Lexical diversity concerns changes in the words, and syntactic diversity concerns changes in grammatical organization. Separating the latter two is important. A rewrite can swap expressions while keeping the same overall construction, or move the same words into a different construction. Some changes affect both. Turning a passive construction into an active one, for instance, can change the organization of the sentence and also remove or add words. A single diversity score would conceal which kind of change produced an increase.
A second difficulty comes from the distribution of examples. A large corpus of pairs can include many almost identical sentences and many visibly different sentences that also differ in meaning. The paper’s density plot for WikiAnswers shows how sparse the combination of high semantic similarity and high linguistic diversity is. That sparsity poses a problem for ordinary supervision. Every target in the training set provides an example of what the system should produce after reading its source. If the targets with the desired combination are rare, a conventional training objective has no explicit way to tell the system which pairs illustrate that combination. A modest rewording and a more ambitious rewrite can both be legitimate training targets, but each teaches a different kind of behavior.
How earlier approaches encouraged variety
Some of the supervised methods reviewed in the paper try to preserve variety during decoding, the process that turns partial predictions into complete outputs. A search procedure can keep candidate sentences that differ in their word choices or in the sequences of words they contain. Other approaches produce a collection of candidates by varying their internal sentence representations or by using distinct generators. These methods can yield varied options. Their controls concern how the options are produced or how they differ from each other, leaving open how closely an individual option should match the meaning of its source and how much its particular form should change.
Other supervised approaches give more explicit instructions about the desired output. An exemplar sentence can supply a grammatical pattern to imitate. A constituency tree, which represents how parts of a sentence nest inside larger phrases, can specify a desired structure more directly. Another approach conditions generation on possible rearrangements of the source. For lexical guidance, the paper discusses a system that takes keywords the output should use. Each of these controls gives the generator information about the form of the requested result. They make sense when a user already has a construction or a vocabulary choice in mind. Controllable Paraphrase Generation with a Syntactic Exemplar, Neural Syntactic Preordering
The authors focus on a situation where the user has a goal for the degree of change and is willing to leave the realization open. Providing an exemplar would require finding a suitable sentence. Specifying a parse would require deciding which structural change to make. A list of keywords would require anticipating which expressions are appropriate for the source. Those decisions can be especially laborious for a collection containing sentences about different subjects. Giving the system a desired distance leaves it free to choose an active construction, a different phrase, or another way of reorganizing the sentence, depending on what the input makes possible. The paper also discusses prior work on lexical control that treats preserving meaning and changing expression as distinct objectives. Paraphrase Generation as Zero-Shot Multilingual Translation
The paper reviews unsupervised approaches as well. One discourages repetitive copying during decoding. Another searches over possible sentences to find outputs that score well under a quality objective. Other work uses reinforcement learning with rewards that can combine properties such as fluency, entailment, similarity, and diversity. QCPG shares the premise that these properties can be measured and made relevant to generation. Its supervised design uses the measurements to describe each observed target to the generator. This allows the same collection to teach what a lightly edited output looks like and what stronger changes look like, even if the collection seldom contains rewrites with every desired property.
The question the authors pursue is therefore about controllability as well as average quality. They want to know whether a generator can learn a meaningful response to a request for different degrees of change, and whether that response gives users access to better rewrites. These are separate questions. Producing a diverse sentence at a single setting would establish little about whether the setting can be adjusted. A steady response to adjustments would establish little about whether any resulting sentence preserves enough of the source. The paper designs its training and evaluation around both questions.
The method, step by step
From a sentence pair to a request
The starting point is a pair consisting of an input sentence and a target rewrite. The authors measure the pair’s similarity in meaning, distance in grammatical structure, and distance in word choice. These measurements describe the relation between the sentences. The same target sentence could be close to one source and far from another. Adding the measurements to each training example gives the generator information about the kind of rewrite it is being shown. A training example that changes few words carries a different instruction from one that uses very different wording.
At generation time, the direction of the procedure changes. The source and the desired measurements are known, and the target is what the generator has to produce. The scores specify how much of each kind of change to aim for. The generator learns possible ways to realize such a request from the training pairs. As an illustration, a user interested in structural variety can ask for a larger grammatical distance while keeping a high target for semantic similarity. This expresses a preference about the relationship between two sentences while leaving choices such as sentence order and phrasing to the generator.
There is still a practical question about where to set the controls. The same lexical distance can be an ordinary request for one input and an ambitious one for another. QCPG is paired with a quality predictor, QP, that estimates the typical score of a rewrite of a given sentence. The desired departure from this estimate is represented by an offset. A common offset can be applied across a collection, while the absolute targets supplied to QCPG still vary from sentence to sentence. The authors examine the effects of different offsets on development inputs before choosing what to use for held-out test inputs.
How QCPG learns and applies quality controls
The steps in order.
Measuring meaning, structure, and wording
The authors write the measurements for a sentence pair as a vector, an ordered collection of scores.
q(s, s′) = (q_sem(s, s′), q_syn(s, s′), q_lex(s, s′))
Here s is the source sentence and s′ is the sentence being compared with it. The prime distinguishes the second sentence from the source. The function q returns their quality vector. Its entries q_sem, q_syn, and q_lex are semantic similarity, syntactic distance, and lexical distance, respectively. The equality states that the vector consists of those entries in that order. A high semantic entry means greater similarity, while high syntactic and lexical entries mean greater change.
For syntax, the authors start with the constituency parses of the two sentences. These parses organize sentences into nested constituents, such as a phrase and the groups within it. The comparison uses the trees through the third level and removes their word tokens. The remaining structures are compared with normalized tree edit distance, a measure of how much editing is required to bring one tree into the form of the other. Removing the words means that changing a word without changing the retained constituent structure has a more direct effect on the lexical measure than on the syntactic measure. Using a shallow portion of the trees puts the emphasis on changes in relatively broad structure. Parsing
For wording, the paper compares bags of words. A bag records which words a sentence contains, including repeated occurrences, while setting aside their order. The authors use a normalized minimum edit distance measured at the character level for the words in the bags. A grammatical rearrangement can therefore retain a low lexical distance when it uses much the same vocabulary. The character-level comparison also gives related word forms a way to register as close when they share part of their spelling. It can treat a typo as a smaller change than a wholesale replacement. The authors choose this behavior because the training collections contain noise and because closely related forms can reflect a smaller lexical change than completely different words.
The semantic entry is based on BLEURT, a learned score for comparing texts. The authors apply a sigmoid, a function that maps the score onto the common interval reported as [0, 1]. That gives the semantic measure the same numerical range as the two normalized distances. They present quality values on a scale from 0 to 100 for readability. A common range makes it possible to encode the measurements in a consistent way. It still leaves each dimension with its own meaning and with its own distribution of scores in the data.
The semantic measure was chosen using judgments on development data. The authors drew 100 clusters from each development set and randomly sampled three sentences within each cluster. The cluster structure gives them sentences that are related broadly enough to make the comparison meaningful, while the loose method of building the clusters provides variation in how well the sentences preserve the same meaning. The authors asked 5 annotators to judge which of two alternatives better preserved the meaning of the remaining sentence. The first sentence served as a common comparison point, so the judges could express a preference even when neither alternative was an exact paraphrase.
For each triplet, the authors formed a margin between the votes for the two alternatives. They also formed a margin for each automatic metric by comparing its similarity scores for those alternatives. They then used Kendall’s tau, a rank correlation measure, to compare the ordering of the human margins with the ordering of the automatic margins across triplets. An automatic metric fares well under this procedure when examples judged to favor one alternative more strongly also receive correspondingly stronger margins from the metric. The paper reports that Sentence-BERT had the highest correlations, but excludes it from selection because its training included WikiAnswers and MSCOCO. BLEURT had the strongest agreement among the candidates the authors deemed eligible.
The main quality vector contains no separate fluency score. In their supervised setup, the authors rely on the training targets to guide the generator towards fluent sentences. Each target is still a complete sentence to be learned, whether its measured distance from the source is large or small. The measurements condition which kind of target the system is seeing, while the sentence itself supplies the words to predict. This treats fluency differently from meaning, syntax, and vocabulary: the method asks the generator to learn it from examples, while it supplies explicit targets for the other properties.
Teaching the generator what the scores mean
The requested values have their own notation because the request and the resulting measurements play different roles.
c = (c_sem, c_syn, c_lex)
The symbol c denotes the control vector supplied to the generator. Its entries c_sem, c_syn, and c_lex are the requested semantic similarity, syntactic distance, and lexical distance, in the same order used by q. The parentheses group the entries into a single input. At training time these controls come from the observed target. At generation time they are set before the output exists.
The training signal for a source and target pair is expressed as a conditional probability.
P(t | s, c = q(s, t))
Here P is the probability assigned by the generator, t is the observed target sentence, and s is its source. The vertical bar reads as “given.” The equality specifies that the input control c is set to the measurements q(s, t) computed from that particular pair. The authors train the generator to assign high probability to the targets under these conditions. The loss is autoregressive cross-entropy: when learning to predict each successive target token, the generator conditions on the preceding target tokens as well as on its encoded input. The known target provides supervision for what to predict next.
The generator is initialized from pretrained T5-base. Its encoder reads the source and the requested controls, and its decoder produces the target sequence. To present numerical controls to a system that reads tokens, the authors quantize each dimension into 20 equally spaced values spanning 0 to 100. Quantization maps values to a fixed set of levels. Each selected level is represented by a reserved token. The three tokens for a request precede the source sentence, giving the encoder a compact specification in a consistent position. The predictor’s reference values and the offsets are also quantized in a similar way. Tokenization
The training task remains sentence prediction. The extra tokens change what information is available for predicting the target. Consider source sentences with similar phrasing whose targets use either a light edit or a substantial reordering. An uncontrolled generator sees the original sentences and the targets. QCPG sees the same training pairs with an indication of the size and kind of change each target exhibits. The authors describe this as a way of learning from several quality levels within the same dataset. A pair with low semantic similarity can illustrate an output under a lower similarity condition, while pairs with higher similarity illustrate what the generator should produce under a higher one.
The authors denote the resulting string as follows.
QCPG(s, c)
QCPG is the trained generator, s is the input sentence, and c is the vector of requested scores. The expressions inside the parentheses are the inputs to generation. The result is a sentence. To evaluate whether it fulfilled the request, the authors compare that sentence with s using the quality function q. This keeps the requested values distinct from the values actually measured, a distinction that matters whenever the output falls short of the request or changes unexpectedly on another dimension.
Choosing a reference for each sentence
An absolute target can be difficult to interpret across unlike inputs. The authors give names and numbers as examples of content that can be hard to substitute while keeping meaning. A question about a banknote signed by a named person may have room for a shorter construction, but the signer’s identity still has to be recoverable. A high lexical target leaves less room for such fixed content. The authors therefore frame control as a request to move away from the quality levels typical of a particular sentence.
Their argument begins with a conditional distribution.
p(q | s)
In this expression p denotes a probability distribution and q stands for a possible quality vector of a paraphrase of s. The vertical bar indicates that the distribution is conditional on the source sentence. The authors assume that the distribution is approximately normal around a mean they denote q₀(s). The subscript in q₀ identifies this central or typical value, and the argument s makes it sentence dependent. They assume the variance is approximately shared across sentences. They also propose that the difficulty of producing a rewrite with a given score depends primarily on how that score sits within the source’s distribution. These assumptions motivate expressing a request relative to the center.
The center is unknown, so a separate regressor learns to estimate it. A regressor predicts numerical outcomes, which in this case are the measured scores of the target paired with a source. The quality predictor is based on Electra base and is trained with mean squared error, which penalizes the squared size of the gap between predictions and measured targets. The predictor reads only the source sentence. Training uses targets to provide the correct scores for each pair, and at generation time the predictor estimates typical scores using what it learned from sources with known targets. Its output is a reference point.
r(s) = (r_sem(s), r_syn(s), r_lex(s))
The function r gives the reference vector for sentence s. Its components r_sem(s), r_syn(s), and r_lex(s) estimate the source’s typical semantic similarity, syntactic distance, and lexical distance. Thus r(s) serves as an estimate of q₀(s), the unknown mean quality vector for the sentence. It is an estimate of the quality values to expect under the training setup. Its task is to characterize ordinary rewrites of the source for purposes of control.
The departure from that reference is written separately.
o = (o_sem, o_syn, o_lex)
Here o denotes the offset vector. Its components o_sem, o_syn, and o_lex specify how far to shift the target for meaning, syntax, and wording, respectively. Each entry uses the corresponding score’s units. This is the sentence-independent part of the request: a given offset can be kept fixed while the estimated typical scores change with the source. An offset of 0 in a dimension keeps its requested level at the sentence’s reference value for that dimension.
The request combines these two parts.
c(s) = r(s) + o
The left side c(s) is the input control chosen for source sentence s. On the right, r(s) is the source-dependent reference and o is the offset. The plus sign represents entry-by-entry addition: the syntax offset, for example, is added to the syntax reference. A positive lexical offset asks for more lexical change than the predictor regards as typical for that sentence. A positive semantic offset asks for closer meaning. The same direction of numerical adjustment has these different implications because one coordinate measures similarity and the other measures distance.
Finding an offset that serves the task
The authors judge candidate offsets by the outputs they actually produce on development inputs. They denote the expected quality vector for an offset by Q(o), where upper-case Q is the expected output quality and o identifies the adjustment tried. They estimate it by generating a rewrite for each development source, measuring the pair consisting of source and generated output, and averaging the resulting vectors. The paper calls the estimate Q̃(o). Its three components can be written together as follows.
Q̃(o) = (Q̃_sem(o), Q̃_syn(o), Q̃_lex(o))
Here Q̃ is the development-set estimate of the expected quality Q, with the tilde marking the empirical estimate. For offset o, Q̃_sem(o) is the average measured semantic similarity, Q̃_syn(o) the average measured syntactic distance, and Q̃_lex(o) the average measured lexical distance. Each is computed using generated outputs from controls constructed as r(s) + o. The resulting vector describes what the generator tends to deliver for that adjustment, including any gap between the direction of the request and the direction of the observed response.
To study the effect of the offset, the authors compare expected quality to generation from the references alone.
R(o) = Q(o) − Q((0, 0, 0))
The function R gives the responsiveness vector at offset o. Q(o) is the expected measured quality after applying that offset. Q((0, 0, 0)) is the expected measured quality when all the offset entries are 0 and each source uses its predicted reference as the request. The minus sign subtracts the corresponding entries of the two quality vectors. A positive entry means the measured score on that dimension is higher than under the reference setting. The reference setting still uses QCPG and its quality tokens.
The empirical version uses the averages from development data.
R̃(o) = Q̃(o) − Q̃((0, 0, 0))
The tilde on R̃ identifies the responsiveness estimated from development outputs. Q̃(o) is their average quality under the trial offset, and Q̃((0, 0, 0)) is their average quality with the reference alone. The subtraction compares the average semantic scores with each other, and likewise for the syntactic and lexical scores. Holding the set of source sentences fixed makes the comparison about the response to altered requests within that set.
For selecting a setting, the authors evaluate combinations whose semantic, syntactic, and lexical entries range over 0, 5, 10...50. This forms a grid of offset combinations. Where a task values both syntactic and lexical distance, the authors summarize linguistic diversity using the average of those two measured distances and examine that average alongside the measure of meaning preservation. The grid exposes the tradeoff that would be hidden by inspecting individual dimensions alone. It can show, for instance, that settings with similar overall diversity yield different average semantic scores, or that a setting with strong semantic similarity leaves room for more change in wording or structure.
The paper uses this procedure to choose a particular setting, called QCPG⋆. Its development objective is to maximize the average of lexical and syntactic diversity subject to a semantic similarity score at least 5 points higher than the uncontrolled baseline’s score. The selection is dataset-specific. For WikiAnswers the authors give the offset as (50, 35, 5), in the order of meaning, syntax, and wording. This is the adjustment added to the predicted reference for each source. It expresses the authors’ selected operation point, meaning the balance of the measured qualities obtained at a chosen setting.
Training and selecting each component
The two generators and the predictor were trained with a batch size of 32 on 2 NVIDIA A100 GPUs for 6 epochs. The authors tried multiple learning rates and used development data to choose among them, following an experimental setup they associate with BERT. They describe separate criteria for the three components because each performs a different job. The uncontrolled T5-base generator was selected for agreement with development references using BLEU. QCPG was selected for closeness between requested and measured output qualities. QP was selected for accuracy in predicting the measured qualities of sentence pairs.
The learning-rate candidates for the generators were 1e-3, 1e-4, 5e-3, and 5e-4. For the predictor they were 1.5e-4, 1e-4, 3e-5, and 5e-5. The chosen settings need to be distinguished from the offset search. The learning rate affects training and is used to select a trained system. The offset determines the type of output to request from the trained controlled generator. The authors report releasing code, trained systems, and data, including the dataset splits used to keep clusters together.
Experiments and results
Three sources of imperfect paraphrases
The three datasets supply sentence pairs in different ways. Microsoft COCO, called MSCOCO in the results, contains 123K images with at most five human-written captions per image. In the authors’ approach, captions that describe the same image count as paraphrases of one another. This gives them natural differences in how people describe a common scene. It also allows one caption to mention an object or attribute omitted by another. The shared image establishes that the sentences are related. For this task, preserving the meaning of the given source requires attending to what that particular caption says about the scene.
WikiAnswers, abbreviated WikiAns, contains questions that site users grouped as similar. The paper reports 30, 370, 994 clusters, with 25 questions per cluster on average and over 70 million question pairs in the corpus. Cluster membership can capture alternative ways to ask for the same information, including abbreviated or awkwardly written questions. It can also bring together nearby questions that concern the same topic but ask for different facts. The potential looseness of the connection makes this a useful dataset for testing whether the quality scores can distinguish different kinds of training example.
ParaBank2.0, called ParaBank2 in the results, consists of paraphrase clusters derived from a bilingual corpus. The process described in the paper combines negative constraints, sampling during generation, and clustering. The dataset is described as having an average of 5 paraphrases per cluster and close to 100 million pairs overall. This resource brings a different source of variation to the experiment. It starts from bilingual material and a procedure for constructing alternative sentences, while the other collections use user groupings of questions or captions written about a shared picture.
The authors randomly sub-sampled WikiAnswers and ParaBank2.0 to match the size of MSCOCO. The reported split sizes were 900K training pairs, 14K development pairs, and 14K test pairs. Pairs from the same cluster were kept in a single split. That matters because different pairs can share a sentence or come from a common group of alternatives. If such pairs were placed in separate splits, an evaluation pair could be closely connected to examples already used for training or selection. The development sets supplied the comparisons used to choose semantic scoring and generation settings. The test sources evaluated the chosen offset on examples held apart from those decisions.
The comparisons and what the scores measure
The main comparison is between QCPG⋆ and the uncontrolled baseline trained on the same kind of paired data with T5-base. The latter receives the source sentence and learns to predict its paired target. QCPG⋆ receives additional information about the desired quality, with its request determined by the sentence-specific reference and the selected offset. The test-set targets, labeled Gold in the paper, supply a further point of comparison. They are the original partners of the source sentences in the dataset. Their scores describe the quality of the collected pairs and show what the system learned from. They can be exceeded on specific dimensions, particularly in a collection where related sentences can differ in content.
The automatic test evaluation uses the semantic, syntactic, and lexical measures used to construct the control vector. The authors also report Self-BLEU, an adaptation of the BLEU score that compares rewrites with their inputs for this evaluation. Higher overlap with the input gives a higher Self-BLEU score. Lower Self-BLEU therefore indicates more diversity under this measure. It is useful as an extra check because it was not used to encode any entry of the request. It gives a different view of surface overlap from either the word-bag edit score or the constituent-tree comparison. BLEU
BLEU is also used in the paper for a different evaluation: how closely a predicted sentence matches a known target. There, greater agreement is the desired direction. The interpretation changes with the sentence used for comparison. In the main Self-BLEU results, the comparator is the input, so close surface resemblance can indicate copying. In the development evaluation with reference BLEU, it is the paired target, so agreement indicates that the generator is successful at reproducing the kind of output represented by the reference. Neither role requires the reader to treat word overlap as an independent judgment of preserved meaning.
Where the automatic gains appear
On the MSCOCO test set, the largest improvement in the reported quality scores is in lexical diversity. The controlled generator’s lexical distance is 42.4, compared with 23.0 for the baseline and 28.0 for the paired captions. The syntactic distances are 29.6 for QCPG⋆, 27.8 for the baseline, and 34.5 for the dataset pairs. The controlled rewrites thus differed more in wording than the collected targets under the lexical measure, while the collected captions showed greater structural distance. The qualities of the caption pairs give context for the result: captions of one image may vary substantially in both what they describe and the structure they use to describe it.
Lexical diversity on the MSCOCO test set
QCPG produces greater lexical distance than the uncontrolled generator and the paired captions.
The numbers
| System or setting | Normalized lexical edit score |
|---|---|
| Paired captions | 28.0 |
| Uncontrolled T5-base | 23.0 |
| QCPG (this paper) | 42.4 |
The MSCOCO test-set semantic scores are 56.6 for QCPG⋆, 50.0 for the uncontrolled baseline, and 29.9 for the paired captions. Self-BLEU is 18.0 for QCPG⋆, 18.8 for the baseline, and 8.7 for the paired captions. The relatively low Self-BLEU of the paired captions accompanies their relatively low semantic score. That combination illustrates why it helps to report a meaning measure alongside an overlap measure. A description of the same image can use a very different sequence of words because it describes other details. The controlled setting increases measured lexical change while preserving a higher semantic score than either comparison.
On the WikiAnswers test set, the most pronounced improvement is in syntactic diversity. QCPG⋆ attains a syntactic score of 41.5, compared with 24.7 for the baseline and 30.7 for the original question pairs. The corresponding lexical scores are 24.8 for QCPG⋆, 20.9 for the baseline, and 24.4 for the paired questions. The selected WikiAnswers offset asks for a greater change from the predicted reference in syntax than in wording. The results describe what that joint request delivered overall: especially strong variation in the structures of the generated questions, with some additional lexical variation.
Syntactic diversity on the WikiAnswers test set
QCPG changes grammatical structure more than the uncontrolled generator and the paired questions.
The numbers
| System or setting | Normalized tree edit score |
|---|---|
| Paired questions | 30.7 |
| Uncontrolled T5-base | 24.7 |
| QCPG (this paper) | 41.5 |
For WikiAnswers, test-set semantic similarity is 48.5 for QCPG⋆ and 46.6 for the baseline, while the paired questions score 34.6. Self-BLEU is 21.4 for QCPG⋆, 23.4 for the baseline, and 16.4 for the original pairs. The controlled result improves on the baseline in both directions sought by the paper: closer meaning on the semantic score and reduced copying on Self-BLEU. The semantic scores should be read alongside the selection protocol. The condition involving 5 points was used to find an offset on development data. The test figures describe what happened after transferring that choice to held-out sources, where the gains can differ from those observed during selection.
On the ParaBank2 test set, the controlled generator has the highest semantic similarity, at 81.4. The baseline scores 77.8 and the dataset pairs score 75.0. ParaBank2 has the highest semantic scores of the three collections for all three comparisons. The controlled generator’s syntactic distance is 18.9, the baseline’s is 16.8, and the paired targets’ distance is 18.5. Its lexical distance is 19.6, compared with 18.6 for the baseline and 20.9 for the paired targets. The experiment shows improved distance over the baseline on both scores, with the original pairs still providing the greatest measured change in words.
Semantic similarity on the ParaBank2 test set
QCPG scores highest for meaning preservation among the compared outputs and sentence pairs.
The numbers
| System or setting | Normalized BLEURT score |
|---|---|
| Paired sentences | 75.0 |
| Uncontrolled T5-base | 77.8 |
| QCPG (this paper) | 81.4 |
ParaBank2 test-set Self-BLEU is 27.1 for QCPG⋆, 29.4 for the baseline, and 23.9 for the paired targets. This completes a consistent comparison with the baseline across the datasets. At the selected offsets, QCPG⋆ improves measured semantic similarity and both measured distances, and it has lower Self-BLEU. The comparison with the paired targets has a more varied pattern. Those targets have lower Self-BLEU in every dataset, while the controlled rewrites surpass the paired targets on some of the other diversity measures. The best score depends on what is being measured. In particular, a bag-of-words distance and a comparison of word sequences need not rank the same set of sentences in the same order.
What the judges preferred
Meaning preservation is the claim for which the authors sought direct human assessment. From every test set, they drew a sample of 50 source sentences and rewrote each one with both the baseline and QCPG⋆. Annotators saw the source and the two candidate outputs in random order. They chose the candidate that better preserved the source’s meaning or indicated a tie. Overall, 150 triplets were judged by 5 annotators. The authors also checked that the automatic diversity scores on the sampled items were similar to those in the main test evaluation. The human comparison itself asked judges about meaning.
On the MSCOCO sample, the share of votes for QCPG⋆ was .56, the baseline received .36, and the tie share was .08. The WikiAnswers shares were .48 for QCPG⋆, .36 for the baseline, and .16 for ties. On ParaBank2, the corresponding shares were .30, .26, and .44. These are proportions of judges’ votes. For example, the ParaBank2 result places the largest share in the tie category while giving QCPG⋆ a higher share among the two systems. That pattern is compatible with the automatic results favoring QCPG⋆ while showing that many comparisons in this sample were judged equally good at retaining meaning.
The authors report Cohen’s kappa, a measure of agreement that accounts for chance agreement, of .38 for MSCOCO, .47 for WikiAnswers, and .57 for ParaBank2. They tested the difference in votes for the two systems across all datasets using the Wilcoxon signed-rank test, which evaluates paired differences through their ranks. The reported result was a p-value below 0.05 for the pooled comparison. The human assessment therefore supports the overall direction of the automatic semantic measure. The per-dataset vote shares describe where the preference was more or less pronounced.
Examples in the paper show why the paired evaluation adds information beyond averages. An MSCOCO source describes people eating pizza at a long table. The paired caption describes people around a wooden table and leaves out the pizza. The controlled rewrite retains both the long table and the pizza, with a small shift in how it describes the activity. In a WikiAnswers example, the source asks about the temperature scale used in Australia, and the paired question asks about scientific work instead. The controlled rewrite keeps the geographical reference. These cases show how a generated rewrite can score better on meaning than a target drawn from a group assembled using weaker criteria.
Other examples show where the same generation setting can lose meaning. In one WikiAnswers case, the input asks about the relationship between respiration rate and blood pH, while the controlled output drops the specification that the pH is that of blood. In a ParaBank2 case, the source says the internet makes distance less important and suggests the world can become a classroom. The controlled output instead says that the internet itself does not matter. The change turns a claim about what the internet does into a claim about the internet’s importance. These examples give concrete meaning to the gap between an average advantage and the reliability of an individual rewrite.
Recovering a known target
The authors also evaluate the system under a different kind of request. They supply QCPG with the quality measurements of the actual development target and use reference BLEU to assess whether the output recovers that target more closely. The best reported development BLEU across the tested learning rates for the controlled generator is 11.24 on MSCOCO, 19.48 on WikiAnswers, and 34.28 on ParaBank2. The corresponding maxima for the uncontrolled generator are 10.94, 15.22, and 30.22. These are development results with target-derived guidance for the controlled system. The authors used a separate criterion, conformity to the requested controls, to select QCPG for the quality experiments.
This evaluation asks whether the measured relation to a known target conveys usable information to the generator. A source sentence can support a wide range of rewrites. If the target is a short, reordered formulation, knowing its approximate degree of lexical and syntactic change gives the generator some indication of which part of that range to pursue. The evidence from the reference scores complements the held-out quality comparison. In an ordinary generation request, the target is unknown and the controls are set using the predictor and offsets. That is the condition evaluated by the main test results.
What the ablations show
The paper offers controlled comparisons of offset settings and semantic measures, with the uncontrolled generator as a whole-system comparison. The central analysis varies one input offset while keeping the other two at 0. It compares the resulting outputs with the reference setting, where all offsets are 0. The reference setting already incorporates QP, so the analysis asks what changing a request does once the sentence-specific starting point is in place. It measures the response in each of the three output scores, making it possible to see both the intended effect and changes elsewhere.
How individually adjustable the controls are
In the development analysis, the authors express the offsets and responsiveness in units of standard deviation measured for the corresponding dimension and development set. A standard deviation summarizes how spread out the scores are. This scaling lets a reader compare changes relative to the amount of variation normally present on each dataset and dimension. A shift that looks small in raw units can be substantial for a score that usually varies little. The normalization is part of how the authors present and interpret the response curves. The settings used in the grid search are described separately in the original score units.
For offsets up to 2 standard deviations from the reference in the plotted range, increasing the offset increased average responsiveness in the dimension being adjusted. The pattern held across datasets and dimensions in that analysis. A request for increased lexical distance therefore had a measurable effect on lexical distance, and the syntactic and semantic controls showed the corresponding behavior. This is evidence that the control tokens carry information used by the generator. The conclusion is about the direction of the average response over the tested development sentences. The effect can vary with the starting point and with the particular source.
The other output scores also moved. The authors describe the changes in dimensions whose offsets were held fixed as comparatively small. Increasing lexical or syntactic diversity caused a minor decline in measured semantic similarity in this analysis. This matters to the interpretation of a control. Fixing an input offset means the request in that dimension stays at its reference value, while the generator may still produce sentences whose measured score changes. The effects of the controls are partly separable in practice even though the properties of the resulting sentences remain related.
This also explains how the local tradeoff can coexist with the overall test comparison. The response curves ask what happens when one coordinate moves away from the reference setting while the others stay in place. The final comparison asks what a selected combination can deliver against a separate, uncontrolled system. A decline in semantic score along a local increase in diversity leaves open the possibility that the resulting score remains above the baseline’s, particularly when the setting also changes the semantic offset. The two comparisons use different reference points and answer different questions.
Where stronger requests stop helping
The authors extend the analysis to larger syntactic and lexical offsets. The responsiveness curves eventually turn downward. On those parts of the curves, asking for an even larger distance produces less improvement in the corresponding measured score. The paper scales each plotted curve by its own maximum for this analysis, allowing the reader to compare the shapes of the responses. Its evidence concerns the eventual reversal in each curve. The display is designed to make that reversal visible across datasets with different response ranges.
The paper explains the behavior in terms of the difficulty of the request. Moving farther from a sentence’s typical scores can push generation towards combinations with few feasible rewrites or little representation in the training examples. The downturn is consistent with that account. The authors also explain why they do not present a comparable sweep of large positive semantic offsets: the typical semantic values already sit sufficiently high that such offsets would take requests beyond the upper limit for most sentences. This gives the semantic coordinate a different practical range from the diversity coordinates.
The grid of joint offsets offers another view of the tradeoff. In the WikiAnswers maps, the authors inspect a slice at a semantic offset of 50 and vary the syntactic and lexical offsets. Areas with greater average linguistic diversity tend to show lower semantic similarity. Several settings still improve both averages over the uncontrolled baseline. The maps also show the development averages of the paired dataset targets for comparison. This is the evidence behind searching the grid for a joint setting. The authors can inspect where a desired semantic level is attainable and then choose among the remaining options for diversity.
What the semantic metric comparisons establish
The paper’s additional semantic analysis asks how much the measures of meaning respond to differences in expression. It uses differences between the two candidates in each of the human-judged development triplets, comparing the difference in linguistic diversity with the difference in semantic judgments. A negative association means the candidate that varies more in expression tends to be judged less similar in meaning. Such a pattern can occur because the more distant sentence really changes the meaning, because the measure is sensitive to surface changes, or through a combination of those effects.
BLEURT had a weaker association with linguistic diversity than the other automatic alternatives apart from Sentence-BERT, which the authors had excluded from metric selection on exposure grounds. The human judgments showed less dependence on linguistic diversity than BLEURT. Together with the rank agreement study, this makes the selection criterion more precise. The authors wanted a measure that broadly agrees with people about which candidate preserves meaning better and that can recognize shared meaning across changes in wording or structure. The comparison gives BLEURT a relative advantage among the eligible measures while showing that the semantic score remains sensitive to expression.
The metric comparison and the offset comparison isolate different parts of the design. The former asks how suitable a score is for describing and evaluating meaning. The latter uses the chosen score to ask how a trained generator responds when given different quality requests. The baseline comparison then evaluates the full procedure, including the predictor and offset choice. A separate comparison between the full system and an equally tuned controlled generator using an input-independent reference would be needed to estimate the specific contribution of sentence-aware calibration. The experiments establish the behavior of the combined method and the effects of changing its controls.
Limitations
Limits identified by the authors
The authors emphasize that sentences differ in how much they can be rewritten while retaining their content. Names and numbers can constrain the range of acceptable lexical changes. The response curves also show that increasingly ambitious syntactic or lexical requests can eventually produce weaker average gains. A control score is consequently a target for generation, and the paper documents a limit on how reliably the generator follows it. The authors identify improving conformity as an open problem and mention reinforcement learning as a possible research direction.
The source collections introduce a further constraint. Image captions that describe the same scene can select different facts. User-grouped questions can change the subject or scope of a request. Even the more closely aligned pairs can differ in what they explicitly say. This is the reason for measuring pair quality in the first place, and it also limits the supervision available. The data contain relatively few examples that combine large variation in expression with strong preservation of meaning. The generator has to learn about that combination from a collection in which its components can be present in quite different proportions.
The authors also distinguish the usefulness of the automatic semantic metric from its fidelity to human judgment. Their comparison finds BLEURT more influenced by linguistic diversity than the human judgments are. A fluent rewrite with substantial surface change can therefore be difficult to score accurately, just as an output containing many of the source’s words can still change the underlying claim. The test judgments support the direction of the improvement for the sampled outputs. The automatic semantic score remains an approximation used at several stages of the method.
Limits suggested by the experimental design
The sentence-aware procedure relies on the proposed shape of the quality distribution. The reference is learned by regressing from source sentences to scores measured on available pairs. That provides a practical estimate of typical quality under the training collection, whose targets reflect whichever process created the pairs. Whether the scores of all valid paraphrases for a sentence are approximately normal, or whether different sentences have similar variance, remains open. The paper’s development analysis measures the performance of choosing offsets around the learned reference. It gives an empirical way to choose the offsets even when the assumed distribution is only an approximation.
It also matters that the target region is identified through averages. A development setting satisfies a semantic requirement when the average output quality at that setting meets the criterion. Individual outputs may preserve every important detail, omit a constraint, or change a claim. The selected dataset-level offset captures a useful average balance, and the sentence-specific reference adjusts its absolute request. Neither kind of information gives the selector a direct account of which fact in a particular source is most important to preserve. The errors in the examples show how a short omission or shift in scope can matter despite a generally favorable comparison.
The controlled and uncontrolled generators use the same T5-base starting architecture and comparable paired data, giving the main comparison a clear reference. The improvement is established against that uncontrolled baseline. Relative performance against the exemplar-based, tree-based, lexical-control, or unsupervised systems discussed as prior work remains open. Those methods provide different sorts of control, and the reported experiment does not measure their tradeoffs under the same conditions. Likewise, the downstream tasks motivate the choice of output qualities, while the results concern the rewrites themselves. The effect of these rewrites on accuracy in question answering, summarization, or augmentation would require evaluation in those tasks.
The measured structural distance concerns a shallow, word-stripped constituency representation. Rewrites that differ farther down the tree may look similar according to that measure. The lexical comparison ignores word order, so a rearrangement that substantially changes interpretation can still have a small score for lexical distance. These choices serve the goal of measuring partly distinct properties. They leave meaning and form interdependent, as the response curves and metric comparisons show. Self-BLEU broadens the surface comparison, while human judgments provide a separate check focused on meaning.
The human evaluation measures relative preference between two generated alternatives. Ties allow a judge to record equal preservation of meaning, which can occur when both rewrites work equally well or share a problem. The reported vote proportions therefore answer which system was preferred under this task. They do not give an absolute rate of fully equivalent rewrites. The human task also leaves fluency and diversity to other evidence. Generalizing the findings beyond the sampled sources, the tested datasets, and the selected settings requires care, especially since the balance of available rewrites differs substantially across the collections.
What came after
Paraphrasing and AI-text detection examines paraphrasing from the perspective of a system that has to recognize generated text after its wording has changed. The work reports that paraphrasing can evade detectors and presents retrieval as an effective defense. This is a different use of variation from the one measured by QCPG. The relevant question is how a detector responds when a text’s expression changes. QCPG’s distinction between similarity of meaning and similarity of form helps explain why detector behavior is a separate outcome from the quality scores used to judge the rewrite. The citing relationship establishes the connection between the works, while the details of which controls the later experiments used remain unspecified.
Errors in reasoning due to paraphrastic variability asks how frequently differences in phrasing account for errors in natural-language reasoning. This frames alternative expressions as a way to investigate the stability of reasoning performance. A change in response becomes interpretable as an effect of phrasing to the extent that the reformulated item still poses the same problem. QCPG addresses the generation side of that distinction by scoring meaning and expression separately. The later work’s stated question concerns what happens when differently phrased items are used to assess reasoning. The citation gives a connection to controlled paraphrasing, while the particular generation procedure and the measured frequency of such errors remain unspecified.
A further citing work is listed under Lexical generalization. Its identifying label points to generalization across vocabulary as the subject. This connects most directly to the lexical coordinate of QCPG, which measures changes in words separately from changes in sentence structure. The citation establishes that the work refers to QCPG. Its specific use of the generator or the lexical score, and any conclusions it draws about generalization, are unspecified.
Cite
Cite as Elron Bandel, Ranit Aharonov, Michal Shmueli-Scheuer, Ilya Shnayderman, Noam Slonim and Liat Ein-Dor. 2022. Quality Controlled Paraphrase Generation. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{bandel2022quality,
title = {{Quality Controlled Paraphrase Generation}},
author = {Elron Bandel, Ranit Aharonov, Michal Shmueli-Scheuer, Ilya Shnayderman, Noam Slonim and Liat Ein-Dor},
booktitle = {Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2022},
doi = {10.18653/v1/2022.acl-long.45},
url = {https://doi.org/10.18653/v1/2022.acl-long.45}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bandel-2022-quality-controlled-paraphrase-generation/