Tagging and Linking Web Forum Posts

Su Nam Kim, Li Wang, Timothy BaldwinCoNLL 2010

Introduction

Web forums serve as invaluable repositories for troubleshooting and knowledge sharing, yet they remain notoriously difficult to search effectively. Traditional information retrieval systems often treat a forum thread as a monolithic document. In reality, threads are non-linear; multiple sub-discussions can occur simultaneously, and users frequently reply to specific earlier posts rather than the one immediately preceding them. This paper presents a framework for automatically mapping the "content structure" of web forum threads by tagging posts with dialogue acts and linking them to the specific posts they respond to.

Problem Statement: Uncovering Discourse Structure

The authors aim to uncover the hidden discourse structure of online discussions to improve information retrieval. This involves two primary sub-tasks:

  1. Post Tagging (Dialogue Act Classification): Identifying the intent of a post—for example, determining if it is a question, a proposed solution, or a confirmation that a fix worked.
  2. Post Linking: Identifying exactly which previous post(s) a given post is responding to.

By identifying these links and labels, search engines can better weight important terms and help users navigate directly to specific solutions within a sea of conversational noise.

Conceptual diagram of a forum thread's content structure, showing dialogue acts and post links.

Methodology

The researchers evaluated three discriminative machine learning models: Maximum Entropy (ME), SVM-HMM, and Conditional Random Fields (CRFs). To train these models, they engineered four categories of features:

  • Lexical: Standard unigrams, bigrams, and Part-of-Speech (POS) tags.
  • Structural: Metadata such as whether the author is the thread initiator and the post's relative position.
  • Post Context: Information about preceding posts, including their predicted labels or authorship.
  • Semantic: Cosine similarity between post titles and content, alongside "post characteristics" like the frequency of question marks or URLs.

The authors also introduced a novel Dialogue Act (DA) tag set specifically tailored for troubleshooting, comprising 12 categories such as QUESTION-ADD, ANSWER-OBJECTION, and RESOLUTION.

Dataset and Annotation

The study utilized a newly annotated dataset consisting of 320 threads crawled from CNET forums, totaling 1,332 individual posts. Human annotators achieved a Cohen’s Kappa of 0.59 for labels and 0.78 for links, indicating substantial agreement on the underlying discourse structure.

Key Results

The researchers achieved results that significantly outperformed baseline heuristics for both tasks. A key finding was that Conditional Random Fields (CRFs) consistently proved superior, likely due to their ability to model sequential dependencies within a conversation.

Comparison of F-scores for Dialogue Act classification across different models and feature sets.

As shown in the results above, structural features alone significantly outperformed lexical features. For Dialogue Act classification, a CRF utilizing structural features achieved an F-score of 0.742. Performance was further enhanced to 0.751 by incorporating semantic features like title similarity. In the link classification task, the best CRF model reached an F-score of 0.743, notably outperforming the standard "link to previous post" heuristic (0.631).

Discussion and Insights

  • Structure over Lexicon: Surprisingly, simple structural features like thread position were more effective than complex lexical features. This suggests that the noisy, informal nature of forum vocabulary makes word-based models difficult to generalize.
  • The Power of Sequential Modeling: CRFs outperformed other models because they consider the "flow" of conversation rather than analyzing posts in isolation.
  • The "Previous Post" Bias: While approximately 80% of posts link to the immediate predecessor, the primary value of this framework lies in correctly identifying the 20% of "long-distance" links that break linear flow.

Limitations and Future Work

The authors identify data sparsity as a challenge, as some of the 12 dialogue act tags occurred rarely in the 1,300-post dataset. Future work may explore temporal dynamics—using the time elapsed between posts as a linking indicator—and user modeling to identify "expert" contributors. Finally, the authors see significant potential in joint modeling, where tagging and linking are solved simultaneously to allow labels and links to mutually inform one another.

Summary updated

BibTeX
@inproceedings{kim2010tagging,
  author = {Su Nam Kim and Li Wang and Timothy Baldwin},
  title = {{Tagging and Linking Web Forum Posts}},
  booktitle = {CoNLL},
  year = {2010},
}
Figure