Developing a New Classifier for Automated Identification of Incivility in Social Media
Paper · 2020 · Sam Davidson, Qiusi Sun and Magdalena Wojcieszak
Summary
A comment can be uncivil without containing a swear word. It can ridicule a person, disparage a proposal, or belittle the way someone speaks. Conversely, a word that sounds offensive by itself can be part of an enthusiastic compliment. Sam Davidson, Qiusi Sun, and Magdalena Wojcieszak study how to distinguish these cases automatically. Their task is to flag comments that fit a broad definition of incivility, so researchers can examine patterns of disrespect in discussions too large to read by hand. They also ask whether a classifier trained with material from Reddit can be made useful on Twitter.
The authors sample Reddit comments across years and communities and use linguistic annotation to give 5000 comments a binary label. The guidelines cover personal insults, disparagement of ideas or actions, remarks that belittle someone’s manner of communicating, and vulgar language. The authors also categorize subreddits by whether their content is political, non-political, or mixed. A comment’s label describes the language in that comment. A subreddit’s category describes the kind of discussion its community hosts. Together, the two types of label support a study of where incivility occurs.
The authors adapt BERT and DistilBERT to Reddit before training them to predict the human labels. DistilBERT achieves the highest reported F1 on the Reddit test set, at 0.802. F1 combines precision, the share of flagged comments that carry the human incivility label, and recall, the share of comments with that label that the classifier finds. The authors then use DistilBERT to label 5 million Reddit posts automatically and train a less computationally expensive logistic regression classifier. On the Reddit test set, the regression trained with automatically labeled Reddit material reaches an F1 of 0.779. That brings it close to the neural classifiers on the measure the authors emphasize and makes processing large collections practical on a CPU.
On the Twitter test set, the Reddit-trained regression reaches an F1 of 0.267. Including Twitter material in training raises the combined classifier’s F1 there to 0.569, while it scores 0.782 on the Reddit test set. The Twitter gain comes with a drop in precision and a rise in recall. The study therefore shows both how automatic labeling can make a cheaper classifier effective on Reddit and how much the training source matters when the same task moves to another platform. The authors make their Reddit annotations, test predictions, scripts, and trained classifiers available for further study.
Deep dive: Developing a New Classifier for Automated Identification of Incivility in Social Media
A study of online incivility compares BERT and logistic regression for detecting disrespectful comments on Reddit and Twitter. · about 34 minutes to read
The problem and its context
What counts as incivility in a comment
The paper treats incivility as disrespect expressed in a discussion. Its definition reaches beyond attacks on the people taking part. A writer can direct contempt towards what someone proposes, towards a policy under discussion, or towards the way another participant expresses a point. Vulgarity can qualify even when the words have no clear personal target. The classifier has to recognize a shared property across these forms of expression even though the clues they offer are quite different.
The scope of the definition matters because several research traditions study similar-looking language. The paper describes studies that use incivility almost interchangeably with hate speech, aggression, or toxicity. It also describes work that distinguishes incivility from intolerant discourse. A personal attack can fit several categories at once. Group-directed prejudice can be both intolerant and uncivil, while a coarse reaction to a plan may qualify as uncivil on the basis of its tone alone. A label that brings such cases together serves a different research question from one that singles out speech directed at an identity group.
The authors describe earlier definitions that emphasize violations of norms, explicit attacks, or breaches of politeness between people. A recurring concern is the way people treat participants and arguments in a discussion. The definition adopted for this study makes that concern concrete by identifying forms of language an annotator can look for. The scope includes harsh or foul language as well as more intolerant expressions. This gives the classifier a broad target while preserving the distinction between the phenomena researchers might want to study.
For text classification, deciding what the label covers is part of defining the technical problem. A system trained to catch swear words could do well at identifying vulgarity while missing a disparaging comment with ordinary vocabulary. A detector built around a particular target of abuse could have another blind spot when a comment derides an idea. Conversely, abrasive wording can appear in speech that an annotator reads as friendly. The intended label concerns the contribution that words make in a comment, which is why the paper uses whole comments as its units of judgment.
The system returns a binary decision. The positive category can contain comments that take very different forms and have very different consequences. A positive assignment tells a researcher that the comment meets a condition in the coding scheme. It gives no separate account of how severe the remark is or which part of the scheme applies. This lets the authors ask about the frequency of a broad phenomenon while keeping the coding task manageable. A study interested in the different forms of disrespect would need more detail from each decision.
Why the authors wanted to measure it at scale
The paper situates its question in concern about public discussion on social media, including political discussion in the United States. The earlier studies it cites relate exposure to incivility to anger, anxiety, or distress and discuss connections with hostile communication and aggression. Other cited work associates incivility with people withdrawing from online discussions. These are reasons to pay attention to how frequently readers encounter disrespect and where it appears, beyond knowing that particular comments can be upsetting.
The paper cites survey estimates under which more than 84% of Americans had encountered incivility online. Among people who reported such an encounter, the cited estimate for average weekly exposure was as high as 10.6 times. These figures motivate the research. They concern reported experience and address a different question from the one the classifier answers. A classifier can estimate how many comments in a collection meet its definition, while a survey can capture what people remember encountering across the places they spend time online.
Reddit offers a way to study variation within a platform. Its communities, or subreddits, differ in subject matter and expectations about conduct. The paper also points to anonymity and the presence of long discussions as reasons to study the platform. Its public material gives the authors access to comments from many communities. A single platform can therefore supply a range of kinds of discussion, while the community boundaries let the authors organize comments by the settings in which they appeared.
The paper describes earlier research on changes in incivility that concentrated on Twitter around particular political events or on narrowly defined settings such as communication among politicians. Such a focus can make sense for the original research question. The evidence it yields is tied to the population, period, and communication setting selected for the study. Davidson, Sun, and Wojcieszak want a classifier that can support comparisons across political and non-political discussion, over time, and eventually across platforms with different ways of organizing conversation.
That goal creates a practical constraint. Manual reading is essential to describe what the task means and to check predictions. Repeating that work for the volume of material the authors collected would be costly. The authors also regard processing cost as a constraint once a classifier is trained. A system can give strong predictions on a held-out set and still be too expensive for their planned study. The paper treats detection quality and the ability to process a large archive as related design goals.
Where the technical approach came from
The earlier detection work discussed in the paper used logistic regression, support vector machines, and neural classifiers. Transformer-based systems had also been applied to related problems, including abusive and offensive language on Twitter. The authors describe their use of fine-tuning for incivility as an extension of these efforts. Fine-tuning starts with a system that has already learned from a general or domain-specific training task and adjusts it to predict the labels of interest.
Prior work also shaped the annotation choice. The paper discusses schemes that place a narrower emphasis on profanity and swearing and points to offensive-language research as a related line of work. The new manual makes room for cases in which the source of disrespect is the target of a remark or what the writer is doing with it. The shift matters even when both projects classify the same sort of short social media text. If the desired labels differ, the same prediction can be appropriate for one task and unsuitable for the other. Predicting the Type and Target of Offensive Posts in Social Media
A second line of earlier work concerned augmenting limited training data. The paper describes back-translation and other transformations of text as ways to increase the amount of material available for learning. It also discusses a study that used the Google Perspectives API to label additional data. The authors argue that labels obtained from an outside service can introduce a mismatch with the definition of incivility being used. Their approach makes the automatic labeler learn from their own human-coded task before it labels additional Reddit posts.
Theocharis and colleagues’ work on political incivility supplies both a precedent for the regression features and the Twitter material used in the cross-platform experiment. That dual role helps explain why the paper has two distinct data expansion questions. One asks whether an automatic labeler can make much more Reddit material usable for training. The other asks whether training on examples from Twitter as well as Reddit changes performance when the classifier encounters discussion on Twitter.
Computational efficiency connects these lines of work. The authors put expensive contextual processing where it can improve the supervision available during development. They then train a classifier that uses simpler word-based features for the large collection they ultimately want to label. The result is a design in which the classifier that supplies training decisions can differ from the one used to count uncivil comments across years of discussion.
The method, step by step
Choose communities and sample comments
The authors start by defining a frame of Reddit communities. They look at the years from 2006 to 2019 and identify popular subreddits using annual activity. The criteria take account of how many comments a subreddit received and how many followers commented in it during the year. The selection covers subreddits accounting for 95% of the comments under the paper’s procedure and yields 9355 subreddits across the years studied.
The frame gives the authors access to a broad collection of Reddit activity while tying the data to a specific selection of communities. The next step decides how to draw comments from that frame. The authors use stratified random sampling. A stratum is a portion of the population from which a sample is drawn separately. Here the strata are years, and each year contributes a share of the annotated sample based on its share of total comments. The resulting collection contains 5000 comments for human coding.
The annual allocation makes the sample reflect the distribution of activity across the period selected by the authors. A year supplying a larger part of the comments can supply more material for annotation. The procedure does not allocate equal weight to all years. It is designed to build a single labeled corpus from the volume of discussion across the period, a purpose distinct from estimating incivility separately in every year.
The comments and the communities receive different annotations. Annotators read each selected comment and assign the incivility label at that level. Subreddits are also categorized as political, non-political, or mixed, with mixed communities containing both kinds of content. The classifier learns from the comment labels. The subreddit categories provide a way to group results when the researchers examine the distribution of incivility.
This distinction also determines what can be inferred when the study compares political and non-political discussion. A comment can come from a political community without itself making a political argument. A community’s topical classification provides information about the setting in which the comment was written. It is a different kind of evidence from the judgment that the comment itself contains a disrespectful expression.
Turn the definition into a coding decision
The coding manual directs attention to several ways incivility can appear. An expression can demean a person or a group. It can cast an idea, proposal, policy, or action in disparaging terms. It can belittle the way a person communicates. Finally, it can use vulgar or profane language that falls outside the authors’ standard for appropriate discourse. Each route gives an annotator a reason to consider a positive decision.
This guidance separates what a remark addresses from the character of the language itself. Consider the distinction between abusing another participant and speaking contemptuously about a proposed course of action. Both can take on a disrespectful tone, but the object of that tone differs. Profanity supplies another basis for the label, even in a comment where identifying a target would be difficult. The manual brings these cases into the same task so the classifier can learn about incivility as the authors define it.
The result assigned to a comment is binary. Annotators decide whether incivility is present in any of the forms covered by the manual. A comment whose vulgar language is incidental to a wider argument still gets a single decision, as does a comment centered on a pointed insult. The annotation does not preserve a separate training target for every type of disrespect. The later classifier consequently learns to predict presence rather than to explain its basis, quote the relevant span, or grade the behavior.
Sarcasm illustrates why examples and discussion matter during annotation. The authors describe a comment that feigns approval of spending money on a broadcaster and then gives that approval a derisive turn. Some annotators interpreted it as uncivil and others took it as harmless sarcasm. The difficulty was how to read the writer’s stance, which illustrates a different challenge from recognizing a word on a list. A binary scheme compresses the resolution of that interpretive question into a decision a classifier can be trained to predict.
Establish agreement before dividing the work
The annotators were social science undergraduates at UC Davis. The group included native English speakers and a speaker who used English as a second language. Some were frequent Reddit users, while the other social media experience described by the paper came from elsewhere. They learned the definitions and procedures and practiced applying them through pilot exercises. English
In the initial agreement exercise, the annotators each coded the same random set of 50 comments independently. Fleiss’s kappa was 0.618. This statistic summarizes agreement among multiple raters while accounting for the agreement expected from their overall use of the categories. It answers a different question from the classifier’s later scores. It concerns consistency among the people making the reference judgments, rather than how well a classifier recovers those judgments.
After comparing their decisions, the annotators discussed discrepancies and clarified aspects of the instructions that had caused confusion. They repeated the procedure with larger sets. The joint training stage involved 1000 comments and yielded a Fleiss’s kappa of 0.663. The authors regarded the attained agreement as sufficient to move to individual assignments. They randomly divided the remaining 4000 comments among the annotators, who coded their assigned portions independently.
The agreement values belong to the shared coding process. The individually assigned portion extends the number of examples available for learning, while giving a different kind of evidence about each label. For a jointly read comment, disagreements can be observed and discussed. For an individually read comment, a single annotator’s application of the guidelines supplies the judgment. The paper says its release includes annotation disagreements, so readers can see some of the uncertainty that a final binary label would otherwise hide.
Adapt the neural classifiers to Reddit
The neural branch starts with the base versions of BERT and DistilBERT implemented in Hugging Face’s Transformers package. These systems already have parameters learned through pretraining. The authors perform an additional stage of pretraining using Reddit text, then train each classifier to distinguish between civil and uncivil comments. The two stages use the same broad source of language but supply different learning signals.
Additional pretraining uses 3 million Reddit posts and runs for 100,000 training steps. The objective is masked word prediction. Parts of the input are hidden, and the system learns to predict what belongs in the masked positions from the surrounding text. Incivility labels are unnecessary at this stage. The point is to adapt the starting representation to language found on Reddit before the much smaller set of human-coded examples teaches it what counts as an uncivil comment. The approach follows the procedure described in the cited work on adapting BERT for classification. How to Fine-Tune BERT for Text Classification?
During supervised training, the task changes from recovering masked content to predicting a single class for the comment. The classification setup uses the final hidden representation associated with [CLS], a special input token whose representation is used for the comment-level decision. A softmax layer converts the resulting class scores into probabilities across the two outcomes. Increasing the probability assigned to one outcome leaves less probability for the other. The human label now supplies the answer the training procedure tries to recover.
The limit on the amount of input considered at classification time is 256 tokens. A token here is a unit of text passed into the neural classifier, and the paper describes these units as tokenized pieces of words. A long word or an unfamiliar form can occupy more than one such unit. The limit therefore concerns the representation the system reads. A comment beyond the limit is shortened, which can remove language that would have mattered for its classification. Subword tokenization
The authors use batches of 16 during classification training. A batch groups examples for an update. AdamW is the optimizer that adjusts the learned parameters, and the authors use its default learning rate and epsilon settings. An epoch is a pass through the training examples, and the supervised fine-tuning runs for four epochs. For their corpus of 5,000 coded Reddit posts, the authors report setting aside 10% for training validation and reserving 1000 annotated posts for testing.
Validation supports decisions during development. The test set serves as a source of examples for the reported evaluation. The distinction is important because the paper also produces a much larger body of labels automatically. Those labels add supervision for training the economical classifier. Performance on human-coded test comments is what tells the reader how well the resulting decisions correspond to the task originally defined by the annotators.
Train an economical classifier with word features
The regression branch uses stemming to reduce words to forms that can group surface variants. It then treats each resulting word unit as a unigram, a feature based on a single unit. A comment becomes a collection of weighted word features. Because the features are unigrams, the representation records individual word units without recording the order in which they occur.
The authors weight these features with TF-IDF, short for term frequency–inverse document frequency. Term frequency concerns the occurrence of a term in the document being represented. Inverse document frequency accounts for how widely that term is distributed across documents. Taken together, these ideas allow a term prominent in a particular comment to help characterize it, while reducing the influence of terms that appear across much of the collection.
Logistic regression learns a weight for each feature and combines the contributions of the features present in the input to score whether the comment belongs to the positive class. A stem that has been useful for identifying incivility in training can contribute towards a positive prediction when it reappears. Other features can supply evidence in the opposite direction. The representation gives the classifier access to lexical clues with relatively simple computation. The contextual relationship between those clues is harder to recover when their positions are absent.
The authors favor these features because they are straightforward to calculate and because earlier work by Theocharis and colleagues found them useful for incivility detection. They mention document and word embeddings as alternatives they could have used. Their experiment is built around the simpler features. The design serves their goal of applying the resulting classifier to large amounts of data on a CPU, a central processing unit.
Class imbalance is a concern in the annotated training material. The paper says that uncivil examples account for 10.3% of the annotated posts in that training data. With fewer positive examples to learn from, a classifier can end up assigning the positive label sparingly. The authors use ADASYN as an oversampling method. It generates additional synthetic training examples to increase representation of the less frequent class. In this part of the procedure, oversampling changes the supply of examples available for fitting the classifier.
Use DistilBERT to label additional text
The paper also describes another way to increase training data. The authors run their fine-tuned DistilBERT classifier on 5 million Reddit posts and use its predictions as labels. These posts are existing Reddit text. The synthetic part of this data expansion is the assignment of labels by a classifier. ADASYN and automatic Reddit labeling both expand the available supervision, but they operate on different material. One supplies synthetic examples for oversampling, while the other supplies decisions about comments gathered from the platform.
The motivation is that a human annotation project of the paper’s size can teach a neural classifier to recognize the task, after which that classifier can supply training decisions on a much broader collection. A logistic regression classifier fitted with this additional supervision gets to encounter many more examples of vocabulary and usage than the manually labeled training portion alone supplies. It can then make predictions using the cheaper representation.
The labels on the additional Reddit posts inherit the behavior of DistilBERT. If DistilBERT consistently recognizes a certain kind of incivility, the larger collection can relay examples of that behavior to the regression. If DistilBERT tends to miss a form of incivility, its labels can also transmit that tendency. The final regression can have its own errors because its representation makes different information available at prediction time. The paper measures its value by comparing its decisions with human labels on held-out comments.
In explaining the procedure, the authors describe training the regression using artificially labeled Reddit data alongside their annotated data. In reporting the comparison, they use a row labeled Synthetic Reddit, distinct from Annotated Reddit and Reddit + Twitter. Those names identify the reported conditions. The paper does not spell out the mixture in the synthetic Reddit condition in sufficient detail to identify the contribution of every source separately.
Add training material from Twitter
For the cross-platform version, the authors bring in the incivility data of Theocharis and colleagues. The procedure combines annotated and automatically labeled material from Reddit with the annotated and synthetic Twitter material described by that work. The classification approach remains logistic regression with the same kind of word features. The training collection now contains language and labeling evidence from each platform.
The experiment asks how much this change helps when the classifier moves between communication settings. A classifier trained with Reddit evidence can already assign labels to Twitter text. Its ability to return a label says little about whether the decisions will match the Twitter test judgments. The combined training setup addresses that question by exposing the classifier to material from both sources and evaluating its predictions on the Twitter test set, with a corresponding result reported on the Reddit test set.
From Reddit annotation to combined-platform classification
The steps in order.
The pipeline produces classifiers with different purposes. The neural classifiers test how much can be learned from the authors’ Reddit annotations after adaptation to Reddit language. DistilBERT also supplies labels that extend the training collection. Logistic regression provides the economical route to classifying an archive, with a combined version trained to make that route more useful on Twitter. The authors publish their Reddit data, annotation disagreements, predictions on test items, scripts, and trained classifiers in the project repository.
Experiments and results
How to read the scores
The reported comparisons use precision, recall, and F1 for the incivility label. Precision starts from the comments a classifier calls uncivil and asks how many have that label in the test data. Recall starts from the comments labeled uncivil by the reference annotation and asks how many the classifier identifies. A conservative classifier can have high precision by flagging only clear cases. Its recall will be low if it leaves a large share of the annotated positive comments unflagged.
F1 summarizes those two aspects with a harmonic mean. It is pulled towards the smaller value, so a high score calls for a reasonable balance between precision and recall. The comparison matters for this corpus because positive examples are a minority of the annotated training material. A classifier that performs well on the more common category can still be poor at finding the comments that motivate the study. F1 makes success on those positive decisions central to the headline comparison.
The paper reports each metric separately, which makes the effect of a change easier to understand. Higher F1 can come with lower precision when a classifier recovers enough additional positive comments. Classifiers with similar F1 can also distribute their errors quite differently. For a study that counts incivility, overlooked positive comments and incorrectly flagged comments can affect an estimate in different directions. The individual metrics help the reader see what kind of detection behavior lies behind the overall ranking.
The Reddit evaluations use held-out manually annotated comments from the authors’ corpus. The Twitter comparison uses the test data of Theocharis and colleagues. Each score describes agreement with the labels for its own evaluation collection. A comparison between different training conditions on the same test collection supports a more direct conclusion than a comparison between a Reddit result and a Twitter result.
BERT and DistilBERT on Reddit
BERT achieves a precision of 0.814 and a recall of 0.76 on the Reddit test set. Its F1 is 0.786. DistilBERT achieves a precision of 0.936 and a recall of 0.702 on the same test set, with an F1 of 0.802. The gain in precision gives DistilBERT the stronger F1, while BERT captures a larger share of the annotated uncivil comments.
BERT and DistilBERT on the Reddit test set, F1
DistilBERT achieves the stronger balance of precision and recall.
The numbers
| System or setting | F1 |
|---|---|
| BERT | 0.786 |
| DistilBERT (this paper) | 0.802 |
The ranking helps explain which classifier the authors choose to label more Reddit posts. DistilBERT provides the best observed F1 on their Reddit test set, and its relatively high precision is relevant to the reliability of the positive labels it supplies. Its recall also shows that it misses positive examples on that test set. Both properties matter when the prediction becomes a training label. The test result is evidence about the quality of that decision source, while the independent regression evaluation tests what the student classifier gains from it.
The comparison also puts the later regression scores in perspective. A regression with an F1 close to a neural classifier’s score can be a reasonable option when the authors want to process years of posts. The same F1 comparison is insufficient for concluding that the classifiers handle particular comments in similar ways. Precision, recall, and the paper’s inspection of concrete disagreements help answer that more detailed question.
Logistic regression on Reddit
The regression trained in the Annotated Reddit condition reaches a precision of 1, a recall of 0.173, and an F1 of 0.295 on the Reddit test set. The precision means that the comments flagged in this evaluation carry the human positive label. The recall shows that the classifier flags only a limited share of the available positive cases. Its high precision therefore describes the quality of a selective set of decisions.
For the Synthetic Reddit condition, the Reddit test precision is 0.835, recall is 0.731, and F1 is 0.779. The classifier makes enough additional correct positive predictions to yield much stronger recall and F1 than the annotated condition. Its positive assignments include more errors as a share of the flagged comments, as indicated by the drop in precision. This is the change that makes the regression much closer to the neural systems in the overall Reddit evaluation.
For the Reddit + Twitter condition, precision on the Reddit test set is 0.828, recall is 0.74, and F1 is 0.782. It has the highest reported Reddit F1 among the regression conditions. The metrics are close to those of the Synthetic Reddit condition, with slightly lower precision and slightly higher recall. The paper’s direct evidence is that including the Twitter material preserves a similar balance on its Reddit test while also improving the Twitter result.
Logistic regression training conditions on the Reddit test set, F1
Training with automatically labeled Reddit material yields much stronger detection, and the combined training condition gives the highest regression score.
The numbers
| System or setting | F1 |
|---|---|
| Annotated Reddit | 0.295 |
| Synthetic Reddit | 0.779 |
| Reddit + Twitter (this paper) | 0.782 |
The results also establish the main accuracy and efficiency tradeoff in concrete terms. DistilBERT remains the highest-F1 classifier on the Reddit test set. The regression with expanded training is competitive on that measure and can run with the simpler word representation. The authors collected approximately 800 million Reddit posts per year for their larger research effort. At that scale, they judged using the neural classifiers throughout the archive too expensive, which is why a cheaper prediction procedure matters even when its F1 is somewhat lower.
Logistic regression on Twitter
The Twitter comparison shows how a trained Reddit classifier fares when its inputs and test labels come from another collection. With Synthetic Reddit training, the regression obtains a precision of 0.872, a recall of 0.158, and an F1 of 0.267 on the Twitter test set. Most of the comments it flags have the positive label, yet it recovers a limited share of the labeled uncivil comments. The practical weakness revealed by the test is poor coverage of the positive class.
When trained on Reddit + Twitter, the regression reaches a precision of 0.711, a recall of 0.474, and an F1 of 0.569 on the same Twitter test data. The augmented training condition improves F1 by changing the balance of decisions. More annotated positives are found, while a smaller share of the flagged comments agrees with the reference labels. Both scores are needed to describe the practical effect of adding Twitter material.
Logistic regression training conditions on the Twitter test set, F1
The classifier trained with material from both platforms has the stronger Twitter result.
The numbers
| System or setting | F1 |
|---|---|
| Synthetic Reddit | 0.267 |
| Reddit + Twitter (this paper) | 0.569 |
The result shows that the basic regression approach can be used on both platforms with the training mixture the authors construct. The evidence for transfer without target-platform training comes from the Synthetic Reddit condition, whose low Twitter recall is a major caveat. The combined run answers the different question of how performance changes when training includes material from the platform used for evaluation. The results displayed for Twitter compare Synthetic Reddit with Reddit + Twitter. Although the paper mentions training with the data of Theocharis and colleagues, it gives no separate Twitter-only score in that comparison.
A comparison with offensive language detection
To test the practical relationship between incivility and related categories, the authors apply an existing detector to the Reddit test set. They combine its predictions of offensive language and hate speech into one positive class and evaluate that class against their incivility labels. The resulting F1 is 0.242 on the Reddit test set. The detector was developed for a different task, so the authors use this experiment to ask whether its decisions are interchangeable with the new label in practice. Automated Hate Speech Detection and the Problem of Offensive Language
The weak agreement with the Reddit labels supports the need to pay attention to what the classifier was trained to identify. A detector devoted to related offensive categories cannot be assumed to recognize what the authors count as incivility. The experiment demonstrates the mismatch through decisions on the same test comments, where the comparison has practical meaning for someone choosing a detector.
Several causes can contribute to the low score. The intended definitions differ, and a classifier trained elsewhere may also have trouble with Reddit language or with examples unlike those used in its own training. The result measures how the existing detector performs under this mapping of its predictions. It leaves the degree of overlap between the underlying concepts as a broader question.
An initial estimate for political discussion
The authors also use a trained classifier on 95% of Reddit comments from 2017. Its labels indicate incivility in 9.21% of non-political comments and 14.75% of political comments within that analysis. The initial result points toward a greater prevalence in the political group. Those percentages describe the outcome of applying the classifier to a large collection, distinct from precision, recall, or F1 on human-coded test data.
The application brings together the two levels of annotation introduced in the method. The system assigns an incivility decision to the comment, and the community categories allow the authors to group those decisions by discussion setting. The figures illustrate the type of analysis the system was designed to support. Interpreting them as rates of incivility depends on how accurately the classifier behaves in each kind of community, a question separate from the overall evaluation.
What the ablations show
Expanded training changes which cases the regression finds
The paper gives comparisons among training conditions and an inspection of disagreements. It does not report a component-by-component ablation of the neural training pipeline. The comparison closest to a training-data ablation keeps the logistic regression approach and changes the material supplying its labels. This reveals where the practical gain from expanded training appears, even though the design leaves some contributors to that gain bundled together.
The clearest contrast is between the Annotated Reddit and Synthetic Reddit conditions on the same Reddit test set. With the human-annotated training condition, the regression’s recall is 0.173. Under the expanded Reddit condition it reaches 0.731. Precision moves from 1 to 0.835. The change is concentrated in an ability to recover much more of the positive class while retaining substantial precision. The study’s case for using a cheaper classifier depends on this experiment, since the regression trained in the annotated condition alone gives a far less useful balance.
This comparison measures the outcome of using a much larger body of automatically labeled Reddit material. It cannot say which properties of that collection account for how much of the change. More examples can widen the vocabulary available during training and add occurrences of already familiar words in new settings. Labels supplied by DistilBERT can carry regularities the original annotations allowed it to learn. The report does not separate these influences by testing matched training collections of the same size with different sources of supervision.
ADASYN addresses class imbalance within the regression training procedure, but the paper does not provide a separate result for disabling it. The range of scores therefore shows what the reported training conditions achieve under the authors’ procedure. It gives no isolated estimate of how much performance depends on producing additional examples for the minority class.
Twitter material improves coverage on Twitter
The comparison between Synthetic Reddit and Reddit + Twitter training keeps the evaluation set fixed on Twitter. The improvement in recall from 0.158 to 0.474 shows that the added material helps recover comments the reference annotation considers uncivil. Precision falls from 0.872 to 0.711. The evidence supports a change in the range of cases the classifier is willing or able to flag on Twitter. The paper gives no evidence that the gain is distributed evenly across the forms of incivility covered by its definition.
On the Reddit test set, both expanded regression conditions remain close in F1. This gives an answer to a practical question about building a shared classifier. In the reported experiment, adding Twitter data improves the Twitter result while keeping the Reddit result close to the Reddit-trained alternative. The design does not isolate whether the additional benefit comes primarily from Twitter expressions, the Twitter labels, or the larger and more varied training collection.
The role of the Twitter-only condition would be especially informative here. A separately reported score for it would help assess whether a combined training strategy improves on training solely with material from the target platform. The reported comparison establishes the benefit over Synthetic Reddit training. It leaves the value of adding Reddit evidence to a classifier already trained on Twitter unmeasured.
The two neural classifiers make different trade-offs
The comparison of BERT with DistilBERT establishes a difference in the observed precision and recall after the authors adapt both to Reddit. BERT has higher recall, and DistilBERT has higher precision and F1. The authors’ choice of DistilBERT for automatic labeling follows the headline measure on their Reddit test. The decision also carries forward the tendencies of that particular classifier into the expanded training collection.
The pretraining stage itself is not isolated by the experiment. Both neural classifiers receive additional training on Reddit before learning the incivility task, and the paper gives no accompanying test of the same classification setup without that stage. The reported results show what the adapted classifiers can do. They do not measure how much of their performance comes specifically from the masked prediction exercise on Reddit.
Similarly, the choice of TF-IDF is supported by the regression’s performance with augmented training and by the earlier work on which the authors draw. The paper mentions possible alternatives, including Doc2Vec and Word2Vec, and leaves evaluation of those features for future work. The competitive F1 establishes that the simple representation can suffice for many of the decisions in this experiment. A ranking of alternative representations would require testing them with comparable training and evaluation.
Inspecting the decisions that differ
The authors compare the predictions of a BERT classifier and their regression across 996 test comments. The classifiers disagree on 27 comments, a rate of 2.7%. Their agreement is consistent with the regression preserving many of the neural classifier’s decisions. This count measures how frequently the two classifiers give different labels. When they agree, the shared label can either match or miss the reference annotation.
The inspection identifies long comments as one setting where disagreement can arise. The neural implementation truncates inputs past 256 tokenized word pieces. If the decisive expression lies toward the end, the classifier may never receive it. A regression using word features has a different way of representing the text. An error in this setting can follow from the text available to the classifier before its capacity to interpret disrespect comes into play.
The authors also identify cases where a lexical clue can be misleading. In one example, a writer uses dope to praise something and goes on to ask about buying one. The regression gives the comment an uncivil label, while BERT classifies it correctly. The authors suggest the individual word may have prompted the regression’s error. The explanation is plausible because the representation assigns weights to word features. The surrounding question and enthusiastic use of the word give the neural classifier more context for reading it as approval. What Does BERT Learn about the Structure of Language?
The example complements the truncation analysis. Context can help a neural classifier interpret a word within the part of a comment it sees. A long comment can put the relevant expression outside that part altogether. A lexical decision can be useful when the presence of a term is itself reliable evidence and fail when its meaning depends on its use in a sentence. These observations identify concrete ways the classifiers diverge. The disagreement review gives examples and plausible explanations, while a systematic analysis of how frequently the causes arise remains future work.
Limitations
Limits the authors identify
Processing cost is a practical limit the authors encountered. They considered the neural classifiers too expensive for their intended analysis of the Reddit collection, even though the classifiers performed well on the labeled test set. The regression is their response to that constraint. The paper’s case rests on the simpler prediction procedure and the observed classification results. It supplies no detailed benchmark of processing time, hardware requirements, or cost for the competing classifiers.
The authors also identify the input limit as a source of neural errors. A comment can contain a long stretch of ordinary discussion followed by a disparaging or vulgar expression. When that expression falls after the cutoff, the shortened input can omit the basis for the human label. The authors point to this as one kind of disagreement they noticed. They provide no evaluation broken down by comment length that would show how widespread the problem is.
For the regression, the authors emphasize its sensitivity to individual words. The example involving a positive use of dope shows how a feature associated with an uncivil category can be misleading in another context. The authors leave a more rigorous study of disagreements for future work, including how lexical evidence and the meaning produced by combining expressions contribute to decisions. They also leave open whether other word or document representations would improve performance.
The prevalence figures for political and non-political Reddit discussion are described as preliminary. The authors intend a more systematic examination of change across time and discussion types. The plan calls for distinguishing between discussions with similar or differing political views, between liberal and conservative settings, and among several types of nonpolitical topics. The comparison from 2017 illustrates the proposed research program at an early stage.
Limits visible in the study design
The incivility label combines several forms of speech. Aggregate precision and recall leave open whether the classifiers work equally well on profanity, personal insults, disparagement of policies, or comments about someone’s way of speaking. A classifier could learn some of these forms more readily than others and still perform well on the pooled test. The binary annotation provides a measure of the broad category the authors want to count, with limited evidence about its internal composition.
The annotated reference also contains judgments on which reasonable readers can differ. The paper’s discussion of sarcasm shows that the ambiguity comes partly from interpreting what a writer is doing. The coders trained and established agreement, then annotated the remainder individually. This yields a workable training corpus. It provides agreement measurements for the shared coding exercises and leaves the consistency of individual assignments without the same direct check for every comment.
The selection of popular subreddits gives strong coverage in terms of comments under the authors’ sampling procedure. Coverage by activity differs from coverage of every community or its conversational norms. Lower-activity communities have less presence in such a frame. Stratifying comments by annual volume is suitable for collecting a corpus that reflects the activity distribution of the selected period, while leaving open how well the classifier performs in individual years or communities.
The reported Reddit test evaluates comments from the authors’ corpus overall. The paper supplies no separate results for years withheld from training or for a test restricted to previously unseen subreddits. Aggregate held-out performance is therefore evidence about the prediction task within the sampled corpus. A reader interested in changing language or in transfer to communities with very different local norms has no corresponding breakdown to consult.
The treatment of Twitter gives a direct test on a second platform, with the strongest result coming from a classifier trained on data from that platform. It establishes a useful degree of flexibility for these two collections. A claim of general performance on other platforms would need evidence from their own discussion structures and labels. Even for Reddit and Twitter, evaluation against their respective test sets leaves open how closely the annotations align in difficult cases. The result measures success relative to the reference decisions made for each evaluation collection.
The automatically labeled training material introduces another dependency. DistilBERT’s predictions reflect what it learned from the Reddit annotations and the limits of the input it reads. Errors in those labels can become part of the new supervision. The regression’s held-out performance shows that the additional material is valuable overall. The paper provides no inspection of the full automatically labeled collection that determines what kinds of noise it contains or how that noise is distributed across communities.
A related limitation is that the regression comparison changes several properties of training at once. The Synthetic Reddit condition includes automatically assigned labels and greatly expanded coverage of Reddit text. The combined condition adds Twitter material. A controlled separation of source, size, and labeling procedure would help identify which property produced which gain. The available results justify choosing the stronger reported conditions for these test sets. They support more limited conclusions about the mechanisms responsible for the observed differences.
The small separation between some scores also needs careful interpretation. For instance, the Reddit F1 values of 0.779 with Synthetic Reddit training and 0.782 with Reddit + Twitter training give the observed ordering on the test set. The paper presents point scores and does not report uncertainty around that comparison or results across repeated training runs. The evidence supports saying that the combined classifier kept Reddit performance close to the Reddit-trained alternative. It gives limited grounds for expecting the same ordering on a fresh sample.
Part of the test reporting is difficult to reconcile precisely. The training description says that 1000 annotated posts were reserved for Reddit testing. The discussion of classifier disagreements refers to 996 test comments. The paper gives no explanation for the different counts. The disagreement rate has its own stated comparison set, and the score tables describe the Reddit test results. A reader cannot determine from the paper how the comparison set relates to every reported score.
The estimates from the Reddit archive deserve particular care. A category’s estimated prevalence depends on how frequently the classifier misses uncivil comments and how often it flags civil comments in that category. If these error patterns differ between political and non-political discussion, the observed proportions can reflect a mixture of language differences and classifier behavior. The paper gives overall Reddit precision and recall, without corresponding error measurements for those groups in the large-scale application. Its figures describe predicted prevalence under the authors’ procedure and provide an initial reason to investigate the difference more closely.
Finally, the label and the evidence concern language as it appears in individual comments. The study evaluates whether a classifier matches human decisions about those comments. It provides no outcome measure for harm to users, withdrawal from discussion, or the effects of a moderation intervention. Earlier work supplies motivation for studying incivility because those consequences matter. Measuring comment-level incivility is the contribution the authors make toward studying them at scale.
What came after
No later study is documented here that extends the annotation scheme, reuses the Reddit corpus, or tests the approach to transferring automatic labels to logistic regression. The paper itself points toward a larger analysis of incivility across time, topics, and political settings, alongside a closer study of disagreements between its classifiers. Those are follow-up questions the authors set out. The demonstrated application is the preliminary comparison of political and non-political Reddit discussion.
Cite
Cite as Sam Davidson, Qiusi Sun and Magdalena Wojcieszak. 2020. Developing a New Classifier for Automated Identification of Incivility in Social Media. Proceedings of the Fourth Workshop on Online Abuse and Harms.
@inproceedings{davidson2020developing,
title = {{Developing a New Classifier for Automated Identification of Incivility in Social Media}},
author = {Sam Davidson, Qiusi Sun and Magdalena Wojcieszak},
booktitle = {Proceedings of the Fourth Workshop on Online Abuse and Harms},
year = {2020},
doi = {10.18653/v1/2020.alw-1.12},
url = {https://doi.org/10.18653/v1/2020.alw-1.12}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/davidson-2020-developing-new-classifier-automated-identification/