Elamur Research

Detoxifying Online Discourse: A Guided Response Generation Approach for Reducing Toxicity in User-Generated Text

Paper · 2023 · Ritwik Bose, Ian Perera and Bonnie Dorr

Summary

A Reddit reply can make a substantive point and attack the person it addresses in the same breath. If a rewrite removes the attack, can it keep the point and still sound like something someone in that community would say? Bose and colleagues study this question on Reddit discussions about abortion. They treat detoxification as a form of guided text generation. The system writes a new reply using the message that prompted the original response and a short account of what the original author said. Some versions also let the system request a low-toxicity reply. The aim is to keep a recognizable position in the conversation while changing how it is expressed.

The authors use fine-tuning to adapt T5-large to Reddit replies. They make training examples from parent messages and the replies they received, adding automatically generated summaries and, in some versions, toxicity labels. During training, the system learns to produce the original Reddit reply, including replies with high toxicity labels. At test time, a version that accepts labels can be asked for a lower-toxicity reply using guidance derived from the original. The authors also test direct rewriting with ChatGPT and a hybrid in which ChatGPT first rephrases the reply and its wording then guides T5-large.

In the automatic test, the authors use BLEURT to compare generated replies with the original human replies. With summaries and toxicity labels, the Reddit-trained system averaged 0.438 on BLEURT when prompted for low toxicity. Direct ChatGPT rewriting scored 0.432, and the version guided by summaries without toxicity labels scored 0.456. The human judgments gave a different ordering across qualities. The hybrid scored 3.32 on the toxicity-to-constructiveness scale and 3.71 on relevance to the parent, both the highest among the configurations that annotators rated. The version with summaries and without toxicity labels had the highest authenticity rating, 3.79. Direct ChatGPT rewriting appeared in the automatic comparison but was outside the human comparison.

The results suggest that a brief account of the original reply helps the system stay close to what its author said, and that the kind of guidance influences how readers judge the new reply. The examples also show why those judgments have to be kept separate. A rewrite can remove an insult and introduce a new factual claim, or keep a recognizable opinion and add an argument the author never made. The study measures scores and judgments of individual replies. The authors’ broader goal of improving exchanges between communities remains a question about how people would respond to those replies in conversation.

Deep dive: Detoxifying Online Discourse: A Guided Response Generation Approach for Reducing Toxicity in User-Generated Text

The paper tests whether guided generation can make Reddit replies more constructive while keeping their meaning and community tone. · about 33 minutes to read

The problem and its context

An intervention in how a position is expressed

The authors start from discussions where the subject of an argument matters personally to the participants. On issues tied to identity, belief, or experience, the person writing may be trying to communicate a view and respond to a perceived attack at the same time. A sentence can therefore carry a claim about a disputed issue, an account of the author’s own experience, and a hostile judgment of another participant. Editing the whole sentence for tone raises a practical question about which of those things the editor is supposed to preserve.

The paper illustrates the problem with a reply about abortion and shame. The author of the reply rejects the idea that abortion is shameful, says that they have had abortions and stand by their decisions, and directs contempt at someone trying to shame them. Those elements play different roles. The personal account explains why the writer is speaking about the issue. The rejection of shame expresses part of their position. The contempt is directed at the person they are answering. A substitute for the original reply has to navigate all of those elements, even though they appear together in a few lines.

The alternative phrasings the paper presents alongside that example distribute the emphasis differently. A short version foregrounds the author’s experience and their rejection of the other person’s judgment. A longer one generalizes the point into a statement about how people should respond to others’ choices and adds an invitation to continue the exchange. The difference matters for what counts as preserving intent. A general appeal to civility can retain a topic and a position while changing the author’s role from someone defending a personal decision to someone offering principles for everyone in the discussion. An invitation to speak further can also change the social meaning of the reply even if the underlying position survives.

For the authors, the local sound of the reply matters as well. They describe general-purpose conversational systems as prone to formal or generic wording unless prompted for a particular style. In an online discussion, that wording could sound like a moderator’s intervention. Their conjecture is that wording closer to the community’s usual expression might be better received. In the paper, this motivates training on replies from a subreddit and asking annotators about authenticity. Reception by the community itself would require a different kind of evidence.

The paper’s longer-term ambition goes beyond rewriting a particular user’s words. The authors imagine expressing an opposing position in a style familiar to the audience, in the hope that community members would be more willing to consider it. That ambition helps explain the choice to collect from r/prochoice and r/prolife. The communities provide a setting in which the subject matter overlaps and the positions can diverge sharply. The immediate task gives the system a position already expressed in a real reply and asks it to express that position differently. Its success can be investigated by comparing the original and the rewrite.

What style transfer contributed

