Enhancing Rating Prediction with Off-the-Shelf LLMs Using In-Context User Reviews
Koki Ryu, Hitomi Yanaka
TL;DR
The paper investigates rating prediction for Likert-scale outputs using off-the-shelf LLMs by supplying in-context user reviews as preference data. It shows that per-item reviews in the prompt (RS → S) consistently improve Spearman correlation and RMSE across eight models and three datasets, achieving competitive results relative to traditional MF baselines and mitigating cold-start issues. A prompting strategy that first generates a hypothetical review (RS → RS) often yields further gains, especially for smaller models, though benefits on RMSE are mixed. The findings demonstrate the potential of lightweight, data-efficient personalization with off-the-shelf LLMs and highlight the value of item-specific textual evidence for user preferences in rating prediction.
Abstract
Personalizing the outputs of large language models (LLMs) to align with individual user preferences is an active research area. However, previous studies have mainly focused on classification or ranking tasks and have not considered Likert-scale rating prediction, a regression task that requires both language and mathematical reasoning to be solved effectively. This task has significant industrial applications, but the utilization of LLMs remains underexplored, particularly regarding the capabilities of off-the-shelf LLMs. This study investigates the performance of off-the-shelf LLMs on rating prediction, providing different in-context information. Through comprehensive experiments with eight models across three datasets, we demonstrate that user-written reviews significantly improve the rating prediction performance of LLMs. This result is comparable to traditional methods like matrix factorization, highlighting the potential of LLMs as a promising solution for the cold-start problem. We also find that the reviews for concrete items are more effective than general preference descriptions that are not based on any specific item. Furthermore, we discover that prompting LLMs to first generate a hypothetical review enhances the rating prediction performance. Our code is available at https://github.com/ynklab/rating-prediction-with-reviews.
