Elamur Research

DeTox: A Comprehensive Dataset for German Offensive Language and Conversation Analysis

Paper · 2022 · Christoph Demus, Jonas Pitz, Mina Schütz et al.

Summary

When a reporting office examines an online comment, it may need to decide whether the author disparages a group, whether the message could derail the discussion, and whether it merits legal attention. Each question directs the reader to different evidence. A threat can matter even when the comment makes no reference to a group, and a brief reply can depend on what someone said earlier. DeTox makes these distinctions available for research through linguistic annotation. In collaboration with a German office that takes reports of offensive comments, the authors developed a framework encompassing toxicity, hate speech, threats and potential applicability of German criminal law. It also records such properties as the author’s apparent emotional state, the addressee and how directly the message is expressed.

The public release, named detox, has labels for 10,278 German Twitter comments posted in the first half of 2021. A search of tweet text and hashtags supplied 4,936 items for the standalone collection. The other 5,342 annotated items came from selected passages in discussions. The release keeps additional messages from those discussions, giving researchers access to surrounding exchanges even where many turns carry no annotation. Six students trained for the task, and every comment went to three readers. Alongside combined judgments, the release preserves the individual decisions. That matters for categories such as extremism, where readers were generally better at reproducing their own judgments than at agreeing with each other.

The two collections yielded different concentrations of hate speech. The label applies to 17.83 % of the annotated standalone comments and 4.40 % of the annotated conversation comments. A separate analysis asks what happens near a comment already flagged as offensive. Among its immediate replies, 5.97 % were judged toxic, against 1.97 % in the conversation comparison sample. The hate speech comparison points in the same direction. The reply links establish which message each response answered. The samples leave open whether the offensive message itself accounts for the higher rates.

The paper also establishes reference scores for automatic prediction from individual comments. On the held-out DeTox test split, GBert leads on hate speech with a macro F1 of 0.71. XLM-R leads on toxicity at 0.54 and on sentiment at 0.63. Macro F1 gives each class equal influence, so performance on uncommon labels matters even when most comments fall elsewhere. These scores establish a starting point for reading a comment in isolation. The preserved discussions make a further question possible: how much can a classifier gain from reading the exchange as well?

Deep dive: DeTox: A Comprehensive Dataset for German Offensive Language and Conversation Analysis

DeTox labels German Twitter comments for hate speech, toxicity and other harms, and preserves reply threads to study how people respond. · about 34 minutes to read

The problem and its context

What a reporting office needs to know

An offensive-language dataset can give a system examples of what to flag. The usefulness of a flag depends on the decision someone makes after receiving it. A reporting office may have to send a possible threat for urgent review, consider whether a message is potentially relevant under criminal law, or identify the grounds on which someone is being disparaged. A dataset organized around a general yes-or-no question about hate speech supplies reference judgments for that question. A dataset designed for the work of the office has to capture more of what its readers look for.

One distinction concerns the relationship between a message and its setting. Compare a reply that insults its addressee with a remark that disparages people because of a trait associated with a group. The first can turn an exchange hostile through a personal attack. The second meets the kind of condition that DeTox makes central to hate speech. Some messages have both properties. Keeping them as independent annotation decisions allows an analysis to examine their overlap and gives a classifier a defined task whenever one of them is the intended output.

Another distinction concerns how a message is expressed and who is addressed. A comment sent to a particular person can disparage a wider group. Its force may be conveyed through an implication whose words look mild in isolation. An expression label, an addressee label and a discrimination label each describe a separate aspect of that message. A useful annotation scheme makes these differences legible in the data, so that a researcher can tell what question a system was trained to answer and what kinds of behavior an evaluation covers. Implicature

The authors also wanted to ask questions whose unit is an exchange. To study an immediate response, a researcher needs to identify the comment it answers. Consecutive posts in a time-ordered list can come from separate branches of a discussion. Several people can answer the same message and then have discussions of their own. A collection that retains the reply links makes it possible to distinguish these cases. It also keeps some of the evidence a reader may need to interpret an otherwise puzzling contribution. Discourse analysis

What German datasets already offered

The paper situates DeTox alongside German shared tasks that made annotated social media material available for common experiments. The GermEval releases of 2018 and 2019 included broad judgments about whether tweets were offensive and narrower distinctions involving abuse, insult and profanity. The tasks also addressed whether offensive language was implicit or explicit. The 2019 corpus enlarged the earlier one. HASOC 2019 used Twitter and Facebook material for a related set of broad and fine-grained judgments. These collections had already established several ways of turning offensive-language detection into a measurable task.

Other resources defined relevance differently. The dataset associated with Bretschneider and Peters concentrated on offensive statements directed at foreigners. The paper also describes German datasets that record degrees of hate speech. GermEval 2021 used Facebook comments and asked about toxicity, engagement and factual claims. In each case the labels reflect what the research task asks readers to notice. A corpus can be well suited to identifying whether a comment makes a claim while offering little supervision for distinguishing a personal insult from an attack on a group.

