Quark: Controllable Text Generation with Reinforced Unlearning
Paper · 2022 · Ximing Lu, Sean Welleck, Jack Hessel et al.
Summary
A fluent continuation can still be an unsuitable one. It might turn an ordinary opening into an insult, repeat the same phrase until the passage loses its meaning, or take on a tone at odds with what the user wants. Quark, short for Quantized Reward Konditioning, is a method for adapting a pretrained language model when a desired change can be expressed as a score for the completed text. A toxicity detector, for instance, can rate a passage as a whole. That rating gives the authors a way to compare passages, even though it supplies no direct instruction about which word the generator should have chosen at any point.
Quark turns these ratings into a training signal by first generating continuations for a collection of prompts. It scores the continuations, ranks them together, and divides the ranking into equally sized groups. Each group gets a special token. During fine-tuning, the generator learns to predict the words of a stored continuation when given its prompt and the token for its group. A penalty compares its next-token probabilities with those of the original pretrained generator. The updated generator then supplies more continuations, using the token for the highest-ranked group to search for better examples. New and old examples are ranked together. At test time the same high-reward token tells the generator which kind of continuation to produce, without requiring a fresh score to select each answer.
On RealToxicityPrompts and the creative-writing collection WritingPrompts, Quark produced less toxic text by the paper’s automatic measures than the comparison systems, including Proximal Policy Optimization, while retaining fluency and diversity comparable to ordinary GPT-2. Human raters also favored its continuations for toxicity, topicality, and fluency. On OpenWebText prompts, Quark could steer sentiment in either direction, including when the opening invited the opposite tone. Repetition was a different case. A loss designed specifically to discourage repeated tokens did better than Quark alone. Combining the two yielded less repetition than either by itself and improved human ratings of the resulting passages.
Quark shows how a score for an entire passage can guide ordinary next-token training. It avoids the learned value function and some of the tuning choices involved in the paper’s comparison with Proximal Policy Optimization. Its design also lets the authors vary how strongly to favor the reward over fidelity to the starting generator. Those aims sometimes pull in different directions. The paper uses unlearning to describe a reduction in unwanted outputs under the chosen generation conditions. The effect depends on what the reward recognizes, and the authors treat it as a way to steer behavior within those limits.
Deep dive: Quark: Controllable Text Generation with Reinforced Unlearning
Quark learns from scores on its own text to curb toxicity and repetition or change sentiment while preserving fluency and diversity. · about 43 minutes to read
The problem and its context
What a completion should do
In open-ended text generation, the prompt typically admits many plausible continuations. A story opening might lead to a sympathetic observation or a hostile one. A short fragment might be followed by a coherent passage or by a loop that keeps returning to the same phrase. Ordinary pretraining teaches the generator to assign probability to text as it occurs in its training material. The resulting probabilities can support readable prose and useful responses to examples in a prompt, abilities the paper treats as worth retaining when the generator is adapted. Those same probabilities can also make an unwanted continuation easy to produce. The probability of a passage and its suitability for a user therefore answer different questions. Language Models are Few-Shot Learners
The authors choose examples of unwanted behavior that differ in kind. Toxicity brings in the social effects of generated language, including offensive completions of seemingly harmless openings. Unwanted sentiment depends on the requested direction: positive language may be right for one use and wrong for another. Degenerate repetition concerns the organization of the continuation itself. GPT-2 can keep choosing locally plausible words and still end up producing a passage with little new content. Treating these as instances of the same learning problem requires some way to specify the target independently of the generator’s existing probabilities. The Curious Case of Neural Text Degeneration
One possibility is to assemble a corpus of desirable continuations and continue training on it. That approach makes the training target familiar: increase the probability of the examples selected for the corpus. The difficulty moves into selection. A collection that avoids offensive language may have a narrower range of topics or styles than the material on which the generator learned to write. If adaptation fits this collection too closely, the generator may lose useful behavior outside it. A further problem is that an unwanted property can be much easier to recognize after seeing an output than to turn into a collection of representative alternatives. Even for a seemingly straightforward goal such as avoiding excessive repetition, there are many ways to say something fresh. The paper frames retention of the original generator’s useful behavior as part of the adaptation problem. Keep Pretraining to Adapt Language Models to New Domains and Tasks
A detector supplies another kind of supervision. In the toxicity case, a text classifier can score what was actually written. The generator chooses tokens one at a time, however, and the detector returns a result for the assembled passage. There is no ordinary gradient through those discrete choices and the detector’s final response that tells the generator how to change its next-token probabilities. Even access to a detector’s internal calculations would leave the problem of connecting a score on a sampled text to the probabilities that produced it. Quark works with the score and the sampled text as training data.
How earlier methods used feedback and controls
The paper places this problem in the history of reinforcement learning for language tasks. Earlier work used scalar feedback for tasks ranging from structured prediction to summarization and machine translation. A score can assess a completed prediction without having to express its judgment as a target token at each position. The paper also points to reward-based approaches to question answering, story generation, and training with human preferences. These precedents make it natural to describe a prompt as an input, a whole completion as a choice, and the resulting score as a reward. A Deep Reinforced Model for Abstractive Summarization
Proximal Policy Optimization, or PPO, is a principal comparison. In the language-generation setting discussed by the authors, PPO adjusts a policy, meaning the probability distribution used to make generation choices, to improve a reward. Related work also imposed a cost for departing from the original policy. That made PPO relevant to the paper’s goal of changing one behavior while retaining others. The authors point out that reward estimates can vary substantially and that PPO uses a learned value function and specialized optimization choices to stabilize updates. Maintaining the value function can add substantially to the number of trainable parameters. Quark retains the reference to the original generator while using a different route from reward to training loss. Training Language Models to Follow Instructions with Human Feedback
The Decision Transformer offered a separate precedent. It represented the desired reward in the input and learned to predict actions in that context. The reward becomes an instruction that can be supplied before the action is taken. Quark applies that idea to a whole continuation with a single reward and periodically collects more experience. The authors discuss the original Decision Transformer and Trajectory Transformer as offline methods, where the learner receives a fixed dataset of trajectories. They also identify the Online Decision Transformer as a contemporary approach that adds online learning. Their own setting is narrower than a trajectory with rewards distributed across decisions: Quark scores a completed response to a prompt.
A further precedent was conditioning language generation with control codes. A generator can learn an entry in its embedding table that represents a style or subject, then use that entry when predicting a continuation. Work on learned prompts and prefixes supplied related examples of control through representations supplied at the input. Quark gives such an entry a specific meaning. It represents the relative reward of the outputs assigned to it, with the examples supporting that meaning changing as training proceeds. Absent that connection to the ranked pool, a special token would simply be another extra input. CTRL and The Power of Scale for Parameter-Efficient Prompt Tuning
The authors also situate Quark among methods that intervene at different moments in a generator’s use. Some training objectives discourage undesirable sequences in the first place. Some methods steer an already trained system at decoding time, for example through a prompt or a constraint on its outputs. Work on editing seeks to change behavior after training, frequently with particular examples or facts in view. Quark’s target is a property expressed through a reward across many prompts and continuations. The paper treats these interventions as potentially complementary. Its repetition experiment is a direct test of that idea because the authors combine their reward-based procedure with an objective already designed to penalize repeat choices.
The method, step by step
From a passage score to a training example
Imagine a collection of story openings and a scorer that favors passages with little repetition. The starting generator supplies endings for the openings. The ones that fall into loops receive low rewards. Endings that keep introducing new word sequences earn higher ones. Once the endings are sorted, a token can identify the group containing the least repetitive examples. During training, the learner reads that token and an opening, then tries to predict the ending assigned to them. A different ending from a lower-ranked group can be used with that group’s own token. The distinction between the endings is expressed in what the learner is asked to condition on.
This setup gives low- and high-scoring text different instructional roles. A low-scoring passage still supplies an ordinary example of how to continue a prompt when the input specifies a low reward. A high-scoring passage teaches what belongs under a different condition. The learner shares parameters across the conditions, and the highest-reward condition is the one used to request a completion at test time. The hope is that fitting the groups together preserves a broad range of linguistic examples while making their reward differences available through the control input.
The choice of examples is also part of the method. After learning from the initial collection, Quark asks the updated generator for further passages under the best reward token. Some of these will score well and others will fall short. All go back through the scoring and ranking process. This lets improvement affect the next round of supervision. A good new continuation can enter the highest group, while an older continuation with an unchanged score can move down because the overall pool has improved. The generator is thus repeatedly asked to learn from a ranking that includes its recent behavior.
How Quark builds and uses its reward groups
The steps in order.
Starting with prompts and a fixed reference
The starting point is a pretrained source of continuations, a set of prompts, and a reward function. Each prompt and continuation consists of tokens from a vocabulary. A token is an individual unit of the generator’s input or output. Its meaning for this procedure is simply that it occupies a position in the sequence and has an entry in the distribution over possible next units. The value of the reward is a real number for a complete prompt and continuation. The function can depend on the prompt as well as the output, even when a particular experiment uses a detector concerned with the generated passage. Tokenization
The initial pool is defined by generating from the fixed pretrained source:
𝒟₀ = { (x, y, r(x, y)) | x ∈ X, y ∼ p₀(· | x) }
Here 𝒟₀ is the initial data pool, x is a prompt, y is a continuation, and r(x, y) is their scalar reward. X is the set of training prompts. The expression x ∈ X means that x comes from that set. The notation y ∼ p₀(· | x) means y is generated using the initial distribution p₀ conditioned on x. The dot is a slot for any possible continuation, and the vertical line inside the parentheses marks what the distribution is conditioned on. Inside the braces, the vertical line introduces the conditions for including records in the pool. The subscript ₀ identifies the initial, fixed version.
The formulation permits different decoding methods. Greedy decoding picks the most probable available token at each step. Beam search retains multiple candidate prefixes during generation. Nucleus sampling draws from a subset of the most probable next tokens defined by their cumulative probability. These procedures produce different text even when they start from the same predictor. Quark attaches a reward to the resulting passage, so the choice of decoding influences the pool through the passages the scorer actually sees. The authors also allow the initial pool to contain prompt–completion pairs from another source, such as a supervised collection, once those pairs have been scored.
From this point on, the trainable copy and the reference have separate jobs. The copy, written pθ, supplies new passages after the initial collection and receives updates. The reference p₀ continues to provide the original probability distributions against which the updates are regularized. In particular, the reference is held fixed across successive rounds. Each round can change which passages the trainable copy supplies without moving the point of comparison used in its loss.
Sorting into reward quantiles
The authors order the pool by increasing reward and divide it into K groups of equal size. Such groups are called quantiles because their boundaries are determined by ranks in the observed collection. Each group, written 𝒟ᵏ in the objective, gets a token rₖ associated with its rank k. The bottom group contains the lowest-scoring examples in the pool. The top group, 𝒟ᴷ, contains the highest-scoring ones and is identified by rₖ when k equals K. The vocabulary of the trainable generator gains a separate learned entry for each reward token.
The notation uses r in two related ways. The function r(x, y) returns a numerical score after an example is complete. The symbol rₖ denotes a special input token, with its own embedding, for the quantile bearing index k. The score assigns an example to a group through its rank. The token tells the learner which group that example came from. Nothing in the token expresses an absolute toxicity, sentiment, or diversity score. Its interpretation comes from how examples were grouped and how the embedding was trained.
Equal-sized groups can cover very different ranges of raw rewards. If many examples lie close together near the bottom of the ranking, the corresponding quantile can have a narrow score range. If the best examples differ greatly, the top quantile can span a wider range. A shift in the pool also changes the meaning of membership. A passage’s reward remains attached to that passage as newer examples arrive, but the boundary it lies on either side of can move. This distinction is useful for reading the paper’s analysis of quantiles across training: improvement in the contents of the groups and separation between the behaviors elicited by their tokens are related observations.
Quantization also changes how reward information affects the update. The underlying magnitude of a score has no separate weight in the likelihood term. Two examples with appreciably different scores can receive the same condition if their ranks put them in the same group. Conversely, two examples close to a boundary may receive different conditions. Keeping the groups about the same size ensures each condition has training examples, while the choice of K determines the resolution at which their reward differences are represented.
Learning from a batch
The learner trains on examples from all reward levels. A quantile is selected uniformly and a prompt and continuation are drawn from it. The reward token is put before the prompt, so it is available when the generator starts predicting the continuation. At each position the trainable copy receives the preceding tokens from the stored passage. It is therefore learning to reconstruct a known continuation from its prompt, group label, and observed prefix. In generation it will have to proceed from the prefix it has itself produced.
The full objective pairs a reward-conditioned likelihood with a penalty on changes to token probabilities:
maxθ 𝔼ₖ∼𝒰(1,K) 𝔼₍ₓ,ᵧ₎∼𝒟ᵏ [ log pθ(y | x, rₖ) − β ∑ₜ₌₁ᵀ KL(p₀(· | y₍<t₎, x) ∥ pθ(· | y₍<t₎, x, rₖ)) ]
The symbol θ stands for the trainable parameters; maxθ asks for parameters that make the objective large. The two 𝔼 symbols denote averages over the sampling procedure. The outer average draws a quantile index k from 𝒰(1,K), the uniform distribution over the indices from 1 through K. The inner average draws a stored prompt x and continuation y from 𝒟ᵏ, the group with index k. The token rₖ is that group’s label. The first term is the logarithm of the probability that pθ gives to the full continuation y under the prompt and its label. Increasing this term increases the probability assigned to continuations observed under that condition.
The second term is subtracted, so large differences from the reference reduce the objective. β sets the weight of that penalty. The sum ∑ₜ₌₁ᵀ visits each continuation position t, beginning at 1 and ending at T, the length of the continuation. The expression y₍<t₎ denotes the portion of y before position t. At that prefix the dot in each distribution stands for a possible next token. Both predictors see the original prompt x and the same observed continuation prefix. The trainable predictor pθ also sees rₖ. KL is Kullback–Leibler divergence, and the double bar ∥ orders its two arguments. In the mathematical objective, p₀ is the reference in the first argument and pθ supplies the second.
At a given position the divergence can be written in terms of the probabilities for every vocabulary entry:
KL(P ∥ Q) = ∑ᵥ∈𝒱 P(v) log[P(v) / Q(v)]
Here P is the next-token distribution from p₀ at the specified prompt and prefix. Q is the corresponding distribution from pθ, additionally conditioned on the reward token. The sum ranges over each token v in the vocabulary 𝒱. P(v) and Q(v) are the respective probabilities of that token. The logarithm takes their ratio, and the contribution is weighted by P(v). Thus even words absent from the stored continuation enter the comparison if the reference assigns them probability. The direction matters: the objective puts weight on how the updated predictor treats possibilities to which the reference gives mass.
The ordinary likelihood term knows which token actually appears next in the stored text. The divergence term has a broader view at that position: it compares the alternatives available in the two distributions. In a high-reward example, likelihood might encourage a token that leads into a favorable continuation, while the penalty discourages a wholesale change to the alternatives the original considered plausible. A similar tension exists in the lower quantiles. There, the likelihood term asks the generator to reproduce an example under its assigned condition, even as the reference penalty asks it to retain the original distribution’s shape.
The scorer’s value does not occur inside the expression being differentiated. What the gradient sees is a batch of labeled examples and the probabilities assigned to their tokens. The score has already done its work by determining the membership used to choose the conditioning token. This arrangement is what makes a commercial detector or a count-based diversity function usable without changing the form of the likelihood calculation.
The authors describe adding the control tokens as new vocabulary entries and prepending each label to its prompt. Their implementation updates batches with Adam. They illustrate the loss with a sequence-to-sequence interface and use a batched implementation for the left-to-right GPT-2 used in the experiments. The fixed reference still has to supply probabilities on the training examples. The simplification is that there is no additional trainable value function and the trainable policy is updated with a direct language-modeling objective. The authors identify the implementation as Quark and specify a code release under that name.
Returning to exploration
With some learning completed, Quark generates new continuations for the training prompts. It uses the highest reward token for this step because the point of collecting additional text is to find examples with better reward. The process does not assume a passage is good just because a high-reward condition produced it. The actual scorer is applied after the passage has been generated.
𝒟 ← 𝒟 ∪ { (x, y, r(x, y)) | x ∈ X, y ∼ pθ(· | x, r_K) }
In this formula 𝒟 on the right is the existing pool and 𝒟 on the left denotes the result of updating it. The arrow means assignment and ∪ joins the existing records with the newly generated ones. X is again the training prompt set, x is a prompt from X, y is the sampled continuation, and r(x, y) is the score stored with that pair. The notation pθ(· | x, r_K) denotes the current trainable generator’s distribution over continuations for x with the token r_K for the top quantile. The subscript K identifies the largest rank index. The dot is the slot for a continuation and ∼ indicates generation from the conditioned predictor.
The pool keeps examples produced at different moments. A high-ranked group may contain passages from the original predictor, from an earlier version of the updated one, and from the latest round. The authors accordingly describe the method as off-policy: the distribution that generated a given training example can differ from the distribution now being updated. It is also online in the sense that the procedure keeps gathering new examples with its current policy. Neither term refers to where the generator is hosted. The relevant difference is between learning from a fixed record and learning from a record that grows through further generation.
Each reward applies to a whole response to a prompt. This is the sense in which the authors describe the setting as a one-step bandit problem. Internally the generator makes a succession of token choices, but the exploration rule records a single outcome for the completed action. It does not model a series of environmental states with a reward to discount at each one. An exploratory passage can contain many next-token decisions, all of which are available later for likelihood training once the passage has a group label.
At test time the authors use essentially the same conditioning as in exploration:
y ∼ pθ(· | x, r_K)
Here x is a test prompt, y is the generated continuation, pθ is the adapted generator, and r_K is the control input for the highest reward quantile. The dot stands for the possible continuations under those conditions and ∼ denotes generation using that distribution. The experimental scorers are used to assess the resulting samples. Quark’s generation rule itself consists of choosing the token and decoding the resulting probabilities.
How the reference penalty differs from the PPO comparison
The paper describes earlier PPO-based tuning as putting a probability-ratio penalty into the sequence reward. With z standing for the scored sequence in that comparison, the relationship is:
r̃(z) = r(z) − β log[pθ(z) / p₀(z)]
Here r̃(z) is the adjusted reward, r(z) is the original scalar reward of sequence z, and β determines the strength of the adjustment. The logarithm operates on the ratio between the probability pθ(z) assigned by the adapted policy and the probability p₀(z) assigned by the reference. Raising the sequence probability relative to the reference increases the amount subtracted from its reward. Quark puts its divergence directly in the differentiable loss and evaluates it over the next-token distribution at each observed prefix. Its use of reward quantiles also avoids the need for a baseline learned by a value function, and the authors dispense with a PPO clipping radius and an adaptive KL schedule.
The reward and losses for repetition
For repetition, the reward comes directly from the continuation. An n-gram is a contiguous run of n tokens. A passage with many repeated runs of a given length has comparatively few distinct n-grams at that length. The authors use this percentage measure:
rep-n(y) = 100 × (1.0 − |unique n-grams(y)| / |total n-grams(y)|)
The expression rep-n(y) is the repetition measure for continuation y at length n. The bars indicate counts. The numerator counts distinct n-grams in y and the denominator counts every occurrence, including duplicates. The constant 1.0 complements the distinct fraction so that a larger amount of duplication gives a higher repetition measure. Multiplication by 100 expresses the result on a percentage scale.
A favorable continuation should have variety across several lengths of token runs. The authors combine them into a reward:
diversity(y) = ∏ₙ₌₂⁴ (1.0 − rep-n(y) / 100)
Here diversity(y) is the reward for continuation y. The product symbol ∏ multiplies the factors indexed by n from 2 through 4, inclusive. The expression rep-n(y) is the percentage measure for runs of length n defined above, and dividing by 100 returns it to a fraction. Subtraction from 1.0 makes each factor larger when that length has more variety. A passage with repetition at one of these lengths reduces the product even if it fares better at the others.
The paper also defines the training criteria used to compare with Quark on repetition. The first is ordinary maximum likelihood estimation, or MLE, written as a loss to minimize:
ℒ_MLE = −(1 / |x|) ∑ᵢ₌₁^{|x|} log pθ(xᵢ | x₍<i₎)
In these baseline loss formulas, x is the training sequence being predicted. It plays the role of the full example rather than just the prompt in the earlier Quark notation. Its length is |x|, i indexes its positions, xᵢ is the observed token at position i, and x₍<i₎ is the part of that sequence preceding it. The conditional probability from the trainable predictor is pθ(xᵢ | x₍<i₎), with θ its parameters. The sum visits all positions, the factor 1 / |x| forms an average, and the negative sign makes a higher probability for the observed tokens yield a smaller loss ℒ_MLE.
Unlikelihood extends that objective with a direct cost for putting probability on designated negative candidates:
ℒ_unlikelihood = −(1 / |x|) ∑ᵢ₌₁^{|x|} [α × ∑꜀∈𝒞ⁱ log(1 − pθ(c | x₍<i₎)) + log pθ(xᵢ | x₍<i₎)]
Here ℒ_unlikelihood is the full loss. As in MLE, x is the training sequence, |x| is its token count, i is a position, and xᵢ is the correct token given the prefix x₍<i₎. The set 𝒞ⁱ contains the negative candidates at position i, and the inner sum visits each such token c. The probability pθ(c | x₍<i₎) comes from the same trainable predictor used for the correct token. The constant 1 makes the expression inside the first logarithm the complement of the candidate probability. α weights the added term. After the external negative sign, large probabilities on the negative candidates increase the loss. At the same time, the last logarithm preserves the incentive to predict the observed token.
A contrastive criterion in the paper’s comparison works with the internal token representations:
ℒ_CL = [1 / (|x| × (|x| − 1))] ∑ᵢ₌₁^{|x|} ∑ⱼ₌₁,ⱼ≠ᵢ^{|x|} max{0, ρ − s(hₓᵢ, hₓᵢ) + s(hₓᵢ, hₓⱼ)}
Here ℒ_CL is the contrastive loss and x is the training sequence of length |x|. The first sum chooses position i and the second chooses position j from 1 to |x|, excluding i through j ≠ i. The denominator averages over the ordered pairs of distinct positions. The vectors hₓᵢ and hₓⱼ are the representations at the corresponding token positions. The function s measures cosine similarity, and ρ is a pre-defined margin in the interval from -1 to 1. The maximum with 0 gives a positive contribution only when the difference between the self-similarity and the other position’s similarity falls short of the margin.
s(hₓᵢ, hₓⱼ) = (hₓᵢᵀ hₓⱼ) / (‖hₓᵢ‖ × ‖hₓⱼ‖)
In this formula s is the cosine similarity of the two token representations. The superscript ᵀ denotes the transpose, so hₓᵢᵀ hₓⱼ is the dot product. Each pair of double bars denotes a vector’s Euclidean norm, and their product normalizes the dot product by the magnitudes of both representations. This is the similarity used inside the contrastive objective.
These criteria operate at different points. MLE emphasizes the next correct token in a text. Unlikelihood also adjusts the probabilities of particular alternatives. The contrastive loss acts on the similarity of token representations. Quark uses the repetition score to organize completed generations, then applies the conditional likelihood and reference loss to groups of those generations. The combined Quark and unlikelihood setting therefore has supervision both from the rank of a whole passage and from particular choices marked as undesirable at a position.
Experiments and results
Toxicity on two kinds of prompts
The authors start from GPT2-large for toxicity and use the RealToxicityPrompts benchmark, which contains 100k prompts intended to probe toxic generation. Training uses 85K prompts from its training set. Evaluation uses 10K non-toxic test prompts also used in an earlier comparison. Restricting this part of the test to non-toxic prompts lets the authors ask how frequently the continuation itself introduces language that the detector judges toxic. They use nucleus sampling with p = 0.9, where p is the cumulative probability setting for the sampling procedure. The out-of-domain evaluation uses WritingPrompts, a dataset of creative-writing openings. Hierarchical Neural Story Generation
The Perspective API supplies the training reward. In that role the paper gives the endpoints as 1 for non-toxic and 0 for toxic. Quark sorts the outputs into K = 5 quantiles. The resulting control inputs therefore encode relative levels of that reward, with the one used for detoxification corresponding to the highest scores for non-toxicity. The paper also uses Perspective judgments to measure toxicity on new generations. Training and evaluation thus use the same scoring instrument for their automatic notion of toxicity, applied to different samples. The authors supplement it with judgments from people.
The comparison includes plain GPT-2 as the unchanged reference point, PPLM as a method that uses classifiers to guide output, and GeDi as a method that conditions guidance on desired and undesired attributes. DAPT further pretrains GPT-2 on a selection of non-toxic text. DExperts intervenes during decoding using both an expert and an anti-expert. The authors take these results from the earlier comparison and implement their own PPO baseline with a reference penalty. PPO is the comparison closest to Quark in its use of an explicit reward and a constraint on departure from the starting distribution.
The automatic toxicity metrics ask about adverse outputs within a set of samples. The authors use 25 continuations per prompt. The maximum toxicity measure first takes the highest toxicity score within a prompt’s set of continuations and then averages these maxima over prompts. The empirical toxicity probability instead asks how frequently a set contains at least one continuation judged toxic. A generator that produces largely harmless text but occasionally gives a severe answer can look worse on the maximum than a measure based on a typical continuation would suggest. The probability measure tells a different part of the story: how frequently the group of draws contains a toxic event, regardless of how far its worst example goes.
For fluency, an off-the-shelf GPT2-XL scores the generated text by perplexity. Lower perplexity means that this evaluator finds the sequence more predictable. The diversity measure uses counts of distinct n-grams normalized by text length. Both measures help detect changes that a toxicity score alone would miss. A system might avoid troublesome completions by relying on narrow, familiar phrases, for example. Its reward could improve while the resulting passages became less varied.
Quark lowers automatic toxicity on RealToxicityPrompts and on WritingPrompts relative to the reported baselines. The authors find its fluency and diversity comparable to the unmodified GPT-2, while earlier approaches generally lose some quality on those measures. They also report that their Quark setting uses fewer parameters and takes less training time than their PPO implementation. The comparison across prompt collections matters because Quark’s training prompts come from RealToxicityPrompts. Extending the observed improvement to story prompts indicates that the result carries beyond that training source in the evaluation performed here.
The pairwise ratings ask a different question from the automatic measures. Workers compare passages for perceived toxicity, relevance and fit to the prompt, and fluency. The appendix describes 100 random prompts from the RealToxicityPrompts and WritingPrompts test material, with 6 comparisons of Quark against a baseline per prompt in the study design. Two generations are randomly selected from each system in a pairing. The authors report 1200 toxicity-study comparisons, with 3 raters assigned to each, and use a qualification test to select raters. Across the two prompt sources, the paper reports that people favor Quark on lower toxicity, better topicality, and better fluency against the comparison systems. These judgments support the direction of the improvement with a separate measurement process.
Sentiment in both directions
For sentiment the authors again start from GPT2-large. The task is to generate a continuation of the desired polarity even when a prompt suggests the opposite one. A disparaging opening can be followed by a positive continuation, and an upbeat opening can be followed by a negative one. The polarity change still has to read as a continuation of the given text. Topicality and fluency therefore matter alongside the direction identified by a sentiment classifier.
The prompts come from OpenWebText, with 100K prompts in the setup and 85K training prompts used by Quark. The test groups comprise 5K neutral prompts, 2.5K positive prompts, and 2.5K negative prompts. Keeping the groups separate exposes what the opening contributes. A positive continuation of a positive prompt is different evidence from a positive continuation of a negative one. The neutral collection also gives a setting in which the desired polarity comes more directly from the control condition.
The reward scorer is a Hugging Face DistilBERT classifier trained on SST-2. Its sentiment scale runs from 1 for positive to 0 for negative. These values describe the underlying polarity score and the two endpoints of interest to the experiment. Quark uses K = 5 quantiles, and the intended direction determines which polarity the experiment seeks. The paper reports runs that favor each end of the sentiment scale. It uses the same training hyper-parameters as in the toxicity experiment. DistilBERT and the Sentiment Treebank paper
The sentiment comparison includes the baselines from the toxicity study and adds CTRL, which offers another form of steering through a control input. At evaluation, there are 25 continuations for each prompt. The automatic measure is the mean percentage of positive continuations according to the classifier. The interpretation of this percentage depends on which way the system is being steered. A larger percentage is desirable when aiming for positive text, while a smaller one indicates success when aiming for negative text. The evaluation also retains the fluency and diversity measures used for toxicity.
The paper reports that Quark steers more effectively towards the desired sentiment in both directions than the comparison systems and retains fluency and diversity comparable to ordinary GPT-2. The authors conduct the manual evaluation on randomly selected prompts, with 100 from the positive group and 100 from the negative group. They report 6 pairs of systems per prompt, two sampled generations from each system per pair, and 2400 comparisons, each with 3 raters. People judge which continuation has more of the requested sentiment and assess topicality and fluency separately. The authors report preferences for Quark on all these criteria.
The two directions make this test informative about the reach of the control procedure. A reduction in toxicity might be interpreted narrowly as teaching a detector’s notion of unacceptable wording. The sentiment experiment deliberately uses polarity as a target that can change with the requested behavior. Its evaluations link the result to the relation between the prompt and the continuation: a system can receive credit for changing the direction of the sentiment while preserving enough continuity for people to judge the passage topical.
Repetition under greedy decoding
The repetition setup pairs GPT2-base with Wikitext-103, a corpus of 100 million English tokens drawn from Wikipedia articles. The experimental details say that Quark further fine-tunes the MLE version. During exploration, greedy decoding and nucleus sampling each account for half of the mix. Greedy decoding tends to reveal more repetition in this setting. Sampling adds continuations that take other routes through the same next-token distributions. Using both gives the initial and growing collections text with a range of repetition levels to distinguish. The diversity reward orders those continuations into K = 8 quantiles.
At evaluation the paper uses greedy decoding from Wikitext-103 test prefixes. This gives a common generation rule and places the comparison in a regime where loops are especially likely. The baselines are MLE, unlikelihood training, and the contrastive method SimCTG. Unlikelihood and SimCTG change how the generator is trained. In addition to testing Quark alone, the authors test the combination with unlikelihood. The comparison asks both whether reward conditioning can discourage repetition by itself and whether a passage-level reward contributes something when token-level repetition already carries a penalty.
The authors distinguish prediction on observed text from continuation generated by the system. On the ground-truth Wikitext-103 test continuations, perplexity and token accuracy assess the next-token predictions. Prediction repetition, called rep, measures how often the predicted token repeats material from its prefix. Its variant wrep restricts attention to single-token repeats in which the prediction differs from the actual next token. This restriction is important because a repeat can be appropriate. An article may naturally return to the name of the subject it describes. The variant penalizes repeat choices less ambiguously by asking whether the repeat also constitutes a prediction error.
Generated passages have their own measures. The paper reports rep-n for repeated n-grams and a diversity score that combines different n-gram lengths. It also uses MAUVE, an automatic comparison of generated and human-written text distributions. An improvement in the diversity reward says that the generated passage contains a greater proportion of distinct runs at the tested lengths. MAUVE asks how the text distribution compares with the human reference by a separate measure. Neither serves the same purpose as checking whether the next word of a known Wikipedia continuation was predicted correctly.
By the authors’ account, Quark alone generally gets better automatic and human results than MLE and SimCTG. Unlikelihood alone is stronger than Quark alone on this repetition problem. Quark with unlikelihood reduces repetition relative to either objective used separately. Against unlikelihood alone, the combination improves human judgments of fluency by 35%, coherence by 27%, and overall quality by 29%. These improvements describe ratings on the Wikitext-103 generation comparison. The reported validation traces also show reward improving through training with Quark alone, with faster reward improvement when unlikelihood is added.
The repetition study asks raters to evaluate Wikipedia completions individually on a 5 point scale. Coherence concerns fit to the topic or meaning of the prefix. Fluency takes in grammar, readability, and freedom from undue repetition. Overall quality lets the rater judge the completion as a whole. The study uses 100 randomly sampled prompts and covers 19 algorithms, with the genuine Wikipedia continuations included as a validation condition. The study reports 2.2K tasks and 6.6K ratings. The authors estimate agreement using a subset comprising 10% of the corpus evaluated by two distinct annotators.
Krippendorff’s α for the Wikitext-103 ratings is .42 for overall quality, .35 for fluency, and .45 for coherence. The authors regard this as moderate agreement. The original Wikipedia continuations receive the highest scores across the rated alternatives: 4.07 for overall quality, 4.30 for coherence, and 4.01 for fluency, all out of 5. The reported chance test gives p < .001 for ground truth placing first on all the criteria. This check shows that the interface and judgments can distinguish the genuine continuations in the expected direction, while the agreement figures show that individual evaluations of quality still vary.
Training cost across the tasks
The reported Quark runs for toxicity and sentiment each cost about 100 GPU hours. The repetition run costs about 600 GPU hours. In all these experiments the authors say they train on four NVIDIA Quadro RTX 8000 GPUs. The comparison below uses the reported approximate GPU hours. It compares task configurations with different data and starting points, so it measures what those particular runs cost.
Quark training compute on RealToxicityPrompts, OpenWebText, and Wikitext-103
The reported Quark repetition run uses more compute than either of the steering runs.
The numbers
| System or setting | GPU hours |
|---|---|
| Quark toxicity on RealToxicityPrompts (this paper) | 100 |
| Quark sentiment on OpenWebText | 100 |
| Quark repetition on Wikitext-103 | 600 |
The repetition setup starts from a version trained for the Wikitext-103 prediction task and mixes decoding methods for collecting examples. The other settings use GPT2-large and external scorers. The cost figures describe the complete configurations reported for Quark. They do not isolate the cost of adding a reward token, comparing next-token distributions, or obtaining new scores. The paper’s statement about shorter training against PPO concerns its toxicity comparison.
What the ablations show
How tightly to follow the reference
The main ablations use the RealToxicityPrompts validation set. This keeps the attribute and data source fixed while the authors vary parts of the tuning procedure. The first choice is the coefficient β, with a default of .05. Increasing β makes departure from the initial next-token distributions more costly. On the validation set, larger values improve perplexity and raise toxicity slightly. The adjustment therefore exposes a tradeoff between the behavior targeted by the reward and the fluency proxy. A run using stronger regularization stays closer to text the off-the-shelf evaluator expects, while giving up some progress according to the toxicity scorer.
For the toxicity study, the authors search over [0, 0.3] for β. A coefficient at the bottom of that range removes the KL contribution entirely. They also compare the exact distributional penalty with the absence of a penalty and with a point-wise approximation. In the notation of Quark’s prefix comparison, the point-wise value for a candidate is:
log[p₀(v | y₍<t₎, x) / pθ(v | y₍<t₎, x, rₖ)]
Here v is the token at which the approximation is evaluated. The earlier notation with a dot leaves this next-token slot open until a point is supplied. The position is t, y₍<t₎ is its continuation prefix, and x is the prompt. The two probabilities come from the fixed reference p₀ and the trainable version pθ, with the latter also receiving the quantile token rₖ. The logarithm applies to the ratio of those probabilities. The corresponding exact divergence uses ratios across the distribution, weighted by the reference probabilities.
The authors report that the exact form provides a usable tradeoff relative to running without KL. The point-wise approximation, in their comparison, gives worse results on both language quality and reward. They suggest that noise from estimating a distributional quantity point by point could account for the difference. That is their proposed interpretation. The comparison establishes that, with the configurations they evaluate, replacing the complete next-token comparison with the tested approximation does not preserve the quality of the result.
The coefficient sweep and the comparison between penalty forms answer separate questions. The sweep examines what happens when one form is made stronger. The comparison examines whether a different estimator can perform the same role. This matters because an improvement from adding an exact penalty does not tell a reader whether any probability-ratio adjustment would behave similarly. In the experiment, what is measured at each prefix matters as well as how heavily it is weighted.
How many groups to use, and which to learn from
The authors search over [2, 10] for the number of quantiles in the toxicity setup. Increasing K gives progressively narrower partitions by rank, so the top group draws from a more selective portion of the examples. In their validation sweep, more groups allow higher reward and lower toxicity but also produce a small decline in language quality. The paper’s interpretation is that the top token then directs the generator toward examples with a higher average reward, effectively intensifying the conditioning. A larger K creates additional labels at every part of the ranking, but its most immediate effect on deployment is through how exclusive the top label becomes.
A parallel comparison changes the training coverage while preserving an emphasis on high reward in exploration. When the learner trains only on the best quantile, toxicity improves and the reward is optimized more strongly. Fluency and diversity fall substantially relative to learning from all the quantiles. The authors suggest that the smaller, preferentially selected set of examples can produce overfitting. In this setting, including the lower-ranked data is associated with better text quality under the high-reward condition used at evaluation.
That result clarifies the distinction between assigning a label and discarding an example. The default procedure keeps lower-scoring continuations as training data while asking the learner to predict them under their own labels. Their contribution to shared parameters can still affect what the learner knows about fluent or varied language. The high-only alternative keeps the most attractive examples with respect to the reward and loses the broader coverage supplied by the rest. The experiment indicates that the extra data matter to the balance obtained by full Quark. It leaves open how much of the effect is due to the number of examples, how much to their range of text, and how much to sharing across different conditioning inputs.
Which generator should supply new examples
The authors compare exploration under the top reward token with exploration under uniformly sampled reward tokens. The latter asks for outputs across the full set of learned reward conditions. On the validation task, it finds poorer results for reward and much higher toxicity. The authors’ explanation is that a fixed generation budget spent uniformly across the labels yields fewer opportunities to discover promising continuations. Under the top condition, a larger share of the new text comes from the part of the current distribution most likely to produce examples that could improve the pool.
The design separates this question from the choice of what to learn on. Full Quark explores under the best label and learns across all labels. The good results from broad training coverage therefore coexist with a preference for focused collection. Uniform exploration and all-quantile training both cover a range of rewards, but they do so at different stages and have different effects. In exploration the question is where to spend new generation effort. In learning it is which existing examples should contribute to the update once their scores are known.
Another ablation substitutes the initial p₀ for the reward-conditioned pθ during exploration. This loses performance. Exploration with p₀ still creates passages to score and add to the pool, but the generator supplying them cannot respond to what the most recent updates learned. A further ablation removes the control token from both learning and exploration while continuing to add high-reward samples to the pool. That variant also gives poorer results. The comparison supports the value of a learned reward condition beyond simply giving the learner access to more favorable examples.
How the groups evolve, and how often to explore
The authors test the learned distinctions by looking at toxicity for generations from different reward tokens over training. On the validation plot, toxicity declines over iterations for every quantile. At a given iteration it also declines from the worst label to the best label. The ordering at a fixed point shows that the tokens convey a usable distinction in generated behavior. The improvement over time across the labels is compatible with the changing pool: the labels represent relative groups in an ongoing process, so the lower group in a later round can improve while still being the lowest of that round’s groups.
The distinction between the stored examples and newly generated continuations matters here. Sorting already guarantees a reward order for the records used to form the groups. The more interesting question is whether sampling with the learned tokens reproduces that order. The reported trend comes from generations conditioned on the labels. It is evidence that the learned separation carries into decoding under the tested validation conditions.
Finally, the authors vary the frequency of exploration while holding the number of gradient updates fixed. They describe the frequency relative to 8k update steps and search across [1, 16] for the toxicity setup. With more frequent exploration the generator produces less toxic and more diverse text. The authors suggest that a larger pool with a better reward distribution can help both measures. Perplexity first falls and then rises. They associate the initial improvement with reduced overfitting from having more data and the later deterioration with stronger reward optimization. These are proposed explanations for the shape of the curve, since changing exploration frequency simultaneously changes the size and contents of the pool.
The repetition study adds a controlled comparison in a different domain. On the Wikitext-103 validation data the authors track reward over training for Quark with and without unlikelihood. Both improve the reward, and the combination does so faster. On the test comparison, adding the sequence reward to the unlikelihood setup improves generated continuations. The validation trace and test judgments address different parts of that result: how the optimized quantity changes during training, and how the final passages are judged by readers.
Limitations
Limits the authors state
The authors stress that the outcome depends on the reward. The Perspective API represents one operational definition of toxicity, and the paper explicitly recognizes its imperfections and social biases. A generator trained to obtain favorable scores can inherit those properties. An expression can be judged differently by the detector and by people considering its context. When the detector supplies rewards, its decisions shape which examples are collected under the best condition and which continuations serve as examples of that condition. … The Risk of Racial Bias in Hate Speech Detection
Human ratings help test whether an improvement observed with Perspective also appears under a different judgment process. The authors still limit their claim to encouraging favorable behavior. They explicitly decline to guarantee safety, complete absence of toxic output, or elimination of negative social bias. The same conditioning procedure could also be aimed at an undesirable target by changing what earns reward. The ethical discussion treats this as a dual-use feature of controllable generation and notes that malicious adaptation of a language generator is possible through other means as well.
The authors propose removing the embedding entries for undesirable reward levels before releasing an adapted version. In the toxicity example this would remove the direct inputs that request higher-toxicity conditions. The proposal acts on the way Quark exposes control at inference. The authors describe it as a partial mitigation because the association between a label and a kind of output is an empirical tendency. Erasing the label blocks that particular request mechanism. It does not establish that a different input can never elicit a similar passage.
They also state a limitation on the reliability estimates. Computational resources prevented them from running multiple cross-validation splits or enough seeds for stable confidence intervals. The comparisons and ablations document patterns under the reported conditions. The checklist leaves the variability of those patterns across independently repeated training runs less firmly established. The authors identify simultaneous control of multiple rewards, experiments with rewards representing human preferences, and adaptation of fewer parameters as directions for further work. These are extensions of the demonstrated procedure.
Limits visible in the experimental design
The paper’s use of unlearning concerns which outputs a condition makes more or less probable. The method itself gives the learner examples of lower-reward behavior under their associated labels. Its regularizer also encourages the adapted distribution to remain close to the pretrained one on observed prefixes. The experiments measure samples or next-token behavior under specified test conditions. They do not test whether particular material has been removed from the training history, whether a fact can still be extracted, or whether a sufficiently different prompt can recover a behavior suppressed in the reported setup. Behavioral steering and deletion would require different evidence.
The automatic toxicity experiment uses the same detector to supply the training reward and judge the test passages. Novel prompts and continuations guard against measuring reproduction of the very same training examples. The evaluation still rewards the same scoring rule. Human comparisons provide some independence from that rule and indicate that the improvements are perceptible in sampled text. Their scope is the set of prompts, samples, pairings, and rating questions the authors used. In the sentiment study the classifier likewise defines the reward and the automatic polarity measure. The human evaluation again tests whether the desired direction is evident beyond the classifier.
The automatic language-quality measures also have finite scope. Perplexity under GPT2-XL measures predictability to that evaluator. A distinct n-gram count measures variety at particular spans of text. Neither measure tests every ability the authors would like to preserve, such as using examples in a prompt to solve a broad set of tasks. The KL term anchors probability distributions at prompts and prefixes visited during training. Closeness measured there does not give a guarantee about unseen contexts. The rating tasks strengthen the claims about topicality and fluency in the generations people saw, and the repetition experiment adds prediction measures on Wikipedia text.
WritingPrompts provides an out-of-domain toxicity evaluation for the procedure trained with RealToxicityPrompts. It shows that the reported reduction also appears on a source of creative-writing prompts. The paper does not extend that comparison across arbitrary domains or across all the tasks it studies. Similarly, the Wikitext-103 result is specifically a comparison under greedy decoding, even though the authors use a mixture of decoding procedures for exploration. Repetition will show up differently under different output rules, so the strongest claim is tied to the evaluation where these methods were compared.
Rank-based reward tokens also have a limit as a control interface. A label identifies a quantile of the pool that served as supervision. It carries no promise of a particular score on an individual new example, and its meaning can shift as the pool improves. The group analysis shows an ordering in the observed toxicity of sampled outputs. It does not establish an absolute mapping from a reward token to the probability of a toxic result under arbitrary prompts. This distinction matters especially when comparisons such as maximum toxicity use sets of 25 draws. The chance of encountering an unfavorable output depends on the sampling procedure and the number of draws in the test.
Finally, the results compare a particular implementation of PPO with a particular implementation of Quark. The paper establishes how their reported training and outputs compare on the selected experiments. The stronger result for unlikelihood on repetition shows why the problem structure matters. When an attribute can be expressed through a well-targeted, differentiable penalty, a direct loss can outperform reward conditioning on its own. Combining objectives is valuable in that experiment. A different target, predictor, or evaluator could change which balance of likelihood, reference regularization, and reward-guided exploration works best.
What came after
The citing work follows several different questions raised by Quark. Some papers concern controllable generation from positive and negative examples. Others ask what counts as feedback, how a generated answer can be revised, or what evidence would establish that something has been unlearned. Where a citing work names a distinct mechanism, the connection is at the level of the problem it addresses. Quark’s particular design combines reward-ranked examples, control inputs, and fresh exploration, so an adjacent method can take up one part of that problem with a different training signal.
Training from favorable and unfavorable outputs
Chain of Hindsight studies how to align a generator with feedback. It takes up the question of how feedback about previous attempts can guide the production of text. Quark gives a compact answer to that question through an input token representing how a completion ranked. This exposes which kind of outcome is being requested before a new completion is made. The connection is the use of feedback about outcomes as information available to a language generator. Chain of Hindsight Aligns Language Models with Feedback
Click pursues controllable generation through sequence likelihood contrastive learning. The point of comparison is the way each project links differences between whole passages to an objective for generation. Quark sorts completed text by reward and gives passages from different ranks different input conditions, then raises the likelihood of each passage under its own condition. Click’s stated route is a contrastive treatment of sequence likelihood. Both approaches concern control at the passage level even as the generator expresses that control through probabilities of tokens. Click: Controllable Text Generation with Sequence Likelihood Contrastive Learning
The CRINGE Loss addresses learning from language that a system is meant to avoid. It belongs alongside Quark’s question of how to make unfavorable text useful during training. Lower-ranked passages in Quark still receive likelihood updates when paired with their own inputs. The test-time choice of a different input then steers generation towards a favorable rank. The CRINGE work frames the issue through a loss for learning what language to avoid. The relationship is especially relevant to Quark’s repetition experiments, where a direct objective for negative token candidates can be combined with reward-based sorting of passages. The CRINGE Loss: Learning What Language Not to Model
Feedback, refinement, and policy optimization
Fine-Grained Human Feedback Gives Better Rewards for Language Model Training turns attention to how much information the reward contains. Quark can learn from a scalar assessment of an entire passage, which is what makes it possible to use an external toxicity detector directly. Such an assessment leaves the learner with limited information about which parts of an otherwise good continuation are responsible for a poor score. The later work studies finer-grained human feedback for constructing rewards, addressing the supervision that enters training. Fine-Grained Human Feedback Gives Better Rewards for Language Model Training
AlpacaFarm studies methods that learn from human feedback through a simulation framework. Quark compares reward conditioning with PPO in a setting where the scorer can evaluate sampled continuations repeatedly. The later work’s focus is the setting in which feedback-based learning methods can be studied. Its place among the citing works connects the choice of an optimization method to the evaluation framework in which alternative uses of feedback can be compared. AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
Unpacking DPO and PPO takes up the comparison of optimization methods for learning from preference feedback. Quark’s interest in PPO was practical: could reward conditioning obtain good continuations with a simpler training objective while controlling departure from the reference? The citing study puts the optimization question in a preference-learning setting and examines practices for DPO and PPO. This line of work treats the source of feedback and the method used to convert it into policy changes as choices that can be studied separately. Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback
Self-Refine studies repeated refinement using self-feedback. Its connection to Quark is the idea that a generator’s outputs can supply material for improvement after an initial attempt. Quark’s loop collects completed text, uses a separate reward to rank it, and updates the generator across a pool of examples. Self-Refine’s subject is iterative revision guided by feedback from the system itself. The related work CRITIC studies self-correction through tool-interactive critique. That approach puts the emphasis on how critique is obtained, another point of variation from a fixed passage scorer. Self-Refine and CRITIC
Unlearning as a question of evaluation
TOFU sets out a task of fictitious unlearning. Its subject highlights a distinction in what researchers choose to evaluate under the name unlearning. Quark tests a change in the kinds of text produced under a control condition. A task organized around fictitious material shifts attention to behavior with respect to specified content. The two lines of work therefore pose different questions about the object of the change and about what a successful evaluation has to observe. TOFU: A Task of Fictitious Unlearning for LLMs
MUSE presents a six-way evaluation of machine unlearning for language generators. Its focus on evaluation continues a question that runs through Quark: how to assess the desired behavioral change together with other consequences of adaptation. Quark pairs measurements of the targeted reward with fluency, diversity, and human judgments. MUSE takes up evaluation under a broader machine-unlearning framing. Judging Quark on its own terms requires attention to both parts of its experiment: the change in which passages the high-reward condition elicits, and the measurements of what is retained in those passages. MUSE: Machine Unlearning Six-Way Evaluation for Language Models
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Text generation · 214 works
Cite
Cite as Ximing Lu, Sean Welleck, Jack Hessel, Liwei Jiang, Lianhui Qin, Peter West, Prithviraj Ammanabrolu and Yejin Choi. 2022. Quark: Controllable Text Generation with Reinforced Unlearning. arXiv:2205.13636 · NeurIPS 2022 (Oral Selection).
@misc{lu2022quark,
title = {{Quark: Controllable Text Generation with Reinforced Unlearning}},
author = {Ximing Lu, Sean Welleck, Jack Hessel, Liwei Jiang, Lianhui Qin, Peter West, Prithviraj Ammanabrolu and Yejin Choi},
year = {2022},
doi = {10.48550/arxiv.2205.13636},
eprint = {2205.13636},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2205.13636}
}References
- Rishabh Agarwal, Max Schwarzer, Pablo Samuel Castro, Aaron C Courville, and Marc Bellemare. Deep reinforcement learning at the edge of the statistical precipice. Advances in Neural Information Processing Systems, 34, 2021. our card
- Amal Alabdulkarim, Winston Li, Lara J. Martin, and Mark O. Riedl. Goal-directed story generation: Augmenting generative language models with reinforcement learning, 2021. OpenAlex ↗ · Scholar ↗
- Prithviraj Ammanabrolu, Liwei Jiang, Maarten Sap, Hanna Hajishirzi, and Yejin Choi. Aligning to social norms and values in interactive narratives. In NAACL, 2022. OpenAlex ↗ · Scholar ↗
- Prithviraj Ammanabrolu, Jack Urbanek, Margaret Li, Arthur Szlam, Tim Rocktäschel, and Jason Weston. How to motivate your dragon: Teaching goal-driven agents to speak and act in fantasy worlds. In Proceedings of 2021 Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT, 2021. our card
- Michael Auli and Jianfeng Gao. Decoder integration and expected BLEU training for recurrent neural network language models. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 136–142, Baltimore, Maryland, June 2014. Association for Computational Linguistics. our card
- Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Proceedings of the 28th International Conference on Neural Information Processing Systems - Volume 1, NIPS'15, page 1171–1179, Cambridge, MA, USA, 2015. MIT Press. our card
- Shikha Bordia and Samuel R. Bowman. Identifying and reducing gender bias in word-level language models. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Student Research Workshop, pages 7–15, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. our card
- Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners, 2020. our card
- Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Michael Laskin, Pieter Abbeel, Aravind Srinivas, and Igor Mordatch. Decision transformer: Reinforcement learning via sequence modeling. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, 2021. OpenAlex ↗ · Scholar ↗
- Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. Palm: Scaling language modeling with pathways, 2022. our card
- Elizabeth Clark, Tal August, Sofia Serrano, Nikita Haduong, Suchin Gururangan, and Noah A Smith. All that's' human'is not gold: Evaluating human evaluation of generated text. arXiv preprint arXiv:2107.00061, 2021. OpenAlex ↗ · Scholar ↗
- Sumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung, Eric Frank, Piero Molino, Jason Yosinski, and Rosanne Liu. Plug and play language models: A simple approach to controlled text generation. In International Conference on Learning Representations, 2020. our card
- Sergey Edunov, Myle Ott, Michael Auli, David Grangier, and Marc'Aurelio Ranzato. Classical structured prediction losses for sequence to sequence learning. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 355–364, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. our card
- Farshid Faal, Ketra Schmitt, and Jiawei Yu. Reward modeling for mitigating toxicity in transformer-based language models. ArXiv, abs/2202.09662, 2022. OpenAlex ↗ · Scholar ↗
- Angela Fan, Mike Lewis, and Yann Dauphin. Hierarchical neural story generation. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 889–898, Melbourne, Australia, July 2018. Association for Computational Linguistics. our card
- Daniel Fried and Dan Klein. Policy gradient as a proxy for dynamic oracles in constituency parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 469–476, Melbourne, Australia, July 2018. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yang Gao, Christian M. Meyer, and Iryna Gurevych. APRIL: Interactively learning to summarise by combining active preference learning and reinforcement learning. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 4120–4130, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. RealToxicityPrompts: Evaluating neural toxic degeneration in language models. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 3356–3369, Online, November 2020. Association for Computational Linguistics. our card
- Aaron Gokaslan and Vanya Cohen. Openwebtext corpus. http://Skylion007.github.io/OpenWebTextCorpus, 2019. OpenAlex ↗ · Scholar ↗
- Han Guo, Bowen Tan, Zhengzhong Liu, Eric P. Xing, and Zhiting Hu. Text generation with efficient (soft) q-learning, 2021. OpenAlex ↗ · Scholar ↗
- Suchin Gururangan, Ana Marasović, Swabha Swayamdipta, Kyle Lo, Iz Beltagy, Doug Downey, and Noah A. Smith. Don't stop pretraining: Adapt language models to domains and tasks. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8342–8360, Online, July 2020. Association for Computational Linguistics. our card
- Peter Hase, Mona T. Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit Bansal, and Srini Iyer. Do language models have beliefs? methods for detecting, updating, and visualizing model beliefs. ArXiv, abs/2111.13654, 2021. our card
- Matthew Hausknecht, Prithviraj Ammanabrolu, Côté Marc-Alexandre, and Yuan Xingdi. Interactive fiction games: A colossal adventure. In AAAI, volume abs/1909.05398, 2020. OpenAlex ↗ · Scholar ↗
- Dan Hendrycks, Mantas Mazeika, Andy Zou, Sahil Patel, Christine Zhu, Jesus Navarro, Dawn Song, Bo Li, and Jacob Steinhardt. What would jiminy cricket do? towards agents that behave morally, 2021. OpenAlex ↗ · Scholar ↗
- Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In International Conference on Learning Representations, 2020. our card
- Hossein Hosseini, Sreeram Kannan, Baosen Zhang, and Radha Poovendran. Deceiving google's perspective api built for detecting toxic comments. arXiv preprint arXiv:1702.08138, 2017. OpenAlex ↗ · Scholar ↗
- Michael Janner, Qiyang Li, and Sergey Levine. Offline reinforcement learning as one big sequence modeling problem. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, 2021. OpenAlex ↗ · Scholar ↗
- Nitish Shirish Keskar, Bryan McCann, Lav R. Varshney, Caiming Xiong, and Richard Socher. Ctrl: A conditional transformer language model for controllable generation. ArXiv, abs/1909.05858, 2019. our card
- Nitish Shirish Keskar, Bryan McCann, Lav R. Varshney, Caiming Xiong, and Richard Socher. Ctrl: A conditional transformer language model for controllable generation, 2019. our card
- Muhammad Khalifa, Hady Elsahar, and Marc Dymetman. A distributional approach to controlled text generation. In International Conference on Learning Representations, 2021. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- Ben Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar, Shafiq Joty, Richard Socher, and Nazneen Fatema Rajani. GeDi: Generative discriminator guided sequence generation. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 4929–4952, Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. our card
- Klaus Krippendorff. Content analysis: An introduction to its methodology. Sage publications, 2018. OpenAlex ↗ · Scholar ↗
- Sylvain Lamprier, Thomas Scialom, Antoine Chaffin, Vincent Claveau, Ewa Kijak, Jacopo Staiano, and Benjamin Piwowarski. Generative cooperative networks for natural language generation. In ICML, 2022. OpenAlex ↗ · Scholar ↗
- Angeliki Lazaridou, Anna Potapenko, and Olivier Tieleman. Multi-agent communication meets natural language: Synergies between functional and structural language learning. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7663–7674, Online, July 2020. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Hung-yi Lee, Cheng-Hao Ho, Chien-Fu Lin, Chiung-Chih Chang, Chih-Wei Lee, Yau-Shian Wang, Tsung-Yuan Hsu, and Kuan-Yu Chen. Investigation of sentiment controllable chatbot. arXiv preprint arXiv:2007.07196, 2020. OpenAlex ↗ · Scholar ↗
- Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3045–3059, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. our card
- Margaret Li, Stephen Roller, Ilia Kulikov, Sean Welleck, Y-Lan Boureau, Kyunghyun Cho, and Jason Weston. Don't say that! making inconsistent dialogue unlikely with unlikelihood training. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4715–4728, Online, July 2020. Association for Computational Linguistics. our card
- Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4582–4597, Online, August 2021. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Alisa Liu, Maarten Sap, Ximing Lu, Swabha Swayamdipta, Chandra Bhagavatula, Noah A. Smith, and Yejin Choi. DExperts: Decoding-time controlled text generation with experts and anti-experts. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 6691–6706, Online, August 2021. Association for Computational Linguistics. our card
- Runjing Liu, Jeffrey Regier, Nilesh Tripuraneni, Michael I. Jordan, and Jon D. McAuliffe. Rao-blackwellized stochastic gradients for discrete distributions. In ICML, 2019. OpenAlex ↗ · Scholar ↗
- Francis Maes, Ludovic Denoyer, and Patrick Gallinari. Structured Prediction with Reinforcement Learning. Machine Learning, 77(2-3):271–301, December 2009. OpenAlex ↗ · Scholar ↗
- Clara Meister, Elizabeth Salesky, and Ryan Cotterell. Generalized entropy regularization or: There's nothing special about label smoothing. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6870–6886, Online, July 2020. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models, 2017. our card
- Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D Manning. Fast model editing at scale. In International Conference on Learning Representations, 2022. our card
- Margaret Mitchell, Simone Wu, Andrew Zaldivar, Parker Barnes, Lucy Vasserman, Ben Hutchinson, Elena Spitzer, Inioluwa Deborah Raji, and Timnit Gebru. Model cards for model reporting. In FAccT, 2019. OpenAlex ↗ · Scholar ↗
- Nasrin Mostafazadeh, Nathanael Chambers, Xiaodong He, Devi Parikh, Dhruv Batra, Lucy Vanderwende, Pushmeet Kohli, and James Allen. A corpus and cloze evaluation for deeper understanding of commonsense stories. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 839–849, San Diego, California, June 2016. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Reiichiro Nakano, Jacob Hilton, Suchir Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, and John Schulman. Webgpt: Browser-assisted question-answering with human feedback. CoRR, abs/2112.09332, 2021. our card
- Karthik Narasimhan, Adam Yala, and Regina Barzilay. Improving information extraction by acquiring external evidence with reinforcement learning. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2355–2365, Austin, Texas, November 2016. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Mohammad Norouzi, Samy Bengio, zhifeng Chen, Navdeep Jaitly, Mike Schuster, Yonghui Wu, and Dale Schuurmans. Reward augmented maximum likelihood for neural structured prediction. In D. Lee, M. Sugiyama, U. Luxburg, I. Guyon, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 29. Curran Associates, Inc., 2016. OpenAlex ↗ · Scholar ↗
- Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155, 2022. our card
- Ramakanth Pasunuru and Mohit Bansal. Multi-reward reinforced summarization with saliency and entailment. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 646–653, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. our card
- Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017. OpenAlex ↗ · Scholar ↗
- Romain Paulus, Caiming Xiong, and Richard Socher. A deep reinforced model for abstractive summarization. In International Conference on Learning Representations, 2018. our card
- Xiangyu Peng, Siyan Li, Spencer Frazier, and Mark O. Riedl. Reducing non-normative text generation from language models. In INLG, 2020. OpenAlex ↗ · Scholar ↗
- Krishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun, Sean Welleck, Yejin Choi, and Zaid Harchaoui. Mauve: Measuring the gap between neural text and human text using divergence frontiers. In NeurIPS, 2021. our card
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. OpenAlex ↗ · Scholar ↗
- Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, Eliza Rutherford, Tom Hennigan, Jacob Menick, Albin Cassirer, Richard Powell, George van den Driessche, Lisa Anne Hendricks, Maribeth Rauh, Po-Sen Huang, Amelia Glaese, Johannes Welbl, Sumanth Dathathri, Saffron Huang, Jonathan Uesato, John Mellor, Irina Higgins, Antonia Creswell, Nat McAleese, Amy Wu, Erich Elsen, Siddhant Jayakumar, Elena Buchatskaya, David Budden, Esme Sutherland, Karen Simonyan, Michela Paganini, Laurent Sifre, Lena Martens, Xiang Lorraine Li, Adhiguna Kuncoro, Aida Nematzadeh, Elena Gribovskaya, Domenic Donato, Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste Lespiau, Maria Tsimpoukelli, Nikolai Grigorev, Doug Fritz, Thibault Sottiaux, Mantas Pajarskas, Toby Pohlen, Zhitao Gong, Daniel Toyama, Cyprien de Masson d'Autume, Yujia Li, Tayfun Terzi, Vladimir Mikulik, Igor Babuschkin, Aidan Clark, Diego de Las Casas, Aurelia Guy, Chris Jones, James Bradbury, Matthew Johnson, Blake Hechtman, Laura Weidinger, Iason Gabriel, William Isaac, Ed Lockhart, Simon Osindero, Laura Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub, Jeff Stanway, Lorrayne Bennett, Demis Hassabis, Koray Kavukcuoglu, and Geoffrey Irving. Scaling language models: Methods, analysis & insights from training gopher, 2021. our card
- Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. Sequence level training with recurrent neural networks. ICLR, 2016. our card
- S. J. Rennie, E. Marcheret, Y. Mroueh, J. Ross, and V. Goel. Self-critical sequence training for image captioning. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1179–1195, Los Alamitos, CA, USA, jul 2017. IEEE Computer Society. our card
- Seonggi Ryang and Takeshi Abekawa. Framework of automatic text summarization using reinforcement learning. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pages 256–265, Jeju Island, Korea, July 2012. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. ArXiv, abs/1910.01108, 2019. our card
- Chinnadhurai Sankar and Sujith Ravi. Deep reinforcement learning for modeling chit-chat dialog with discrete attributes. In Proceedings of the 20th Annual SIGdial Meeting on Discourse and Dialogue, Stockholm, Sweden, September 2019. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Maarten Sap, Dallas Card, Saadia Gabriel, Yejin Choi, and Noah A Smith. The risk of racial bias in hate speech detection. In ACL, 2019. our card
- Timo Schick, Sahana Udupa, and Hinrich Schütze. Self-diagnosis and self-debiasing: A proposal for reducing corpus-based bias in nlp. Transactions of the Association for Computational Linguistics, 9:1408–1424, 2021. our card
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017. OpenAlex ↗ · Scholar ↗
- Shiqi Shen, Yong Cheng, Zhongjun He, Wei He, Hua Wu, Maosong Sun, and Yang Liu. Minimum risk training for neural machine translation. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1683–1692, Berlin, Germany, August 2016. Association for Computational Linguistics. our card
- Emily Sheng, Kai-Wei Chang, Prem Natarajan, and Nanyun Peng. Towards Controllable Biases in Language Generation. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 3239–3254, Online, November 2020. Association for Computational Linguistics. our card
- Emily Sheng, Kai-Wei Chang, Prem Natarajan, and Nanyun Peng. Societal biases in language generation: Progress and challenges. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4275–4293, Online, August 2021. Association for Computational Linguistics. our card
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pages 1631–1642, Seattle, Washington, USA, October 2013. Association for Computational Linguistics. our card
- Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F Christiano. Learning to summarize with human feedback. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 3008–3021. Curran Associates, Inc., 2020. OpenAlex ↗ · Scholar ↗
- Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F Christiano. Learning to summarize with human feedback. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 3008–3021. Curran Associates, Inc., 2020. OpenAlex ↗ · Scholar ↗
- Yixuan Su, Tian Lan, Yan Wang, Dani Yogatama, Lingpeng Kong, and Nigel Collier. A contrastive framework for neural text generation, 2022. OpenAlex ↗ · Scholar ↗
- Akhilesh Sudhakar, Bhargav Upadhyay, and Arjun Maheswaran. “transforming” delete, retrieve, generate approach for controlled text style transfer. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3269–3279, Hong Kong, China, November 2019. Association for Computational Linguistics. our card
- Pradyumna Tambwekar, Murtaza Dhuliawala, Lara J. Martin, Animesh Mehta, Brent Harrison, and Mark O. Riedl. Controllable neural story plot generation via reward shaping. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI-19, pages 5982–5988. International Joint Conferences on Artificial Intelligence Organization, 7 2019. OpenAlex ↗ · Scholar ↗
- Jesse Thomason, Michael Murray, Maya Cakmak, and Luke Zettlemoyer. Vision-and-dialog navigation. In Leslie Pack Kaelbling, Danica Kragic, and Komei Sugiura, editors, Proceedings of the Conference on Robot Learning, volume 100 of Proceedings of Machine Learning Research, pages 394–406. PMLR, 30 Oct–01 Nov 2020. OpenAlex ↗ · Scholar ↗
- Xin Eric Wang, Qiuyuan Huang, Asli Celikyilmaz, Jianfeng Gao, Dinghan Shen, Yuan fang Wang, William Yang Wang, and Lei Zhang. Reinforced cross-modal matching and self-supervised imitation learning for vision-language navigation. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6622–6631, 2019. OpenAlex ↗ · Scholar ↗
- Anuradha Welivita, Yubo Xie, and Pearl Pu. A large-scale dataset for empathetic response generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1251–1264, 2021. OpenAlex ↗ · Scholar ↗
- Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, and Jason Weston. Neural text generation with unlikelihood training. In International Conference on Learning Representations, 2020. our card
- Sam Wiseman and Alexander M. Rush. Sequence-to-sequence learning as beam-search optimization. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 1296–1306, Austin, Texas, November 2016. Association for Computational Linguistics. our card
- Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. Huggingface's transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771, 2019. our card
- Lijun Wu, Yingce Xia, Fei Tian, Li Zhao, Tao Qin, Jianhuang Lai, and Tie-Yan Liu. Adversarial neural machine translation. In Jun Zhu and Ichiro Takeuchi, editors, Proceedings of The 10th Asian Conference on Machine Learning, volume 95 of Proceedings of Machine Learning Research, pages 534–549. PMLR, 14–16 Nov 2018. OpenAlex ↗ · Scholar ↗
- Yonghui Wu, Mike Schuster, Z. Chen, Quoc V. Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, Jeff Klingner, Apurva Shah, Melvin Johnson, Xiaobing Liu, Lukasz Kaiser, Stephan Gouws, Yoshikiyo Kato, Taku Kudo, Hideto Kazawa, Keith Stevens, George Kurian, Nishant Patil, Wei Wang, Cliff Young, Jason R. Smith, Jason Riesa, Alex Rudnick, Oriol Vinyals, Gregory S. Corrado, Macduff Hughes, and Jeffrey Dean. Google's neural machine translation system: Bridging the gap between human and machine translation. ArXiv, abs/1609.08144, 2016. OpenAlex ↗ · Scholar ↗
- Caiming Xiong, Victor Zhong, and Richard Socher. DCN+: Mixed objective and deep residual coattention for question answering. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- Xingdi Yuan, Marc-Alexandre Côté, Jie Fu, Zhouhan Lin, Chris Pal, Yoshua Bengio, and Adam Trischler. Interactive language learning by question answering. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2796–2813, Hong Kong, China, November 2019. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Xingdi Yuan, Jie Fu, Marc-Alexandre Côté, Yi Tay, Chris Pal, and Adam Trischler. Interactive machine comprehension with information seeking agents. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 2325–2338, Online, July 2020. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. Opt: Open pre-trained transformer language models, 2022. our card
- Wen Zhang, Yang Feng, Fandong Meng, Di You, and Qun Liu. Bridging the gap between training and inference for neural machine translation. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4334–4343, Florence, Italy, July 2019. Association for Computational Linguistics. our card
- Qinqing Zheng, Amy Zhang, and Aditya Grover. Online decision transformer, 2022. OpenAlex ↗ · Scholar ↗
- Victor Zhong, Caiming Xiong, and Richard Socher. Seq2SQL: Generating structured queries from natural language using reinforcement learning, 2018. our card
- Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593, 2019. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/lu-2022-quark-controllable-text-generation-reinforced/