Elamur Research

Towards Knowledge-Grounded Counter Narrative Generation for Hate Speech

Paper · 2021 · Yi-Ling Chung, Serra Sinem Tekiroğlu and Marco Guerini

Summary

A reply to online hate speech can challenge a claim without attacking the person who made it. Writing such a reply takes more than recognizing the target of the abuse. A useful counter narrative may need a fact, a specific example, or a different way to frame the issue. A system trained on examples of hate speech and replies may learn to object in fluent language while offering little substance. It can also invent details that sound authoritative. The authors investigate whether giving the system passages from an external collection helps it write replies that are better suited to the post.

The approach separates finding material from drafting a reply. First, the system extracts topical phrases from the hateful post and predicts phrases that might appear in a thoughtful response. It can use both kinds of phrase to search news and Wikipedia articles. It ranks individual sentences from those articles, then passes the selected sentences and the original post to a reply generator. To train that generator, the authors start with an existing dataset of expert-written counter narratives. They use phrases from the known replies to find passages that might support them. The paper calls these automatically matched passages silver knowledge. At test time, predicted phrases can stand in for the clues that a known reply supplies during training.

The experiments distinguish the quality of the search from the ability to write with the material it finds. On the CONAN test split, GPT-2 with retrieved passages reaches a BLEU-2 score of 0.085 when the query combines phrases extracted from the post with predicted reply phrases. It reaches 0.166 when search can also draw on the human reference reply, an advantage unavailable when drafting a new response. In a separate test, an expert writes reference replies with the supplied passages in hand. On that test, specialists give the grounded GPT-2 the highest average suitability rating both for the familiar target of Islamophobia and for unfamiliar targets. Its cross-domain suitability rating is 2.51 on the study’s scale of 1 to 5, compared with 2.26 for GPT-2 without the passages.

Different ways of using retrieved material produce different kinds of success. XNLG receives the highest expert informativeness ratings, yet frequently reproduces large stretches of the supplied text and scores much lower on suitability. The grounded GPT-2 produces replies that experts find more appropriate to the post, including some directed at targets absent from its counter-narrative training. That transfer result depends on the system receiving useful passages. The experiments assess drafted replies, with factual verification and effects on live conversations left open. The authors envisage the system suggesting drafts to trained operators, who would decide what to use.

Deep dive: Towards Knowledge-Grounded Counter Narrative Generation for Hate Speech

How generated search phrases and retrieved evidence help draft replies to hate speech, and what expert ratings reveal about their quality. · about 38 minutes to read

The problem and its context

What a counter narrative needs to do

The paper treats counterspeech as an intervention inside a conversation. A platform can remove a hateful post, suspend an account, or reduce the visibility of its content. A counter narrative takes a different route through the conversation itself. It responds to the claim or the outlook behind the post, tries to reduce hostility, and gives participants something they can consider in place of the hateful generalization. The authors present this as an option for organizations concerned with intervening while preserving space for people to express views. Their research question concerns the production of replies. The effects of moderation policies fall outside the experiment.

The distinction between an appropriate reply and an informative one motivates the study. A person can ask for evidence, object to a sweeping accusation, or ask why someone has generalized about an entire faith. The paper treats such replies as legitimate forms of counterspeech. A more specific reply can address the same accusation by explaining which premise is misleading and bringing in a concrete fact or example. The paper illustrates this with a post that links Muslims collectively to the abuse of children. One possible reply challenges the generalization. A more developed response points to the role of people already known to victims and offers an example of a Muslim person helping others. An insult directed at the writer illustrates a separate failure of tone. The examples establish what the authors want a generator to strive for and give readers a reason to distinguish substance from basic appropriateness.

That distinction creates a practical problem for the organizations the authors have in mind. Trained operators already write counter narratives. A reply with a specific argument can require research in addition to the work of understanding the post and choosing a tone. The burden grows when many posts need a response or when an event brings a new set of claims into circulation. A generic objection is easy to reuse. Evidence has narrower conditions of use. A statistic can lose relevance as the circumstances change, and an example that answers one accusation may do little for a different accusation about the same group.

The hateful post itself may give a search system very little to work with. Some inputs are short expressions of contempt. Others make broad accusations with no indication of where a writer could find a useful answer. A post may provide a group name and a loaded description, while the words that would lead to a correction belong to a different vocabulary. This is a central difficulty for information retrieval. Searching for the language of the accusation can recover other texts that repeat it, discuss a related controversy, or use the same language in a different sense. A search query for counterspeech needs a way to express the possible subject of a reply as well as the subject of the post.

What earlier research offered

The authors draw on studies of counterspeech that examined the characteristics of successful interventions, evaluated how people responded, or analyzed the accounts of people who intervene. They describe earlier work on exchanges among strangers on Twitter as evidence that some arguments can move discourse or attitudes in a favorable direction. This motivates interest in the way a reply is written. Whether the replies in the present study have such effects is a question for a different experiment.

Earlier work had also begun treating hate speech intervention as a task for text generation. A system could be trained on posts and example replies and then asked to continue a new post with a counter narrative. The paper situates its work alongside efforts to assemble suitable data and learn the response task from paired examples. An intervention benchmark is one part of that background. A Benchmark Dataset for Learning to Intervene in Online Hate Speech

Learning from pairs can teach a system the wording and argumentative patterns common in the replies. The authors identify a gap between that ability and access to evidence. A pretrained generator can recall some information from the text it learned from, and that information can help it form an argument. Events and statistics can change after training. The system can also combine familiar language into a claim that has no support. The paper shows a fluent example that gives a substantially incorrect estimate of the Muslim population of the United Kingdom. Its figures and qualifications give it the appearance of an informed correction. The example makes clear why a polished style provides such weak evidence of factual accuracy. The authors relate this problem to earlier discussions of what pretrained systems retain and the risks of plausible generated text. Language Models as Knowledge Bases? · Defending Against Neural Fake News