For a fine-grained resource in English, the authors point to the Contextual Abuse Dataset. DeTox addresses a related need in German and ties its scheme to decisions a local reporting office encounters. That purpose accounts for some of its more specialized labels, particularly the option to identify provisions of German criminal law. The resulting design brings together content judgments, additional details about those judgments, and material from the conversations in which some of the comments appeared. Contextual Abuse Dataset

The tradeoff in finding offensive material

The paper describes a practical sampling problem. A broad collection can yield a large amount of ordinary conversation and too little hate speech for training. Starting with words associated with abuse concentrates the search where annotators are more likely to find useful examples. Waseem and Hovy provide an example of identifying swear words and slurs for this purpose. The authors also point to OLID, for which ten keywords were used to gather material, and to the shared task that used that dataset. Waseem and Hovy’s Twitter study · OLID · OffensEval

A search term is useful evidence about how a comment reached the annotators. It may be a much weaker guide to the judgment those annotators ultimately make. A group name can occur in a neutral discussion, and a disparaging remark can avoid the familiar vocabulary entirely. If the search finds a narrow range of phrases, a classifier evaluated on material from the same search can benefit from learning those phrases. The paper discusses this as a concern about coverage and about what detection experiments can establish. Survey of hate speech detection

Earlier corpus builders also looked for prolific sources of relevant material. For GermEval 2018 and 2019, keywords helped identify Twitter accounts that regularly posted hate speech. Comments were then drawn from those accounts. This lets an individual comment enter on the strength of who wrote it, leaving room for language outside the search vocabulary. The writing habits of a particular user can then become prominent in the sample. The GermEval organizers addressed that possibility by assigning different users to the training and test partitions.

The paper describes additional ways of concentrating annotation effort. HASOC 2019 combined approaches. Later HASOC organizers trained a preliminary support vector machine on existing material and used its predictions to locate possible hate speech in a new set of tweets. They supplemented those candidates with a small random collection. Each strategy gives the annotators something different to work with. A lexical search emphasizes particular expressions, account selection emphasizes what particular people post, and selection by a preliminary classifier depends on distinctions that classifier already makes.

The authors relate these choices to three aspects of data quality. Interpretability concerns whether the material can be processed in its available form. The text of a tweet meets that requirement for a text-based classifier. Relevance concerns whether the examples fit the task, including whether there are enough examples of the categories researchers want to predict. Accuracy, in the paper’s discussion of collection, concerns how closely the material reflects the setting being studied. Enrichment can improve relevance for training while making label frequencies depend more heavily on selection. DeTox explores that tradeoff by gathering text through separate routes.

Whose reading becomes the label

Collection determines which messages reach an annotator. The instructions and the choice of readers determine what judgments the resulting dataset can represent. The authors distinguish subject specialists, selected people trained for the task, and workers recruited through crowdsourcing. Specialists may be hard to enlist for a large collection. A known group of readers can practice together and discuss ambiguous cases. The earlier German shared tasks discussed in the paper used researchers or selected annotators.

Even with common instructions, people can draw on different experiences when reading the same message. The paper situates this issue in work on how annotators’ attitudes and identities relate to toxicity judgments. It also draws on a distinction between collecting readers’ own assessments and asking them to apply a prescribed standard. DeTox uses the second approach because its authors want reference judgments that can support automatic classification. The individual assessments remain useful evidence about where that shared standard was easier or harder to apply. Annotators with Attitudes · Two Contrasting Data Annotation Paradigms

The method, step by step

Two routes from Twitter to the annotation batches

The collection began with German-language Twitter material from the first half of 2021. Twitter’s research interface supported searches over tweets and retrieval by conversation identifier. The authors used those capabilities to construct samples at different scales. In one route, a tweet’s own text or hashtags could make it eligible. In the other, a reply could enter the corpus because it belonged to a qualifying passage. The pandemic and politics surrounding the upcoming Bundestag election were prominent topics during the collection period.

From German tweets to DeTox annotations

The steps in order.

From German tweets to DeTox annotationsStep 1: Retrieve tweets through keyword and hashtag searches1. Retrieve tweets through keyword and hashtag searchesStep 2: Gather reply trees around selected accounts2. Gather reply trees around selected accountsStep 3: Choose standalone items and connected conversation passages3. Choose standalone items and connected conversation passagesStep 4: Train readers on shared practice comments4. Train readers on shared practice commentsStep 5: Assign judgments and repeat a subset5. Assign judgments and repeat a subsetStep 6: Combine decisions while retaining individual annotations6. Combine decisions while retaining individual annotations

For the standalone route, the authors assembled search terms by hand, looking for coverage across subject areas, political attitudes and possible grounds for discrimination. The 131 terms included offensive language, neutral words that might occur in discriminatory comments, and vocabulary connected with current events. Google Trends helped identify subjects receiving attention at the time. The paper gives merkelmussweg as a political example and uses Querdenker to illustrate a term associated with pandemic debates. It also gives Jude as an example of a group reference whose appearance alone carries no verdict about the tweet.

Matching text and hashtags yielded an initial pool of 781,991 comments from 154,151 users. A further stage identified comments whose vocabulary made them promising candidates for annotation. It drew on a hate-word list first assembled for a GermEval entry and extended using other hate speech corpora, and on a separate collection of around 2,000 German profanities and offensive terms taken from a website. The paper says the hate-word list was extended with TF-IDF, a way of favoring terms that occur often in the material of interest and are less widely distributed across the comparison material. TF-IDF