The paper places its task partly inside style transfer, the problem of changing a property of a text while carrying its content across the change. On that account, hostility is something to edit, and the position taken in the reply is something to retain. The authors describe earlier work by Tokpo and Calders that used texts without matched rewrites to study bias reduction. That work mapped from internal representations of biased language towards representations of language without the bias. Unpaired texts are relevant here because a collection of Reddit conversations gives a researcher examples of different tones, while naturally occurring polite rewrites of specific hostile replies are harder to identify in the same material.

The authors also describe adversarial methods used with parallel data. Parallel data, in this context, furnish corresponding examples across styles, so that training can see how similar material is expressed under different conditions. The paper's account gives these methods credit for strong results while raising a question about the kind of prose they produce. Fluency and formality can be attractive properties in a generated sentence. In the context of a Reddit thread, the authors are also concerned with whether the sentence resembles a plausible contribution from a participant. Their discussion of earlier adversarial work includes Style Transfer in Text.

Prompting offered another route. The paper describes a study that varied the examples included with style-transfer instructions. In a zero-shot prompt the instruction is given on its own, a one-shot prompt supplies an example, and a few-shot learning setup supplies several. This line of work matters to the paper because an instruction to make a reply less toxic is a direct way to attempt the same editing task, and it needs little setup for each source reply. A separate question is whether the style of edits made that way will fit a particular community. The earlier investigation is A Recipe for Arbitrary Text Style Transfer.

There is a useful difference between asking for a rewrite in general terms and teaching a system how particular information in a prompt corresponds to the kind of reply it is expected to produce. In the paper’s account of Wei and colleagues, tailored prompts and prior adaptation made it easier to elicit desired outputs. That account motivates the authors’ use of simple templates whose fields have consistent roles throughout training. At inference, requesting a low-toxicity reply then changes a field the system encountered while learning the task. The paper relates this choice to Finetuned Language Models Are Zero-Shot Learners.

Why a general-purpose rewrite raised a separate question

Other studies in the paper’s discussion help explain the authors’ interest in community style. They describe a study of GPT-3 summaries of reviews that observed a tendency towards factual and generic language. A review summary and a Reddit reply serve different ends, so that observation supplies context for the authors’ concern about generic prose. In a reply, manner of expression can be part of how a participant registers agreement, signals frustration, or challenges an assertion. A summary can preserve information valuable to the reader even when it smooths over those conversational functions.

The paper also discusses research on how ChatGPT adapts to cultural contexts. In the authors’ account, the earlier study found that adaptation was easier in an American setting than in some other settings it examined. The Reddit project concerns a narrower question about individual communities, each of which may have its own expectations about how an argument is made. The authors draw on the earlier work to motivate local adaptation, while the subreddit task itself supplies the evidence about their own configurations. The related study is Assessing Cross-Cultural Alignment Between ChatGPT and Human Societies.

A further strand concerns the detection of generated text. The paper describes earlier work where paraphrasing with a lighter T5 system made generated output harder to identify automatically. The relevance is that plausible wording can be both a design goal and a source of risk. For a person revising their own reply, more natural wording could make an alternative usable. In a fabricated reply presented as a community member’s opinion, the same property could make the fabrication more convincing. The paper treats that possibility as an ethical issue and cites Can AI-Generated Text Be Reliably Detected?.

Finally, the authors point out that the services they discuss are closed-source and change over time. For a procedure built around a detailed prompt, changes to the service can alter the behavior that made the prompt useful. Their approach uses fields chosen for the task and adapts a reply generator using examples from the community. A prompt still determines what the generator sees, but the fields have acquired their roles through training on forum conversations. The direct ChatGPT rewrite and the hybrid give the paper ways to examine what happens when a general-purpose service performs some or all of the rewriting.

The method, step by step

A reply, its context, and its content

The method starts from the relationship between two messages. The parent is the message somebody is answering. The child is the reply. In a Reddit thread, a comment can occupy either role depending on which interaction is being examined. The paper uses this relationship as the unit of generation. The goal is to produce a reply that fits the parent and, in the configurations with child guidance, carries forward what a particular person said in the original child.

The parent and child do different jobs. The parent tells the generator what the next message is responding to. If it which addresses proposed abortion restrictions, a reply about discrimination can be relevant without restating the original claim in full. The child supplies the stance or argument that actually followed. A particular parent might receive agreement, a challenge, a personal account, or a change of subject. Its text therefore gives the generator a topic and a conversational opening. Information about the child makes the task specific to that author’s response.

The authors present a condensed form of the child to the generator. In the main setup, an automatic summarizer prepares it. The generator receives that condensed account and learns to produce the full reply. Asking it to generate from a summary leaves room to choose words and sentences that differ from the original. The quality of the resulting guidance depends on what survives condensation. If a summary retains the author’s argument and drops an insult, it creates an opportunity for a cleaner reply. If it loses a qualification or shifts the author’s emphasis, the generator has less evidence with which to recover that meaning.

The toxicity-aware setup provides an additional piece of information. When training examples are assembled, the parent and child each receive a low or high label derived from a toxicity score. The child label then serves as a condition for producing the reply. During the detoxification experiment, the authors can keep the content guidance and ask the system for a reply under the low-toxicity condition. The parent label continues to describe the actual parent, which may itself be hostile.

