Combining Deep Learning and Topic Modeling for Review Understanding in Context-Aware Recommendation

Mingmin Jin, Xin Luo, Huiling Zhu, Hankz Hankui ZhuoNAACL 2018

Introduction

Modern recommender systems frequently employ Collaborative Filtering (CF) to predict user preferences. However, CF-based approaches often struggle with data sparsity, commonly referred to as the "cold-start" problem. To mitigate this, researchers have increasingly integrated textual user reviews into recommendation models. Despite their utility, existing review-based methods face significant limitations. Topic models, such as Latent Dirichlet Allocation (LDA), treat reviews as a "bag of words," thereby ignoring critical sequential context. Conversely, deep learning models like Convolutional Neural Networks (CNNs) capture local context but often fail to model long-range dependencies within a document.

This paper introduces LTMF (LSTM-Topic Matrix Factorization), a hybrid framework designed to bridge these gaps by combining the sequential awareness of Long Short-Term Memory (LSTM) networks with the global thematic insights of Topic Modeling.

The LTMF Framework

The LTMF model integrates three distinct components into a unified objective function: Probabilistic Matrix Factorization (PMF), LSTM, and LDA. PMF serves as the foundation for predicting ratings through user and item latent factors. The LSTM component processes review text to capture long-term dependencies and complex contextual meanings. Simultaneously, LDA identifies global thematic patterns through word co-occurrence.

A key innovation of LTMF is the role of the item latent factor ($v_j$), which acts as a bridge between the components. It is mathematically constrained to align with both the LSTM's output and the LDA's topic distribution. This bidirectional synergy ensures that deep learning features and topic clusters mutually refine each other during training.

The LTMF architecture integrating PMF, Topic Modeling, and LSTM structures.

Experimental Evaluation

The model was evaluated using ten subsets of the Amazon review dataset, including categories such as Amazon Instant Video (AIV), Musical Instruments (MI), Video Games (VG), and Digital Music (DM). Data preprocessing involved filtering out users with fewer than three ratings and capping review lengths at 300 words to ensure computational efficiency.

Results and Discussion

Empirical results demonstrate that LTMF consistently outperforms state-of-the-art baselines, including PMF, HFT (topic-based), and ConvMF (CNN-based), across all tested datasets in terms of Mean Square Error (MSE).

Performance improvement of LTMF and its variants across multiple Amazon datasets.

Key Insights:

  • Contextual Superiority: LSTMs proved more effective than CNNs for review understanding. By maintaining a "memory" of sentence structure, LSTMs can disambiguate words based on their broader context (e.g., distinguishing "apple" as a fruit versus a company).
  • Thematic Refinement: The integration of deep learning features led to "cleaner" topic clusters. LTMF prioritized product-specific nouns over generic adjectives, resulting in more interpretable and relevant topics.
  • Robustness in Sparsity: The model showed significant performance gains in "cold-start" scenarios where user ratings were scarce. In these cases, the rich textual information in reviews effectively compensated for the lack of numerical data.

Conclusion

LTMF represents a significant advancement in context-aware recommendation by successfully fusing sequential deep learning with global topic modeling. While the model is computationally more intensive than simpler alternatives, its superior accuracy and improved topic interpretability make it a powerful tool for understanding complex user reviews. Future work will explore extending this hybrid framework to other NLP tasks and modeling user-specific review styles.

Summary updated

BibTeX
@inproceedings{jin2018combining,
  author = {Mingmin Jin and Xin Luo and Huiling Zhu and Hankz Hankui Zhuo},
  title = {{Combining Deep Learning and Topic Modeling for Review Understanding in Context-Aware Recommendation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-1145},
}
Figure