A comment met the extra filter when it contained an entry from each of the lists. The authors included 3,214 comments from that more restrictive stream and 1,722 drawn from the wider search pool without imposing the extra requirement. The total of 4,936 is the size of the annotated standalone collection. Both portions have already passed the original search. The paper’s distinction between filtered and unfiltered material therefore refers to the second stage of selection. The mixed design gives the annotation panel comments from a strongly enriched stream as well as material that could be retained under a broader vocabulary criterion.

How a discussion became a set of labeled passages

For the conversation route, the authors started with 25 Twitter pages whose posts they expected to attract contentious discussion. The selection included politicians, scientists associated with the pandemic, conspiracy theorists and influencers. Once the authors chose a starting tweet, its conversation identifier gave them a way to retrieve the response tree. The initial collection comprised 4,698 conversations and 637,027 comments. This was the pool from which the annotation material was chosen. The released conversation collection is smaller.

A reply tree places each reply under the particular message it answers. The message immediately above a given comment is its parent. The replies immediately below it form the next level, and the descendants can extend farther as readers respond to those new messages. This structure mattered at both stages of annotation selection. In the first stage the authors looked for comments with enough immediate replies to support a study of reactions. In the next they used the branches to gather surrounding text about specific offensive comments.

The first pass selected comments that had 10 to 199 direct responses and were written by someone other than the owner of the page from which the discussion had been collected. The paper reports 1,665 annotated comments for this stage. A qualifying item had to be both part of an exchange and the parent of a substantial set of immediate responses. Because eligibility depended on reply counts and authorship, this initial material came from a specific part of the trees before any label-based expansion took place.

The authors then searched the first-stage judgments for useful starting points for denser annotation. A majority hate speech decision qualified a comment. The other route was an average toxicity rating that met the following condition.

T̄ > 2.5

T̄ denotes the comment’s average toxicity rating across annotators, with the bar marking the average. The symbol > means that the average must be strictly greater than the value to its right. The value 2.5 is the cutoff the authors use. The separate hate speech rule still applies when a comment’s toxicity rating falls at or below that cutoff. In the conversation analysis the authors use offensive for a comment that satisfies either condition.

These criteria yielded 57 focal comments across 49 discussions. For each, the researchers took its parent and the branch of replies that followed, including descendants beyond the immediate responses. The parent supplies the prior turn to which the focal comment responds. The descendants give the authors a way to observe what was written next on that branch. A later analysis restricted to direct responses can use the first level of the branch, while a study of more extended exchanges can use the deeper reply links.

The resulting conversation portion contains 5,342 labeled comments. The release also includes 444,300 unlabeled messages from discussions with at least one annotated comment. These additional messages preserve much of the material through which labeled comments are connected. They can contribute to a structural account of the discussion or supply text that accompanies an annotated item. Their annotation status simply reflects the selection of passages for the readers’ work. A reply can be present in the release without any recorded decision about its content.

What an annotator could record

The annotation scheme has twelve categories, some of which become relevant only after a positive decision in a parent category. The opening field asks whether the comment is comprehensible. A reader who could only partly make sense of a message, for example because context was missing, could mark it as incomprehensible and leave the other fields incomplete. When the comment was intelligible, the main fields were required. This gives an analyst a reason to inspect missing judgments separately from the negative values in fields that use yes-or-no decisions.

The sentiment field is the annotator’s assessment of the emotion the writer appears to express, recorded as negative, neutral or positive. The paper identifies the negative end as -1 and the positive end as +1, with 0 for the neutral option. The order describes the progression from negative to positive. Expression is a separate choice between an implicit and an explicit message. A comment can be clearly negative in tone yet convey the substance of its criticism indirectly. The two fields let the annotation capture both features of such a reading. Sentiment and emotion

Target records the addressee. The options cover a particular person or several separate individuals, a group or groups, and a public audience when there is no specific addressee. The point is to record whom the commenter is speaking to. When a tweet addresses an individual while making a disparaging statement about a group, the addressee belongs in the target field and the grounds for the attack belong in the hate speech fields. That distinction gives a conversation study a way to ask whether language addressed to a particular person has a different pattern of replies.

Toxicity treats the message as a contribution that may alter a discussion. The annotator considers how much it could invite aggression or drive people away from the exchange. The scale begins at 1 for material judged non-toxic and ends at 5 for the strongest toxicity. Adjacent levels let a reader express a difference of degree. The rating records an expectation about the comment’s potential effect. When the authors later look at actual responses, those responses give them a separate set of observations about how a conversation continued.

For hate speech, the reader judges whether the expression disparages or attacks people on grounds associated with a group. A comment can be abrasive enough to earn a high toxicity rating solely through the way it insults an individual. Group-based disparagement, in turn, can be phrased calmly or indirectly. The scheme lets the annotator decide independently how the comment bears on each criterion. It can therefore record examples where one label applies, examples where both apply, and ordinary comments for which neither judgment is positive.

