arXiv:2406.08477

Improving LLMs for Recommendation with Out-Of-Vocabulary Tokens

Ting-Ji Huang, Jia-Qi Yang, Chunxu Shen, Kai-Qi Liu, De-Chuan Zhan, Han-Jia Ye

제출 2024-06-12

원문 초록

Characterizing users and items through vector representations is crucial for various tasks in recommender systems. Recent approaches attempt to apply Large Language Models (LLMs) in recommendation through a question and answer format, where real users and items (e.g., Item No.2024) are represented with in-vocabulary tokens (e.g., "item", "20", "24"). However, since LLMs are typically pretrained on natural language tasks, these in-vocabulary tokens lack the expressive power for distinctive users and items, thereby weakening the recommendation ability even after fine-tuning on recommendation tasks. In this paper, we explore how to effectively tokenize users and items in LLM-based recommender systems. We emphasize the role of out-of-vocabulary (OOV) tokens in addition to the in-vocabulary ones and claim the memorization of OOV tokens that capture correlations of users/items as well as diversity of OOV tokens. By clustering the learned representations from historical user-item interactions, we make the representations of user/item combinations share the same OOV tokens if they have similar properties. Furthermore, integrating these OOV tokens into the LLM's vocabulary allows for better distinction between users and items and enhanced capture of user-item relationships during fine-tuning on downstream tasks. Our proposed framework outperforms existing state-of-the-art methods across various downstream recommendation tasks.

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

arXiv:2606.17276v2cs.IR공통 태그 Recommendation Systems, Memorization

생성형 추천에서 대규모 언어 모델(LLM)의 암기화 행동: 관찰, 시사점 및 학습 전략

On the Memorization Behavior of LLMs in Generative Recommendation: Observations, Implications, and Training Strategies

생성형 추천(GR)은 추천 시스템의 유망한 방향으로 부상했습니다. 최근 대규모 언어 모델(LLM)이 GR에 점점 더 많이 채택되고 있는데, 이는 LLM의 풍부한 사전학습 지식이 전통적인 암기 지향적 기준 모델이 포착할 수 있는 일반적인 사용자 행동 패턴을 넘어선 일반화를 돕기를 기대하기 때문입니다. 그러나 기존 LLM 기반 GR 연구들은 LLM의 잘 알려진 암기화 경향을 대부분 무시하고 있습니다. 만약 GR을 위해 파인튜닝된 LLM에서 이러한 경향이 나타난다면, 사전학습 지식의 활용을 제한할 것입니다. 본 연구에서는 모델이 학습 데이터 내 아이템의 직접적인 후속 아이템을 추천하는 1-홉 암기(one-hop memorization)를 분석하여 이러한 우려를 조사합니다. 우리는 LLM이 비(non)-LLM 기반 GR 모델보다 이러한 행동을 더 많이 보인다는 것을 보여줍니다. 사실 GR 기준 모델 대비 LLM의 성능 향상 대부분은 1-홉 암기를 통해 타겟 아이템을 예측할 수 있는 사용자에게서 발생합니다. 우리는 나머지 사용자에 대한 성능을 향상시키기 위해서는 LLM이 1-홉 전이를 넘어선 더 풍부한 아이템 간 관계를 학습해야 한다고 직관합니다. 이를 달성하기 위해 우리는 IIRG라는 새로운 학습 전략을 제안합니다. IIRG는 LLM이 (1) 사용자 시퀀스에서 여러 홉(hop)에 걸친 아이템 동시 출현에서 파생된 협업적 관계와 (2) 유사한 주제를 가진 아이템 간의 의미적 관계를 포착하도록 가르치며, 이 두 가지 모두 유용한 추천 신호로 작용할 수 있습니다. 우리는 IIRG가 표준 다음 아이템 예측으로만 학습된 LLM보다 유의미하게 더 우수함을 보여줍니다. 특히 학습 시점의 1-홉 전이에 포함되지 않는 테스트 아이템을 가진 사용자에게서 큰 향상을 보였습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.