How the system generates a guided Reddit reply

The steps in order.

How the system generates a guided Reddit replyStep 1: Collect Reddit messages and match replies to parents1. Collect Reddit messages and match replies to parentsStep 2: Score toxicity and assign low or high labels2. Score toxicity and assign low or high labelsStep 3: Summarize the parent and original reply3. Summarize the parent and original replyStep 4: Build prompts from context, summaries, and optional labels4. Build prompts from context, summaries, and optional labelsStep 5: Train on the original replies5. Train on the original repliesStep 6: Request a reply with the chosen toxicity label6. Request a reply with the chosen toxicity label

Collecting and enriching the conversations

The authors collected posts and comments over a year from r/prochoice and r/prolife. They wanted material that expressed contrasting positions on the same issue. For r/prochoice, the paper reports 116,293 collected items, including ones that were deleted. The reported total concerns collected material. The training and test counts describe items admitted to those parts of the experiment under a rule about where their parents appeared.

Collection combined PushShift with the Python Reddit API Wrapper, abbreviated PRAW. PushShift supplied cached posts and comments efficiently. The authors used PRAW to retrieve updated voting scores because the cached copies did not give them updated vote information. They also repeated collection during the day to identify removals by moderators, following the approach they attribute to Chandrasekharan and Gilbert. Repeated observation gave them a way to notice changes to the material after its initial appearance. The generation templates shown in the paper use message text, summaries, and toxicity labels. Vote scores and removal information belong to the collection framework and are outside the displayed prompt fields.

The authors added several kinds of information to each item using existing tools. Emotion labels describe the affect the classifier detects. Sentiment supplies a measure of the attitude expressed in the text. Detoxify supplies the toxicity score used for the high and low labels. A fine-tuned version of FLAN-T5-XXL supplies a summary. Those enrichments are products of automated processing. The paper’s generation experiments specifically use the summaries and, where included, the toxicity labels. The presence of additional enrichments in the collection does not establish a contribution from each to the outputs.

The authors randomly selected a training split of 70% and a test split of 20%. They enforced a rule tying each retained child to its parent. A child was eligible for a split when its parent was in that same split, and pairs that crossed the boundary were dropped. The rule matters because the parent is reproduced in the generator’s input. If it were shared across training and test examples through its replies, a test could reuse a recognizable conversational prompt from training. The rule also changes which replies are available as examples, since eligibility depends on recovering the parent in the appropriate split.

The training set contained 65,292 low-toxicity posts and 11,936 high-toxicity posts. The corresponding counts for the test set were 18,631 and 3,435. These are toxicity labels assigned by the paper’s procedure. An individual label says how an item fell relative to the cutoff, even if a reader would categorize the text differently. The training counts also show that low-labeled replies were more common in the material the generator learned from. A generator can pick up broad tendencies from such a collection as well as the relationship between a requested label and the replies associated with it.

Turning a score into a prompt condition

The toxicity tool returns a numerical score. A prompt for the toxicity-aware generator uses a category, so the authors set a threshold:

α = 0.5

Here α is the cutoff applied to an item’s toxicity score, = gives its chosen value, and 0.5 is the value used in the experiment. The authors support that choice with the distribution of scores in the posts. They report that 81% had scores below 0.33, and 12% had scores above 0.66. Those figures describe where the toxicity scorer placed the posts in the collection. They are separate from either the split counts or the ratings of generated replies.

The assignment can be written as the following rule:

label(t) = low if t < α, high if t > α

Here t is the toxicity score for the post, and label(t) is its verbal category. = specifies the category assigned by the rule. low and high stand for low toxicity and high toxicity. < and > indicate scores below and above the threshold α. The paper describes the two cases with strict comparisons and leaves the assignment at equality unspecified.

A category is easy to put into a template. It also puts together posts whose scores may be quite different. Once the score is converted to a label, the prompt carries the side of the threshold the message falls on. It conveys neither how close the score was to the threshold nor what words or conversational behaviors led the scorer to that decision. The generator learns from the text associated with the label, so it can pick up multiple aspects of those examples, including differences in content or register. That is why a low label is best understood as a request made to the system. Whether the resulting reply is constructive still has to be evaluated.

The parent and child labels can convey different information in the same prompt. The parent’s label describes the tone of an existing piece of context. The child’s label tells the system which sort of reply to produce. A hostile parent can be paired with a low-toxicity request, which lets the system learn that the requested tone of a response can differ from the tone of the message being answered. The experiment changes the request for the child while retaining a real conversational setting.

What the prompt variants contain

The authors use prompt-completion pairs. A prompt is a text assembled from named fields derived from a conversation. The completion to be learned is the child message that appeared in that conversation. The system can therefore be trained on naturally occurring responses. Each training target is the respondent’s actual wording. A pair in the training data is a message and the reply it received, as opposed to a hostile sentence paired with an editor’s detoxified version.