Two dependent fields expand a positive hate speech judgment. In one, the reader can enter wording that helped determine the decision. The field gives readers room to identify phrases in their own terms. In the other, readers can select the grounds for discrimination that they consider applicable. The choices include political attitude and worldview, nationality and ethnicity, religion, work and social status, personal engagement and interests, sexual identity, and characteristics involving physical or mental condition. A reader can select several grounds, select a single ground, or leave the list without a choice. This is a multi-label field because several options can apply simultaneously.

Criminal relevance is a yes-or-no screening judgment under German law. If the reader selected it, the instructions called for identifying the applicable provisions from a list of 14. These choices also allow more than one selection. The paper singles out this part of the task as particularly difficult for the students, whose backgrounds were outside law. The field reflects the practical needs that motivated the scheme, and its values identify the provisions a reader thought might apply. The authors themselves treat those values with caution. Legal AI

Extremism and threat are further yes-or-no judgments. The threat field covers expressions the annotator reads as announcing or calling for violence. Someone can make such an announcement with different tones, to different addressees, and either directly or implicitly. A separate threat decision lets the scheme capture that concern without having to infer it from the rest of the row. Extremism likewise has its own field. The paper’s later agreement analysis shows that applying this category was especially difficult to standardize across readers.

Preparing readers and monitoring decisions

The authors recruited six students. Four studied information science and the others studied general and digital forensics. Each reader first received an explanation of the scheme, then annotated 200 practice comments divided into two sets. At the end of each set, the group examined disputed examples. A reader who had treated an expression as ambiguous could explain that reading, and the others could compare it with the decision the instructions were intended to support. This process gave the annotation team a common body of examples before the main work.

The authors used the practice judgments to form two groups of three. They tried to distribute readers who tended to rate comments more harshly across the groups, so that the average tendency within either group would be broadly balanced. Comments from the two collection routes were mixed, with roughly even representation of each source. Every comment had three assigned annotators, and the paper reports 5139 comments per annotator. This design spreads the work across a small panel while preserving overlapping judgments on individual items.

The main annotation phase lasted about five months and proceeded in 8 batches. The authors watched the agreement results as the work progressed and periodically pulled out unclear items for discussion. Annotation time and duration were logged. The paper mentions those records as material for possible later studies of reader reliability. It also reports a separate review in which the authors revisited 141 comments that had unusually large differences among their annotations. That review directed attention to cases where the judgments diverged across much of the scheme.

To measure whether readers could reproduce their own decisions, the authors inserted repeat work. Each reader was asked to label 20 randomly chosen comments from each set again. The paper reports between 123 and 138 duplicated comments per reader for its analysis, with some material from the wider annotation effort outside the public data. These paired judgments serve a different purpose from the overlapping assignments in the main batches. They hold the reader fixed while giving that reader another opportunity to judge the same item.

Combining judgments and measuring agreement

The paper uses majority voting for most binary labels in its frequency analysis. A majority turns several individual responses into a reference decision at the comment level. The authors also use voting for the choices in the discrimination-type and legal-provision fields. For ordered toxicity ratings, the average answers a different question. It summarizes the level of toxicity assigned across readers and can be used to derive the toxic flag for the reply analysis. Ratings behind the same average can still show different degrees of consensus.

Threat has a distinct aggregation policy in the reported frequency analysis. The authors counted a comment when any of its annotators marked it as a threat. They chose that rule because such flags were particularly scarce and because missing a threat would be consequential for the intended use. A positive entry in the threat totals thus has a different threshold of annotator support from a positive entry in the hate speech totals. The stored individual judgments make it possible to distinguish a broadly shared concern from a flag raised by a single reader.

The paper discusses the cost of reducing several judgments to one. Majority voting can suppress an interpretation held by a minority of readers, even when it is a consistent interpretation. The aggregate still serves the DeTox goal of giving classifiers a reference decision under a common standard. Keeping the separate judgments gives a researcher the option to examine variation or represent uncertainty as an outcome in its own right. The paper connects this possibility to earlier work that treats annotator responses individually. Dealing with Disagreements

For agreement between readers and consistency within a reader, the authors use Gwet’s agreement coefficients. AC 1 is used for the evaluated categories with unordered values. For example, a comment addressed to the public has a different target from a comment addressed to a particular person, but the two target choices occupy no natural higher or lower position. The authors use the weighted AC 2 for sentiment and toxicity. In those fields, the ordering gives a meaning to how far apart two choices are on the scale.

The paper discusses kappa measures and Krippendorff’s alpha as alternatives, and chooses Gwet’s coefficients for their behavior in situations where the distribution of labels can lead to counterintuitive agreement results. It reports the selected coefficients without deriving them. The agreement and consistency calculations exclude the dependent fields for legal provisions and discrimination types. Applying the same analysis there would have to account for whether readers had already agreed that the corresponding parent label applied, as well as for the possibility of choosing several values.

Experiments and results

How much of the release carries a judgment

There are 454,578 comments in the release overall, and 10,278 of them were annotated. The authors separately report 31,327 annotations for those items. The comment count measures the texts labeled. The annotation count describes the contributed judgments and should be read in light of the overlapping assignments and the repeat-labeling exercise. The conversation portion includes 514 discussions. How much labeled material each discussion contributes depends on whether it supplied an isolated item or a passage selected for closer reading.

