Recommendation vs Sentiment Analysis: A Text-Driven Latent Factor Model for Rating Prediction with Cold-Start Awareness

Kaisong Song, Wei Gao, Shi Feng, Daling Wang, Kam-Fai Wong, Chengqi Zhang

Introduction

Predicting star ratings from text reviews is a fundamental task in e-commerce and media platforms. Traditionally, this problem has been approached from two distinct angles: Recommender Systems (RS), which focus on user-product interaction matrices, and Sentiment Analysis (SA), which analyzes textual content. However, RS often ignores the rich semantic information in reviews, while SA frequently overlooks individual user biases—such as a "lenient" reviewer using "good" for 5 stars versus a "harsh" reviewer using it for 3 stars.

While Deep Neural Networks (DNNs) have attempted to bridge this gap, they often function as "black boxes" with high parameter counts, making them computationally expensive and prone to overfitting, particularly in "cold-start" scenarios where data is sparse.

The Text-driven Latent Factor Model (TLFM)

To address these challenges, the authors propose the Text-driven Latent Factor Model (TLFM). Unlike complex DNNs, TLFM is an extensible Latent Factor Model that decomposes ratings into four key consistencies:

  1. User-Sentiment: General user leniency or strictness.
  2. User-Text: Specific linguistic habits of a user.
  3. Product-Sentiment: Inherent quality-based rating trends of a product.
  4. Product-Text: Common descriptive terms associated with a product.

Pairwise Rating Comparison (PRC)

A critical innovation in this work is the Pairwise Rating Comparison (PRC) strategy. Designed specifically for the cold-start problem, PRC shifts the focus from minimizing individual rating errors to modeling the difference between ratings. By comparing how different users rate the same product, the model extracts additional signals to calibrate parameters even when total review counts are low.

RMSE performance across different factor numbers (K) for TLFM and TLFM+PRC.

Experimental Setup

The model was evaluated on three large-scale datasets:

  • IMDB: Movie reviews (1–10 stars, ~85k reviews).
  • Yelp 2013: Business reviews (1–5 stars, ~79k reviews).
  • Yelp 2014: Business reviews (1–5 stars, ~231k reviews).

The authors employed a standard 80/10/10 split for training, validation, and testing to ensure a rigorous comparison against established baselines.

Performance Evaluation

TLFM, particularly when enhanced with PRC, demonstrates superior performance across all metrics. As shown in the results table below, TLFM+PRC consistently achieves the lowest Root Mean Squared Error (RMSE) compared to both traditional and deep learning baselines.

Comparison of RMSE across various methods and datasets.

Key Results

  • Accuracy: On the IMDB dataset, TLFM+PRC reached an RMSE of 1.352, significantly outperforming the DNN-based UPNN (1.602).
  • Efficiency: TLFM offers a massive computational advantage. Training on IMDB took only 7.21 minutes, compared to 441.84 minutes for the DNN approach—a nearly 60x speedup.
  • Cold-Start Resilience: In scenarios where 10% of users or products were previously unseen, the TLFM approach significantly outperformed traditional sentiment classifiers by leveraging the PRC strategy.

Discussion and Insights

The study reveals several important insights:

  • Text as a Latent Driver: Latent factors are most effective when directly tied to the semantics of the review text. TLFM learns word-factor vectors that interact directly with user and product profiles.
  • User Preference over Product Traits: Modeling how a person writes (user preference) generally has a greater impact on prediction accuracy than modeling specific product characteristics.
  • Simplicity and Regularization: A well-designed linear model can outperform complex Deep Learning models because it is easier to regularize and less dependent on pre-trained word embeddings.

Conclusion

While TLFM is highly effective, future research could incorporate external contextual metadata, such as user demographics or product categories, and account for temporal dynamics in user preferences. The authors suggest that the PRC strategy is a general-purpose tool applicable to various recommendation tasks beyond text-based rating prediction.

Summary updated

BibTeX
@inproceedings{song2017recommendation,
  author = {Kaisong Song and Wei Gao and Shi Feng and Daling Wang and Kam-Fai Wong and Chengqi Zhang},
  title = {{Recommendation vs Sentiment Analysis: A Text-Driven Latent Factor Model for Rating Prediction with Cold-Start Awareness}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/382},
}
Figure