Skip to main content
QUICK REVIEW

[Paper Review] TF-IDFC-RF: A Novel Supervised Term Weighting Scheme

Flávio Carvalho, Gustavo Paiva Guedes|arXiv (Cornell University)|Mar 12, 2020
Sentiment Analysis and Opinion MiningComputer Science34 references7 citations
TL;DR

This paper proposes TF-IDFC-RF, a novel supervised term weighting scheme for sentiment analysis that combines TF-IDF and TF-RF by incorporating class-specific inverse document frequency (IDFC) and relevance feedback. Evaluated on four binary sentiment datasets using SVM and Naive Bayes, TF-IDFC-RF outperforms nine existing schemes, achieving the highest F1 scores on two datasets, demonstrating superior consistency and performance over IGM-based and traditional methods.

ABSTRACT

Sentiment Analysis is a branch of Affective Computing usually considered a binary classification task. In this line of reasoning, Sentiment Analysis can be applied in several contexts to classify the attitude expressed in text samples, for example, movie reviews, sarcasm, among others. A common approach to represent text samples is the use of the Vector Space Model to compute numerical feature vectors consisting of the weight of terms. The most popular term weighting scheme is TF-IDF (Term Frequency - Inverse Document Frequency). It is an Unsupervised Weighting Scheme (UWS) since it does not consider the class information in the weighting of terms. Apart from that, there are Supervised Weighting Schemes (SWS), which consider the class information on term weighting calculation. Several SWS have been recently proposed, demonstrating better results than TF-IDF. In this scenario, this work presents a comparative study on different term weighting schemes and proposes a novel supervised term weighting scheme, named as TF-IDFC-RF (Term Frequency - Inverse Document Frequency in Class - Relevance Frequency). The effectiveness of TF-IDFC-RF is validated with SVM (Support Vector Machine) and NB (Naive Bayes) classifiers on four commonly used Sentiment Analysis datasets. TF-IDFC-RF shows promising results, outperforming all other weighting schemes on two datasets.

Motivation & Objective

  • To address the limitations of unsupervised term weighting schemes like TF-IDF in sentiment analysis by incorporating class-level information.
  • To propose a new supervised term weighting scheme that improves classification accuracy by modeling both intra-class and inter-class term distribution.
  • To evaluate TF-IDFC-RF against nine existing term weighting schemes across four widely used two-class sentiment analysis datasets.
  • To demonstrate the robustness and superiority of TF-IDFC-RF across different classifiers (SVM and Naive Bayes) and feature sizes.
  • To provide a consistent and high-performing alternative to IGM-based and other state-of-the-art supervised weighting schemes in binary sentiment classification.

Proposed method

  • TF-IDFC-RF computes term weights by integrating Term Frequency (TF) with a class-specific Inverse Document Frequency (IDFC), where IDF is calculated per sentiment class.
  • The method incorporates relevance feedback from the TF-RF scheme, enhancing discriminative power by emphasizing terms that are both frequent in relevant documents and rare in others.
  • Term weights are computed as the product of TF and a modified IDFC factor, adjusted by a relevance feedback mechanism to amplify informative terms.
  • The scheme is evaluated using the Vector Space Model with numerical feature vectors derived from term weights, followed by classification using SVM and Naive Bayes.
  • Experiments are conducted with varying feature sizes (500 to 14,000) to assess performance stability across different dimensionalities.
  • The approach is compared against two unsupervised (TF, TF-IDF) and eight supervised schemes, including TF-RF, TF-IDF-ICF, and IGM-based variants (TF-IGM, STF-IGM, etc.).

Experimental results

Research questions

  • RQ1Does integrating class-specific IDF (IDFC) with relevance feedback improve term weighting performance in sentiment analysis?
  • RQ2How does TF-IDFC-RF compare to state-of-the-art supervised term weighting schemes like TF-IGM and its variants in binary sentiment classification?
  • RQ3Is TF-IDFC-RF more consistent across different datasets and classifiers than existing IGM-based schemes?
  • RQ4Can a hybrid approach combining TF-IDF and TF-RF principles outperform both individual components and other advanced schemes?
  • RQ5Does the proposed scheme maintain high performance across varying feature space sizes?

Key findings

  • TF-IDFC-RF achieved the highest F1 score on the Polarity and Sarcasm datasets with both SVM and Naive Bayes classifiers, outperforming all nine competing schemes.
  • On the Movie Review dataset, TF-IDFC-RF achieved an F1 score of 77.01 with SVM and 77.17 with Naive Bayes at 14,000 features, ranking among the top performers.
  • On the Subjectivity dataset, TF-IDFC-RF achieved an F1 score of 77.02 with SVM and 77.05 with Naive Bayes at 14,000 features, outperforming TF-IDF and other schemes.
  • IGM-based schemes (e.g., STF-IGM imp) did not consistently outperform others; their performance varied significantly across datasets and feature sizes, unlike the stable performance of TF-IDFC-RF.
  • TF-RF performed worse than all IGM-based schemes and TF-IDFC-RF across all datasets and classifiers, contradicting prior claims of its superiority.
  • TF-IDF achieved the best performance on the Subjectivity dataset, but TF-IDFC-RF matched or exceeded it on all other datasets, demonstrating broader effectiveness.

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.