A Capsule Network for Recommendation and Explaining What You Like and Dislike

Chenliang Li, Cong Quan, Li Peng, Yunwei Qi, Yuming Deng +1 more
7/1/2019
cs.IR

Official code: WHUIR/CARP (53 stars, Python, last commit 2022-11-04).

Abstract

User reviews contain rich semantics towards the preference of users to features of items. Recently, many deep learning based solutions have been proposed by exploiting reviews for recommendation.

Show full abstract

The attention mechanism is mainly adopted in these works to identify words or aspects that are important for rating prediction. However, it is still hard to understand whether a user likes or dislikes an aspect of an item according to what viewpoint the user holds and to what extent, without examining the review details. Here, we consider a pair of a viewpoint held by a user and an aspect of an item as a logic unit. Reasoning a rating behavior by discovering the informative logic units from the reviews and resolving their corresponding sentiments could enable a better rating prediction with explanation. To this end, in this paper, we propose a capsule network based model for rating prediction with user reviews, named CARP. For each user-item pair, CARP is devised to extract the informative logic units from the reviews and infer their corresponding sentiments. The model firstly extracts the viewpoints and aspects from the user and item review documents respectively. Then we derive the representation of each logic unit based on its constituent viewpoint and aspect. A sentiment capsule architecture with a novel Routing by Bi-Agreement mechanism is proposed to identify the informative logic unit and the sentiment based representations in user-item level for rating prediction. Extensive experiments are conducted over seven real-world datasets with diverse characteristics. Our results demonstrate that the proposed CARP obtains substantial performance gain over recently proposed state-of-the-art models in terms of prediction accuracy. Further analysis shows that our model can successfully discover the interpretable reasons at a finer level of granularity.

View on arXivView PDF

Code Implementations(1)

WHUIR/CARPOfficial100%

The implementation of “A Capsule Network for Recommendation and Explaining What You Like and Dislike”, Chenliang Li, Cong Quan, Li Peng, Yunwei Qi, Yuming Deng, Libing Wu, https://dl.acm.org/citation.cfm?doid=3331184.3331216

5318PythonJul 20, 20194 years ago
caspule-networkexplainabilityrecommendation

Similar Papers

Cite this paper

@article{li2019capsule,
  title  = {A Capsule Network for Recommendation and Explaining What You Like and Dislike},
  author = {Chenliang Li and Cong Quan and Li Peng and Yunwei Qi and Yuming Deng and Libing Wu},
  year   = {2019},
  eprint = {1907.00687},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.00687}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.00687.svg)](https://codeofpaper.com/paper/1907.00687)

Discussion