Counter-argument generation supplies another precedent. The paper describes work on retrieving evidence and generating arguments for subjects with substantial discussion, including politics and economics. In that setting, a developed input argument may name a policy, state a position, and give reasons. Each of those parts can help a search engine. A hateful post may invite a rebuttal without giving anything resembling a reasoned argument. The authors also point to the limited supply of training examples for counter narratives. Both differences matter when adapting a method from argument generation. A search procedure suited to a well-developed argument can receive very little direction from a short hateful post.

Candela is the closest predecessor the authors identify. It generates an opposing argument with help from external text. The new pipeline retains the idea of retrieving text before generating a reply and adds a learned step for constructing the query. It also examines how to supply retrieved sentences to pretrained generators. Its search material comes from articles in ordinary prose, with comparatively little preparation of the knowledge itself. The emphasis is on identifying passages that a reply might use, then giving the drafting system enough information to use them.

Related work in dialogue systems and question answering had explored bringing external information into a response. The paper describes methods that supply topical phrases, draw on knowledge graphs in principle, or retrieve ordinary text. Articles give the authors a practical source of knowledge because they lacked a structured resource for the hate speech setting. This choice also makes it possible, in principle, to change the collection independently of the trained generator. Work on using textual evidence in conversation provides a direct precedent for treating a passage as additional input to the response. Wizard of Wikipedia · A Knowledge-Grounded Neural Conversation Model

The method, step by step

From a post to possible evidence

The method breaks the task into a search and a writing decision. Start with a post that makes a hostile generalization about Islam. Phrases extracted from that post can identify Islam and the language of the accusation. A system that predicts reply phrases might suggest topics such as other faiths or religious practice. These phrases are leads for a search. The retrieved sentences determine what evidence is actually available, and the reply generator then has to decide whether that material helps answer the post.

The paper’s examples show what can change between searches. A query made from the post alone can bring back passages that share its hostile metaphor or use the same comparison about extremism. Phrases predicted for a reply can instead pull in material on Islamic law or the historical presence of Christians in Muslim communities. Phrases from an existing human reply can lead to passages about religious tolerance. Each search can start from the same post and suggest a different direction. The predicted phrases do not have to reproduce the human writer’s plan exactly to yield useful material.

Finding evidence and drafting a counter narrative

The steps in order.

Finding evidence and drafting a counter narrativeStep 1: Read the hateful post1. Read the hateful postStep 2: Extract topical phrases from the post2. Extract topical phrases from the postStep 3: Predict phrases for a possible reply3. Predict phrases for a possible replyStep 4: Search the article collection with the query4. Search the article collection with the queryStep 5: Rank sentences from the retrieved articles5. Rank sentences from the retrieved articlesStep 6: Draft a reply from the post and selected sentences6. Draft a reply from the post and selected sentences

This diagram follows the path that can use both sources of phrases at test time. The training procedure can exploit the known reply to construct a different query. Keeping track of what information is available at each stage is essential to interpreting the experiments. The result with reply-derived phrases measures what happens when search receives clues from the reference. The result with predicted phrases measures a route that can run with only the post as its initial input.

Building training examples from existing replies

The starting point is CONAN, a dataset with counter narratives written by trained NGO operators. The English portion contains 6645 post–reply pairs. It includes 1288 original pairs, 2576 pairs that match paraphrased posts to the original replies, and 2781 pairs translated from French and Italian. The English training, development, and test splits contain 4069/1288/1288 samples, respectively. Paraphrases matter for interpreting the test. The same human reply can be relevant to differently worded posts. In the other direction, the paper notes that a post can appear with more than one reply.

The available pairs tell the authors how an operator responded. The dataset supplies no passage associated with that response. Constructing a substantial collection in which operators document their searches and the materials they use would take extensive collection work with trained staff. The authors instead work backward. Given the existing reply, they extract phrases that describe what it discusses. They search for sentences likely to cover some of the same content, then add those sentences as input to the original post–reply pair.

The resulting sentences are called silver knowledge because the association is automatic. A useful match might mention the fact a reply uses. Another might share only the subject or some of the wording. The generator is trained with both cases present and receives the human reply as its writing target. The procedure makes supervision possible with the existing paired data. The label describes how the passages were matched, and their relation to individual claims can vary.

Constructing the search query

The extraction tool is Keyphrase Digger. It uses statistical and linguistic information to identify important phrases in text. The authors use it to obtain phrases from the hateful post and, when available, from the human reply. In the paper’s notation, Q denotes a search query, hs refers to the hateful post, cn to the human counter narrative, and gen to predicted phrases intended to resemble those of a plausible reply. The query forms differ in the source of their phrases.

Qₕₛ uses only phrases extracted from the post. It is the most direct way to retain the group, claim, or event under discussion. Q꜀ₙ uses only phrases extracted from the answer. It can represent the themes of a rebuttal, although a generic answer may have little trace of the original topic. The paper uses the union sign in Qₕₛ∪꜀ₙ to denote a query combining the post phrases with the reply phrases. This combination anchors the search to the original issue while supplying clues to the content the generator is expected to learn to write.

The reply phrases are available while preparing training examples. Producing them for a new post requires a separate prediction step. The authors train a generator that reads the post and outputs a comma-separated list of likely reply phrases. That list can form a query on its own, Qɡₑₙ. It can also be added to the extracted post phrases. In Qₕₛ∪ɡₑₙ, the predicted side suggests where a rebuttal might go and the extracted side keeps the search near the issue at hand. The combined predicted query is the practical approximation to the combined reference query.