The basic parent-only condition, PC, supplies the parent message and trains the generator to produce its child. This is the weakest source of information about the intended reply. It can support the generation of a plausible response to the parent, and the training target is still the actual reply. At test time, however, the prompt carries no direct account of the child’s distinctive position. The paper describes another condition, PTS, which provides the parent with its summary and toxicity information. That version supplies more detail about the message being answered while still withholding direct guidance about what the original respondent said.

The condition called PCS provides the parent’s text and the summaries of both messages. In effect, the parent’s full wording supplies the conversational context and its summary highlights what it is about. The child’s summary introduces the content to express. The generator is then trained to complete the prompt with the actual reply. PCS is an informative condition because it supplies this content guidance without asking the generator to select between high and low toxicity.

PCTS uses the same basic materials as PCS and adds labels for the toxicity of the parent and requested reply. The training prompt records the label that the existing child received, and the existing child supplies the target text. This setup exposes the generator to replies of different labeled kinds. In use, the label for the requested reply can be set to low even when the original reply from which the summary was produced was rated high. The generator then has to integrate two kinds of evidence, one about the intended response and one about how that response should be expressed.

The paper also evaluates PCTS+ChatGPT. In this condition, rephrasing from ChatGPT takes the place of the usual summary guidance in the toxicity-aware setup. The automatic results table calls the same hybrid ChatGPT+PCTS. The relevant distinction is between passing a condensed description of the original content and passing a rephrased version that has already been steered towards less toxic wording. A rephrasing can make certain elements clearer for the second generator. It can also introduce wording or qualifications that influence the second stage before that stage has begun writing.

The standalone ChatGPT comparison works differently. The authors obtain a comparable test set by asking ChatGPT to rephrase the original Reddit reply to make it less toxic. The instruction in the paper supplies the reply itself. In contrast, the toxicity-aware T5 setup uses the parent and separate guidance about the reply. The comparison thus puts two ways of carrying information into the rewrite side by side. A direct rewriter can see the wording that actually needs work. A guided reply generator has an explicit account of the conversation around that wording and learns from examples drawn from it.

Learning from the replies

For the prompt-completion experiments, the authors fine-tune T5-large, the system that learns to turn the assembled input into the target reply. They use a modification of SimpleT5 that supports training on multiple GPUs. They describe training a separate version for each template for 5 epochs. An epoch is a pass through the training examples. The experiments therefore compare systems adapted to different prompt structures, rather than simply omitting fields from one fully trained system at test time.

Using the original reply as the target has an important consequence. A strongly worded or hostile reply is still useful training material for learning how participants write and how the toxicity condition relates to the text. The system can learn that association only because the highly rated replies remain visible during adaptation. The same flexibility makes the label consequential at inference, when the desired direction is to generate less hostile text. The paper’s ethics discussion also takes seriously what happens when the control is used in the other direction.

The process gives the authors a way to vary the style condition without commissioning a human rewrite of every reply. What the generator ultimately produces depends on the source guidance, its learned reply patterns, and any requested toxicity label. A summary can narrow the set of plausible responses, while the parent can help the system resolve references and choose a suitable reaction. The label gives it another reason to favor some phrasings over others. When those pieces of guidance point in different directions, the written output is the evidence of how the system balanced them.

The paper reports making the system available for public use. Its technical account identifies SimpleT5 as the basis of the modified training library and Detoxify as the toxicity scorer. The data procedure and the prompt templates are central to understanding the approach because the same generator can learn quite different reply tasks depending on which fields it sees and what text it is expected to complete.

Experiments and results

What the comparisons measure

The experiments ask whether a generated reply preserves the content of its human reference and whether readers judge it clear, constructive, authentic, and responsive to the parent. These are different relationships. Fidelity compares the new reply with what a specific person said. Relevance concerns the fit between the new reply and the message it answers. Authenticity concerns the impression made by the wording. A reply may sound at home in a thread and address the right subject while attributing the wrong argument to the original author. The paper’s use of different evaluations gives those outcomes some room to appear separately.

The automatic comparison uses the original human reply as a reference and measures semantic similarity with BLEURT. Higher scores indicate closer matches under the metric. The original reply supplies evidence of what was said, including whatever language the system was asked to change. A good result on this measure supports the narrower claim that the rewrite retained content recognized by the metric. It does not by itself rate the social qualities the authors hoped to improve. The paper draws the metric from BLEURT.

This reference choice is especially important for the weaker prompt conditions. PC and PTS try to produce a particular reply with information about the parent alone. For those conditions, a result can be semantically distant from the reference even if it would fit the conversation. A parent message can invite several sensible responses, and its content can determine a topic without determining the stance of the next speaker. The comparison asks those systems how closely they can recover the actual reply, which is precisely the information that the child summary gives to the guided versions.

