UCEpic: Unifying Aspect Planning and Lexical Constraints for Generating Explanations in Recommendation

Jiacheng Li, Zhankui He, Jingbo Shang, Julian McAuley
9/28/2022
cs.AIcs.CL

Official code: JiachengLi1995/UCEpic (9 stars, Python, last commit 2023-05-29).

Abstract

Personalized natural language generation for explainable recommendations plays a key role in justifying why a recommendation might match a user's interests. Existing models usually control the generation process by aspect planning.

Show full abstract

While promising, these aspect-planning methods struggle to generate specific information correctly, which prevents generated explanations from being convincing. In this paper, we claim that introducing lexical constraints can alleviate the above issues. We propose a model, UCEpic, that generates high-quality personalized explanations for recommendation results by unifying aspect planning and lexical constraints in an insertion-based generation manner. Methodologically, to ensure text generation quality and robustness to various lexical constraints, we pre-train a non-personalized text generator via our proposed robust insertion process. Then, to obtain personalized explanations under this framework of insertion-based generation, we design a method of incorporating aspect planning and personalized references into the insertion process. Hence, UCEpic unifies aspect planning and lexical constraints into one framework and generates explanations for recommendations under different settings. Compared to previous recommendation explanation generators controlled by only aspects, UCEpic incorporates specific information from keyphrases and then largely improves the diversity and informativeness of generated explanations for recommendations on datasets such as RateBeer and Yelp.

View on arXivView PDF

Code Implementations(1)

Codebase for KDD 2023 paper, UCEpic: Unifying Aspect Planning and Lexical Constraints for Generating Explanations in Recommendation

90Python, ShellMay 28, 20233 years ago
explanation-generationlexical-constraintsrecommendationtext-generation

Similar Papers

Cite this paper

@article{li2022ucepic,
  title  = {UCEpic: Unifying Aspect Planning and Lexical Constraints for Generating Explanations in Recommendation},
  author = {Jiacheng Li and Zhankui He and Jingbo Shang and Julian McAuley},
  year   = {2022},
  eprint = {2209.13885},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.13885}
}

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/2209.13885.svg)](https://codeofpaper.com/paper/2209.13885)

Discussion