Elamur Research

Deep Learning for Text Style Transfer: A Survey

Paper · 2022 · Di Jin, Zhijing Jin, Zhiting Hu et al.

Summary

A request can sound abrupt or courteous while asking for the same thing. A rewrite that changes the tone should still leave the reader clear about what is being requested. Text style transfer makes this an explicit task. A system receives a piece of text and a desired attribute, such as greater formality or simpler wording, then produces a version that expresses the source in the requested way. The survey follows more than 100 studies of neural approaches to this problem. It also explains why the field uses the word style for some changes that reach into the meaning itself, such as reversing the sentiment of a review.

The authors organize the methods around the supervision available. When a corpus contains corresponding versions of the same sentence, a system can learn directly from the rewrites. More often, researchers have separate collections for the original and desired attributes, with no sentence-by-sentence alignment. The survey describes three ways to make use of those collections. One tries to isolate the attribute in a learned representation so it can be changed independently. Another identifies wording associated with the original attribute and edits the remaining text as a prototype. A third retrieves or generates approximate pairs and learns from them as though they were aligned examples. Each approach depends on a different assumption about where the two collections share information.

Evaluation is a central difficulty. A good output has to exhibit the desired attribute, preserve the relevant meaning, and read naturally. These requirements can pull in different directions. The survey reports that simply returning the original review can achieve a reference-based BLEU score of ∼ 40 on Yelp, even though copying performs no transfer. A classifier can reward a rewrite that contains familiar style cues even if it changes what the author meant. Human judgments can expose these errors, but their usefulness across studies depends on how the judgments were collected. The authors call for shared benchmarks, comparable baselines, several complementary measures, and the release of system outputs.

The survey treats careful task definition as part of the research. Separating style from content is often a reasonable approximation for sentence-level formality edits. It is harder for an author’s voice across a document or for a sentiment change that should affect only one aspect of a review. Some styles also lack a suitable corpus in the first place. The authors identify prompting, learning from mixed collections, and evaluation based on specific linguistic features as ways to widen the field beyond the settings its existing benchmarks make convenient.

Deep dive: Deep Learning for Text Style Transfer: A Survey

This survey explains how systems rewrite text in a new style, what changes when paired examples are scarce, and how to judge the results. · about 46 minutes to read

The problem and its context

What the source sentence contributes

Text style transfer begins with an utterance someone has already written. The desired attribute tells the system what to change, and the source tells it what the output should continue to communicate. In the paper’s formality example, an informal invitation to sit becomes a more formally worded invitation. The action remains recognizable even though the phrasing and the relationship implied by the wording change. Giving a generator a formality cue alone would let it produce any formal sentence. Supplying the invitation makes the choice of what to say part of the specification.

This distinction matters wherever a writing system revises material supplied by a person. A writer asking for a more professional tone may expect the revision to retain the names, details, and commitments already in the text. A reader asking for simpler medical language needs the explanation to be accessible while retaining the information that makes it useful. In a dialogue system, tone can convey a consistent persona across interactions. These applications share an interest in control over wording, but they give that control different purposes. A rewrite can serve someone who is composing an utterance, someone who needs to understand it, or someone interacting with a system that generates it.

There is a related distinction between changing a sentence and generating one under a style condition. The survey discusses earlier work in which generation responds to a cue for an author, topic, genre, or emotion. The cue constrains the distribution of possible outputs. In a transfer task, the existing utterance adds another condition. An evaluator therefore has evidence against which to check omissions and additions. The survey sees a connection between the ability to guide a pretrained generator and the possibility of using similar controls for rewriting. The source constraint is the extra requirement that any such extension must satisfy. Language models and pretraining

How researchers decide what counts as style

In the linguistic sense used by the survey, style concerns the way a speaker or writer expresses meaning. Word choice and sentence structure can contribute to it. So can devices such as metaphor, or decisions made across a larger piece of writing, such as when to tell the reader about an earlier event. Some styles reflect individual habits. Others arise from shared expectations. Academic formality, for instance, is a convention a writer can follow in a particular setting. A person may change that aspect of their writing from one situation to the next.

Much of the neural literature surveyed defines style through the available data. Researchers obtain collections associated with different labels and ask a system to learn their distinguishing features. In Yelp sentiment transfer, review ratings provide a way to group texts by polarity. Reviews in the groups may share descriptions of similar experiences, while the evaluations differ. This makes it possible to study attribute control without commissioning rewrites of every review. It also gives the term style a broader meaning. Reversing a judgment about the quality of a service changes what the author asserts about that service. The preservation requirement then concerns whatever the task treats as independent of that judgment. Sentiment and emotion

The linguistic and corpus-based definitions sometimes coincide. In a formality corpus created by asking people to rewrite informal sentences, the instructions define the intended difference and the pairs illustrate how it can be achieved. Other labels are obtained from ratings, information about a writer, or the source of a document. These labels are evidence about the circumstances in which a text was produced. Whether a reader can identify the assigned category from the text alone is a separate question. The survey cites prior analysis in which annotators often could not decide, or disagreed, when asked to judge automatically collected material associated with gender or political slant. Linguistic annotation

The practical issue is that anything distributed unevenly across the corpora can help distinguish them. A word may occur frequently in one group because it expresses the desired trait, because the group discusses a different subject, or because of how the examples were collected. A learning procedure sees the association in each case. A transfer procedure has to act on some associations and preserve others. The apparent convenience of learning a style from a large corpus therefore rests on a decision about which kinds of corpus differences should count as style.

The definition also controls what an error looks like. When the target is stylistic formality, changing a named person or dropping a condition on a request would generally count against the output. When the task includes topic or sentiment as an attribute, some changes to propositions can be part of the intended transformation. A review may also express different judgments about different aspects of the same experience. A global polarity label gives the system nothing explicit to say about which judgment should change. The survey proposes aspect-level transfer as a way to make that instruction more precise.

What earlier systems could control

The paper traces earlier approaches to systems with explicit information about the domain and the communicative situation. Weather forecast generators, for instance, selected phrasing to suit different users and degrees of uncertainty. Templates gave the systems ways to express particular combinations of conditions. Frame-based and schema-based generation applied similar ideas to pragmatic constraints such as formality. Designers could supply phrases that expressed a chosen trait, or maintain alternative wordings for a piece of information.

That arrangement gave the designer control at the places where choices had been anticipated. A phrase inventory could encode several appropriate variants of a familiar expression. A schema could decide which form to use in the prescribed situation. The investment was specific to the domain, the phrases, and the attributes the designer had represented. The survey sees a continuation of this tradition in neural editing methods that expose a sentence template and make the search for replacement language a distinct operation.

Neural approaches changed the main source of supervision. With aligned sentences, the training procedure can encounter many human examples of how a request, description, or observation looks after a rewrite. The paper connects this setting to sequence-to-sequence learning developed for machine translation. Both tasks take a sequence as input and produce a corresponding sequence. The relation between the sequences differs in an important practical respect. In style transfer within a language, keeping a phrase exactly as written can be the best way to preserve its information. Rewriting also has to change enough of the sentence to accomplish the requested shift. Sequence to Sequence Learning