The human evaluation covers PCS, PCTS, and the hybrid PCTS+ChatGPT. Under the paper’s annotation procedure, the annotators rated 300 instances divided across those configurations. The study used 5 annotators and assigned each instance to two readers. Judgments used a scale of 1-5. Fluency concerned whether the reply was coherent and easy to understand. The toxicity-to-constructiveness scale asked about the reply’s likely contribution to a hostile or constructive exchange. Authenticity concerned how natural and human the reply appeared. Relevance concerned how well the reply answered its parent.

These categories give the ratings different points of reference. Fluency can be judged largely from the generated text. Relevance makes sense only in relation to the parent. Authenticity asks about a reader’s impression of the generated response as a human contribution. The toxicity-to-constructiveness judgment asks the reader to consider what the response might do to the conversation. None is framed as a direct human rating of whether every claim in the child was preserved, which leaves the BLEURT comparison and the worked examples to address much of the fidelity question.

Similarity to the original reply

The highest BLEURT score in the reported comparison is 0.456 for PCS. PCTS averages 0.433 when requesting high toxicity and 0.438 when requesting low toxicity. Direct ChatGPT rewriting scores 0.432. These values place the toxicity-conditioned generator with ordinary summary guidance close to the standalone direct rewrite on this particular metric. They also show that the strongest reported score for similarity comes from the configuration that receives summaries and forgoes the toxicity labels.

Average BLEURT against original replies in the Reddit test set

Guidance from the original reply helps preserve content, with PCS scoring highest in this comparison.

Average BLEURT against original replies in the Reddit test setPC: 0.196PC0.196PTS: 0.201PTS0.201PCTS+ChatGPT, high request: 0.357PCTS+ChatGPT, high request0.357PCTS+ChatGPT, low request: 0.366PCTS+ChatGPT, low request0.366ChatGPT direct rewrite: 0.432ChatGPT direct rewrite0.432PCTS, high request: 0.433PCTS, high request0.433PCTS, low request: 0.438PCTS, low request0.438PCS (this paper): 0.456PCS (this paper)0.456
The numbers
System or settingBLEURT
PC0.196
PTS0.201
PCTS+ChatGPT, high request0.357
PCTS+ChatGPT, low request0.366
ChatGPT direct rewrite0.432
PCTS, high request0.433
PCTS, low request0.438
PCS (this paper)0.456

The parent-only PC score is 0.196. PTS, with the additional parent information, scores 0.201. Those results fit the structure of the prompts. Better information about the parent can clarify what is being answered, but the parent still leaves open many possibilities for what somebody chose to say in response. The considerably higher results for versions with child guidance are evidence that the reply content is useful for reconstructing a particular response. They are less informative as a ranking of what would count as acceptable comments on the same parent.

Replacing ordinary summary guidance with the ChatGPT rephrasing gives scores of 0.357 for the high request and 0.366 for the low request in the hybrid. Both values are below the scores obtained by either the direct ChatGPT rewrite or the standard PCTS setup. For this metric, moving the direct rewrite into a second generation stage failed to preserve the standalone rewrite’s score. The paper takes this as evidence that feeding one method’s output into another does not simply yield the sum of their benefits.

The high and low requests within PCTS yield similar BLEURT values, and the same is true within the hybrid. The authors interpret this as evidence that changing the requested toxicity has little effect on the measured similarity in these tests. That interpretation concerns the change in the metric under the tested conditions. The values provide no direct measurement of the toxicity of each resulting reply. They are compatible with substantial changes to some texts, especially where a shift in phrasing affects the social force of a message while leaving the central claim recognizable.

The metric also treats agreement with the original reply as the basis for scoring. Suppose a new reply keeps the original writer’s opposition to a measure but turns a personal criticism into a specific allegation about the consequences of that measure. The outputs can share enough content for the metric to recognize a relationship. A human reader considering use of the rewrite might instead focus on whether the added allegation is one the author meant to make. That distinction is visible in the paper’s example, where some replies are about the same proposed restrictions and still vary in the claim they advance.

What the readers rated highest

The fluency scores were 4.06 for PCS, 3.96 for PCTS, and 3.92 for the hybrid. Under the study’s fluency criterion, all of those values are towards the upper end of the rating scale. The simplest of the rated configurations leads this comparison. Adding a label or substituting a rephrasing therefore offered no fluency advantage in the reported averages.

On the toxicity-to-constructiveness scale, PCS received 2.57, PCTS received 2.54, and PCTS+ChatGPT received 3.32. The hybrid is the strongest on that human judgment. In particular, the ratings of PCS and PCTS are close to each other. Adding fields for toxicity is a way to tell the system what tone to aim for, while the annotators’ scores reflect what those readers actually found in the responses they saw. The human judgment and the existence of a prompt control address different questions.

Human toxicity-to-constructiveness ratings for generated Reddit replies

The hybrid received the highest ratings for contributing constructively to the exchange.