According to the authors, 100 conversations each contain at least six annotated comments. Within that group, the mean is 45 annotated comments per discussion and the maximum is 463. A large thread can therefore provide a substantial portion of the labeled material for a study of exchanges. There are also many messages whose main value is supplying surrounding text. The resulting corpus has variable annotation density, which matters when the unit of analysis is a reply pair, a longer branch or an entire conversation.

Which labels were common

The frequency results show how strongly the type of collection shapes the sample. The authors report 880 hate speech comments in the standalone portion, corresponding to 17.83 %, and 235 in the annotated conversation portion, corresponding to 4.40 %. The corpus-wide count is 1,115 at 10.85 %. A tweet in the standalone route qualified through terms in its own content or hashtags. In the conversation route, many items were selected for their relation to another message. Different concentrations of hate speech are consistent with those entrances to the corpus.

Criminal relevance appears far less frequently. The authors report 99 flags in the standalone comments and 32 in conversations, with an overall frequency of 1.27 % and a count of 131. Extremism accounts for 82 comments overall. Threat accounts for 12 under the rule that a flag from any reader sufficed. These figures refer to the binary judgments recorded under the scheme. The relative scarcity of some categories matters both for the amount of training material available and for how a reader should interpret overall agreement.

The paper reports a toxic share of 9.63 % for the dataset. In the rating distribution, most comments have toxicity below 2.5 even though the most common sentiment is negative. This makes it possible to see a distinction that would disappear under a general label for hostile tone. Readers commonly inferred negative emotion while assigning low toxicity. The two distributions summarize different features of the same collection. They leave the overlap between individual categories to a comparison of judgments on the same comment.

The target results show that particular people and groups were addressed with roughly similar frequency. The public option was uncommon. Political attitude was the most frequent ground recorded in the discrimination field. The most common legal selection was § 185, which the paper identifies with insult, followed by § 186. These are rankings within dependent fields, where selection followed a positive decision on the parent category and several choices could apply. They describe what the team recorded from this sample under the set of choices available to it.

The prediction tasks and the held-out split

The authors chose hate speech, toxicity and sentiment for their baseline experiments in text classification. The input was the individual comment. The surrounding messages and reply relations were left for subsequent work. The authors used a stratified division into 80 % for training and 20 % for testing. In a stratified split, examples are assigned with the aim of maintaining class proportions across the partitions. The reported scores measure performance on the held-out portion of this collection.

Hate speech is a binary prediction task in these experiments. Toxicity and sentiment have ordered labels and can also be approached as regression problems, meaning that a system predicts a value along a scale. The authors report classification results for both. They say this choice improved performance on underrepresented labels, particularly high toxicity and positive sentiment. The paper gives the quantitative results for the classifiers, leaving the magnitude of the reported advantage over regression unspecified.

The multilayer perceptron, or MLP, had an additional embedding layer with a vocabulary of 15,000. An embedding represents a word through values that the classifier can use as features. The MLP used softmax, which turns its output scores into values that can be read as a distribution over classes. The support vector machine, abbreviated SVM, received a 200 dimensional Fasttext feature vector. This setup supplies the classifier with a fixed-length numerical representation of each comment. GBert and XLM-R were the two transformer-based classifiers. Word embeddings · Transformer and attention

How to read the scores

For a particular label, precision describes the share of predictions of that label that match the reference judgment. Recall describes the share of reference examples of that label that the classifier retrieves. F1 combines precision and recall in a single score and rewards maintaining both. This distinction matters when an output is to be reviewed: a classifier with high precision on a flag can still miss many comments that readers marked with it.

The evaluation reports those measures as both macro and frequency-weighted averages. In a macro average, the score associated with a rare class has the same influence as the score associated with a common class. In the weighted version, the common class contributes more because it has more examples. A weighted F1 can thus look comparatively strong when the classifier does especially well on the class that dominates the test material. Macro scores expose more of the consequences of uneven performance across classes, though they still summarize several class-level results.

Hate speech

GBert led on the test split in macro F1 for hate speech, followed by the SVM. The SVM had the strongest macro recall, at 0.79, while GBert achieved 0.67. For macro precision, GBert achieved 0.78 and the SVM 0.65. The difference shows up in how these systems balance precision and recall across the task. The macro recall values cover the negative class as well as the positive class, so a reader interested specifically in retrieving hateful items would need the recall for that class.

Hate speech macro F1 on the DeTox test split

GBert leads on equal-weighted class performance, followed by the SVM.

Hate speech macro F1 on the DeTox test splitXLM-R: 0.55XLM-R0.55MLP: 0.56MLP0.56SVM: 0.67SVM0.67GBert (this paper): 0.71GBert (this paper)0.71
The numbers
System or settingmacro F1
XLM-R0.55
MLP0.56
SVM0.67
GBert (this paper)0.71