When the examples are unaligned, a corpus can show what sentences with the target attribute look like without showing how to get to them from a given source. Early neural work discussed in the survey approached this gap by encoding the source in a hidden representation and trying to isolate the part that carries style. Subsequent work also investigated explicit edits to sentence prototypes and ways of constructing provisional training pairs. The families have different ways of inferring the correspondence that human pairs would have supplied.

Why the survey organizes the field around data

A method that succeeds on closely related sentences can face a very different task when the styles require extensive rewriting. The survey contrasts sentiment edits, where identifying a short expression can sometimes account for most of the change, with transfer between Shakespearean and modern English, where the corresponding versions may share little wording. It also distinguishes tasks that are naturally formulated in both directions from tasks mainly studied in one direction. Formal and informal phrasing can both be useful outputs. Neutralizing a biased sentence or simplifying expert prose normally has a designated target.

Data alignment, direction, and word overlap describe different properties. A corpus can have parallel examples and still require extensive edits. Separate collections can contain similar sentences even when nobody has aligned them. A one-way application can sometimes train a reverse mapping as an intermediate step, although that mapping may have no intended use on its own. The survey uses these distinctions to explain why results assembled under the name of text style transfer can answer substantially different questions.

The authors describe their coverage as representative. They draw mainly from natural language processing and artificial intelligence conferences, with some preprints included for qualities such as novelty and completeness. The review starts from the emergence of neural text style transfer in 2017 and gives readers a common way to read work that uses different terminology, corpora, and measurements. Its methodological contribution is that organization. The individual training procedures and empirical results come from the studies it reviews. Natural language processing

The method, step by step

Specify which attribute changes

Start with the source utterance and its attribute. A corresponding output should carry the desired attribute and retain the parts of the source covered by the task’s preservation requirement. The survey assumes a pre-defined set of possible attribute values for most of the methods it describes. Each value has an associated corpus. In the formality case, an informal corpus and a formal corpus supply examples for the respective values. In a task with several attributes, the assignment can describe several properties of the same text, and the requested rewrite can alter a subset of them.

The introductory task notation places the source sentence and an attribute in the conditioning expression. The verbal definition makes the desired attribute the cue supplied for rewriting. Writing that cue with the prime used for the target throughout the survey gives the following form.

p(x′ | a′, x)

Here p is a conditional probability, x′ is a possible rewritten sentence, a′ is the desired attribute value, and x is the source sentence. The vertical bar separates the candidate output from the information supplied to the system. The source has attribute a in the survey’s notation. Its source label and the requested target label play different roles even in a binary task, where knowing one and knowing the direction can determine the other.

The survey distinguishes x′, which can stand for a real sentence with the target attribute, from x̂′, a transferred or proposed counterpart. That distinction is especially important for synthetic pairs. A real target-style sentence can serve as a training example even when it has no known correspondence with the source. A generated candidate addresses that correspondence by proposing a rewrite. A retrieved candidate is a real sentence borrowed as an approximate counterpart. Its target style can be supported by corpus membership while its correspondence still needs to be inferred.

Learn directly from paired rewrites when available

In a parallel setting, each example gives the learner both ends of a rewrite. The encoder turns the source sequence into an internal representation. The decoder uses that representation to produce the target sequence. The expected output during training is the paired rewrite. The survey describes recurrent encoder–decoder systems and Transformer implementations. The shared architecture is useful because the required result is a sequence whose length and wording can differ from the input. Some implementations also give the decoder a way to copy words such as names or rare terms from the source when those words should carry through. Transformer and attention · Incorporating a Copying Mechanism

The paired training loss shows the system a desired output for a particular sentence. Auxiliary training objectives can emphasize properties that the examples illustrate less directly. A classifier-guided loss rewards outputs that a trained classifier recognizes as belonging to the target style. A self-reconstruction loss gives the system the original attribute as its requested setting and asks it to reproduce the source. A cycle loss asks whether information survives a trip to the other attribute and back. These objectives give a common encoder and decoder further reasons to attend to style and to retain the input.

Related tasks can supply additional examples of useful edits. Work reviewed in the paper combines formality transfer with translation from French to English, or combines informal-to-formal rewriting with grammatical error correction. These tasks put different demands on the same system. Correcting grammar can teach revisions that also occur in a formality corpus. Translation exposes the system to another form of conditional generation. The auxiliary data need only overlap with part of the behavior required for the transfer task.

The time at which a decision is made matters as well. One inference method reviewed in the survey identifies source words that need replacement, then excludes them during beam search, the procedure that keeps several promising partial outputs as decoding progresses. That intervention changes the candidates the decoder may produce after training. It addresses cases where repeated copying leaves a sentence in its original style. Its behavior depends on the prior decision about which words to exclude. If a word is needed to convey the input, the constraint can force the decoder to recover that information some other way.

Parallel training can also use approximate pairs in addition to human rewrites. One formality approach trains a phrase-based translation system on the available pairs and uses back-translation to create additional examples. Another starts with informal English collected from online forums, passes it through a pivot language such as French, and filters the resulting English using a formality classifier. The classifier screens for the desired attribute. The resulting training supervision still inherits any changes to the underlying content made during translation.

Use a hidden representation when the corpora are unpaired

The first major family for unpaired data starts by giving the system a way to represent and reconstruct a sentence. It then modifies the representation or the decoding conditions to produce text in another style. The separation between meaning and attribute is called disentanglement. Its success depends on what information reaches the decoder and what information the style control can override.

Style transfer through a hidden sentence representation

The steps in order.

Style transfer through a hidden sentence representationStep 1: Encode the source sentence1. Encode the source sentenceStep 2: Adjust how the representation carries style2. Adjust how the representation carries styleStep 3: Supply the desired attribute for decoding3. Supply the desired attribute for decodingStep 4: Generate the rewritten sentence4. Generate the rewritten sentence

The diagram summarizes the transfer path. Training gives each stage the ability to do its part. In autoencoding, the encoder learns a vector from the input, and the decoder learns to reconstruct the sentence from that vector. Denoising autoencoding instead corrupts the input by dropping, shuffling, or masking words and then asks the decoder to reconstruct the original. This makes simple copying insufficient for the reconstruction task. The survey associates denoising with later pretrained systems and discusses its use for preserving meaning and improving fluency.

A variational autoencoder represents an input with a distribution from which a hidden vector is sampled. The training objective balances the quality of the resulting reconstruction against a penalty for moving the input-dependent distribution away from a common prior. This gives a way to train a space of possible sentence representations as well as a decoder for individual samples. Auto-Encoding Variational Bayes

Lᵥₐₑ(θᴱ, θᴳ) = −𝔼_{z ∼ qᴱ(z | x)}[log pᴳ(x | z)] + λ KL(qᴱ(z | x) ∥ p(z))

Lᵥₐₑ is the variational training loss, and θᴱ and θᴳ are the encoder and generator parameters. x is the input and z is a hidden vector drawn from qᴱ(z | x), the encoder’s distribution given x. The symbol ∼ indicates a draw from that distribution and 𝔼 averages the bracketed quantity over such draws. The reconstruction term is the negative logarithm of pᴳ(x | z), the probability the generator assigns to the input given the sampled vector. KL is Kullback–Leibler divergence, and ∥ separates its arguments, the encoder distribution and the prior p(z). The plus sign combines reconstruction and regularization, with λ weighting the latter. The prior is a standard normal distribution with mean 0 and identity covariance I. The encoder predicts the mean μ and the spread parameter σ of its input-dependent normal distribution.