Human toxicity-to-constructiveness ratings for generated Reddit repliesPCS: 2.57PCS2.57PCTS: 2.54PCTS2.54PCTS+ChatGPT (this paper): 3.32PCTS+ChatGPT (this paper)3.32
The numbers
System or settingMean rating on the toxicity-to-constructiveness scale
PCS2.57
PCTS2.54
PCTS+ChatGPT (this paper)3.32

PCS had the highest authenticity rating at 3.79, followed by PCTS at 3.68 and PCTS+ChatGPT at 3.39. This ordering matters because the authors wanted the rewritten replies to sound like plausible contributions to the community. The most constructive configuration by the previous measure also received the lowest human-likeness rating in this comparison. A more measured reply can read as helpful to an evaluator while losing some of the immediacy they associate with a person taking part in the thread.

Human authenticity ratings for generated Reddit replies

Readers found the version with ordinary summaries and no toxicity labels the most human-like.

Human authenticity ratings for generated Reddit repliesPCTS+ChatGPT: 3.39PCTS+ChatGPT3.39PCTS: 3.68PCTS3.68PCS (this paper): 3.79PCS (this paper)3.79
The numbers
System or settingMean authenticity rating
PCTS+ChatGPT3.39
PCTS3.68
PCS (this paper)3.79

Relevance to the parent follows the ordering seen in constructiveness. The hybrid scores 3.71, PCTS scores 3.25, and PCS scores 3.14. The hybrid’s lead on relevance can coexist with its lower BLEURT score because the two tests ask for different comparisons. The annotators judge how well the output fits the parent. BLEURT measures resemblance to the human child. A generated reply can form a clear, relevant answer to the parent by providing a qualification or a new argument, even if that qualification or argument moves it away from what the original respondent said.

The human comparison also leaves open how direct ChatGPT rewriting would have fared on these same scales. The result that the hybrid did best on constructiveness applies to the rated set. The automatic comparison allows a direct comparison between the hybrid and ChatGPT on similarity. These overlapping sets help locate the evidence for each claim. They do not supply human ratings for a system that appears only in the automatic table.

How much the readers agreed

The authors assess agreement with Krippendorff’s alpha using the interval metric. The agreement statistic concerns how consistently annotators use their numerical judgments on the same material. Using the interval form means the distance between scale values matters. A pair of judgments that are far apart counts as a larger disagreement than neighboring judgments. This is a question about the ratings process, separate from the averages used to compare the configurations.

The paper reports agreement values of 0.46 for fluency, 0.44 for toxicity-to-constructiveness, 0.35 for authenticity, and 0.44 for relevance. Authenticity has the lowest agreement of the rated properties. Readers can have different impressions of how real a reply sounds, even though they are asked to use the same scale. That matters for the paper’s community-style claim because naturalness is one of the properties the authors hoped training on local language would improve.

The reported averages capture how the annotators rated the sampled responses. Agreement provides context for reading the order of those averages, especially where values are close. For instance, the authenticity comparison shows a higher mean for PCS than for PCTS. The agreement statistic shows that judging authenticity varied more among these readers than judging fluency did. Together, these results describe both the comparison observed in the study and the difficulty of measuring the property.

What the ablations show

Adding information about the person who replied

The prompt variants let the authors examine which information contributes to matching the original reply. PC and PTS both rely on the parent. PTS adds parent-side enrichment, yet its average BLEURT score remains close to PC’s. The comparison suggests that the obstacle in recovering the intended reply is mostly informational. The parent describes what someone was responding to. Even when that message is well characterized, it can leave the next speaker’s stance, reasons, and wording open.

PCS changes that situation by giving the generator a summary of the reply. It also includes the parent summary. With this prompt the generator gets evidence of what the original respondent intended to add. The higher BLEURT score is consistent with better access to that content. The comparison is between whole templates with separately trained generators, so it supports the practical value of child guidance more directly than it isolates the contribution of every field. In particular, the result does not assign a separate effect to summarizing the parent while holding the child information fixed.

The parent-only conditions help explain why the result should be read as a finding about rewriting. A system that writes a plausible next comment from the parent may satisfy an open-ended response task. Here success includes coming back to the specific points the original author made. In that setting a short account of the child helps even though the task at inference is to produce fresh phrasing. The prompt gives the generator a smaller set of content decisions to make on its own.

Adding the toxicity labels

PCS and PCTS make a closer comparison. Both receive the parent text and the summaries of the parent and child. PCTS introduces the low or high descriptions for both messages. PCS leads the BLEURT comparison, while both PCTS requests yield results near the direct ChatGPT rewrite. In the human comparison, PCTS has a higher relevance average than PCS and lower averages on the other rated properties. Their constructiveness means are especially close. The reported results support the label as a way of specifying a generation condition. They give a less clear account of an overall quality improvement from including labels.

