A Piece of My Mind: A Sentiment Analysis Approach for Online Dispute Detection

Lu Wang, Claire Cardie

TL;DR

This paper introduces a novel approach to automatically detect online disputes by analyzing the sentiment expressed at the sentence level within discussions. By leveraging a sentiment analysis model to extract features from these sentiment sequences, they achieve state-of-the-art results in classifying discussions as either "dispute" or "non-dispute." This work is significant because it offers a scalable solution to a problem that is increasingly challenging to manage manually in large online collaborative environments.

What Problem Does This Paper Address?

The proliferation of online collaborative platforms like Wikipedia has led to an explosion of user-generated content. While these platforms foster knowledge creation, they also inevitably give rise to disputes and conflicts among participants. Manually monitoring these massive platforms to identify and mediate these disputes is practically infeasible. Existing methods for dispute detection often rely on analyzing edit histories or manually curated datasets, which are limited in scope and scalability. This paper tackles the problem of automatically detecting online disputes by focusing on the linguistic cues within the discussions themselves, specifically the sentiment expressed by participants.

Methods

The core of this paper's contribution lies in its sentiment analysis-based approach to dispute detection. They propose to:

  1. Sentence-Level Sentiment Tagging: Develop a model to predict the sentiment (very negative, negative, neutral, positive, very positive) of each individual sentence within a discussion. They utilize isotonic Conditional Random Fields (CRFs) for this task. This choice is motivated by the need to incorporate ordinal relationships between sentiment labels and to leverage domain knowledge, such as sentiment lexicons.
  2. Feature Engineering: Extract features from the sequence of sentence-level sentiments. These features capture the overall sentiment distribution and transitions within a discussion. They also explore other feature types, including lexical (unigrams, bigrams), topic (article categories), and discussion structure (number of turns, participants).
  3. Dispute Classification: Train a binary classifier (DISPUTE/NON-DISPUTE) using the extracted sentiment features, along with other feature types, to predict whether a discussion is contentious.

The sentiment lexicon used is a combination of existing resources (MPQA, General Inquirer, SentiWordNet), with contradictory words removed. They also explore both global sentiment features (across the entire discussion) and local sentiment features (by splitting discussions into stages).

Datasets

The paper introduces a newly created corpus of Wikipedia Talk page discussions. This corpus consists of:

  • Dispute Discussions: 3609 discussions collected from Wikipedia Talk pages that were tagged with dispute-related labels (e.g., "CONTROVERSIAL," "Request for Comment"). These are further categorized into "CONTROVERSY," "REQUEST FOR COMMENT (RFC)," and "RESOLVED."
  • Non-Dispute Discussions: A comparable number of discussions from pages never tagged with disputes.

For training the sentiment classifier, they utilize the Authority and Alignment in Wikipedia Discussions (AAWD) corpus, which contains 221 English Wikipedia discussions with positive and negative alignment annotations at the sentence and turn levels.

Key Insights and Ideas

  • Sentiment as a Key Indicator of Dispute: The central hypothesis, and a key finding, is that the sentiment expressed by participants is a strong predictor of online disputes. The sequence and nature of sentiments can reveal underlying conflicts.
  • Sentence-Level Granularity is Crucial: Unlike previous work that focused on turn-level sentiment, this paper demonstrates the value of analyzing sentiment at the sentence level. This allows for a more nuanced understanding of the dynamics within a discussion.
  • Isotonic CRFs for Sentiment: The use of isotonic CRFs proves effective for sentence-level sentiment tagging, outperforming baseline methods and standard CRFs. This highlights the benefit of incorporating ordinal constraints and domain knowledge.
  • Sentiment Features Outperform Others: When evaluating different feature sets for dispute detection, sentiment features consistently yield the best performance, suggesting their paramount importance in identifying contentious discussions.
  • Sarcasm and Informal Language Challenges: The paper acknowledges that informal language, sarcasm, and opinionated dialog-specific terms pose challenges for sentiment analysis, even with specialized lexicons.

Key Results

  • The proposed sentiment analysis approach for dispute detection achieves a F1 score of 0.78 and an accuracy of 0.80 on the newly created Wikipedia dispute corpus.
  • Classifiers that incorporate sentiment tagging features outperform those that do not.
  • The best performing model for dispute detection combines topic, discussion structure, and sentiment features, achieving the highest recall, F1, and accuracy.
  • The sentence-level sentiment prediction model using isotonic CRFs significantly outperforms baseline methods (Polarity and Distance) and standard SVM/CRF models on the AAWD dataset, achieving the best F1 scores for positive and negative alignment detection.

Limitations and Future Work

  • Sentiment Prediction Errors: Errors in the sentence-level sentiment prediction can propagate to the dispute detection task. The authors note that existing general-purpose lexicons struggle with opinionated, dialog-specific terms and suggest that constructing a lexicon tuned for conversational text could improve performance.
  • Dialog Structure Complexity: Some dispute discussions are harder to detect due to varying dialog structures. The authors plan to design models that can better capture pragmatic information and dialog structures in future work.
  • Scalability of Sentiment Lexicons: While they combined several lexicons, the challenge of creating comprehensive and context-aware sentiment lexicons for informal online discourse remains.
  • Generalizability: While tested on Wikipedia, further evaluation on other online discussion platforms would be beneficial.

Summary updated

BibTeX
@inproceedings{wang2014piece,
  author = {Lu Wang and Claire Cardie},
  title = {{A Piece of My Mind: A Sentiment Analysis Approach for Online Dispute Detection}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2014},
  doi = {10.3115/v1/p14-2113},
}
Figure