The survey also describes adversarial training. A generator maps a noise sample to a candidate representation. A critic assigns scores to real and generated representations, while the trainable encoder and generator work against the critic’s ability to separate the two. The survey combines this contest with a reconstruction term. Generative Adversarial Nets

max ꜰ꜀ min ᴱ,ᴳ Lɢₐₙ = −𝔼_{p(z)}[log pᴳ(x | z)] + 𝔼_{p(z)}[f꜀(z)] − 𝔼_{p(ẑ)}[f꜀(ẑ)]

Lɢₐₙ is the adversarial objective. The maximum is over the critic f꜀, and the minimum is over the encoder E and generator G. z denotes a real representation in the objective and ẑ a generated representation obtained by applying G to noise. p(z) and p(ẑ) label the corresponding distributions beneath the expectations 𝔼. pᴳ(x | z) is the generator’s reconstruction probability for x given z, and log takes its logarithm. The positive real-score term and negative generated-score term encourage the critic to assign a higher score to real samples. Minimizing the objective gives the encoder and generator an incentive to narrow the separation while maintaining reconstruction.

These backbones give researchers somewhere to intervene. In latent representation editing, the intervention changes the encoded vector itself. One procedure trains a classifier on vectors and then updates the vector for a source sentence to raise the classifier’s confidence in the target attribute. The revision remains subject to a reconstruction-related constraint intended to keep the vector connected to its source. A variant reviewed in the survey uses a further autoencoding task on target-style data, sharing much of the Transformer while retaining differences in the query transformations and layer normalization.

In attribute code control, the generator has an explicit style input. An adversarial classifier can encourage the source representation to give up cues for its original attribute. A separate attribute code can enter as the decoder’s initial state or as an embedding. During transfer, decoding uses the code for the desired attribute. In latent representation splitting, the encoder itself produces a style representation and a separate content representation. The style component can then be replaced while the content component is carried into generation. Both designs give the decoder separate inputs. The splitting approach adds an explicit requirement on what the encoder should learn to put into each component.

Train the style controls

The survey sets out several objectives that operate at different points in a disentanglement system. A classifier applied to the generated sentence answers whether the chosen target is recognizable in the final output. The rewritten sentence and its loss can be written separately.

x̂′ = G(E(x), a′)

x̂′ is the generated sentence, G is the generator, E is the encoder, x is the source, and a′ is the requested attribute, supplied through its code or learned representation. The equality specifies the result of encoding the source and then generating with the target condition.

Lₐ꜀ₒ(θᴳ, a′) = −𝔼_{p(x)}[log f꜀(x̂′)]

Lₐ꜀ₒ is the output attribute-classification loss, θᴳ denotes generator parameters, and a′ identifies the desired value. 𝔼 averages over input sentences x from the distribution p(x). f꜀(x̂′) is the pretrained classifier’s probability for that desired value on the generated sentence x̂′. The negative log makes confident predictions of the requested attribute yield a smaller loss. The classifier’s choice therefore becomes a training signal. The survey describes carrying this signal through a continuous Gumbel–Softmax approximation to discrete word choices, or using it as a reward in policy-gradient training.

When the encoder produces a separate attribute representation, another classifier can check whether that representation contains the information it is supposed to hold. To distinguish the label from its vector clearly, the vector is written as a⃗ below.

Lₐ꜀ᵣ(θᴱ, θꜰ꜀) = −𝔼_{p(a⃗)}[log f꜀(a⃗)]

Lₐ꜀ᵣ is the attribute classification loss on the representation. θᴱ and θꜰ꜀ are the encoder and classifier parameters. p(a⃗) denotes the distribution of attribute representations, and 𝔼 averages over them. f꜀(a⃗) is the probability assigned to the known attribute of vector a⃗. Minimizing the negative logarithm rewards an attribute representation from which the classifier can recover the label.

The complementary operation applies a classifier to the representation intended to carry the source content. This time the encoder is trained to make its output difficult to classify by style.

max ᴱ min ꜰ꜀ Lₐdᵥᵣ(θᴱ, θꜰ꜀) = −𝔼_{p(x)}[log f꜀(E(x))]

Lₐdᵥᵣ is the representation-level adversarial loss. The encoder E, with parameters θᴱ, maximizes it, and the classifier f꜀, with parameters θꜰ꜀, minimizes it. E(x) is the encoded representation of the source sentence x. f꜀(E(x)) is the probability the classifier assigns to the true source attribute, and 𝔼 averages its negative log over the distribution p(x). The opposing optimization directions make attribute recognition the classifier’s goal and make interference with that recognition the encoder’s goal.

If the corpora differ greatly in size, averaging over both corpora together can give the more abundant class more influence. The paper gives a version that assigns a separate expectation to each attribute. The schematic is binary.

max ᴱ min ꜰ꜀ Lₐₐₑ(θᴱ, θꜰ꜀) = −𝔼_{p(x)}[log f꜀(E(x))] − 𝔼_{p(x′)}[log(1 − f꜀(E(x′)))]

Lₐₐₑ denotes the balanced adversarial loss. p(x) and p(x′) denote the source-style and other-style sentence distributions, with x and x′ sampled separately. The prime here marks membership in the other corpus. f꜀ returns the probability of the class associated with x, and 1 − f꜀ gives the probability of the other class. E encodes either input. θᴱ and θꜰ꜀ are the respective parameter sets. Each 𝔼 averages the negative log for its own corpus, and the encoder and classifier still optimize in opposing directions. Separate averages stop raw corpus size from setting the relative weights in this expression.

A further adversarial objective judges whether generated sentences resemble authentic target-style sentences. The discriminator for an attribute learns from real sentences in that corpus and generated sentences transferred into it from another corpus. A system can confuse this discriminator by making its outputs resemble the kinds of sentences that occur naturally with that attribute.

max ᴱ,ᴳ min ꜰ꜀⁽ⁱ⁾ Lₐdᵥₒ⁽ⁱ⁾(θᴱ, θᴳ, θꜰ꜀⁽ⁱ⁾) = −𝔼_{p(xᵢ)}[log f꜀⁽ⁱ⁾(xᵢ)] − 𝔼_{p(xₖ)}[log(1 − f꜀⁽ⁱ⁾(G(E(xₖ), aᵢ)))]

Lₐdᵥₒ⁽ⁱ⁾ is the output adversarial loss for target attribute aᵢ. i indexes the target corpus and k indexes a different corpus. xᵢ and xₖ are sentences from those corpora, with sampling distributions p(xᵢ) and p(xₖ). E encodes the latter sentence, and G generates under the condition aᵢ. The discriminator f꜀⁽ⁱ⁾ returns the probability of a real target-corpus example, and 1 − f꜀⁽ⁱ⁾ gives the complementary probability. Each 𝔼 averages its bracketed logarithmic term over the indicated corpus. The θ arguments distinguish the encoder, generator, and discriminator parameters. The discriminator minimizes classification loss, while the encoder and generator maximize it.

max ᴱ,ᴳ ∑_{i ∈ A} min ꜰ꜀⁽ⁱ⁾ Lₐdᵥₒ⁽ⁱ⁾(θᴱ, θᴳ, θꜰ꜀⁽ⁱ⁾)

