Table of Contents
Fetching ...

Post-Training Denoising of User Profiles with LLMs in Collaborative Filtering Recommendation

Ervin Dervishaj, Maria Maistro, Tuukka Ruotsalo, Christina Lioma

TL;DR

The paper addresses the problem of noisy implicit feedback in collaborative filtering by proposing a post-training denoising method that leverages pretrained Large Language Models (LLMs) to refine user profiles without altering the CF model or training data. The method prompts the LLM with the user history $I_u$, a candidate item $j$, and its rank $r_j$ from the trained model $\mathcal{M}$, asking the LLM to remove an item $k$ so that $r_j' = \mathcal{M}(I_u\setminus k, j)$ improves, and accepts the denoised profile only if the rank improves; this can be done in zero-shot or few-shot modes with optional in-context examples. Experiments on MovieLens 1M, Yelp, and Amazon CDs & Vinyl using MultiVAE and four LLMs show consistent gains in ranking effectiveness, with up to $13\%$ improvements in $NDCG$ and similar gains in $HR$; several LLM configurations even surpass the upper-bound baselines without retraining the CF model. This work demonstrates that LLMs can be used as a cost-effective input-refinement step for CF, enabling practical denoising without data collection or model re-training, and they provide insights into how prompt design and profile characteristics shape effectiveness. Overall, the work paves a path for leveraging pretrained LLMs to systematically cleanse input signals in RSs, reducing reliance on in-training denoising and additional data.

Abstract

Implicit feedback -- the main data source for training Recommender Systems (RSs) -- is inherently noisy and has been shown to negatively affect recommendation effectiveness. Denoising has been proposed as a method for removing noisy implicit feedback and improving recommendations. Prior work has focused on in-training denoising, however this requires additional data, changes to the model architecture and training procedure or fine-tuning, all of which can be costly and data hungry. In this work, we focus on post-training denoising. Different from in-training denoising, post-training denoising does not involve changing the architecture of the model nor its training procedure, and does not require additional data. Specifically, we present a method for post-training denoising user profiles using Large Language Models (LLMs) for Collaborative Filtering (CF) recommendations. Our approach prompts LLMs with (i) a user profile (user interactions), (ii) a candidate item, and (iii) its rank as given by the CF recommender, and asks the LLM to remove items from the user profile to improve the rank of the candidate item. Experiments with a state-of-the-art CF recommender and 4 open and closed source LLMs in 3 datasets show that our denoising yields improvements up to 13% in effectiveness over the original user profiles. Our code is available at https://github.com/edervishaj/denoising-user-profiles-LLM.

Post-Training Denoising of User Profiles with LLMs in Collaborative Filtering Recommendation

TL;DR

The paper addresses the problem of noisy implicit feedback in collaborative filtering by proposing a post-training denoising method that leverages pretrained Large Language Models (LLMs) to refine user profiles without altering the CF model or training data. The method prompts the LLM with the user history , a candidate item , and its rank from the trained model , asking the LLM to remove an item so that improves, and accepts the denoised profile only if the rank improves; this can be done in zero-shot or few-shot modes with optional in-context examples. Experiments on MovieLens 1M, Yelp, and Amazon CDs & Vinyl using MultiVAE and four LLMs show consistent gains in ranking effectiveness, with up to improvements in and similar gains in ; several LLM configurations even surpass the upper-bound baselines without retraining the CF model. This work demonstrates that LLMs can be used as a cost-effective input-refinement step for CF, enabling practical denoising without data collection or model re-training, and they provide insights into how prompt design and profile characteristics shape effectiveness. Overall, the work paves a path for leveraging pretrained LLMs to systematically cleanse input signals in RSs, reducing reliance on in-training denoising and additional data.

Abstract

Implicit feedback -- the main data source for training Recommender Systems (RSs) -- is inherently noisy and has been shown to negatively affect recommendation effectiveness. Denoising has been proposed as a method for removing noisy implicit feedback and improving recommendations. Prior work has focused on in-training denoising, however this requires additional data, changes to the model architecture and training procedure or fine-tuning, all of which can be costly and data hungry. In this work, we focus on post-training denoising. Different from in-training denoising, post-training denoising does not involve changing the architecture of the model nor its training procedure, and does not require additional data. Specifically, we present a method for post-training denoising user profiles using Large Language Models (LLMs) for Collaborative Filtering (CF) recommendations. Our approach prompts LLMs with (i) a user profile (user interactions), (ii) a candidate item, and (iii) its rank as given by the CF recommender, and asks the LLM to remove items from the user profile to improve the rank of the candidate item. Experiments with a state-of-the-art CF recommender and 4 open and closed source LLMs in 3 datasets show that our denoising yields improvements up to 13% in effectiveness over the original user profiles. Our code is available at https://github.com/edervishaj/denoising-user-profiles-LLM.
Paper Structure (14 sections, 1 equation, 3 figures, 3 tables)

This paper contains 14 sections, 1 equation, 3 figures, 3 tables.

Figures (3)

  • Figure 1: Post-training denoising with LLMs. The CF model is trained with the entire historical interactions of the users from the training set. The most recent interaction of each user is used as a test set. The second-to-most-recent interaction is used as validation set. The prompt of the LLM is constructed by the remaining most recent interactions of the user with the validation set item acting as a candidate item. The rank of the candidate item is retrieved by the fully trained CF model.
  • Figure 2: Relative change in NDCG@10 (in %) for the different prompt formulations, on the MovieLens 1M and Amazon CDs & Vinyl datasets, for denoised user profiles.
  • Figure 3: Relative improvement (in %) in NDCG@20 by ratings of removed items for denoised users in MovieLens 1M. Rating 5 is the best and 1 is the worst. Circle radius marks the number of users. Solid (resp. dashed) lines show positive (resp. negative) changes in NDCG@20 by denoising.