GBert also leads on weighted F1 for hate speech, at 0.89. The MLP reaches 0.85 under that average, followed by the SVM and XLM-R, each at 0.83. This puts the MLP ahead of the SVM on weighted F1 and behind it on macro F1. Hate speech is the less frequent label across the corpus, and the authors observed that the MLP tended to perform much better on majority classes. The different rankings illustrate the practical effect of changing which classes contribute most to the evaluation.

Toxicity

XLM-R achieved the highest macro F1 for toxicity and recorded 0.56 for both macro precision and macro recall. GBert received the highest weighted F1, at 0.67, while XLM-R recorded 0.65. Both drew on text alone. With equal class weights, the strongest aggregate is XLM-R’s. Giving the more frequent classes greater influence puts GBert ahead. Because the paper reports averages, the results leave open how reliably either one retrieves examples from the most toxic end of the rating scale.

Toxicity macro F1 on the DeTox test split

XLM-R leads on the measure that gives each toxicity class equal influence.

Toxicity macro F1 on the DeTox test splitMLP: 0.27MLP0.27SVM: 0.35SVM0.35GBert: 0.39GBert0.39XLM-R (this paper): 0.54XLM-R (this paper)0.54
The numbers
System or settingmacro F1
MLP0.27
SVM0.35
GBert0.39
XLM-R (this paper)0.54

The toxicity label also needs to be read differently in the prediction experiment and the conversation comparison. The classifiers are evaluated across toxicity classes. The reply analysis takes an average of the readers’ toxicity ratings and uses a cutoff to count comments in a toxic category. A score for distinguishing toxicity classes and a share of replies above the cutoff answer different questions. The former measures prediction against the annotation target. The latter describes the composition of a particular sample of replies.

Sentiment

XLM-R also led on sentiment by macro F1. Its macro precision and macro recall were each 0.64. GBert recorded a higher macro precision of 0.66 and a lower macro recall of 0.55. The SVM’s macro recall was 0.63. Depending on which errors matter most, the comparison can therefore look different from the F1 ranking. In weighted F1, XLM-R and GBert both recorded 0.71, with the SVM at 0.70. The weighted results place several systems close together on this task.

Sentiment macro F1 on the DeTox test split

XLM-R leads, with the SVM close to GBert.

Sentiment macro F1 on the DeTox test splitMLP: 0.45MLP0.45GBert: 0.58GBert0.58SVM: 0.59SVM0.59XLM-R (this paper): 0.63XLM-R (this paper)0.63
The numbers
System or settingmacro F1
MLP0.45
GBert0.58
SVM0.59
XLM-R (this paper)0.63

Across the three tasks, the SVM is competitive with the transformer-based classifiers on several metrics, particularly macro recall. The strongest macro F1 depends on the label being predicted. That dependence matters in a corpus whose purpose is to support several different judgments. A result for whether someone disparages a group gives only indirect evidence about how well the same classifier can distinguish levels of toxicity or recognize less frequent sentiments. The reported baselines give each of those questions its own starting score.

What the ablations show

The paper reports no formal ablation of components within a classifier or the collection procedure. Its evidence about the design comes from comparing the two samples, examining agreement between and within readers, comparing direct replies with a conversation reference sample, and evaluating complete classifiers against the same tasks.

Where readers converged

The authors computed agreement for each group of annotators over the comments that group read. The mean coefficient across the evaluated categories was 0.8144 for Group A and 0.8667 for Group B. The authors regard both means as strong. The category results reveal differences that the means would otherwise conceal. For hate speech, AC 1 was 0.7286 in Group A and 0.8056 in Group B. For the binary criminal relevance flag, it was 0.9368 and 0.9364, respectively.

The criminal relevance figures concern a decision about whether a comment merits the flag under the instructions. Choosing a particular provision is a dependent task, and it was outside this calculation. The distinction illustrates why agreement should be attributed to a specific judgment. Several readers can agree that something raises a concern and disagree about how to characterize the concern in more detail. The same issue arises for hate speech and the possible grounds for discrimination. The paper leaves agreement on the detailed choices open.

For the ordered fields, the groups obtained AC 2 coefficients of 0.7744 and 0.8785 for sentiment, and 0.8584 and 0.9159 for toxicity. These estimates reflect the chosen treatment of ordered judgments. A reader assigning two nearby degrees of toxicity is giving a different kind of response from a reader whose assignment lies at the opposite end of the scale. The coefficients summarize how those responses align across the items. The corresponding individual judgments provide the evidence needed to examine which distinctions along a scale produced the disagreement.

Where repeat judgments change the interpretation

Extremism had the lowest agreement between readers, at 0.5441 for Group A and 0.6086 for Group B. When readers reassessed the same comments, the mean consistency for extremism was 0.94. Most of the annotators thus applied their own judgments about this field quite consistently. The authors suggest that the readers may have developed different interpretations of what should count as extremism. This explanation fits the combination of steadier decisions within readers and weaker alignment across readers. Exactly which parts of the category prompted divergent interpretations remains open.

The addressee was a relatively difficult judgment by both measures. The target coefficients between readers were 0.7281 and 0.7701, and the mean repeat coefficient was 0.75. A potential source of difficulty is that a short contribution can leave the intended audience implicit, especially in a branching discussion. That is an interpretation of the task, rather than an explanation established by the coefficients. The analysis shows that readers differed and sometimes changed their own decisions. It leaves the reasons for those changes to closer examination of the actual comments.