In this summation shorthand, A supplies the attribute values over which i ranges, and ∑ adds the output adversarial objectives Lₐdᵥₒ⁽ⁱ⁾ for those values. Each f꜀⁽ⁱ⁾ has its own parameters θꜰ꜀⁽ⁱ⁾ and minimizes its term. The shared encoder E and generator G, with parameters θᴱ and θᴳ, maximize the aggregate objective. The survey describes training the discriminators first and then optimizing jointly. It also notes that the discriminator can work on the decoder’s sequence of hidden states so that gradients can pass back through the generation process.

An alternative uses a probability of the sentence under a target-style language predictor. Real examples train the predictor to recognize plausible text from its corpus. Generated examples give the generator an incentive to produce text that the predictor scores well.

Lʟᴍₒ⁽ⁱ⁾(θᴱ, θᴳ, θʟᴍᵢ) = −𝔼_{p(xᵢ)}[log pʟᴍᵢ(xᵢ)] + γ 𝔼_{p(zₖ)}[log pʟᴍᵢ(G(E(xₖ), aᵢ))]

Lʟᴍₒ⁽ⁱ⁾ is the loss for scoring generated outputs for attribute aᵢ. LMᵢ is the predictor for corpus i, pʟᴍᵢ its assigned sentence probability, and θʟᴍᵢ its parameters. xᵢ is real text sampled from p(xᵢ). xₖ is input from a different corpus, with representation zₖ obtained through the encoder E. The survey writes the generated term’s expectation 𝔼 over p(zₖ) while expressing its generation through E(xₖ). The generator G uses the target attribute aᵢ. θᴱ and θᴳ are the corresponding network parameters. log denotes the logarithm, and γ weights the positive generated-example term against the real-example term with its negative sign.

max ᴱ,ᴳ ∑_{i ∈ A} min ʟᴍᵢ Lʟᴍₒ⁽ⁱ⁾(θᴱ, θᴳ, θʟᴍᵢ)

∑ adds the losses Lʟᴍₒ⁽ⁱ⁾ across attribute values indexed by i in A. Each predictor LMᵢ, with parameters θʟᴍᵢ, minimizes its objective. The shared encoder E and generator G, with parameters θᴱ and θᴳ, maximize the aggregate. Through the positive generated-example term, higher probability for rewritten text under the target predictor helps the generator’s side of the objective.

Preserve the source information during training

Style supervision can reward an output that reads convincingly in the target voice even when it omits a detail from the source. The survey therefore gives content-oriented objectives their own role. One uses reconstruction after a style change. In the cycle described in prose, the system rewrites into the other attribute and attempts to recover the original after converting back. This encourages the intermediate rewrite to retain enough information for recovery. The displayed expression in the survey writes the reconstruction terms compactly, with the intermediate transfer and its attribute conditions left implicit.

L꜀ᵧ꜀ₗₑ(θᴱ, θᴳ) = −𝔼_{p(x)}[log pᴳ(x | E(x))] − 𝔼_{p(x′)}[log pᴳ(x′ | E(x′))]

L꜀ᵧ꜀ₗₑ is the reconstruction loss discussed under cycle training. θᴱ and θᴳ are the encoder and generator parameters. x and x′ come from the attribute-specific distributions p(x) and p(x′). E(x) and E(x′) denote their encoded representations. pᴳ gives the generator’s probability for reconstructing each sentence under the condition to the right of the vertical bar. The two expectations 𝔼 average the negative log reconstruction probabilities over the respective corpora. The direction of transfer is supplied by the surrounding training procedure.

A bag-of-words objective asks whether the representation retains the information needed to recover the source vocabulary. The procedure described in the paper can exclude stopwords and style-related words. The retained words then serve as a rough account of content. A softmax turns scores over the vocabulary into a distribution of predicted word features.

Lʙₒᴡ(θᴱ, θqʙₒᴡ) = −pʙₒᴡ(x) · log qʙₒᴡ(z)

Lʙₒᴡ is the bag-of-words loss. θᴱ denotes encoder parameters and θqʙₒᴡ denotes the word predictor’s parameters. pʙₒᴡ(x) is the observed distribution over the selected vocabulary in the sentence x. qʙₒᴡ(z) is the predicted distribution from the content representation z. The log applies to the predicted probabilities and the dot indicates a sum weighted by the observed distribution. The negative weighted sum is cross-entropy, which penalizes assigning low probability to the words the source contains. The loss checks lexical information while leaving word order and relations between words to other training signals.

A complementary bag-of-words objective tries to keep content information out of the attribute representation. The paper’s prose specifies a predictor applied to the style vector, although its displayed cross-entropy repeats z from the preceding formula. Using a⃗ for the predictor input expresses the operation the authors describe.

Lₐdᵥʙₒᴡ(θᴱ, θqʙₒᴡ) = −pʙₒᴡ(x) · log qʙₒᴡ(a⃗)

Lₐdᵥʙₒᴡ is the adversarial bag-of-words loss. pʙₒᴡ(x) is the observed word-feature distribution for source sentence x, and qʙₒᴡ(a⃗) predicts it from the style vector a⃗. θᴱ and θqʙₒᴡ identify the encoder and predictor parameters. The dot weights each logarithmic prediction by its observed probability. The negative sign makes good word predictions yield a lower loss.

max ᴱ min qʙₒᴡ Lₐdᵥʙₒᴡ(θᴱ, θqʙₒᴡ)

The encoder E maximizes Lₐdᵥʙₒᴡ with respect to its parameters θᴱ, and the word predictor qʙₒᴡ minimizes it with respect to its parameters θqʙₒᴡ. A predictor that can recover characteristic source words provides pressure on the encoder to conceal that information in the style vector. The survey also mentions noun overlap and separate rewards for meaning or fluency. These can influence what appears in an output even when a method has no explicitly split latent space.

Edit the wording that carries the attribute

Prototype editing starts with a visible question. Which spans of the source express the attribute that must change? The procedure identifies those spans and removes or masks them. A retrieval step can then find candidate wording for the target style, after which a generator restores a fluent sentence. For a localized edit, the preserved text supplies a strong constraint on what the result can say. The intermediate template also lets a reader examine what a particular marker detector treated as disposable.

The simplest marker methods compare the frequencies of word sequences across the attribute corpora. A sequence that is sufficiently more characteristic of one corpus becomes a candidate marker. The comparison can also use the ratio of mean TF-IDF values, which weight terms according to their frequency and how widely they occur, followed by normalization and a threshold. Another method trains an attribute classifier and takes highly attended words as markers. Attention supplies a score for how strongly the classifier emphasizes a word in context. The survey also describes measuring the change in the classifier’s attribute probability when a word is omitted, and combining corpus statistics with attention when either source of candidates is insufficient. N-grams · TF-IDF

Template(x) = x ∖ Markerₐ(x)

Template(x) is the remaining sentence after the source-style markers have been removed. x is the source sentence, Markerₐ(x) identifies its spans associated with attribute a, and ∖ means deletion of those spans from the sequence. The same operation can be applied to a candidate sentence using its own attribute. Similarity between the resulting templates then guides the retrieval of target wording.

