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
Sequential RecommendationAmazon Toy (test)
NDCG@100.0172
60
Sequential RecommendationAmazon Office (test)
NDCG@102.4
56
RecommendationGoodreads (test)
N@512.54
33
Sequential RecommendationBooks Amazon (test)
NDCG@100.0094
32
RecommendationMovieLens 10M (test)--
32
RecommendationGoodreads
Hit Rate @ 51.67
20
Generative RecommendationML OOD 10M
Hit Rate @1050
18
RecommendationREDDIT V2 (test)
Recall@511.95
16
Next-item recommendationAmazon Musical Instruments
Hit Rate @51.62
12
Next-item recommendationAmazon CDs and Vinyl
Hit Ratio @50.74
12
Showing 10 of 23 rows

Other info

Follow for update