Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Decoding Matters: Addressing Amplification Bias and Homogeneity Issue for LLM-based Recommendation

About

Adapting Large Language Models (LLMs) for recommendation requires careful consideration of the decoding process, given the inherent differences between generating items and natural language. Existing approaches often directly apply LLMs' original decoding methods. However, we find these methods encounter significant challenges: 1) amplification bias -- where standard length normalization inflates scores for items containing tokens with generation probabilities close to 1 (termed ghost tokens), and 2) homogeneity issue -- generating multiple similar or repetitive items for a user. To tackle these challenges, we introduce a new decoding approach named Debiasing-Diversifying Decoding (D3). D3 disables length normalization for ghost tokens to alleviate amplification bias, and it incorporates a text-free assistant model to encourage tokens less frequently generated by LLMs for counteracting recommendation homogeneity. Extensive experiments on real-world datasets demonstrate the method's effectiveness in enhancing accuracy and diversity. The code is available at https://github.com/SAI990323/DecodingMatters.

Keqin Bao, Jizhi Zhang, Yang Zhang, Xinyue Huo, Chong Chen, Fuli Feng• 2024

Related benchmarks

TaskDatasetResultRank
RecommendationGoodreads
Hit Rate @ 51.67
20
Generative RecommendationML OOD 10M
Hit Rate @1050
18
Next-item recommendationAmazon Musical Instruments
Hit Rate @51.62
12
Next-item recommendationAmazon CDs and Vinyl
Hit Ratio @50.74
12
Next-item recommendationAmazon Video-Games
H@52.01
12
Sequential RecommendationAmazon Review Toys v1 (test)
Recall@13.71
11
Sequential RecommendationAmazon Review Industrial v1 (test)
R@18.1
11
Sequential RecommendationYelp v1 (test)
Recall@11.2
11
Sequential RecommendationAmazon Review Office v1 (test)
R@18.1
11
Top-10 RecommendationAmazon CDs and Vinyl
HR@50.0072
11
Showing 10 of 17 rows

Other info

Follow for update