The two sources of phrases play distinct roles even when they happen to share words. A post phrase can preserve a detail such as the religion under discussion. A reply phrase can introduce a possible point of comparison, a context in which the claim can be checked, or a subject that is absent from the accusation. This is why the paper generates phrases for a possible answer instead of asking the prediction stage simply to restate the post. Its output serves as a search query. The reply itself is written after retrieval.

Training the phrase predictor

The authors remove examples with counter narratives shorter than 10 words when preparing data for phrase prediction. Many of the short responses are generic requests for evidence or objections with no developed argument. They can be reasonable replies in context. Their phrases are typically weak supervision for learning how to find material for an evidence-based answer.

After filtering, the phrase predictor uses 4038/1257/1257 training, development, and test examples. The training split includes the original pairs and the pairs translated from French and Italian. Development and test examples use different paraphrases of the original hateful posts, along with their associated replies. The differences in wording give the predictor a test of whether it can propose useful phrases when it sees another formulation of the input.

A training sequence contains the post, a marker ending the post, the keyphrases extracted from the human reply, and a marker ending the phrase list. The markers give the sequence a boundary between what the system is given and what it should produce. At test time, the post is the starting input. The output is the phrase list that search will use.

The phrase predictor follows the base Transformer setup. Its configuration uses 6 Transformer layers and 8 attention heads, with an embedding size of 512 and a hidden size of 2048. The dropout rate is 0.1. Training uses a batch size of 64 for 100 epochs and takes around 7 hours. The paper reports carrying out its experiments on a Nvidia Tesla V100 GPU. The architecture comes from the work that introduced the Transformer. Attention Is All You Need

The authors generate phrases using nucleus sampling with p set to 0.9. Nucleus sampling takes the next output token from a set of likely continuations whose accumulated probability reaches the chosen threshold. The size of that set can vary as prediction proceeds. For this task, sampling allows some variation in the phrases suggested for a post. The relevance of the suggestion still depends on what the search returns. The Curious Case of Neural Text Degeneration

Searching articles and selecting sentences

The search collection is made up of Newsroom and WikiText-103. Newsroom contains 1. From 1998 through 2017, major news publications produced 3 million articles, with more than 6.9 million words as reported in the paper. WikiText-103 provides 28,595 complete Wikipedia articles and covers over 103 million words. These collections offer material in prose that the researchers can index without constructing a dedicated factual database for each hate target. The choice of articles also separates updating the collection from updating the generator. Newsroom · Pointer Sentinel Mixture Models

Solr indexes the articles and retrieves the 25 highest-ranked articles for a query. It uses BM25, an article-ranking method based on the match between query terms and documents. The retrieved article is the unit of the initial search. An article can be close to the query overall while containing only a short passage that matters for the reply. The next step therefore uses spaCy to split the articles into sentences. The paper treats sentence selection as a separate ranking problem. Okapi at TREC-3

The paper gives the sentence score in the following form.

sᵢ = rouge(xᵢ, Q), ∀ i ∈ D

Here i indexes a candidate sentence, xᵢ is that sentence, and sᵢ is its score. Q is the current phrase query. rouge applies ROUGE-L F1 to the sentence and the query. ROUGE-L measures overlap through a longest common subsequence, a sequence of matching elements in the same relative order. The F1 score balances the match in both directions. D denotes the retrieved material and, for the purposes of the indexing in this formula, the candidate sentences obtained from it. The symbols ∀ and ∈ indicate that the scoring applies to every candidate indexed in D. Each sentence is scored independently. ROUGE

The system keeps the top 5 sentences from across the retrieved articles. The authors wanted to leave room for a range of articles and sentences, so they chose this ranking and cutoff in place of a more stringent filter. The score is a proxy for relevance to the query. It indicates that a sentence contains some of what the search asked for. The role of that sentence in an argument still depends on its meaning and its relation to the post. Passages with similar words can support a rebuttal, repeat the accusation, or describe a context that a short query leaves ambiguous.

Learning to write the reply

The final stage learns to produce the human-written counter narrative given the post and its matched passages. A training sequence places the post first, followed by its boundary marker, then the selected knowledge sentences and their boundary marker, then the reply and a final marker. The paper denotes the selected knowledge as KN. At inference, the system receives the post and KN and generates the reply. This arrangement lets the same drafting system receive passages found with different queries.

In the main silver-knowledge experiment, the grounded systems developed by the authors are trained with passages retrieved using both the hateful post and the human reply. The test can then switch among passages retrieved using the post alone, predicted phrases alone, or the two together. Another test uses both post and human reply phrases, producing the paper’s oracle condition. The oracle benefits from knowing the reference response during retrieval. Its role is to show what happens when the search has particularly well-informed guidance within the same automatic matching procedure.

The main grounded GPT-2 system starts from GPT-2 medium and uses fine-tuning to learn the counter-narrative task. The authors train it for 3 epochs with batches of 2048 tokens. They use the Adam optimizer and a learning rate of 5e-5. At test time, the post and retrieved sentences condition generation, with nucleus sampling again using p of 0.9. The training outcome of interest is a reply shaped by both sources of input. The reply can echo relevant parts of the evidence or express the information in a new sentence.

A multitask GPT-2 variant adds a response-classification objective. The authors introduce it after observing occasional abusive fragments in generated replies. During fine-tuning, the system must generate the counter narrative and learn to identify an appropriate next response among alternatives. A linear classifier is attached to the last Transformer layer. It uses cross-entropy loss to favor the proper reply over 2 randomly drawn hate speech distractors. The authors fine-tune this variant for 1 epoch with Adam and a learning rate of 5e-5. Its decoding procedure uses the same sampling settings as the main grounded GPT-2. The added objective supplies practice in distinguishing a counter narrative from hateful text. The effect on open-ended replies still depends on what the system learns from that classification task.