The within-PCTS comparison separates the requested value from the decision to train with labels at all. The authors can prompt the same configuration for high or low toxicity and compare the average semantic similarity to the human reply. Those averages stay close, suggesting that choosing the low request can leave much of the measurable correspondence in place. In the hybrid, the low and high requests show a similar pattern. Since BLEURT is the measure used in these comparisons, the evidence is about correspondence with the source reply under that metric.

To see what the label can change, the paper shows replies to a parent objecting to treating people as incubators. The human child calls the abortion restrictions sexist. One toxicity-aware output requested under the high setting attacks the bills with profanity. The corresponding low-setting example instead claims the bills are leading to deaths associated with unsafe abortions. The first conveys strong opposition through abusive register. The second does so through a claim about consequences. Its wording is less overtly profane, and its argument has shifted. This is an example of why the prompt condition and fidelity to the author’s reason for opposing the bills are separate concerns.

The earlier stages of the same example show that additional parent information can also leave considerable freedom. The paper displays unavailable text for some outputs, and one parent-guided version echoes the incubator imagery in an incongruous first-person formulation. A version guided by summaries turns the original charge about sexism into a broad statement about the harm the bills will cause. The example shows that matching the subject of the conversation can still leave a long way to go in matching the child’s actual proposition. It illustrates possible behaviors in one exchange and supplies no frequency for them.

Replacing the summary with a prior rewrite

The hybrid comparison changes the source of guidance about the intended reply. The standard toxicity-aware system receives summary material. The hybrid receives rephrased material from ChatGPT. Direct ChatGPT rewriting alone achieves a higher BLEURT score than the hybrid, and ordinary summaries guide PCTS to higher BLEURT scores than the hybrid under both requests. In the reported setup, supplying an already edited reply as guidance did not give the second generator a better automatic match to the source.

The worked example makes this comparison concrete. The direct rewrite retains the human respondent’s claim that the restrictions discriminate against women. The hybrid starts from that same point and expands it into a qualification about whether the effects of the laws have been studied and how they might affect access to abortion. The added passage changes what the reader takes away. The output still addresses the parent and remains recognizable as a reply about the same restrictions. It gives the original respondent further claims to which they never committed in the source reply.

The human scores show what the hybrid gains in this configuration comparison. Readers rated it highest on constructiveness and relevance, and they gave the ordinary summary configuration the higher authenticity score. One plausible reading of the ratings is that rephrased guidance makes it easier to produce a response that sounds measured and explicitly connects to the parent. The example also shows how that kind of explicitness can introduce distance from the original. Since the paper does not trace the reason for each annotator’s judgment, the link between elaboration and those ratings remains an interpretation of the pattern.

Together, the comparisons distinguish preserving what was said, improving a reader’s impression of the exchange, and retaining a human voice. Child guidance helps with the first as BLEURT measures it. The hybrid leads on the second when measured through ratings of constructive contribution. The version with ordinary summaries and without labels leads on authenticity as the annotators judged it. Which configuration appears strongest depends on which part of the rewriting task is being measured.

Limitations

Limits the authors identify

The toxicity labels depend on an outside scoring system, and the authors report that profanity can be mistaken for toxicity. A swear word can express anger at a policy or emphasis among people who share a view. A reply can also undermine a conversation using calm language. The feature the authors care about ultimately involves how speech relates to community expectations and whether it causes discord. The scorer supplies a uniform input for the experiment, but a community’s judgment can depend on who is addressed, what happened earlier, and what its participants regard as permissible.

The authors also observe that a toxicity library can lag behind the vocabulary people actually use. A current event, a meme, or a newly adopted expression can give apparently ordinary words a hostile meaning in a particular setting. The scoring system can miss that meaning when the signals it relies on have yet to catch up. Adapting a generator to current local language might help it reproduce such expression, which serves the authenticity goal while potentially carrying the risk forward. The paper calls for closer study of cases where generation could increase toxicity without the operator intending it.

Summarization presents a different limitation. The authors regard summaries as important for linking the generated reply to the original, while recognizing that a condensed description can drop its deeper meaning. A reply may contain a firm objection to a policy along with a qualified agreement about some aspect of it. A short account can preserve the general subject and lean while losing the qualification. The authors suggest adding guidance in the form of stance predicates, a way to identify explicitly what a writer takes a position on and how they relate to it. In this paper that is a direction for further work.

The training runs used A6000 GPUs, and the authors say that reducing the resources required is possible. They also describe a limit of 512 tokens, the units of text that the generator processes. The limit can affect long replies or prompts containing lengthy parent material and summaries. Information beyond what the system can use might include a reason, a qualification, or the material that makes a response intelligible. The authors caution that long posts may consequently be rephrased poorly. They also tie use in languages other than English to the availability and performance of the necessary tools for scoring and summarization in those languages.