Researchers can represent templates by vectors and use cosine similarity to find a nearby one in the target corpus. The survey describes using TF-IDF vectors, averaged GloVe word vectors, and sentence representations from the Universal Sentence Encoder. A nearby template proposes a context compatible with the markers that were removed from it. The markers supply potential replacement language. Another approach matches templates by part of speech and searches through portions of the retrieved candidates to fill the masked positions. These choices determine whether similarity chiefly rewards shared words, shared grammatical arrangements, or proximity in a learned space. GloVe · Universal Sentence Encoder · Part-of-speech tagging

Infilling turns the template and candidate wording into a whole sentence. A masked predictor can propose words for the missing positions. It can be conditioned on the target attribute, with an additional classifier objective shaping what it inserts. A simpler variant dispenses with explicit retrieval. It builds training pairs from a sentence with its stylistic markers removed and that same sentence with its original wording intact. The generator learns how to restore target-style language from this kind of partial input. Human cross-style pairs are unnecessary for that construction because the complete sentence supplies its own reconstruction target.

The survey connects this pipeline to earlier theories of language generation. Preparing a template and collecting candidate markers assemble the material for the sentence. The final generation stage chooses wording and produces a grammatical surface form. Earlier generation frameworks distinguish referring expressions as another choice. The style transfer systems discussed here generally leave reference handling to the generator. The pipeline consequently makes some decisions visible while relying on learned generation for others.

Build approximate pairs and learn to rewrite them

The third family uses unpaired corpora to construct a training set with proposed correspondences. Retrieval-based pairing searches the other corpus for a sentence sufficiently similar to the source. It can work when different authors independently describe comparable things in the two attribute groups. The survey presents a nearest-neighbor rule based on cosine similarity between pretrained sentence representations. Semantic similarity

x̂′ = argmax_{x′ ∈ X′} Similarity(x, x′)

x̂′ is the proposed rewrite for source sentence x. X′ is the target-attribute corpus, and x′ ∈ X′ restricts the search to sentences belonging to it. Similarity(x, x′) scores each source–candidate pair. argmax returns the candidate with the greatest score. The rule supplies a training counterpart by using closeness as evidence of correspondence. Even the closest sentence can describe a different event or introduce a detail the source never supplied.

Generation-based pairing uses an initial system to create candidate rewrites and then improves the system with those examples. In iterative back-translation, separate systems initially cover the forward and reverse directions. The forward system converts real source-style text into synthetic target-style text. Those pairs train the reverse direction to map synthetic text back to the real source. The reverse system performs the mirror operation on real target-style text. Its generated sentences become synthetic inputs paired with the real target sentences for forward training. Repetition updates both systems and changes the examples they will generate in the next round.

Initialization determines what the first round can learn from. The survey describes random initialization as a simple baseline that may give a poor starting corpus. Another method learns an unsupervised word-level mapping across the style groups and uses it to construct provisional pairs. Iterative Matching and Translation, or IMaT, begins with pairs retrieved by whole-sentence similarity. Both informed initializations give the first training round an approximation to cross-style correspondence.

Subsequent rounds need a way to prefer useful new pairs. One method adds the target-attribute classification objective to encourage the desired style. IMaT instead checks the accumulated candidates for a source sentence and selects a candidate with the desired attribute that is closest according to Word Mover Distance. The distance uses relationships among word representations to assess how much the candidate differs from the original. Repeated generation can provide better candidates, while a selection criterion can retain an earlier candidate if it better meets the requirements. Word embeddings

The three families make use of the corpora at different stages. Disentanglement obtains supervision by reconstructing sentences and asking classifiers or predictors to shape representations and outputs. Prototype editing looks for characteristic expressions and uses the remaining text to constrain the edit. Pseudo-parallel construction converts resemblance or tentative translations into training pairs. The choice of evidence is consequential because the central information missing from unpaired corpora is the same in each case. Researchers have examples of the two attributes and must infer what a corresponding rewrite would preserve.

Experiments and results

What the published evaluations cover

The paper assembles results from earlier studies, including a comparison of disentanglement systems on Yelp. It also reviews evidence from formality transfer and from studies of evaluation itself. Its empirical discussion therefore includes several kinds of numbers. Corpus sizes describe the training material or available examples. Classifier accuracy describes target-style recognition. Similarity scores describe resemblance to a reference or to the source. Experimental gains reported within a particular study apply to that study’s system and evaluation.

For formality, Grammarly’s Yahoo Answers Formality Corpus, or GYAFC, contains 50K formal–informal pairs. Its creators selected 50K informal sentences and obtained formal rewrites from crowd workers. The original selection and the commissioned rewrites give researchers a parallel training resource. The survey also records XFORMAL, an extension of formality evaluation to Brazilian Portuguese, French, and Italian. These resources show how the same general rewriting goal can be instantiated with judgments from different linguistic settings. Multilingual and cross-lingual NLP

Several other corpora illustrate different ways of obtaining supervision. FlickrStyle supplies 5K aligned groups of factual, humorous, and romantic captions, with the image providing a common referent. The Wiki Neutrality Corpus uses revisions to Wikipedia that changed an existing sentence towards a more neutral tone. The survey describes several kinds of bias among the original sentences, including framing and demographic bias. For politeness, the work reviewed by the authors automatically labeled 1.39 million instances from Enron email, with a focus on North American English. The politeness labels provide examples of the attribute in naturally occurring text. The caption and neutrality resources provide more direct correspondences between different forms of expression. English

The range of alignment continues in simplicity and authorship. The paper reports 108K samples for a corpus linking ordinary English Wikipedia with Simple Wikipedia. It describes an unpaired collection of 59K free-text discharge summaries from MIMIC-III and a parallel resource of 114K samples compiled from professional and consumer versions of the Merck Manuals. For authorship-related rewriting, it records 18K aligned Shakespearean and modern English pairs. Equal access to a subject, such as a common medical topic, can support pairing even when the intended readers and their vocabularies differ.

For sentiment, the paper recommends the Yelp preprocessing associated with Shen and colleagues, and it also names Amazon product reviews as a common evaluation setting. For political slant, it reports 540K training, 4K development, and 56K test instances drawn from comments responding directly to posts by members of the United States Congress. The political label follows the setting in which the comment appeared. The benchmark thus gives systems something concrete to learn and gives human evaluators a separate question about how much of the label is evident in the resulting language.

What the Yelp comparison measures

The survey’s Yelp comparison reports several automatic measures where the studies make them available. Reference BLEU compares word-sequence overlap with a human rewrite. The scores in this comparison use the single reference from Li and colleagues. The survey’s recommendation to use all available references in future evaluations includes the separate five-reference resource from Jin and colleagues. Both comparisons use BLEU, but the reference sets define different scoring conditions. A score reported under one condition should be read with that condition attached.

The first chart shows selected entries with reported reference BLEU. Yi and colleagues have the highest reference BLEU among the values shown in the survey’s Yelp comparison. The chart concerns the evaluation outputs scored against the single reference. The survey’s table gives that reference setup without naming a further split for the scores.

Selected Yelp systems by BLEU against the single human reference

Yi and colleagues have the highest reported reference overlap in this comparison.