The authors also test XNLG, a pretrained Transformer system that learns from Wikipedia and has training objectives involving contextual representation and reconstruction of input. Its capacity to recover input text makes it a candidate for carrying useful wording or facts into the output. The authors fine-tune every layer with Adam at a learning rate of 1e-4, using batches of 10 for 100 epochs. Preparing the training data involves tokenization, accent removal, and the same byte-pair encoding used for XNLG. They keep the first 256 tokens for the knowledge and reply inputs and set the post limit to 70 tokens, the maximum post length they report for the dataset.

XNLG uses beam search with a beam width of 3 in the main experiments. Beam search keeps a fixed number of promising partial continuations as it builds the output. The authors choose that setting after comparing it with sampling alternatives in a preliminary evaluation. This matters because a system capable of reproducing input can use the same ability to preserve a useful fact or to carry an entire passage into the reply. The choice of decoding procedure affects which wording survives, and the evaluation has to distinguish those outcomes.

Experiments and results

What the comparisons measure

The paper has an automatic evaluation on the CONAN silver-knowledge test split and a separate evaluation in which the references were written with the selected evidence in view. An automatic score can assess resemblance to a reference answer, how much the output repeats, and how close it is to previous replies or to the evidence supplied. The expert evaluation asks about qualities that can come apart even when the automatic results look similar. Reading both experiments together is important because the training examples with silver knowledge vary in how closely their passages support their reference replies.

The authors compare the grounded systems with a Transformer trained without external passages or general pretraining, labeled TRF, and GPT-2 fine-tuned without external passages. The latter uses the main grounded GPT-2 training configuration and offers a direct comparison for what changes when the workflow includes retrieved knowledge. The Transformer uses the phrase predictor’s configuration to learn reply generation. The third baseline, Candela, has its own mechanism for generating arguments from retrieved text. Its recurrent architecture is pretrained on argument-generation data and then fine-tuned on CONAN for 20 epochs. For Candela, the authors use passages retrieved from post phrases, consistent with the search setup they are adapting. They tried training Candela on CONAN from scratch and set that version aside after observing poor performance.

The BLEU score and ROUGE-L measure how closely a generated reply overlaps with the human reference. BLEU-2 evaluates short sequences of matching words, including pairs of words. ROUGE-L takes word order into account through a longest common subsequence. An answer can challenge a claim appropriately using a entirely different line of argument from the reference. These scores are therefore evidence about shared wording or content cues, with room for valid replies that score poorly. BLEU · ROUGE

The authors use Jaccard similarity, a comparison based on shared items between sets, to assess novelty relative to replies in the training data. The reported novelty measure increases when generated responses are less like the replies used for training. Repetition rate measures how much the generated text repeats, with a lower value taken as an indication of greater diversity. The paper also records output length, sentence count, and overlap with knowledge sentences at different n-gram lengths. Those last measures are especially helpful when the evidence itself supplies phrases that were absent from the training replies.

The phrase predictor has an evaluation of its own. On its CONAN test split, predicted phrases receive BLEU-2 of 0.162 and ROUGE-L of 0.353 against phrases extracted from the human reference reply. The authors attribute the modest overlap to the range of possible replies to a post. A predicted phrase can lead to a useful article without appearing in the reply chosen as the reference. The scores tell us about matches to that reply’s phrase list. The experiments with retrieved passages and generated responses examine the consequences of using those phrases for their intended purpose.

What changes with the search query

On the silver-knowledge CONAN test split, grounded GPT-2 performs differently depending on how its passages were found. The two rows using predicted phrases show why adding a speculative search direction can benefit from keeping phrases from the post. The row with the human reference shows the effect of giving the search access to the response it will later be evaluated against.

Grounded GPT-2 by retrieval query on the CONAN silver test split, BLEU-2

The combined predicted query leads the settings available for a new post, and the reference-guided query scores highest overall.

Grounded GPT-2 by retrieval query on the CONAN silver test split, BLEU-2Post phrases: 0.082Post phrases0.082Predicted reply phrases: 0.067Predicted reply phrases0.067Post and predicted reply phrases: 0.085Post and predicted reply phrases0.085Post and reference reply phrases (this paper): 0.166Post and reference reply phrases (thispaper)0.166
The numbers
System or settingBLEU-2
Post phrases0.082
Predicted reply phrases0.067
Post and predicted reply phrases0.085
Post and reference reply phrases (this paper)0.166

The chart holds the trained generator fixed and changes its evidence at test time. This makes the reference-guided row informative about search and sentence selection. It also explains why the highest bar answers a different question from the other bars. At deployment, the reply is the output the system is still trying to write. The combined predicted query is one way of obtaining useful clues before that answer exists.

The comparison without external evidence gives the grounded results additional context. On the same silver test split, GPT-2 alone scores 0.045 on BLEU-2 and 0.100 on ROUGE-L. Grounded GPT-2 using the combined predicted query achieves ROUGE-L of 0.103. Its novelty is 0.735, and its repetition rate is 6.30. The corresponding figures for GPT-2 alone are 0.688 for novelty and 9.04 for repetition rate. This combination of metrics supports the authors’ claim that retrieved material can help the system move beyond familiar replies. Gains in reference overlap depend on the metric and how the passages are retrieved.

The ungrounded Transformer has BLEU-2 of 0.082 and novelty of 0.467. Its ability to match reference wording can coexist with a tendency to reuse training replies. Candela scores 0.040 on BLEU-2 and 0.098 on ROUGE-L, with a repetition rate of 21.87 on the silver test split. Its overlap with the reference is comparable to some of the lower-scoring conditions, but the repetition measure gives a separate reason to question how much variety its replies provide.

