What's with the Attitude? Identifying Sentences with Attitude in Online Discussions

Ahmed Hassan Awadallah, Vahed Qazvinian, Dragomir R. RadevEMNLP 2010

Abstract

Mining sentiment from user-generated content is a critical task in Natural Language Processing, particularly in the context of threaded discussions like Internet forums and newsgroups. While most sentiment analysis focuses on identifying opinions toward products or topics, this work presents a method to identify the interpersonal attitude of participants toward one another. By distinguishing between general opinions and directed social signals, we can construct "signed" social networks where edges indicate positive or negative interactions. Our proposed method, which combines lexical polarity with structural dependency patterns, is experimentally validated on a manually labeled set of discussion posts, demonstrating high accuracy and superiority over several baseline approaches.

Introduction

Most sentiment analysis is "topic-centric." For instance, identifying negative sentiment in the sentence "This camera is a disappointment" is a well-understood task. However, in online social dynamics, the most critical sentiment often isn't about the subject matter—it is about the people involved.

Existing social network research frequently assumes that links between individuals are inherently positive (e.g., "following" or "friending"). To accurately map social structures, we must identify "signed" edges—both positive (praise, agreement) and negative (insults, disagreement). The primary challenge lies in the fact that a sentence can be opinionated without expressing an attitude toward the recipient. For example, "He is a disappointment" targets a third party, whereas "You are a disappointment" targets the conversation partner. This paper introduces a framework to distinguish these cases and determine the polarity of the interpersonal attitude.

Methodology

The researchers developed a multi-stage pipeline designed to move beyond simple keyword matching and capture the structural nuances of interpersonal communication.

1. Targeting "You"

Since the goal is to identify interpersonal attitude, the study focuses exclusively on sentences containing second-person pronouns (e.g., "you," "your").

2. Structural Extraction and Parsing

To handle long or complex forum posts, the system uses the Stanford parser to identify the specific clause containing the pronoun "you." This allows the model to ignore irrelevant "noise" in the rest of the sentence.

A parse tree used to isolate the relevant clause containing the second-person pronoun.

3. Word Polarity and Pattern Modeling

Word polarity is determined using a random walk model across a graph of words derived from WordNet and Wiktionary. The core innovation, however, lies in representing sentences through three distinct patterns:

  • Lexical Patterns: Words are replaced by their polarity tags (e.g., "You are [NEGATIVE]").
  • Part-of-Speech (POS) Patterns: Generalizing sentence structure (e.g., "PRP VBP RB [NEGATIVE]").
  • Dependency Patterns: Capturing the shortest grammatical path between the pronoun "you" and a polarized word.

These patterns are processed using Markov models to generate features for a Support Vector Machine (SVM) classifier, allowing the system to learn the "shape" of an insult or compliment rather than relying on a static list of words.

Experimental Results

The method was tested on a dataset of approximately 4,000 manually annotated sentences from Usenet discussion groups. Annotators achieved an 80% agreement rate, confirming that "attitude" is a recognizable phenomenon.

Performance Comparison

The proposed machine learning model, which integrates text, POS, and dependency features, significantly outperformed simpler baselines.

Performance comparison of the proposed machine learning model (ML) against polarity (POL), surface distance (SurfDist), and dependency distance (DepDist) baselines.

Key findings include:

  • Accuracy: The system achieved 80.3% accuracy in identifying the presence of attitude, beating simple polarity counts (73.1%) and surface-distance models (70.2%).
  • Sign Prediction: Once an attitude was detected, the system determined if it was positive or negative with 97% accuracy using dependency-based features.
  • Structural Importance: The results prove that grammatical dependency distance is a far more accurate predictor than "surface distance" (the literal number of words between "you" and a polarized term).

Conclusion and Future Work

By identifying interpersonal attitudes, this research provides a path toward building more nuanced, signed social networks. While the current model is highly effective, future work will address the challenges of sarcasm and word-sense ambiguity. Additionally, incorporating "global" context—such as the long-term interaction history between two users—could further refine the detection of social signals in digital spaces.

Summary updated

BibTeX
@inproceedings{awadallah2010what,
  author = {Ahmed Hassan Awadallah and Vahed Qazvinian and Dragomir R. Radev},
  title = {{What's with the Attitude? Identifying Sentences with Attitude in Online Discussions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
  url = {https://openreview.net/forum?id=H1eqeGf_Wr},
}
Figure