The authors call for more robust evaluation across additional domains. They point to differences in how readers interpret a rating scale and to the tendency to choose a middle value when uncertain. A ranking task, where readers order outputs, could help with some of those problems. The authors note that it would demand more annotator time and give up the information that a numerical scale is meant to convey about the size of a quality difference. They also raise system-level probabilistic assessment as a possible way to evaluate the systems. The conclusions reported here are based on the rating procedure they actually ran.

The ethics statement highlights risks in producing writing that appears to come from a community. The same generator can be prompted towards higher toxicity. A person could use that capability to manufacture an exaggerated impression of how a community talks or what its members believe. Making generated replies look more authentic can compound that risk, especially if natural wording makes synthetic text harder to detect. The authors report that the Reddit material was automatically deidentified and that their institution’s review board approved the work. Those safeguards concern the handling and study of the data. The potential uses of generated text extend beyond that setting.

Limits of the experimental evidence

The paper motivates collection with contrasting Reddit communities, but it reports the collection count for r/prochoice and gives no separate performance results for each subreddit. The evaluation therefore offers limited evidence about adapting to one community and writing for another, or about preserving an unpopular position in the idiom of a particular audience. Those are important cases for the authors’ broader goal. They would require knowing which community supplied the training examples, whose position the system was expressing, and how the intended audience responded.

The scale for authenticity asks how natural and human a reply appears to the annotators. That is a meaningful judgment, but different intelligible versions of human writing can all sound natural. One can sound like a long-time participant in a subreddit, another like a newcomer, and another like a reasonable contributor whose register fits many forums. The described rating does not distinguish those cases. It supports statements about perceived human-likeness in the rated material. Establishing that readers recognize a community’s characteristic style would require a measurement that explicitly asks them to make that distinction.

The authors’ hope for better discussions also goes beyond the toxicity-to-constructiveness scale. Annotators judge an individual reply’s apparent capacity to promote constructive or hostile exchange. Participants in a real thread would decide whether to engage, what interpretation to give the reply, and how to answer it. The experiment follows the first of those textual judgments, instead of the later reactions. It can report that the hybrid looked more constructive to its readers. It leaves the effect on the course of a discussion open.

Likewise, the automatic comparison offers a limited test of faithfulness. BLEURT scores summarize correspondence to the original reply and give a consistent basis for comparison across settings. A reply may preserve enough of a source to score reasonably while adding a claim that matters to the author. The worked example supplies a concrete instance of the type of drift readers should watch for. Without a separate inventory of preserved, omitted, and introduced claims, the scores cannot establish how frequently the rewrite presents the author’s view accurately in that stronger sense.

The results also do not give a direct rate at which a low-toxicity request reduces actual toxicity. The high and low rows in the automatic table are conditions imposed on generation, while the values are BLEURT scores. The human constructiveness averages compare configurations and represent a broader judgment about the output. From this evidence it is possible to say that different requests can produce different wording, and that the human readers preferred the hybrid on the constructive end of their scale. The paper leaves unanswered how often a low request would help on a particular kind of hostile input, and how often it would make an exchange worse.

Finally, the split rule protects against reusing a parent across the training and test relationship described by the authors. It also limits evaluation to messages with an eligible parent in the same split. A rewriting tool used in practice might receive a reply whose parent has been deleted, a message that depends on context elsewhere in a thread, or a post that stands on its own. The direct ChatGPT comparison can be run with just the reply in its instruction. The reported guided procedure is evaluated with the parent-child structure available, so its results apply most directly to that setting.

What came after

No later citing work is available to trace here. The paper closes by defining follow-up questions raised by its own experiments. The proposed use of stance guidance addresses the cases where a rewrite stays on topic and changes the writer’s actual position or reasoning. The authors also call for research on community health, which would bring the treatment of toxicity closer to the norms and behavior of the people in a discussion.

Those directions extend different parts of the study. Stance guidance concerns whether a particular reply still says what its author meant. A community-health evaluation concerns whether offering or using such a reply changes the exchange that follows. The paper contributes a way to generate and compare candidate replies, with evidence about similarity and readers’ impressions. Its proposed next steps concern fidelity at the level of what a person claims and effects at the level of what a community does.

Cite

Cite as Ritwik Bose, Ian Perera and Bonnie Dorr. 2023. Detoxifying Online Discourse: A Guided Response Generation Approach for Reducing Toxicity in User-Generated Text. Proceedings of the First Workshop on Social Influence in Conversations (SICon 2023).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.sicon-1.2

@inproceedings{bose2023detoxifying,
  title = {{Detoxifying Online Discourse: A Guided Response Generation Approach for Reducing Toxicity in User-Generated Text}},
  author = {Ritwik Bose, Ian Perera and Bonnie Dorr},
  booktitle = {Proceedings of the First Workshop on Social Influence in Conversations (SICon 2023)},
  year = {2023},
  doi = {10.18653/v1/2023.sicon-1.2},
  url = {https://doi.org/10.18653/v1/2023.sicon-1.2}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bose-2023-detoxifying-online-discourse-guided-response/