Selected Yelp systems by BLEU against the single human referenceHu and colleagues: 22.3Hu and colleagues22.3Tian, Hu, and Yu: 24.9Tian, Hu, and Yu24.9Dai and colleagues: 20.3Dai and colleagues20.3Wang, Hua, and Wan: 24.6Wang, Hua, and Wan24.6Liu and colleagues: 18.8Liu and colleagues18.8Yi and colleagues (this paper): 26.0Yi and colleagues (this paper)26.0
The numbers
System or settingBLEU
Hu and colleagues22.3
Tian, Hu, and Yu24.9
Dai and colleagues20.3
Wang, Hua, and Wan24.6
Liu and colleagues18.8
Yi and colleagues (this paper)26.0

The other main result measures whether a style classifier assigns a generated test example the desired sentiment. It is a judgment about the generated text as a member of a class. Because the classifier sees the output as an example of the target attribute, the measure can be applied even when an individual input has no human-written reference.

S = C / T

S is the measured transfer strength, C is the number of generated test samples the classifier assigns to their requested attribute, T is the total number of generated test samples, and the slash divides the matching count by the total. In the chart this measure is reported as classification accuracy in percent. The Yelp comparison records reported accuracy alongside the reference-overlap scores, with some entries available for only some metrics. Text classification

Selected Yelp systems by target sentiment classification accuracy

Li and colleagues lead the reported accuracy comparison, while the reference BLEU chart has a different leader.

Selected Yelp systems by target sentiment classification accuracyShen and colleagues: 73.9Shen and colleagues73.9Yang and colleagues: 91.2Yang and colleagues91.2Tian, Hu, and Yu: 92.7Tian, Hu, and Yu92.7Wang, Hua, and Wan: 95.4Wang, Hua, and Wan95.4Li and colleagues (this paper): 95.5Li and colleagues (this paper)95.5Yi and colleagues: 90.8Yi and colleagues90.8
The numbers
System or settingaccuracy %
Shen and colleagues73.9
Yang and colleagues91.2
Tian, Hu, and Yu92.7
Wang, Hua, and Wan95.4
Li and colleagues (this paper)95.5
Yi and colleagues90.8

The two measures reward different properties. Yi and colleagues have 26.0 reference BLEU and 90.8% target-style accuracy in the Yelp comparison. Wang, Hua, and Wan have 24.6 reference BLEU and 95.4% target-style accuracy. The row for Li and colleagues gives the strongest classifier accuracy in the table and lists 53.3 BLEU against the input. That last score uses the source review as the comparison text. Its purpose is to estimate what wording was preserved. The table gives no reference BLEU for that row, so the available figures support a statement about classifier recognition and source overlap.

The table gives perplexity for some systems as a further indication of fluency. A separate predictor trained on text from the attribute corpora scores how expected the output is. For example, the Yelp table lists perplexity of 18.3 for Liu and colleagues and 109 for Yi and colleagues. Such values depend on the predictor and its training conditions. The paper recommends using the same evaluation predictor across systems when making a direct comparison. In its table, the authors flag figures reported by Liu and colleagues where relevant and present the compilation as a reference for performance, with gaps across metrics.

What copying and human judgments reveal

Copying is an important baseline for reference overlap. The survey reports ∼ 40 reference BLEU on Yelp for returning the input and ∼ 20 on Humor & Romance. It gives ∼ 50 for copying in informal-to-formal evaluation and ∼ 30 in the reverse formality direction. Each figure describes overlap between the unedited input and gold rewrites under the corresponding dataset or direction. Much of a valid target sentence can already be in the source. A large overlap score can coexist with an unchanged attribute, which is exactly what the copying baseline illustrates.

The survey discusses pairing reference BLEU with PINC, a measure that rewards change in wording relative to the source. This treats movement away from the original phrasing and movement towards the human references as distinct observations. Their joint interpretation still depends on the task. A polite rewrite might need very few edits, and a closely aligned reference may share most of the original phrasing. A major rephrasing can preserve the meaning with much less surface overlap. The amount of change is informative when read against what the particular transfer requires.

For semantic preservation, the reviewed studies use a range of comparison functions. Some compare sequences or words, such as ROUGE, METEOR, and chrF. Others use the distances between word representations, sentence vectors, or contextual representations, as in Word Mover Distance and BERTScore. One proposed evaluation first removes expressions associated with the attribute, then compares the remaining text to concentrate on content. The survey reports that Mir and colleagues and Yamshchikov and colleagues found METEOR and Word Mover Distance better aligned with human judgments than BLEU in their evaluations. Those findings describe the evaluated comparisons. METEOR · chrF · BERT

Some of the paper’s most direct numerical evidence concerns disagreement between automatic and human measures. It cites a correlation of ≤ 0.30 between BLEU and human-rated grammaticality in Li and colleagues’ evaluation, and ≤ 0.45 between BLEU and human evaluations in Mir and colleagues’ study. The statistic in each case measures agreement between an automatic score and the human judgments being compared. It is neither a transfer rate nor a fluency score. For style classification, the survey reports good agreement with human ratings on Yelp and Captions in Li and colleagues’ analysis, and almost no agreement on Amazon, where dominant polarities in some product categories complicate the measure.

Human evaluation can have readers give each output a score, compare two outputs directly, or rank a group of outputs. It can ask for separate judgments of target style, meaning preservation, and fluency, or seek an overall judgment. The paper describes 100 outputs in each transfer direction as a common sampling practice with two annotators per task. Those counts describe a convention in the reviewed literature. Reader background, annotation instructions, and agreement reporting determine how much can be inferred from the resulting scores. Evaluation and benchmarks

What the paired-data studies report

The survey also reports within-study improvements on reference BLEU for formality transfer. Xu, Ge, and Wei used classifier guidance, self-reconstruction, and cycle losses in a paired training setup. The survey associates the individual objectives with gains of 1–5 BLEU points against human references. Niu, Rao, and Carpuat report a gain of 1 BLEU score against human-written references from jointly training style transfer and French-to-English translation. Wang and colleagues report improvement by at least 7 BLEU points against human references with pretrained GPT-2. These are gains reported for the respective formality experiments. The survey’s discussion does not give the absolute baseline and split specification for each change.

For data augmentation, the survey describes an increase of around 9.7 BLEU points against human rewrites in Rao and Tetreault’s formality experiments after adding examples produced through phrase-based back-translation. The setting combines the real pairs with additional synthetic correspondences. The gain quantifies performance under that study’s reference-based evaluation. It gives no direct estimate of the percentage of synthetic pairs that preserve meaning or of how much readers prefer the resulting rewrites.

The survey recommends making at least one experiment directly comparable with prior work by using a common benchmark, recent competitive baselines, and compatible measurements. It also asks researchers to share system outputs and evaluation code. The same outputs can then be rescored when a study changes reference coverage, classifier, or scoring script. A shared output gives subsequent evaluations a constant object of comparison even when their measurement procedures differ.

What the ablations show

The survey runs no ablation experiment of its own and instead analyzes component changes reported by earlier studies, diagnostic baselines, and differences among method families.

Which changes have evidence from within a study

The paired formality results reviewed from Xu, Ge, and Wei address what happens when particular objectives are added to sequence-to-sequence training. Classifier guidance contributes an explicit check of the desired attribute. Self-reconstruction encourages fidelity when the style is held fixed. Cycle training asks whether the system can recover an input after the attribute is changed and then restored. The gains in reference overlap tell us that these auxiliary signals can support the supervised task in that setup. A reference score alone leaves open which observable property of the output improved in each comparison. Establishing that would require judgments targeted at style, content, or fluency.