The multitask GPT-2 with the combined predicted query scores 0.091 on BLEU-2, 0.090 on ROUGE-L, and 0.747 on novelty. Those results qualify any blanket ranking of the two GPT-2 variants. The extra training objective can leave the variant competitive on novelty and on some configurations of automatic overlap. The paper’s judgment about which one writes more useful replies draws on behavior across queries, along with the later expert evaluation.

XNLG poses the clearest challenge to interpreting the automatic results. With a query taken from the post alone, its novelty reaches 0.824 on the silver test split. With the reference-guided search, its ROUGE-L reaches 0.116, the highest value reported in that experiment. Inspection of the replies shows that XNLG frequently transfers extensive stretches of the input passages. For the post-only query, its outputs average 55.51 words and 3.71 sentences, compared with 15.60 words and 1.32 sentences for grounded GPT-2 under the same query. XNLG’s reported trigram overlap with the evidence in that setting is 0.558, compared with 0.008 for grounded GPT-2. A passage can be new relative to the training replies and still be reproduced from the supplied knowledge. The length and overlap diagnostics make that explanation visible.

These results also clarify the difference between the two kinds of overlap in the experiment. A reply that resembles the reference can gain a higher BLEU-2 or ROUGE-L score. A reply that resembles the retrieved passages can have substantial knowledge overlap. When the reference is related to the passages, extensive copying can improve both. The automatic scores alone leave open whether the copied material has been turned into a relevant answer.

Testing with evidence the writer actually used

The authors build a gold-knowledge test to put more emphasis on the task of writing from evidence. They sample 50 Islamophobic posts from CONAN for the in-target condition and assemble 144 new cross-target posts covering misogyny, antisemitism, racism, and homophobia. An expert operator receives the posts and retrieved passages. The operator writes an appropriate counter narrative and is asked to use the available material as much as possible. The paper releases this gold test set with CONAN.

The term gold refers to the closer relationship between the supplied evidence and the human reply. In the silver data, the reply exists first and nearby passages are matched to it afterward. In the gold test, the writer deliberately works from the passages. The test gives the generator an opportunity to use material a human writer has shown can serve the task. This also makes overlap scores easier to interpret as evidence of shared content, although the wording of a particular human reply still shapes the result.

For the familiar target, grounded GPT-2 reaches 0.201 on BLEU-2 and 0.19 on ROUGE-L. The ungrounded GPT-2 scores 0.020 and 0.11 on those metrics for the same in-target test. For the cross-target test, the grounded version reaches 0.041 on BLEU-2 and 0.19 on ROUGE-L, while its ungrounded counterpart reaches 0.022 and 0.09. The cross-target difference is especially clear in ROUGE-L. The decline in grounded GPT-2’s BLEU-2 between the familiar and unfamiliar targets shows why the generalization result warrants attention to the metric. Greater overlap with the expert reply than the ungrounded baseline can hold alongside reduced performance on a particular measure when the targets change.

On the gold cross-target set, grounded GPT-2 records novelty of 0.75 and a repetition rate of 6.33. Ungrounded GPT-2 records 0.72 and 8.01, respectively. The multitask variant reaches cross-target novelty of 0.86 and has a repetition rate of 10.38. These metrics capture different properties of a collection of outputs. Replies can be relatively dissimilar to examples in training while still repeating patterns within the evaluated set. XNLG reaches 0.291 on BLEU-2 and 0.35 on ROUGE-L in the same cross-target test. The authors interpret its high overlap results in light of the extensive copying they observed.

The examples show why evidence can matter under a change of target. In one case, an antisemitic post asserts collective responsibility for the death of Jesus. Several systems respond as though the post concerned Muslims. The grounded GPT-2 responds to the actual subject, drawing on a passage about the Catholic Church’s rejection of the collective accusation. XNLG also brings in relevant material from the passage, with much more of the original wording and detail retained. This example illustrates a way grounding can help. The retrieved passage supplies entities and the outline of an argument that the generator can apply to the particular post. The expert ratings provide a broader test of how frequently the resulting answers fit their inputs.

What the experts saw

The authors ask 3 trained Stop Hate UK operators to assess generated replies on the gold-knowledge sets. These operators have experience reading hateful posts and writing counter narratives. They rate suitability to the post, informativeness, and internal coherence on a scale from 1 to 5. Suitability asks whether a reply makes sense as a response to that particular post. Informativeness concerns the specificity and substance it contributes. Internal coherence concerns how well the reply hangs together when read on its own. A fluent response can score well on coherence while addressing the wrong accusation.

The researchers standardize aspects of presentation, such as capitalization and spacing around punctuation, and distribute the randomized material in 3 partitions. Each operator receives 388 post–reply pairs, and the paper reports 1164 pairs evaluated. Experts can complete the work across sessions. The paper gives Kendall’s tau-b as a measure of how closely annotators’ system rankings agree on each dimension. For cross-domain evaluation, it reports 0.51 for suitability, 0.91 for informativeness, and 0.73 for coherence. The agreement figures describe the alignment of the rankings. They answer a different question from the averages given to individual systems.

Expert-rated suitability on the gold cross-domain test set

Grounded GPT-2 receives the highest average suitability rating for replies to unfamiliar targets.

Expert-rated suitability on the gold cross-domain test setTransformer without knowledge: 1.47Transformer without knowledge1.47GPT-2 without knowledge: 2.26GPT-2 without knowledge2.26Candela: 1.42Candela1.42GPT-2 with knowledge (this paper): 2.51GPT-2 with knowledge (this paper)2.51Multitask GPT-2 with knowledge: 2.03Multitask GPT-2 with knowledge2.03XNLG: 1.88XNLG1.88
The numbers
System or settingSuitability score
Transformer without knowledge1.47
GPT-2 without knowledge2.26
Candela1.42
GPT-2 with knowledge (this paper)2.51
Multitask GPT-2 with knowledge2.03
XNLG1.88

