arXiv:2306.08121

Better Generalization with Semantic IDs: A Case Study in Ranking for Recommendations

Anima Singh, Trung Vu, Nikhil Mehta, Raghunandan Keshavan, Maheswaran Sathiamoorthy, Yilin Zheng, Lichan Hong, Lukasz Heldt, Li Wei, Devansh Tandon, Ed H. Chi, Xinyang Yi

제출 2023-06-13

원문 초록

Randomly-hashed item ids are used ubiquitously in recommendation models. However, the learned representations from random hashing prevents generalization across similar items, causing problems of learning unseen and long-tail items, especially when item corpus is large, power-law distributed, and evolving dynamically. In this paper, we propose using content-derived features as a replacement for random ids. We show that simply replacing ID features with content-based embeddings can cause a drop in quality due to reduced memorization capability. To strike a good balance of memorization and generalization, we propose to use Semantic IDs -- a compact discrete item representation learned from frozen content embeddings using RQ-VAE that captures the hierarchy of concepts in items -- as a replacement for random item ids. Similar to content embeddings, the compactness of Semantic IDs poses a problem of easy adaption in recommendation models. We propose novel methods for adapting Semantic IDs in industry-scale ranking models, through hashing sub-pieces of of the Semantic-ID sequences. In particular, we find that the SentencePiece model that is commonly used in LLM tokenization outperforms manually crafted pieces such as N-grams. To the end, we evaluate our approaches in a real-world ranking model for YouTube recommendations. Our experiments demonstrate that Semantic IDs can replace the direct use of video IDs by improving the generalization ability on new and long-tail item slices without sacrificing overall model quality.

함께 살펴볼 논문

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

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-홉 전이에 포함되지 않는 테스트 아이템을 가진 사용자에게서 큰 향상을 보였습니다.

토론

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