Skip to main content
QUICK REVIEW

[Paper Review] Contextual and Position-Aware Factorization Machines for Sentiment Classification

Shuai Wang, Mianwei Zhou|arXiv (Cornell University)|Jan 18, 2018
Sentiment Analysis and Opinion MiningComputer Science21 references4 citations
TL;DR

This paper proposes Contextual Factorization Machine (CFM) and Position-aware Factorization Machine (PFM), which explicitly model sentiment-oriented word interactions by learning sentiment-sensitive Word Interaction (SWI) vectors that jointly encode word interactions, context, and position. These models significantly outperform state-of-the-art methods in fine-grained snippet-level sentiment classification while maintaining competitive performance at the document level.

ABSTRACT

While existing machine learning models have achieved great success for sentiment classification, they typically do not explicitly capture sentiment-oriented word interaction, which can lead to poor results for fine-grained analysis at the snippet level (a phrase or sentence). Factorization Machine provides a possible approach to learning element-wise interaction for recommender systems, but they are not directly applicable to our task due to the inability to model contexts and word sequences. In this work, we develop two Position-aware Factorization Machines which consider word interaction, context and position information. Such information is jointly encoded in a set of sentiment-oriented word interaction vectors. Compared to traditional word embeddings, SWI vectors explicitly capture sentiment-oriented word interaction and simplify the parameter learning. Experimental results show that while they have comparable performance with state-of-the-art methods for document-level classification, they benefit the snippet/sentence-level sentiment analysis.

Motivation & Objective

  • To address the limitation of existing models in explicitly capturing sentiment-oriented (SO) word interactions, especially in short text snippets where context is sparse.
  • To improve fine-grained sentiment analysis at the snippet/sentence level, where individual words may not convey sentiment alone.
  • To extend Factorization Machines (FM) for NLP by incorporating context and position information, which are critical in text but ignored in traditional FM applications.
  • To simplify parameter learning by jointly encoding word interaction, context, and position into a unified set of sentiment-oriented Word Interaction (SWI) vectors.
  • To demonstrate that explicit modeling of SO word interactions leads to significant performance gains in low-resource, short-text sentiment classification.

Proposed method

  • Proposes Contextual Factorization Machine (CFM) to model sentiment-oriented word interactions within a specific context by focusing on local word interactions relevant to sentiment expression.
  • Introduces Position-aware Factorization Machine (PFM) to further encode positional information of words in a sequence, enhancing the modeling of syntactic and semantic dependencies.
  • Learns a set of sentiment-sensitive Word Interaction (SWI) vectors that jointly represent word interactions, contextual relevance, and positional order.
  • Uses a factorization mechanism inspired by FM to model pairwise interactions between words, but extends it to include context and position as part of the interaction learning process.
  • Employs a linear model with SWI vectors as features, simplifying parameter learning while capturing complex interaction patterns.
  • Applies the models to both document-level and snippet-level sentiment classification using real-world review datasets.

Experimental results

Research questions

  • RQ1Can explicit modeling of sentiment-oriented word interactions improve performance in fine-grained sentiment analysis at the snippet level?
  • RQ2How does incorporating context and position information affect the performance of factorization machines in sentiment classification tasks?
  • RQ3Can SWI vectors effectively capture joint representations of word interaction, context, and position to outperform traditional word embeddings and neural models in short-text sentiment analysis?
  • RQ4Does the proposed CFM and PFM framework maintain strong performance at the document level while significantly improving at the snippet level?
  • RQ5How does the performance of the proposed models compare to state-of-the-art neural and linear models in both full-document and short-snippet sentiment classification?

Key findings

  • CFM and PFM significantly outperform all baselines in snippet-level sentiment classification across three real-world datasets, demonstrating the effectiveness of explicit sentiment-oriented word interaction modeling.
  • The models achieve comparable performance to state-of-the-art methods like CNN-S and CNN-J at the document level, despite using simpler parameterization and smaller vector dimensions.
  • PFM consistently outperforms FM across all datasets, showing that context and position awareness are crucial for accurate sentiment analysis in short texts.
  • Even with smaller vector sizes (e.g., 50), CFM and PFM outperform larger CNN models (300-dimensional vectors) at the snippet level, indicating the efficiency and representational power of SWI vectors.
  • The performance gap between CNN-based models and the proposed models is most pronounced at the snippet level, confirming that SO word interaction is a key bottleneck in existing neural models.
  • Linear models with SWI features (e.g., linear SVM) achieve the best results, suggesting that the SWI representation is highly effective and well-suited for linear classifiers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.