Detecting Inappropriate Messages on Sensitive Topics that Could Harm a Company's Reputation
Paper · 2021 · Nikolay Babakov, Varvara Logacheva, Olga Kozlova et al.
Summary
A chatbot can give an inappropriate reply without using a single offensive word. A short expression of agreement can endorse something harmful if the preceding question invites that endorsement. Conversely, a conversation about drugs, religion, or crime can contain perfectly ordinary questions and responsible advice. The authors approach this as a problem for chatbots that speak on behalf of a company. They ask whether a reply could upset its reader or damage the reputation of the speaker, and they study how to recognize such replies in Russian. Whether an utterance touches a sensitive subject and whether it handles that subject appropriately are separate judgments.
The study turns that distinction into two sets of labels. For the first, the authors define 18 sensitive topics with input from a telecommunications company’s legal and public relations departments. Crowd workers identify which topics appear in candidate sentences, and the authors extend the collection with manually checked examples. The resulting topic dataset contains 25,679 unique samples. For the second, workers read each sentence as if a corporate chatbot had said it and judge whether it could harm the company’s reputation. This collection contains 82,063 unique samples. Before sending candidates for the second judgment, the authors screen out obscene language and text identified with high confidence as explicitly toxic, so the task concentrates on a different part of reply moderation.
The authors train Russian BERT classifiers as baselines for both tasks. On a held-out portion of the topic dataset, the classifier obtains a macro-averaged F1 of 0.78. Individual topics vary in difficulty, and the authors observe instability across different training and test splits. For appropriateness, they exclude sentences with intermediate annotation scores before training and testing. The binary classifier’s reported test F1 is 0, 83 ± 0, 01, and results are relatively stable across the splits the authors try. These results describe different tasks on different collections, with different rules for which sentences enter the evaluation.
The paper establishes that a classifier can learn both sets of judgments from the collected Russian sentences. The appropriateness result is strongest evidence for sentences on which the annotation procedure yields a clear decision. The study uses judgments about hypothetical chatbot replies, so the evaluation is grounded in what readers expect could harm a company’s reputation. The authors release the datasets, classification baselines, and code for research use.
Deep dive: Detecting Inappropriate Messages on Sensitive Topics that Could Harm a Company's Reputation
The paper separates sensitive topics from inappropriate replies and tests how well Russian text classifiers can recognize each in a chatbot setting. · about 32 minutes to read
The problem and its context
The same subject can support very different replies
The paper starts from a practical issue in dialogue systems. A company that releases a chatbot can be held responsible for the statements it produces. Some unwanted statements are easy to recognize as offensive because the reply openly insults someone. Others are objectionable because of the position the reply takes. A reply can approve a harmful act using words that would be innocuous in almost any other exchange. The question the authors want to pose is whether the chatbot should say that particular thing under the circumstances.
One of the paper’s examples makes the role of the exchange especially clear. A user asks a chatbot about the date of the Armenian Genocide, then asks whether the chatbot would want it repeated. The chatbot responds with a brief affirmation. The first part of the exchange shows that historical discussion can be entirely ordinary. The disturbing part is that the affirmation takes its meaning from the preceding question. The authors relate the exchange to politics and racism. Those topic labels can direct attention to the conversation, while the chatbot’s apparent willingness to repeat the atrocity accounts for the judgment about its answer.
The distinction looks similar at the sentence level when the position is explicit. Among the paper’s translated examples are a routine question about religion and a statement the authors treat as insulting to religious believers. Both concern religion. Similarly, a reply recognizing conduct as a violation of criminal law and a reply defending a killing can both fall under offline crime. The crime label describes the domain of discussion. A reader deciding how a corporate chatbot ought to respond has to consider what each utterance says about the conduct in question.
The paper uses the term sensitive topic for a subject likely to lead to discussion that could harm a speaker’s reputation. Sensitivity depends on the purpose and setting of the conversation. The authors identify the degree of formality, the company’s rules, and the laws where the service operates as sources of variation. A choice made for a corporate chatbot therefore reflects a particular speaker and audience. The authors’ term inappropriate message concerns an utterance on a sensitive subject that could frustrate a reader or damage a speaker’s reputation. In the annotation task, they make this broad idea more concrete by asking people to judge possible reputational harm to the company behind a chatbot.
These definitions give a moderation system two kinds of information. A topic decision says what a sentence is about and can indicate when closer consideration is warranted. An appropriateness decision asks how the utterance treats its subject. That difference matters for both kinds of error. A system that disregards the subject can miss the force of a bland-looking reply. A system that treats the subject itself as decisive can respond badly to users who are discussing a sensitive matter in good faith.
The paper illustrates the second error through Microsoft’s Zo. Zo’s developers used keywords associated with provocative topics to trigger a change of subject. A keyword could also appear in a harmless context, and the authors describe cases where the resulting behavior itself came across as offensive. They discuss Zo alongside Tay, which began producing offensive material after exposure to user data. Taken together, the cases frame the practical tension in the paper. A chatbot can cause problems by echoing objectionable statements and by handling a legitimate conversation as though merely raising its subject were objectionable.
How toxicity research framed the problem
The authors situate the task within prior research on abusive and toxic language. They describe English-language resources such as the Jigsaw Wikipedia comment datasets, which label categories including obscenity, threats, insults, and identity hate. They also note that toxicity varies in meaning across studies. A study may use the term broadly for unwanted online behavior or define a narrower group of acts. The choice matters when deciding what should count as a positive example, what will be collected, and how to interpret a detector’s mistakes.
The related work offers several ways to distinguish types of abuse. Automated Hate Speech Detection and the Problem of Offensive Language appears in the paper’s discussion of work centered on hate speech. The paper also points to research on more subtle offenses in Finding Microaggressions in the Wild. The difference in scope illustrates how moving the boundary of the task changes the evidence a system has to look for. An overt attack and a subtle slight can require different cues, even when both are part of a broader conversation about harmful language.
Other distinctions concern who is targeted and how directly the abuse is expressed. In the authors’ account, Predicting the Type and Target of Offensive Posts in Social Media distinguishes offensive language aimed at a person or group from offense without a specified target. Understanding Abuse supplies the distinction between explicit and implicit abuse. The chatbot case adds a different question. The contribution can be objectionable because it approves a course of action or takes a position that would be unacceptable for the speaker it represents. A label for the target of abuse can still be informative, but it answers a different question from the one posed to workers in this study.
Topics already played a role in the collection and labeling of toxic text. The paper cites Hateful Symbols or Hateful People? for work on sexism and racism, and the SemEval task on multilingual hate speech for a collection concerned with immigrants and women. It also describes earlier work that uses topic-related content as a way to find posts or conversations worth annotating for abuse or controversy. An important distinction for reading this paper is that the topic can serve as a clue during collection even when the eventual label expresses something different about the text.
That collection strategy creates a concern about bias, fairness, and safety. If examples about a group or religion enter a dataset mostly through a search for abuse, their subject matter can become associated with the abusive label. A classifier may then expect toxicity when it encounters a familiar term in a neutral statement. The authors describe prior efforts to reduce this problem through separate prediction objectives, changed weights for training examples, or additional constructed data. They cite Reducing Gender Bias in Abusive Language Detection in connection with the last approach. Their own distinction between topic and appropriateness is motivated by the same need to preserve room for acceptable uses of sensitive language.
Why collect a broader set of subjects?
The authors describe much of the earlier topic-based work as focused on a small set of subjects chosen for a particular study. A topic can also emerge because it is common in the material researchers have gathered, as the paper discusses in connection with Multilingual and Multi-Aspect Hate Speech Analysis. The authors describe a taxonomy of harmful behavior that covers subjects alongside characteristics such as severity and direction. The closest precedent they identify for a broad range of subjects is work on topics in news discussions that tend to attract toxicity.
The proposed inventory has a wider remit than finding subjects associated with toxic discussion. It brings together subjects that can produce controversy, discussion of harmful practices, and statements approving conduct that could injure someone or violate the law. The motivation is practical: an utterance can raise a moderation concern for a corporate speaker even if it falls outside the types of abuse for which detectors already exist. The paper therefore treats identifying sensitive topics as a way to find material for the new kind of judgment, while also building a classifier that can identify the topics in its own right.
The authors acknowledge that an automated judgment about appropriateness can be seen as a step towards censorship. They discuss possible uses such as parental controls and helping to sustain a respectful tone in online discussion. In their formulation, flagging a topic calls for care in how a conversation is handled. That position makes the difference between topic and appropriateness part of the ethical framing of the task as well as part of the annotation design.
The method, step by step
From a large pool of sentences to two annotation tasks
The authors need a supply of Russian sentences that can be read as potential chatbot replies. If they send a random sample of general conversation to workers, they expect clear cases of the phenomenon to be scarce. They begin by collecting examples likely to touch their inventory of sensitive subjects. Workers mark the subjects that actually appear. The authors then use a classifier trained on topic labels to find more candidates. Once they have a pool of sentences for the appropriateness task, workers make a new judgment under the corporate chatbot scenario.
This sequence makes the source of each label important. A sentence can begin as a hit on a keyword list, receive a manually judged topic label, and then contribute to training a classifier that proposes new candidates. A later candidate may carry an automatically assigned topic label and a separately adjudicated appropriateness label. The authors also sample some sentences without relying on topic confidence. The released collections reflect these different routes, so the presence of a topic label in the appropriateness dataset does not imply that workers supplied it.
How the authors collect and label Russian sentences
The steps in order.
Choosing topics and finding candidate sentences
The inventory was drawn up with input from the legal and public relations departments of a large Russian telecommunications company. It includes behaviors such as gambling and prostitution, subjects such as religion and politics, and forms of prejudice such as racism and sexism. The categories can overlap. A discussion of inequality might also concern political decisions or racial discrimination. The annotation design allows these subjects to be recorded together, so workers can describe the contents of a sentence without having to select an exclusive primary topic.
The initial general collections came from 2ch.hk, a Russian discussion platform, and Otvet.Mail.ru, a question-and-answer service. The authors describe both sources as unmoderated and use them to reach broad subject matter. They retrieved 4.7 million sentences from 2ch.hk and 12 million sentences from Otvet.Mail.ru. These counts are the sizes of the source pools, before the smaller sets were selected and labeled. The source material consists of ordinary user text put to a new purpose in the experiment.
To find promising candidates in the large pools, the authors manually began with words associated with each topic. They expanded those sets through RusVectōrēs word embeddings, which represent words in a way that lets researchers look up others with similar usage. Starting from a small seed list, the authors looked for nearby words and could repeat the expansion. For some subjects they also consulted topical slang lists. A search list built this way is intended to retrieve varied material. At this stage a match earns a sentence a closer look, and workers can still decide that the subject is absent.
The authors cleaned user text before labeling. They removed items such as web links, usernames, long numbers, and markup. Their cleaning choices reflect two aims. A cluttered sentence or a piece of identifying information is unnecessary for many of the judgments, while a cue such as an emoji can contribute to how the utterance comes across. They therefore avoided a rule that would discard all material outside ordinary words.
Giving workers manageable topic decisions
The initial topic annotation ran on Yandex.Toloka, which the authors chose for its Russian-speaking workforce. The task is a form of multilabel text classification. Workers can select several topics if several are present, and they can indicate that the sentence belongs to none of the offered categories. Presenting the full inventory at once would require workers to keep too many possible answers in mind. The team divided it across separate projects, then sent every candidate sentence to all of them.
The groupings are practical aids to the task. One contains gambling, pornography, prostitution, slavery, suicide, and social injustice. Another covers religion, terrorism, weapons, offline crime, online crime, and politics. The remaining group contains body shaming, health shaming, drugs, racism, sexual minorities, and sexism. The paper describes broad affinities within each group but treats the divisions as flexible. A sentence can receive labels from multiple projects, so the grouping changes what workers see together while preserving the possibility of combining labels across groups.
A worker first completed a training exercise containing 20 questions with established answers. The threshold to enter the topic task was at least 65% correct on that exercise. During production, the authors used examples with known answers for two purposes. Training examples gave workers an explanation when they made an error. Separate control examples were used to decide whether a worker could continue. Workers who got more than 25% of those control questions wrong were removed and their most recent answers were discarded. The authors distinguish between showing someone why a label fits and monitoring the reliability of the answers that enter the dataset.
They also set limits on how workers could complete the tasks. A response time below 20 seconds for a page of ten tasks was grounds for removal, since the authors took it as a sign that the material had likely gone unread. They capped the amount of work per user at 50 pages, or 500 tasks, per 12 hours to bring in a wider range of judgments. The reported average performance on the topic training and control questions was between 65 and 70%. That figure refers to established answers used during work on the task. Confidence in the aggregated labels is a separate statistic.
Asking for more judgments where workers disagree
Each sample in a topic project was labeled by 3 to 5 workers. The authors used Toloka’s dynamic overlap procedure, meaning that the number of people asked to judge a sentence could increase in response to disagreement. The initial group was at the lower end of that range. If its members agreed, the answer was accepted. If they disagreed, the platform sought more judgments. Effort could therefore be concentrated on contested examples while straightforward cases passed through with fewer votes.
The authors use Dawid–Skene aggregation to combine the answers. In their description, this is an iterative probability-based procedure that considers workers’ patterns of agreement when estimating a label. A worker whose judgments agree reliably with others can receive more influence than one whose judgments often diverge. The resulting score runs from 0 to 1 and is treated as label confidence. This gives the authors a way to represent how clear the evidence for an aggregate judgment is and to distinguish stronger consensus from less settled examples.
The paper uses confidence as a practical indicator of agreement under this version of crowdsourcing. Each worker labels a small share of the collection, with different groups judging different sentences. The authors consider familiar kappa measures ill suited to that arrangement. They explain that an uncertain aggregate score can reflect either difficulty in the example or limited reliability among the workers who saw it. As a result, the score describes the result of the annotation procedure, with both sources of uncertainty potentially contributing.
Some topic decisions exposed ambiguity in individual words or phrases. A person can use an insult whose literal meaning suggests prostitution without discussing prostitution as a practice. Technical words can also give an impression of online crime, even when the text is about ordinary computer hardware or programming. In both cases the worker needs to decide what the words are doing in the sentence. These are precisely the kinds of cases where the search vocabulary and the final topic labels can diverge.
The authors also noticed a problem with the sequence of tasks presented to a worker. If someone repeatedly sees sentences about weapons in a project whose options lack a weapons label, a neighboring option such as crime can begin to look plausible even for a sentence without criminal activity. The issue is different from the ambiguity of a single word. Here, the available choices and the preceding examples can influence which features of the current sentence the worker treats as meaningful.
Expanding the collection with checked predictions
After collecting nearly 10,000 texts on sensitive topics, the authors trained an early topic classifier and used it to propose additional examples. They retained high-confidence predictions for an expert check by one of the authors. This shifted the manual work from examining a menu of candidate subjects to checking whether a particular proposed label fit. The authors considered the early classifier useful for that collection purpose, subject to review, while reserving judgment on its suitability for practical use on its own.
c > 0.75
Here, c is the classifier’s confidence that a candidate belongs to a sensitive topic. The greater-than sign indicates that the confidence must exceed the cutoff 0.75 to qualify as high. The expert’s check follows the score-based selection and can reject an apparent match.
The team also collected text from specialized sources using keywords that strongly indicated a topic in that setting. A word associated with addiction may describe a fondness for chocolate in general conversation. The same word is stronger evidence of a discussion of substance use when it appears on a forum devoted to addictions. The source gives the keyword a narrower range of likely interpretations. The authors manually checked the sentences retrieved in this way as well.
This source-based procedure supplies a useful candidate label and has limited reach as a way to discover additional subjects in the same sentence. The whole-inventory crowdsourcing route can identify such combinations because every candidate enters every topic project. For specialized retrieval, the authors accepted the limitation in order to extend the dataset within their time and budget. The topic collection thus combines direct human labeling, expert review of classifier proposals, and checked retrieval from specialized sources. Each route makes different sentences easy to find.
Changing the question from topic to appropriateness
The authors initially wanted to list acceptable and unacceptable subtopics within every sensitive subject. That effort gave way to a judgment task because they found it impractical to express the decision rules explicitly. Workers were asked to imagine that a company’s chatbot had produced the sentence and to consider whether it could damage the company’s reputation. Training examples and feedback helped establish a shared interpretation of that prompt. The task preserved the sentence as the unit of judgment even though the motivation for choosing it came from conversation.
One example used to illustrate the annotation interface is advice to stop smoking and seek care from a cardiologist. The sentence touches one of the broad subjects on the topic list. In the appropriateness interface, a worker considers whether the statement would reflect badly on the company if its chatbot said it. The subject may be useful information for a researcher selecting the sentence, while the worker has to make sense of the advice itself. The interface asks for that overall decision about the utterance.
The sources for candidate sentences were primarily the same general sites used for topic labeling. The authors repeated the cleaning procedure and added a screen for obscenity and explicit toxicity. They used a classifier built by fine-tuning ruBERT on the combined data from Russian toxic-comment collections released on Kaggle. Fine-tuning here means starting with an already trained Russian text encoder and adapting it to a particular labeled task. Sentences with a toxic-classification confidence greater than 0.75 were filtered out. The aim was to spend annotation effort on the form of inappropriateness that prompted the study, with readily identifiable explicit toxicity handled upstream.
For the appropriateness task, the authors describe a mixture of high-confidence topic predictions, medium-confidence predictions, and randomly selected sentences, each contributing 1/3 of the sample. The high-confidence portion gives the workers material likely to concern the target topics. The middle tier is intended to cover sentences for which the topic evidence is weaker. Random sampling gives sentences a way into the collection independent of the topic classifier and helps guard against relying entirely on its errors and preferences.
The high-confidence tier uses the cutoff shown earlier. The paper prints the medium condition as follows.
0.3 > c < 0.75
The symbol c again denotes topic confidence. The two less-than or greater-than comparisons use the endpoints 0.3 and 0.75. Read literally, the first comparison puts c below 0.3, and the second puts it below 0.75. The description of this tier as medium suggests a band between the endpoints, but the printed condition leaves the precise selection rule uncertain.
Workers answered the reputation question as a binary choice. The experiment reused training, quality controls, dynamic assignment of extra workers, and Dawid–Skene aggregation. Individual votes use the values 0 and 1. In the annotation description, those values stand for appropriate and inappropriate, respectively, and the aggregate score places clear cases in bands at its ends. The first band is printed as follows.
[0, 0.2]
The square brackets indicate that the endpoints are included. Under the annotation description, scores from 0 through 0.2 indicate an appropriate sentence. A low score on that convention represents a judgment favorable to letting the chatbot utter the sentence.
[0.8, 1]
The inclusive endpoints 0.8 and 1 give the band identified as inappropriate in that description. Scores between the bands indicate ambiguity. In the evaluation section, the paper reverses the meanings attached to the ends, associating 0 with inappropriate and 1 with appropriate. Both descriptions locate ambiguity between the same cutoffs. The reversal matters when using a score to decide which of the two substantive judgments it represents, while the central exclusion can be understood under either direction.
Adapting a Russian encoder to both tasks
The evaluation uses the BERT classifier implementation from DeepPavlov with pretrained Conversational RuBERT weights. The pretraining supplies a starting representation for Russian text. The sensitive-topic examples then give the classifier a task-specific signal about subject matter, while the appropriateness judgments give a separately trained classifier a signal about suitability for the corporate chatbot scenario.
The topic task permits a sentence to be associated with several sensitive subjects or with none. The appropriateness evaluation uses a single binary decision for sentences at the scored extremes. This is a difference in output as well as in the way the examples were collected. The topic output answers which labels apply. For the binary task, the authors remove middling scores before fitting the classifier, so the target is a decision between the two ends among examples retained by that rule. The paper reports these separately trained systems as baselines and releases the classification resources along with the data and code.
Experiments and results
What is in the collections
The sensitive-topic dataset contains 25,679 unique samples. The paper reports that 9,946 were labeled through crowdsourcing and almost 1,500 by the authors’ team. Its dataset statistics describe the remaining material in connection with keyword collection from specialized sources, while its account of construction also describes expert review of classifier predictions. The figures given for the released dataset establish its overall size and the scale of its manual contribution. The construction account establishes that collection extended beyond a single labeling procedure.
The appropriateness dataset contains 82,063 unique samples. Of those, 8,687 also appear in the sensitive-topic dataset and have manually assigned topic labels. The remaining 73,376 have topic labels assigned automatically by the BERT-based topic classifier. Appropriateness judgments, in contrast, were obtained through the crowdsourcing task. This matters when reading a frequency for a subject in the larger collection. Such a count describes the combined result of human topic labels and automatic classification, while the reputation question has its own separate source of supervision.
The topic inventory covers classes of substantially different sizes within each collection. Religion accounts for 4,110 samples in the topic dataset and 2,869 in the appropriateness dataset. Drugs account for 3,870 in the topic dataset and 8,618 in the appropriateness dataset. Politics appears on 1,593 samples in the topic dataset and 7,650 in the appropriateness dataset. Prostitution accounts for 634 samples in the topic dataset and 240 in the appropriateness dataset. These frequencies are best read as properties of the collections. Candidate searches, classifier-based selection, and the different sources of topic labels can all affect which subjects appear often.
The topic dataset includes examples that illustrate the limits of keyword retrieval directly. In that dataset, 13% of samples were judged to concern none of the sensitive topics, although keywords had admitted them to the manually labeled candidate pool. The authors kept them to supply examples where a word associated with a topic occurs without establishing the topic. Multiple subjects occur in 15% of the data discussed in the topic overlap analysis. The authors describe repeated combinations involving politics, racism, and social injustice, as well as combinations involving pornography with either prostitution or sexual minorities. A count for an individual class can therefore include some of the same sentences counted under another class.
Most samples are single sentences. Average sample length is 18 words in the topic dataset and 15 words in the appropriateness dataset. The paper reports topic-specific lengths from 14 to 21 words. That scale matters for the kind of predictions being tested. Each example generally provides enough room for an assertion or question, while evidence about where the discussion came from and what the chatbot is responding to may lie outside the sample.
Annotation effort and agreement
The reported average annotation confidence for the crowdsourced topic labels is 0.995, with 4.3 annotations per example. The corresponding figures for appropriateness are 0.956 and 3.5 annotations per example. For appropriateness, workers scored around 75-80% on training and control questions. For topics, their average on those items was between 65 and 70%. Control performance concerns the workers’ answers to established examples. Aggregate confidence concerns the labeling procedure’s support for its chosen labels. Neither figure has the same meaning as a classifier’s held-out test score.
The chart compares reported average labeling times for the two annotation settings. Workers answer different questions in those settings. In a topic project they can select multiple subjects, and the procedure checks each candidate across the projects. In the appropriateness task they make a binary judgment. The average time measures the annotation action reported for each setting. It leaves the total time for assembling and checking an entire dataset open.
Average time per annotation in the Russian topic and appropriateness datasets
The binary appropriateness judgment took less time on average than topic annotation.
The numbers
| System or setting | seconds |
|---|---|
| Sensitive-topic annotation | 10.8 |
| Appropriateness annotation (this paper) | 7 |
The sensitive-topic baseline
The topic classifier is trained on 85% of the sensitive-topic dataset and evaluated on the remaining portion. The authors preserve the proportions of the different topics across the training and test subsets. This allows the held-out results to characterize the classifier under a distribution resembling the annotated collection. A test of transfer to a different source or a different balance of topics would ask a separate question.
The reported metric is F1, which combines precision and recall. Here, precision for a topic concerns how frequently sentences predicted to have that label actually have it in the test data. Recall concerns how many of the sentences carrying that label the classifier finds. F1 rewards performance that maintains both. For the reported macro-average, the authors average across topics so that each topic contributes equally, including those supported by fewer examples. This makes the headline score sensitive to underperformance on smaller classes.
The macro-averaged topic test F1 is 0.78. The authors train classifiers on five different training and test splits and report that the results are unstable. The topic-by-topic evaluation shows test F1 above 0.8 for 8 out of 18 classes. The variation is relevant alongside the average. A reader who cares chiefly about a particular topic needs evidence about that class, and variation across splits can further affect how confidently a single test result describes it.
The paper presents the Russian BERT classifier as the baseline for the released task. The earlier classifier used to propose new topic examples plays a collection role, and the toxicity classifier plays a screening role. Their role in the pipeline is different from that of an evaluated alternative in the topic experiment. The reported performance figures establish a starting point for a classifier trained on the new labels. Relative performance against keyword rules, alternate architectures, or other annotation strategies remains outside this comparison.
The appropriateness baseline
For the second baseline, the authors use the same Russian BERT starting point and again allocate 85% of eligible examples to training, reserving the rest for testing. They report that initial experiments using examples with intermediate scores gave poor results. The reported binary setup excludes scores between 0.2 and 0.8, leaving 74,376 examples from the appropriateness dataset. The paper gives the training size as 63,000 samples. The test evaluation therefore concerns sentences for which the aggregation procedure supports one end of the scale.
The appropriateness classifier’s test ROC-AUC is 0, 87 ± 0, 01 in the paper’s notation. ROC-AUC summarizes how well scores rank the two labeled classes across possible decision thresholds. It describes a different aspect of performance from a precision or recall value calculated after a binary decision is made. The paper reports test precision of 0, 83 ± 0, 01 and test recall of 0, 84 ± 0, 01. Its test F1 is 0, 83 ± 0, 01. The authors describe results across ten splits as stable. The table supplies the central values and their accompanying variation figures, and the paper leaves the statistical interpretation of the ± quantity unspecified.
The appropriateness and topic results show that both kinds of label can support prediction. Their F1 values summarize different decisions. The topic result is averaged across a multilabel inventory, and the appropriateness result comes from a binary decision on the retained extremes of an annotation scale. The stability descriptions also apply to different evaluation settings. A comparison of the reported values can describe how the authors’ two baselines behaved in their own experiments. It cannot isolate whether one underlying judgment is easier, because the eligible sentences, label structures, and test procedures differ.
What the ablations show
The paper gives no systematic component-by-component ablation, but it offers an initial comparison involving ambiguous examples, repeated data splits, and analyses of the relationships among topic frequency, sentence length, and classifier performance.
What changes when the uncertain cases are set aside
The closest comparison to a training ablation concerns the middle of the appropriateness scale. The authors tried using sentences with weakly settled labels and found the results poor. They then conducted the reported binary evaluation using the extremes. Their description connects the confidence filter to a training difficulty: the closer the aggregate judgments are to the middle, the harder it is to treat those judgments as clear examples of either end.
Removing the middle has another effect because the reported evaluation also uses the reduced collection. It changes what the classifier is asked to learn and changes what the test score represents. A sentence that many workers can readily classify remains eligible, while a disputed one may be removed. The reported result consequently tells readers how well the baseline predicts well-supported labels in the filtered sample. A full comparison would need to hold the test set fixed to measure the effect of the training examples alone. The paper provides a qualitative account of the initial trial and numerical results for the subsequent setup.
There are several reasons a sentence could end up in the middle under the authors’ procedure. Workers could differ in what they would accept from a company’s chatbot. The isolated sentence may invite alternate readings, or the judgments for a particular example may include unreliable votes. The aggregation process makes ambiguity visible in a way a forced decision would conceal. It leaves open which kind of uncertainty caused a particular score, and the paper’s initial trial leaves open whether some of those examples could help under a different training objective.
How sample size and subject matter relate to performance
The strongest quantitative diagnostic for the topic classifier is the association between class frequency and test performance. The paper reports a Spearman correlation of 0.73 between the number of examples per topic and that topic’s F1. Spearman correlation concerns the order of the classes. A positive association means that a class with more examples tends to appear higher in the ordering by performance. This is consistent with the authors’ suggestion that collecting more examples for smaller classes could help those classes, though the study measures a relationship across existing categories rather than the effect of adding examples to a particular one.
Politics is the paper’s example of where frequency alone gives an incomplete account. The topic has considerable representation, yet the authors describe its F1 as low. The inventory groups politics with subjects such as military service and conflict, giving it a broad range of possible content. The authors suggest complexity and heterogeneity as possible contributors. Showing that an entire broad category is difficult is different from identifying which kinds of sentences within it are missed. The diagnostic points to a limit of class counts as a guide to difficulty.
The paper separately reports a Spearman correlation of 0.72 between the number of samples for a topic and its average sample length. The authors consider the possibility that longer sentences might be easier for workers to label. A longer sentence can give a worker more clues about whether a term is being used literally or about the stance the writer takes. The paper also allows that the association could be spurious. The analysis compares the sizes and typical lengths of existing classes. It does not test the same example at different lengths, so the statistic says little about the effect of editing any one sentence.
These two correlations involve different outcomes. One links topic frequency with prediction quality. The other links topic frequency with the length of collected examples. Both can reflect how the material was found, as well as what makes it easier to label or classify. The paper offers these analyses as clues about where the corpus and classifier differ across topics, rather than as a demonstration of a causal chain from sentence length to annotation success to test F1.
What the overlapping and unassigned topics reveal
The label analysis gives further context for why topic prediction is more complicated than matching words. Some categories regularly appear together. The cluster involving social injustice, racism, and politics is an example of a sentence carrying several aspects of the same discussion. The annotation interface allows those aspects to survive into the collected labels. A single-label task would require the researchers to choose which one to keep, and the paper’s results concern the version in which several can be correct.
The examples that receive no topic label resolve a different question. They show that the initial retrieval procedure can surface text containing a trigger word whose meaning in context is unrelated to the intended subject. Retaining them means that the topic classifier sees counterexamples to a simple keyword association. The paper gives a clear rationale for this choice. Its analyses do not establish the size of the performance contribution made by those examples, because the reported evaluation does not compare training with and without them.
The distribution changes between the two datasets are another diagnostic of the collection process. The authors note that drugs, politics, and health shaming have many examples in the appropriateness collection. They suggest that the classifier may frequently have assigned those subjects with high confidence, making them likely to enter the selected sample. The paper also describes politics as a difficult category in its held-out topic evaluation. Those observations can coexist. A class can yield many confident candidates for annotation while overall prediction quality still suffers across the range of examples belonging to that class.
Finally, repeated splits test how much the numerical results depend on dividing the collected examples into training and test subsets. The authors describe substantial instability for topics and more consistent results for appropriateness. That comparison summarizes behavior under the two reported setups. Since the experiments also differ in label structure and confidence filtering, the repeated splits leave open which feature of the setups accounts for the difference. The evidence supports caution about the sensitivity of the topic baseline, particularly when interpreting performance for individual classes.
Limitations
Limits the authors state
The authors place the topic inventory in a specific institutional and cultural setting. It reflects the concerns of a Russian telecommunications company, and they call it incomplete. They explain that sensitivity can vary with the formality of the interaction, a company’s policies, and the applicable law. A subject that calls for special handling in one chatbot setting could be part of routine discussion in another. The list provides a practical starting point for the study and a set of labels that workers can use consistently within the task’s instructions.
The authors also report that specifying detailed rules for appropriateness within each subject proved infeasible. They use human intuition, framed by a common prompt and training examples, in place of explicit rules. The reliability of that approach depends on how workers understand the example and imagine the corporate speaker. The paper recognizes that an uncertain aggregate judgment can reflect an ambiguous sentence or less reliable annotation. Its confidence score offers a way to track the result, while leaving those explanations unresolved for any given sentence.
Crowdsourcing introduced recognizable errors. Workers sometimes read ordinary computer discussion as online crime or confused a generalized insult with a discussion of prostitution. Some choices also depended on which labels and examples were repeatedly visible during a task. The authors caution that other topic inventories and annotation designs may bring different problems. Their account of the specialized-source method adds a separate limit: it is poorly suited to discovering all the topics in a text when collection is organized around a single proposed subject.
Finally, the authors present the released classifiers as baselines. They propose jointly using the topic and appropriateness labels, changing classifier architectures, and combining classifiers. They also propose adapting the task to other languages through cross-lingual fine-tuning. These are directions for future experiments. The study’s reported results concern separate baselines trained and tested on the Russian collections.
Limits visible in the setup
The application is motivated by exchanges in which an answer takes its meaning from an earlier turn. Yet workers usually see a single sentence. A brief affirmative reply like the one in the paper’s historical example could be interpreted accurately only with the user’s question in view. This creates a gap between an important motivation for the work and the available input at evaluation time. The scores primarily address sentences whose relevant meaning can be inferred from the text shown to workers and then supplied to the classifier. Context-dependent replies remain an open case.
The test sentences also originate in material written by users for discussion or question answering. Imagining a chatbot speaking those sentences provides a concrete frame for annotation. It leaves open how the baselines would behave on replies produced during actual chatbot conversations, where the style, amount of context, and balance of cases may differ. The splits preserve aspects of the collected distribution and evaluate examples from within it. Transfer to different platforms, companies, or conversational settings would require evidence beyond those splits.
The topic classifier is part of the sampling machinery for appropriateness, and a toxicity classifier removes high-confidence toxic candidates before human judgment. This design can make rare cases easier to find and keep the annotation focused. It also defines the slice of text represented in the benchmark. Ways of discussing a sensitive topic that the topic classifier rarely recognizes may have fewer chances to enter through the selected strata. The random stratum offers another route into the dataset, but the combined collection still cannot establish the prevalence of inappropriate replies in ordinary conversations. The toxicity screen likewise sets the scope of the reported appropriateness evaluation. Performance on the combined problem of explicit toxicity and subtler inappropriateness remains open.
A reputation-risk judgment from a crowd is an operational target. It measures what workers believe could happen if a company’s chatbot produced the utterance. Actual reputational damage, user reaction in a live conversation, and whether using a classifier would prevent either outcome are distinct questions. Following the annotation guidance closely can produce a reliable prediction of the collected labels while leaving those outcomes uncertain. This distinction matters particularly for a neutral mention of a sensitive subject that a deployed policy could either allow or flag.
The numeric direction of the appropriateness scale and the ambiguous notation for medium topic confidence matter for reproducing the procedure. The two descriptions of the appropriateness scale disagree about which end is appropriate. The printed medium-confidence comparisons place confidence below both named endpoints in spite of the stated purpose of sampling an intermediate tier. A reader can recover the general design, including the exclusion of middling appropriateness judgments and the effort to include less certain topic examples. The precise conventions for identifying class direction and selecting that middle topic stratum remain unclear from the paper’s account.
The reported binary results also give little direct guidance about disputed examples. The evaluation removes the scores that would be of particular interest if a corporate chatbot needed to decide when to seek review or handle an uncertain case cautiously. The labels for those examples are useful evidence that workers found some judgments less clear. A test restricted to the extremes does not measure how appropriately a classifier’s decisions reflect that uncertainty when it is allowed to encounter the whole range.
What came after
The later citing works reach three different areas of Russian-language research. Their titles establish the subjects of the papers and the citation establishes a connection to the study. The details of that connection, such as whether a later team reused a released dataset, evaluated one of the classifiers, or treated the study as related work, remain unspecified.
One connection is to pretrained Russian text encoders. The study uses Conversational RuBERT as the common starting point for topic and appropriateness classification. A later paper concerns a family of pretrained Russian transformers, putting the underlying language technology at the center of its subject. The link establishes that this work cites the earlier study, while leaving open whether either of the sensitive-language tasks was used to assess the transformer family. A Family of Pretrained Transformers for Russian
A second connection is to evaluation and benchmarks for Russian text representations. The ruMTEB paper concerns a benchmark for Russian-focused embedders and the design of those embedders. The earlier study gives an example of what a Russian text classification target can ask of a representation: recognize subject matter in one task and support a judgment about the utterance in another. That is a conceptual connection between the works. Whether either collection became a task in ruMTEB remains unspecified. ruMTEB and Russian Embedding Design
The third work, RuBia, concerns a dataset for detecting bias in Russian. The earlier study discusses bias as a problem when the subject of a sentence can become a shortcut for a harmful-language label. Its distinction between a topic and what a speaker says about that topic is relevant to understanding why target definitions matter in a bias dataset. The citation does not settle whether RuBia adopted any of the earlier study’s topic labels or annotation procedure. RuBia
Cite
Cite as Nikolay Babakov, Varvara Logacheva, Olga Kozlova, Nikita Semenov and Alexander Panchenko. 2021. Detecting Inappropriate Messages on Sensitive Topics that Could Harm a Company's Reputation. Proceedings of the 8th Workshop on Balto-Slavic Natural Language Processing.
@inproceedings{babakov2021detecting,
title = {{Detecting Inappropriate Messages on Sensitive Topics that Could Harm a Company's Reputation}},
author = {Nikolay Babakov, Varvara Logacheva, Olga Kozlova, Nikita Semenov and Alexander Panchenko},
booktitle = {Proceedings of the 8th Workshop on Balto-Slavic Natural Language Processing},
year = {2021},
url = {https://aclanthology.org/2021.bsnlp-1.4/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/babakov-2021-detecting-inappropriate-messages-sensitive-topics/