On the familiar-target test, the experts rate grounded GPT-2 at 3.02 for suitability and ungrounded GPT-2 at 2.67. Their informativeness ratings are 2.35 and 2.16, respectively. In the cross-domain test, grounded GPT-2 scores 2.29 for informativeness and 4.21 for internal coherence. Ungrounded GPT-2 receives 1.92 for informativeness and 4.24 for coherence. The close coherence ratings show that grounding’s advantage here is principally in what the reply addresses and contributes. Both systems can produce readable prose.

XNLG receives the strongest informativeness ratings in both settings, with 3.88 on the familiar-target test and 4.10 on the cross-domain test. That finding is compatible with the authors’ observation that it copies extensively. Copying can bring substantial facts and details into an output. A reader can recognize that substance while judging that the reply needs better focus or structure. XNLG’s cross-domain coherence score is 2.79, and its suitability is lower than those of both the grounded and the ungrounded GPT-2. These separate judgments explain why the authors favor the standard grounded GPT-2 as a candidate for drafting replies while reporting XNLG’s strength on informativeness.

The expert results also place the improvement in context. The highest suitability score in the unfamiliar-target setting is 2.51 on the rating scale of 1 to 5. The result supports a relative advantage even though the unfamiliar-target replies leave considerable room for improvement. The evaluation concerns expert judgments of outputs supplied with useful evidence. The paper’s stronger claims about transfer are best read with both conditions in view.

What the ablations show

The post and reply contribute different search cues

Before the main generation experiments, the authors take a random sample of 48 CONAN pairs and compare searches made from the post, the human reply, and their combination. Annotators rate the returned sentences for relevance to the hateful post on a scale of 1 to 5. Using reply phrases alone gives an average relevance score of 2.30. Post phrases alone receive 3.46. Combining post and reply phrases reaches 3.77.

This comparison explains the intended division of labor in the query. Phrases from the actual reply can indicate which point a counter narrative is making. When the reply is a generic request for proof, its phrases can be applied almost anywhere, and the retrieved material can drift away from the original subject. Terms from the post anchor the search. Adding response phrases to those terms can direct the search towards a possible rebuttal. Because the comparison uses phrases extracted from human replies, it directly supports the choice of query for silver training data. The generation experiments separately test whether predicted phrases can fill that role when the human reply is unavailable.

The main silver test varies retrieval while keeping the generator trained with the combined reference query. For standard grounded GPT-2, combining predicted reply phrases and post phrases gives better BLEU-2 and ROUGE-L than using either source alone. Predicted reply phrases alone score 0.091 on ROUGE-L, compared with 0.094 for phrases from the post alone and 0.103 for their combination. This matters given the phrase predictor’s open-ended output. Its contribution can be useful within a query anchored to the post, even when it offers a weaker search by itself. XNLG’s strongest novelty with post-only retrieval illustrates why a change to the query still has to be judged in relation to how a generator uses the passages it receives.

A reply can be new for several reasons

The authors also train and test their grounded systems with passages found using the post alone, holding their other reported hyper-parameters fixed. This is closer to Candela’s search protocol. In that comparison, standard grounded GPT-2 scores 0.700 on novelty, 8.66 on repetition rate, and 0.098 on ROUGE-L. The multitask version scores 0.730, 11.92, and 0.090 on the same measures. Both standard and multitask GPT-2 have higher novelty and lower repetition in the main setting with the combined predicted query. That comparison involves changing the source of training passages as well as the test query. The query comparisons within the main experiment give the cleaner test-time comparison.

The result helps explain why novelty and repetition can move differently. Giving a generator passages from a new article can add words and ideas that rarely occur in the training replies. If the same post repeatedly retrieves the same articles, those new words and ideas can recur across its outputs. The paper identifies this issue because CONAN allows a post to have several reference replies. A fixed extraction from the post will produce the same query whenever that post occurs. The original evaluation can therefore count repeated uses of the same search evidence across entries for the same input.

The appendix examines the effect by retaining each distinct hateful post once, with a randomly selected human reply. For standard grounded GPT-2 with the combined predicted query, novelty is 0.735 on the whole silver test split and 0.740 on the unique-post subset. Its repetition rate is 6.30 on the whole split and 5.81 on the subset. With a post-only query, the same generator’s novelty moves from 0.723 to 0.719, while repetition goes from 8.13 to 7.97. Removing duplicate inputs can reduce repetition even when the generated replies become slightly closer to training examples by the novelty measure.

The dependence on repeated inputs is especially visible for XNLG. With post-only retrieval, its repetition rate is 14.42 on the full test split and 6.22 on the unique-post subset. Its novelty is 0.824 and 0.828, respectively. Beam search can return the same response when given the same input, and a system that extensively reproduces the passages it receives can magnify the effect of a repeated post and repeated evidence. Candela shows that restricting the set to unique posts does not uniformly improve repetition. Its rate moves from 21.87 to 21.97 while novelty moves from 0.692 to 0.697. The appendix thus reveals how test construction contributes to the measured diversity, and why that contribution varies with the generator.

Decoding affects how XNLG carries information into the reply

For XNLG the authors compare beam search of width 3 with top-k sampling at k of 8 or 10. Top-k sampling draws each continuation from a fixed number of the most likely next tokens. The authors test each decoding procedure using both the passages from the weaker reply-only search and the passages from the stronger post-and-reply search. They sample 120 post–reply pairs for expert evaluation of suitability and informativeness on the scale of 1 to 5.

