[Paper Review] Detecting and Classifying Malevolent Dialogue Responses: Taxonomy, Data and Methodology
This paper introduces the Malevolent Dialogue Response Detection and Classification (MDRDC) task, proposing a hierarchical taxonomy (HMDT) and a crowdsourced multi-turn dialogue dataset for classifying malevolent responses. Using BERT-based models, it achieves state-of-the-art performance, with context from both dialogue participants significantly improving classification accuracy.
Conversational interfaces are increasingly popular as a way of connecting people to information. Corpus-based conversational interfaces are able to generate more diverse and natural responses than template-based or retrieval-based agents. With their increased generative capacity of corpusbased conversational agents comes the need to classify and filter out malevolent responses that are inappropriate in terms of content and dialogue acts. Previous studies on the topic of recognizing and classifying inappropriate content are mostly focused on a certain category of malevolence or on single sentences instead of an entire dialogue. In this paper, we define the task of Malevolent Dialogue Response Detection and Classification (MDRDC). We make three contributions to advance research on this task. First, we present a Hierarchical Malevolent Dialogue Taxonomy (HMDT). Second, we create a labelled multi-turn dialogue dataset and formulate the MDRDC task as a hierarchical classification task over this taxonomy. Third, we apply stateof-the-art text classification methods to the MDRDC task and report on extensive experiments aimed at assessing the performance of these approaches.
Motivation & Objective
- To address the lack of systematic frameworks for detecting and classifying malevolent responses in multi-turn dialogues.
- To develop a comprehensive, hierarchical taxonomy (HMDT) that captures diverse forms of malevolence beyond hate speech or offensive language.
- To create a large-scale, multi-turn dialogue dataset with fine-grained annotations using the HMDT for training and evaluating malevolence detection models.
- To evaluate state-of-the-art NLP methods on the MDRDC task and identify key factors influencing performance, such as context and hierarchical label structure.
Proposed method
- Proposes a hierarchical malevolent dialogue taxonomy (HMDT) with three levels: broad categories (e.g., 'insult'), subcategories (e.g., 'racial insult'), and specific types (e.g., 'racial slur').
- Crowdsources a multi-turn dialogue dataset with 1,000 conversations, where each utterance is labeled using the HMDT hierarchy to enable hierarchical classification.
- Applies BERT-based models (e.g., BERT-base) fine-tuned for multi-label, hierarchical text classification, incorporating dialogue context from both speakers.
- Evaluates model performance using precision, recall, and F1 scores across different levels of the taxonomy, with ablation studies on context usage and label hierarchy.
- Uses context from both dialogue participants (e.g., speaker A and speaker B) to improve classification, with ablation showing that context from the other speaker is more informative.
- Analyzes the impact of hierarchical label structure by comparing classification performance at 2nd-level and 3rd-level, demonstrating that finer-grained labels improve F1 scores.
Experimental results
Research questions
- RQ1How can malevolent dialogue responses be systematically categorized beyond existing hate speech or offensive language definitions?
- RQ2What is the impact of dialogue context—especially from the other speaker—on the detection of malevolent responses?
- RQ3How does hierarchical label structure affect the performance of malevolence classification models?
- RQ4To what extent do state-of-the-art models like BERT perform on the MDRDC task when fine-tuned on multi-turn dialogue data?
- RQ5Can rephrased utterances or context modeling improve classification beyond single-turn input?
Key findings
- The BERT-base model achieves the highest performance on the MDRDC task, with an F1 score of 81.78% when using context from the other speaker.
- Using context from both dialogue participants improves performance over using context from only one speaker, with the other speaker’s context being more influential.
- The 3rd-level classification (fine-grained categories) achieves a higher F1 score (80.00) for the 'jealousy' category compared to the 2nd-level (72.73), with statistical significance (p < 0.05).
- Context from the other user leads to better performance than context from the same user, suggesting that the behavior of the interlocutor is a stronger signal for malevolence detection.
- The hierarchical structure of the HMDT taxonomy improves classification by allowing models to leverage dependencies between broader and finer-grained categories.
- Rephrased utterances and context modeling show potential for further performance gains, indicating room for future improvement in context-aware response filtering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.