Back-translation augmentation in the GYAFC work tests a different intervention. The researchers change the amount and provenance of the training material by adding synthetic pairs. The reported improvement indicates that those pairs can improve the system’s agreement with human rewrites under the chosen evaluation. In joint training with French-to-English translation, the new supervision comes from a related task. That comparison bears on whether transfer can benefit from broader language generation training. The two interventions answer different questions even though the survey describes both using reference BLEU.

The inference method reviewed from Kajiwara makes the time of intervention explicit. The generation search is restricted after a system has already been trained. The method can target excessive copying without requiring the weights to change. Its logic is clearest where style is carried by recognizable words and their removal leaves the intended message recoverable. The survey describes the mechanism and its applicability to existing systems. It supplies no common numerical comparison isolating the same decoding constraint across the surveyed approaches.

Which comparisons diagnose the evaluation

The copying baseline holds the sentence itself fixed and changes what is being scored. Comparing that input with the reference can give substantial BLEU, while comparing its attribute with the requested one reveals that the rewrite has never taken place. The example isolates a property of the measurement. Many references preserve much of the source wording. The amount of preserved wording can dominate a score intended to help characterize a rewritten sentence.

The Yelp and Amazon comparisons show that the alignment of an automatic classifier with human judgment can vary by corpus. A product strongly associated with positive reviews can appear in a legitimately negative rewrite. A classifier conditioned by the training distribution can still assign its familiar label. An output with less faithful content can have the opposite advantage if it imitates high-weight cues particularly well. An independent evaluation classifier reduces the chance that training has directly optimized its quirks. Independence alone leaves the underlying corpus associations and the distribution shift in place.

The fluency evidence offers another instance of sensitivity to the evaluation setting. The survey reports that Pang and Gimpel observed a high correlation between perplexity and human fluency judgments, while Mir and colleagues found no significant correlation with human scores. The studies, as surveyed, give grounds to treat that relationship as dependent on the chosen system and data. Frequent words can make an output easier for a predictor to anticipate, and preceding context can affect the probability assigned to a sentence. A reader may find two versions similarly fluent even when those versions receive different probabilities.

What the comparisons among families can establish

The Yelp table records systems with different reconstruction methods, latent-space manipulations, and training losses. It shows which combinations have been tried and which metrics have been reported. Scores from entries that change several decisions at once cannot isolate any individual component. The chart leader for style accuracy and the chart leader for reference overlap demonstrate why even a shared dataset leaves the criterion for success to be specified.

The authors’ qualitative comparison of the families identifies conditions under which particular mechanisms have leverage. Prototype editing has a strong preservation mechanism when the retained template still expresses the core content. Template retrieval loses that leverage when the rewrite changes much of the sentence. Synthetic pairing benefits when the corpora offer close counterparts or initial transfer produces useful proposals. Latent editing can act without an explicit word template, but it relies on the learned space retaining the information the rewrite should preserve. These comparisons explain how the approaches can fail under different assumptions. They leave the size of those effects to a controlled evaluation.

Limitations

Limits the authors state

The literature reviewed tends to assume separate corpora for each desired style. This is convenient when labels are already available, and it makes less studied styles difficult to address. The authors use cheerful style to illustrate a linguistic category for which a suitable large corpus may be absent. They suggest prompting, constructing templates, or generating synthetic training examples as ways to reduce dependence on matched corpora. They also discuss learning to distinguish styles in a mixed collection whose examples have no style labels. Such alternatives still need a source of evidence about what variation should be controlled. Few-shot learning

The paper explicitly limits the separation of style and semantics to cases where the distinction can be made approximately. A literary allusion may convey a way of telling a story and information central to the story. The subject of a passage can influence which voice a writer adopts. In authorship transfer, an individual’s characteristic themes and rhetorical habits can be related. Longer texts can also express style through their ordering of events or distribution of information. The authors propose extending the task to documents, aspect-specific changes, and cross-domain settings. Sentence-level corpora supply incomplete evidence for these uses. Discourse analysis

For latent methods, the authors point to the need for inductive biases or another source of supervision to obtain disentanglement. Reconstruction and attribute classification constrain pieces of the representation. The general problem still admits different ways of organizing the same information. The paper also identifies training difficulties for variational and adversarial systems, the challenge of expressing a heterogeneous style through a latent code, and the growing cost of handling more styles.

Prototype editing is sensitive to the quality of marker detection and the amount of text left after deletion. If style and subject matter are confounded, a detector may remove a word naming what the sentence is about. If corresponding styles use quite different language, the templates may be too sparse to support a good match. Comparing all cross-corpus candidates can require substantial computation. The survey also notes the expense of generation variants that need a separately pretrained predictor for each target style. High overlap scores can make these weaknesses harder to see, since the words preserved by an editor already contribute to BLEU.

Pseudo-parallel construction has different dependencies. Retrieval needs enough similar examples across the corpora. Small collections or collections with distinct subjects supply fewer reliable pairs. Iterative back-translation needs a useful starting point and can diverge as it repeats its own errors. Generating sentences and retraining in repeated rounds also costs time. An attribute check or a similarity-based selection rule can help control the process, while the quality of either check places a limit on the pairs it can verify.

The paper treats evaluation as a continuing limitation. Reference measures are sensitive to lexical overlap and reference availability. Style classifiers can reward coincidental signals or penalize legitimate examples that differ from their training data. Perplexity depends on word choice, length, context, and the evaluation predictor’s domain and configuration. Human evaluation reaches properties automatic metrics miss, yet results are harder to compare when studies use different raters, scales, or instructions. The authors recommend reporting inter-rater agreement, documenting protocols, and sharing annotations. They also suggest task-specific linguistic checklists, which can show more precisely what a system changes. Interpretability

The authors also discuss who benefits from a rewrite and whose interests it may affect. Reducing abusive language, making professional writing more accessible, and helping a writer adjust formality are among the applications they examine. Changing the polarity of reviews or the tone of political comments can misrepresent the original author. Changing signals associated with a writer’s identity can support anonymity or facilitate deception, depending on how the output is used. The survey separately raises privacy questions about collecting sensitive demographic labels. These concerns follow from the attribute and the application, even when the same technical procedure can serve several purposes. Bias, fairness and safety

Limits that follow from the survey’s setup

A literature comparison can identify reusable method choices and report how systems performed under the conditions of their studies. A causal claim about one training choice requires a comparison that holds other choices constant. The Yelp compilation is concentrated on one benchmark and one common kind of transfer. Its values cannot determine whether an approach will perform similarly with an attribute that needs a larger rewrite or an entire document’s worth of context. Missing cells also matter. A strong result on one available measure leaves uncertainty about the measures that were never reported for that system.

A parallel pair gives a specific example of a successful rewrite, and human references can reflect different decisions about wording, politeness, or how much detail to preserve. The score against a particular reference therefore measures agreement with one acceptable realization or with the available set of realizations. The same reasoning applies to pseudo-parallel pairs with more force. High similarity can select a pair that shares many words or a topic while disagreeing about what happened. Training on such a pair teaches the chosen approximation along with the desired transformation.