Under the combined post-and-reply search, beam search receives 2.325 for suitability and 2.450 for informativeness. Sampling with k of 8 receives 1.975 and 2.175, and sampling with k of 10 receives 2.050 and 2.325. The beam setting also leads on both judgments under the weaker evidence condition. With reply-only retrieval, beam search scores 1.950 for suitability and 2.325 for informativeness. This comparison supports the choice of beam search within XNLG for the main experiments.

In their inspection, the authors find that both search and sampling can copy parts of the evidence. Sampling sometimes substitutes less common words that are only loosely related to the passage. In a task where the reply may depend on a specific fact, variation in wording can reduce usefulness if it changes the point the source was making. The stronger beam setting still produces the extensive copying observed in the main experiments. The preliminary comparison addresses which of the tested decoding settings works better for XNLG. The later results show the remaining challenge of writing a focused reply around any material that survives decoding.

The extra training objective favors simpler replies

The multitask comparison asks whether practice at distinguishing a correct response from hateful distractors improves open-ended generation. The additional objective produces competitive novelty in several settings. The manual inspection finds frequent use of simple denials, however, including brief statements rejecting a link between terrorism and religion. A generic denial can be easy to distinguish from a hateful post. That can satisfy the added classification task while leaving the generator with little incentive to turn a retrieved passage into a developed argument.

On the gold familiar-target set, the multitask version receives 1.76 for suitability and 1.65 for informativeness, compared with the standard grounded GPT-2’s 3.02 and 2.35. On the gold cross-domain test, the multitask system’s informativeness is 1.76, while the standard grounded GPT-2 records 2.29. The comparison also changes the reported fine-tuning schedule. The results characterize the multitask configuration as implemented. The separate effect of the classification objective, with the training schedule held fixed, remains open. The paper also leaves open how much this configuration changes the frequency of abusive fragments, the concern that motivated the auxiliary task.

Taken together, the controlled comparisons support a specific account of the stronger grounded replies. The query needs to stay connected to the post and can benefit from a hint about the reply. The retrieved material needs to contain something usable. The generator has to convert that material into a relevant response. The ablations test parts of that account with changes to query construction, training evidence, decoding, and test composition. The expert results are what ultimately distinguish a suitable reply from a longer output with unusually high textual overlap.

Limitations

Limits identified by the authors

The authors stress that generated counter narratives can still contain abusive or otherwise negative language. The system has been trained with hateful posts as inputs and can produce fragments of the kind of text it is meant to counter. They discuss possibilities such as an automatic review step, a human check with editing, methods that control toxicity during generation, and filtering of training material. The paper treats these as avenues for improving the system. For real interventions, the authors favor having an NGO operator make the final decision about a draft. RealToxicityPrompts

Factual grounding also leaves room for hallucination. Supplying a relevant article gives a generator material it can draw from. It can still add a number, combine sentences in a misleading way, or use a passage to support a stronger claim than the passage warrants. The authors discuss checking generated statements against the supplied knowledge as an additional step. Their tested pipeline relies on retrieval and learned generation, so factual agreement between a reply and its passages remains a separate validation question.

The paper also identifies social bias as a risk in generation. A fluent reply can carry assumptions introduced by the pretrained system, the data used for the task, or the material retrieved for that particular input. The authors discuss measuring fairness and using techniques that control bias. Suitability, informativeness, and coherence are the human evaluation dimensions in the study. Dedicated measurements of bias and its distribution across groups remain open. Language (Technology) is Power · Identifying and Reducing Gender Bias in Word-Level Language Models

The authors suggest improving the search itself through other ways of generating queries, including an interactive setting in which people can supply search phrases. They also suggest exploring alternative architectures for the final drafting stage. These directions follow from failures visible in the study. Predicted phrases sometimes lead away from the intended subject, and different generators can receive the same evidence yet use it with very different levels of restraint.

Limits of what the tests establish

The cross-target test offers evidence about a conditional form of transfer. The drafting system faces hate targets absent from its counter-narrative training and receives passages that an expert was able to use in composing a reply. The strongest evaluation for unfamiliar targets therefore addresses how well the generator can draft from useful evidence. Whether the full automatic search procedure consistently finds such evidence for new targets is a separate question, especially when it has to produce its clues directly from a terse post. The reference-guided silver result and the gold result describe advantages associated with better guidance or better-aligned evidence.

The cross-target category also pools distinct types of hate speech. Misogyny, antisemitism, racism, and homophobia can involve different recurring claims, vocabulary, and evidence. The overall ratings establish the reported performance of the combined set. They leave the distribution of performance across those targets uncertain. The appendix examples demonstrate particular successes and failures, including replies that revert to a familiar target. Their role is diagnostic, and their frequency across the test set cannot be inferred from the examples alone.

There is also a limit to what the evidence collection makes current. Newsroom’s reported publication dates end in 2017. Articles stored externally can be replaced or supplemented without changing the generator’s parameters. The experiments use fixed collections. Improvements after adding coverage of a new event, or after replacing an outdated statistic, remain an expectation about the design. Testing that ability would require observing the system before and after the knowledge collection changes.

Relevance is another limited kind of supervision. The preliminary query experiment rates how closely retrieved material relates to the post. A relevant sentence can express a position the reply should challenge, quote an allegation rather than endorse it, or depend on context from a neighboring sentence. Since the final ranking scores each sentence separately, it leaves questions about whether a sentence’s necessary context survives selection. The paper supplies examples where close lexical overlap leads to material of doubtful value for a counter narrative. Even with a useful passage, its credibility and the accuracy of the statement eventually written require judgments beyond the ranking score.