Across the repeat judgments, overall mean consistency was 0.89. A3 had the lowest individual mean, at 0.77. The authors raise this as a possible contributor to Group A’s lower agreement. The groups also read different sets of comments, so the comparison combines changes in readers and changes in material. Its strongest contribution is the distinction between an annotator who changes their mind on rereading and a group whose members maintain different judgments. Those two patterns call for different explanations.

Threat has the highest between-reader agreement, with coefficients of 0.9987 in Group A and 0.9997 in Group B. The authors relate those figures to the small number of positive flags. In a large set dominated by negative decisions, readers can agree on the vast majority of comments while the few positive cases remain challenging. The inclusive rule yielded 12 threat flags in the dataset. Evaluating how frequently the team converged on individual threats would require looking directly at those positive judgments. The aggregate coefficient primarily describes agreement over the collection the readers actually saw.

What the direct replies establish

The conversation comparison focuses on immediate answers to an offensive comment. The authors examined 881 such responses and a reference sample described as 1,673 randomly selected comments from the initial conversation material. A parent met the offensive criterion if a majority marked it as hate speech or if its mean toxicity cleared the paper’s cutoff. The outcomes for the replies were then reported separately. This keeps a reply that receives a hate speech label analytically distinct from one that earns a qualifying toxicity score.

Toxic replies make up 5.97 % of the responses to offensive comments, while 1.97 % of the comparison comments were toxic. Hate speech likewise appears more frequently in the responses, at 6.24 %, against 2.81 % in the comparison sample. In both cases the proportion is higher where the reply relation connects the message directly to an offensive parent. The authors interpret the pattern as evidence consistent with offensive language eliciting further offensive language. The figures establish that the offensive labels cluster in these sampled exchanges and identify which relationship the analysis used to observe that clustering.

The comparison also shows what the conversation collection adds to the standalone sample. It links an outcome in a reply to a particular predecessor, instead of relying on the messages sharing a topic or appearing close together in time. The analysis uses that connection for an immediate response. The preserved branches extend beyond those replies, but the reported percentages concern the immediate comparison. Whether a similar pattern persists farther down a branch is a separate question.

What the baseline comparisons can explain

The baselines vary both in how they represent a comment and in how they learn to classify it. There is no shared representation with only the final decision procedure changed, or a shared classifier with only the representation changed. The comparison therefore identifies which complete setup performs best for a given task and average. It offers less evidence about the particular feature that accounts for the ranking. The SVM’s strong hate speech macro recall and the MLP’s stronger weighted than macro performance are informative at the level of the reported systems.

The authors’ observations about classification and regression suggest that the choice of training objective matters for the rare ends of the toxicity and sentiment scales. The paper supplies no matched numerical results for the regression attempts. Likewise, it supplies no context comparison within any classifier. The corpus construction, agreement studies and prediction results can be read together to identify possible sources of difficulty. The effect of adding context or changing a single part of the pipeline remains an experimental question.

Limitations

Limits the authors identify

The authors locate a first boundary in the source itself. Twitter is one social network, and the way people write and interact there reflects the platform. The readily accessible text suited the authors’ collection and classification methods. A German comment from another service can have different conventions for addressing an audience, quoting someone or responding to a disagreement. Performance on DeTox speaks most directly to material collected through these Twitter procedures. The authors also point out that moderation may already have removed offensive posts before the researchers could collect them.

The paper identifies topic concentration as another limit. Search vocabulary was partly selected for contemporary debates, and the conversation accounts were chosen for their tendency to draw controversial discussion. The pandemic and parliamentary election politics were also prominent during the period itself. The presence of those discussions comes from both the collection decisions and the time window. Their prominence helps explain why the authors are cautious about generalizing to German social media more broadly. Observations about a category in DeTox apply first to the topics and messages the collection brought together.

On the annotation side, the authors acknowledge the influence an individual reader can have when each comment receives three judgments. The scheme is demanding, and even a detailed guide leaves room for interpretation of hate speech and toxicity. Training and discussion help align how a panel applies its instructions. The judgment that emerges still represents that panel’s reading under that procedure. The individual labels preserve evidence about divergence, though they offer only the range of readings present among the participating students.

The authors give particular attention to the legal annotations. The annotators and the paper’s authors lacked a legal background, and the provisions were drawn from German legislation. The labels can document that a student identified a possible criminal issue under the scheme. Establishing whether an actual comment falls within a provision would require an independent legal assessment. Transferring the field to another jurisdiction would also raise a new question about which law and categories apply. Agreement on the broader criminal relevance flag leaves both questions open.

What follows from the way the samples were chosen

The two sampling routes give researchers useful material for different questions, while their label shares describe samples selected by different rules. The standalone route already selects for relevance through the original keywords, then enriches one portion further. The conversation route begins with specified accounts, sets eligibility conditions for the first comments, and expands around messages chosen using the annotations. The difference between the hate speech proportions captures the outcome of those procedures together. It cannot isolate the influence of vocabulary, account selection, branch structure or the topics under discussion.