Latent objectives also place narrower constraints than the ordinary-language descriptions of their goals might suggest. Making one classifier unable to read an attribute from z demonstrates difficulty for that classifier under its training conditions. It does not establish that the representation contains no recoverable trace of the attribute. Likewise, predicting a bag of words establishes that some of the source vocabulary is recoverable. It leaves open whether the representation preserves who did what, under which conditions, or with what scope of negation. These distinctions matter for a system that will use the representation to generate a factual rewrite.

The operational meaning of a label creates a further limit. If the label comes from a user account, a rating, or the location of an online comment, it represents the chosen collection rule. A highly successful classifier can reproduce that rule’s correlations. An evaluation claiming successful transfer of a recognizable human style also needs evidence that the resulting distinction is recognizable and appropriate to the intended readers. The survey’s contrasting examples of formality, political slant, and consumer sentiment make explicit how much can change when researchers move from a linguistically specified goal to a proxy label.

What came after

Prompting, steering, and editing

The survey proposed prompt design as a way to attempt rewriting for styles without large, specially matched corpora. A closely dated citing work puts arbitrary style transfer itself in the foreground. Reif and colleagues’ recipe for arbitrary text style transfer addresses control over the requested style as a general problem. Its question follows directly from the survey’s data assumption. A system that can accept an arbitrary style request would need a way to interpret a new control while still grounding its output in the source sentence. The title dates to 2021, so the connection is to the survey’s research agenda around the same period. A Recipe for Arbitrary Text Style Transfer

RLPrompt studies how to optimize discrete text prompts with reinforcement learning. This moves attention to how the textual control is obtained. In the survey’s framing, a prompt could potentially express the attribute without a separate corpus for every requested style. Optimizing the prompt makes its wording a variable that can be learned. The survey’s evaluation questions still apply to this avenue of work. Effectiveness at eliciting a desired behavior and fidelity to a particular input require evidence about different parts of the resulting sentence. RLPrompt

Subramani and colleagues’ work extracts latent steering vectors from pretrained systems. Turner and colleagues study steering through activation engineering. The relevant connection is the location of control. The survey describes changing an encoded representation or supplying a separate attribute code to a decoder. These citing works place the steering operation in the internal representations of a pretrained system. The conceptual connection leaves open whether a steer has the same effects on meaning, fluency, and style as one of the survey’s explicitly trained encoder–decoder procedures. Extracting Latent Steering Vectors · Activation Engineering

Agrawal and colleagues study an imitation learning curriculum for non-autoregressive text editing. Their stated focus is how to train an editor, which connects to the survey’s account of improving the rewrite procedure itself. In prototype editing, explicit decisions about content and attribute markers give the generator an intermediate result to work with. A curriculum for editing addresses the training side of that broader problem. Diff4TST takes another architectural direction with masked diffusion for text style transfer. The mask links it conceptually to the survey’s discussion of infilling, while its stated use of diffusion identifies a different generation approach. An Imitation Learning Curriculum for Text Editing · Diff4TST

Languages, domains, and data

The survey’s comparison of parallel and non-parallel supervision gives a way to read the Bangla work, which addresses low-resource style transfer through both data and systems. For Arabic, work on sentence simplification investigates classification and generative approaches, bringing the survey’s question about the relation between style judgments and generation into a setting where the desired attribute is simplicity. Work on a parallel corpus for central and northern Vietnamese points to the complementary corpus problem. The value of parallel examples is that they can show a correspondence across varieties directly. Low-Resource Text Style Transfer for Bangla · Arabic Sentence Simplification · Parallel Corpus for Central and Northern Vietnamese

Detoxification illustrates how an application can expand along several dimensions. Methods for detoxifying Russian texts address the task in a specific language. The later work on multilingual and explainable detoxification foregrounds cross-language coverage, parallel corpora, and explanations. Pairing is directly relevant to the survey’s distinction between having examples of a target attribute and having a corresponding rewrite. Explainability also connects to the survey’s account of prototype methods, where explicit marker and editing decisions can be inspected. Neither connection determines which procedure is used in a particular detoxification system. Russian Text Detoxification · Multilingual and Explainable Text Detoxification

The Codezone study at AraSentEval concentrates on Arabic sentiment swap on the MA'AKS Corpus. Its stated comparison includes multilingual T5 and large pretrained generators and explicitly frames sentiment swap as a task beyond prepending a negation. This gives the survey’s concern about superficial cues a concrete counterpart. A polarity change imposes a criterion on the result, and the relationship between the old and new sentences determines what that change amounts to. Evaluating whether a system did the right rewrite therefore remains tied to what moved with the polarity and what stayed traceable to the source. Arabic Sentiment Swap at AraSentEval

Other citing works make the target less like a single sentence label. Cultural Adaptation of Recipes addresses adaptation in a particular kind of document. Its connection to the survey is the potential overlap between content and style. A task framed around cultural adaptation invites a decision about which details are part of what should be preserved. PEPDS brings politeness, empathy, and persuasion together in dialogue for charity donation. It connects the survey’s discussion of controllable dialogue with the multi-attribute setting, where several communicative properties can matter at once. These goals provide different reasons to examine what an output retains from its source and what the intended audience needs from it. Cultural Adaptation of Recipes · PEPDS

What it means to recognize a style

Wang and colleagues ask whether learned authorship representations capture stylistic features. The survey’s treatment of disentanglement supplies a premise for that question. A representation can distinguish corpora using any information correlated with the label. Testing what it actually encodes is a separate undertaking. Arabic benchmarking work brings authorship attribution and style transfer into the same research topic. Attribution asks whether a signal supports recognition of the writer, while transfer asks whether writing characteristics can be deliberately changed in an output. Putting the questions side by side makes the definition of a stylistic signal consequential for both. Authorship Representation and Stylistic Features · Arabic Authorship Attribution and Style Transfer

Liu and colleagues compare ChatGPT and human-authored text in the context of controllable summarization and sentence style transfer. The comparison connects to the survey’s discussion of downstream generation, where style is one property of an output that also has to track source material. Nguyen and colleagues study social perceptions of English spelling variation on Twitter by comparing human and generated responses. That focus complements the survey’s concern with how human readers recognize a style and how well a computational judgment reflects their responses. For spelling variation in particular, the form being judged is itself part of what can convey social information. ChatGPT vs Human-authored Text · Social Perceptions of English Spelling Variation

CLASE addresses evaluation of stylistic features in Chinese legalese through a hybrid method. It gives the survey’s interest in specialized style criteria a concrete domain, where a general judgment of fluency would answer only one part of an evaluation. Yamauchi and colleagues study sentence similarity predictions across datasets with attention to semantics and style. Their stated focus returns to the problem that appears throughout the survey. A similarity score may respond to wording, meaning, or both, and its usefulness for judging a rewrite depends on which differences the task asks it to reward. CLASE · From Semantics to Style

Cite

Cite as Di Jin, Zhijing Jin, Zhiting Hu, Olga Vechtomova and Rada Mihalcea. 2022. Deep Learning for Text Style Transfer: A Survey. Computational Linguistics.

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

@article{jin2022deep,
  title = {{Deep Learning for Text Style Transfer: A Survey}},
  author = {Di Jin, Zhijing Jin, Zhiting Hu, Olga Vechtomova and Rada Mihalcea},
  journal = {Computational Linguistics},
  year = {2022},
  doi = {10.1162/coli\_a\_00426},
  url = {https://doi.org/10.1162/coli_a_00426}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/jin-2022-deep-learning-text-style-transfer/