The expert evaluation uses gold evidence to reduce the effect of retrieval noise on the writing assessment. Its ratings therefore offer stronger insight into the writing stage than into the quality of all replies produced by the full silver pipeline. A live operator would face both kinds of variation simultaneously. Generated text can be unsuitable because search retrieved the wrong information, because the writer used good evidence poorly, or because the response failed to address what made the post harmful. The study distinguishes some of these cases through its test design and examples. A complete account of how frequently they occur under automatic search remains open.

The study measures the output in controlled evaluations. A suitability rating tells us how an expert judged a reply against its post, and an informativeness rating tells us how much substance the expert found in it. The intended social effects of counterspeech include de-escalation and a change in how people regard the target. Those effects would require evidence about how participants or readers react to the intervention. The paper establishes that some evidence-grounded replies are better drafts by the study’s criteria, while the consequences of posting them in live conversations remain unmeasured.

What came after

The later papers that cite this work carry the problem into dialogue, multilingual evaluation, and more explicit study of argument quality. Their titles identify the questions they take up. The form of the connection varies. Work on datasets changes what the system can learn from, studies of argumentative strength change what counts as a good output, and more targeted generation tasks change whose treatment and which claims the system must address. A citation establishes a connection to the earlier paper. The later titles give the scope of each contribution and leave direct reuse of its retrieval or training procedure uncertain.

From drafting a reply to supporting a conversation

The earlier paper begins with an existing set of operator-written replies and asks how to supply a generator with relevant material. A later dataset paper puts human–machine collaboration at the center of data construction and makes dialogue its focus. That takes the human role into the collection of training material, alongside the earlier paper’s emphasis on operators as writers, evaluators, and potential users of drafts. The dialogue focus also changes the unit of interest. A response can fit the post immediately before it, while a dialogue task raises questions about how it fits the exchange as it develops. Human–Machine Collaboration Approaches to Build a Dialogue Dataset for Hate Speech Countering

Finding authentic counterhate arguments approaches the problem from the source of the argument itself. Its focus is a case study involving public figures. Chung and colleagues use phrases to retrieve ordinary prose from a broad article collection, looking for sentences that could support an answer. A study centered on authentic arguments asks where recognizable examples of actual counterspeech can be found. The questions are related because a passage can provide knowledge for a rebuttal, while an existing counterhate argument can illustrate how someone has already put a rebuttal into words. Finding Authentic Counterhate Arguments

A later survey and how-to guide takes counterspeech as the subject of a field-wide account. It provides a setting in which to place the earlier paper’s choices about post–reply data, external evidence, and human evaluation, alongside other approaches to automated counterspeech. A survey of detection and prevention in English places the work in a broader set of responses to hate speech. The distinction matters for understanding its contribution. Detecting harmful text can identify where an intervention might be needed. Generating a counter narrative is the task of deciding what could be said in response. NLP for Counterspeech against Hate · A Survey on Combating Hate Speech through Detection and Prevention in English

What transfer and response quality come to mean

Work on Basque and Spanish counter-narrative generation takes up data creation and evaluation for those languages. This extends the setting in a different direction from the earlier study’s cross-target experiments. The original CONAN experiments use English pairs, some of which were translated into English. Moving the task to Basque and Spanish brings the language of the post and the reply into the center of evaluation. The points of contact are the need for examples of suitable responses and the need to judge whether a generated response works for its intended input. Basque and Spanish Counter Narrative Generation

The multilingual counterspeech workshop overview concerns a shared task. It takes the problem of evaluating generated counterspeech into a setting where multilingual generation is the explicit subject of comparison. The earlier experiments already show why a single overlap score gives an incomplete picture when systems have different ways of using information. For multilingual counterspeech, the relationship between a score and the qualities of a reply remains an important part of defining the task. The First Workshop on Multilingual Counterspeech Generation

The guardrails study makes argumentative strength the quality it examines in relation to safety measures. That is a close continuation of a question left by the grounded generation paper. Adding a classification task to avoid abusive responses was motivated by a real failure, and the resulting GPT-2 replies often fell back on simpler denials. A later study that explicitly examines guardrails and argumentative strength makes the relationship between protective constraints and the substance of the argument its research question. The citation connects the topics without implying that the later guardrails are the same as the earlier classification objective. Is Safer Better?

Another later paper targets automated counter narratives for homophobic and transphobic comments. The earlier gold test includes homophobia within a pooled cross-target condition. A study devoted to these comments gives the target a central place in the task and includes transphobia explicitly. That change of focus is consequential because aggregate transfer across categories leaves open what a generator needs to respond to the specific claims and language encountered in any one of them. Automating Counter-Narratives for Homophobic and Transphobic Comments

Work on counterspeech generation with smaller systems changes another premise of the original comparison. Chung and colleagues found that fine-tuning a pretrained GPT-2 on retrieved passages gave the strongest suitability judgments among the systems they tested. A later paper centered on smaller generators takes generation capacity as a condition worth examining in its own right. The earlier results make clear which capabilities such a comparison can distinguish. A generator may write fluent replies, carry evidence into the text, and address the actual post to different degrees. Those are separable outcomes whenever evidence is added to a counterspeech task. Counterspeech Generation using Small Language Models

Cite

Cite as Yi-Ling Chung, Serra Sinem Tekiroğlu and Marco Guerini. 2021. Towards Knowledge-Grounded Counter Narrative Generation for Hate Speech. Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.findings-acl.79

@inproceedings{chung2021knowledge,
  title = {{Towards Knowledge-Grounded Counter Narrative Generation for Hate Speech}},
  author = {Yi-Ling Chung, Serra Sinem Tekiroğlu and Marco Guerini},
  booktitle = {Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.79},
  url = {https://doi.org/10.18653/v1/2021.findings-acl.79}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/chung-2021-knowledge-grounded-counter-narrative-generation/