The contrast between standalone and conversation comments also does not test whether providing context changes a reader’s judgment. A test of that question would compare annotations for the same material under different context conditions. Here, the two rates refer to distinct sets of comments selected through different procedures. The inclusion of parent messages, replies and unlabeled surrounding material makes such a comparison possible as future work. The frequency results establish what the selected portions contain under the paper’s annotation process.

The direct-reply analysis also uses samples with different eligibility rules. Replies enter one group because they answer comments that already met the offensive criterion. The reference items come from the earlier pass. Topics, authors, positions in a branch and prior levels of conflict may differ between those groups. A contentious exchange can make both a parent and its replies more likely to carry offensive labels. The observation that one message follows and answers another establishes a relation on the tree. Attribution of the reply’s tone or content to the parent comment would require evidence that distinguishes those competing explanations.

Likewise, toxicity includes the possibility that readers withdraw from a discussion, but the reported reply outcome is based on people who wrote a response that was collected and rated. Someone who read the comment and left may produce no visible message. The toxicity annotations capture what readers thought the comment might do. The conversation comparison captures the prevalence of labels among selected posts that actually appeared in the exchanges. A direct measure of withdrawal would require evidence about participation beyond the labels attached to those posts.

What the reported baselines leave open

The paper specifies stratification for the training and test split. It gives no account of separating all material from a given writer or conversation into the same partition. This matters because related messages can share vocabulary, references and participants. The held-out scores establish how the classifiers did under the paper’s split. A split by conversation would answer how well they do on wholly unseen threads, and a split by writer would answer a different question about variation across authors. The reported arrangement establishes neither of those more specific results.

The baseline tasks also cover a subset of the scheme. The paper provides no corresponding prediction scores for threat, extremism, criminal relevance or the more detailed discrimination and legal judgments. A judgment can be practical enough to warrant a field and still have scarce positive examples, substantial disagreement or both. The threat count and extremism agreement results illustrate those difficulties from different directions. Readers considering automatic assessment for those fields would need task-specific evaluation beyond the reference scores for hate speech, toxicity and sentiment.

The report also leaves some details of replication unresolved. The binary frequency table gives an overall incomprehensible count of 332, while the prose gives 329. Both report 3.23 %. The first conversation selection is reported as yielding 1,665 annotated comments, while the conversation comparison describes a reference sample of 1,673. The paper does not explain the relationship between those counts. The proportions discussed for replies are the ones attached to the comparison as reported. Reconstructing the exact denominators and item selections would require resolving the differences in the accounts.

What came after

The later citations connect DeTox with research on data collection in another language, with a survey of English hate speech research, and with another German harmful-content task. The scope of each work is identifiable from its title. The citations give a factual link to DeTox, while the particulars of any reuse of its records, annotation scheme or experiments remain unspecified.

The 2023 Amharic paper examines approaches to gathering and classifying hate speech data. This is the same pair of research problems that led the DeTox authors from retrieving candidate comments to defining labels and evaluating classifiers. The language changes what counts as appropriate evidence for both tasks. DeTox’s choices about German vocabulary, current subjects and the intended application belong to its own collection. The citation establishes contact with the German research, with the Amharic study’s particular use of those choices left open. Exploring Amharic Hate Speech Data Collection and Classification Approaches

The 2025 survey addresses English datasets and classification methods for multi-label hate speech. DeTox provides a related German example of why the number of labels can mean different things. Several distinct questions can be asked about the same comment, and a single question such as the grounds of discrimination can admit several answers. Those features make its scheme relevant to the survey’s subject. The survey’s cited connection to DeTox is established, while its treatment of particular fields and of the conversation material is unspecified. Survey of Multi-label Hate Speech Classification in English

The Nürnberg NLP submission to GermEval 2026 returns to German social media and harmful content. Its title describes combining automated voters with an emphasis on independence of their errors. DeTox’s voting occurs at the stage of building reference annotations, where the votes express trained readers’ judgments. The later work’s voting occurs in detection, where the combined output is a prediction. The citation connects two projects within German harmful-content research, each using several judgments at a different stage of its task. Whether the later team also used DeTox for training or evaluation remains unspecified. Nürnberg NLP at GermEval 2026

Cite

Cite as Christoph Demus, Jonas Pitz, Mina Schütz, Nadine Probol, Melanie Siegel and Dirk Labudde. 2022. DeTox: A Comprehensive Dataset for German Offensive Language and Conversation Analysis. Proceedings of the Sixth Workshop on Online Abuse and Harms (WOAH).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.woah-1.14

@inproceedings{demus2022detox,
  title = {{DeTox: A Comprehensive Dataset for German Offensive Language and Conversation Analysis}},
  author = {Christoph Demus, Jonas Pitz, Mina Schütz, Nadine Probol, Melanie Siegel and Dirk Labudde},
  booktitle = {Proceedings of the Sixth Workshop on Online Abuse and Harms (WOAH)},
  year = {2022},
  doi = {10.18653/v1/2022.woah-1.14},
  url = {https://doi.org/10.18653/v1/2022.woah-1.14}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/demus-2022-detox-comprehensive-dataset-german-offensive/