A Knowledge-driven Approach to Classifying Object and Attribute Coreferences in Opinion Mining

Jiahua Chen, Shuai Wang, Sahisnu Mazumder, Bing Liu

Introduction

Coreference Resolution (CR) is a fundamental task in Natural Language Processing (NLP) that involves identifying when different expressions in a text refer to the same entity. In the context of opinion mining, CR is indispensable for accurately attributing sentiments to specific product features. For instance, in the review, "I bought a Moonbeam. Its voice is loud," a system must recognize that "its" refers to the "Moonbeam" to correctly identify that the user is commenting on the alarm clock's sound quality.

However, standard CR models often struggle with the domain-specific nuances found in product reviews. While a general-purpose model might understand that a "dog" is an "animal," it often lacks the specialized knowledge to know that "Moonbeam" is a brand of alarm clock or that "voice" is a common attribute of such a device. Manually constructing knowledge bases for every possible product category is impractical. This paper addresses this "knowledge gap" by introducing a Knowledge-aware neural coreference classification model (OAC2) that automatically extracts domain-specific facts from unlabeled data.

Methodology

The proposed OAC2 model operates through a multi-stage pipeline designed to integrate contextual, syntactic, and knowledge-based information.

1. Knowledge Acquisition

The system bridges the information gap by mining domain-specific knowledge from a corpus of unlabeled reviews. Using tf-idf scoring, it identifies meaningful co-occurring terms (e.g., linking "Moonbeam" with "clock"). This local knowledge is supplemented with general commonsense triples from external bases like ConceptNet and WordNet (e.g., "clock" is used for "setting an alarm").

2. Syntax-based Span Representation

Rather than treating all words in a phrase with equal weight, the model employs dependency parsing and a specialized attention mechanism. This allows the model to focus on the "head" of a phrase. For a span like "a green Moonbeam," the model learns to prioritize the word "Moonbeam" as the core entity.

3. The OAC2 Architecture

The final coreference decision is determined by the sum of three distinct relevance scores:

  • Contextual Score ($F_C$): Leverages BERT to capture the immediate linguistic context of the sentence.
  • Knowledge-based Score ($F_K$): Evaluates how well the candidate mentions align with the extracted domain and general knowledge.
  • Syntax-related Phrase Relevance ($F_{SK}$): Employs cross-attention to determine if syntax-related phrases (such as verbs or adjectives) in the sentence align with the knowledge base.
The OAC2 model architecture integrates contextual, knowledge-based, and phrase-level scores to determine coreference.

Experimental Setup

The researchers evaluated the OAC2 model across five product domains: alarm clocks, cameras, cellphones, computers, and laptops. To support this, they created a new benchmark dataset by manually labeling 100 reviews per domain according to the MUC-7 annotation standard. This dataset is particularly valuable as most existing CR benchmarks, such as OntoNotes, focus on news or dialogue rather than the opinionated, jargon-heavy language of consumer reviews. Additionally, 1,000 unlabeled reviews per domain were utilized for the initial knowledge mining phase.

Results and Discussion

The OAC2 model demonstrated superior performance, achieving an average F1 score of 73.12% across all tested domains. As shown in the results table, the model consistently outperformed strong baselines, including high-performing end-to-end models like C2f-Coref+BERT.

Comparison of F1 scores across five domains shows the OAC2 model consistently outperforming standard BERT and coreference baselines.

Key Insights

  • The Primacy of Domain Knowledge: Ablation studies indicated that domain-specific knowledge provided a higher performance boost (0.90 F1 gain) compared to general commonsense knowledge (0.84 F1 gain). This suggests that for specialized tasks like tech reviews, "local" jargon is more critical than general world knowledge.
  • Leveraging Unlabeled Data: The results prove that hand-curated dictionaries are not strictly necessary. By simply processing 1,000 raw reviews, the model successfully learned enough attribute relationships to surpass state-of-the-art general models.
  • Syntactic Guidance: The use of syntax-based attention effectively mimics human reading patterns, allowing the model to use grammatical structures as a bridge to query the knowledge base more effectively.

Conclusion

This paper presents a robust framework for coreference resolution in opinion mining by effectively combining neural contextual representations with automatically mined domain knowledge. While the current model focuses on classification within isolated domains, future work may explore unified multi-domain models and the integration of this classifier into full end-to-end pipelines including mention detection and clustering.

Summary updated

BibTeX
@inproceedings{chen2020knowledge,
  author = {Jiahua Chen and Shuai Wang and Sahisnu Mazumder and Bing Liu},
  title = {{A Knowledge-driven Approach to Classifying Object and Attribute Coreferences in Opinion Mining}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.146},
}
Figure