Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/115697
PIRA download icon_1.1View/Download Full Text
Title: TokenRec : learning to tokenize ID for LLM-based generative recommendations
Authors: Qu, H 
Fan, W 
Zhao, Z 
Li, Q 
Issue Date: Oct-2025
Source: IEEE transactions on knowledge and data engineering, Oct. 2025, v. 37, no. 10, p. 6216-6231
Abstract: There is a growing interest in utilizing large language models (LLMs) to advance next-generation Recommender Systems (RecSys), driven by their outstanding language understanding and reasoning capabilities. In this scenario, tokenizing users and items becomes essential for ensuring seamless alignment of LLMs with recommendations. While studies have made progress in representing users and items using textual contents or latent representations, challenges remain in capturing high-order collaborative knowledge into discrete tokens compatible with LLMs and generalizing to unseen users/items. To address these challenges, we propose a novel framework called TokenRec, which introduces an effective ID tokenization strategy and an efficient retrieval paradigm for LLM-based recommendations. Our tokenization strategy involves quantizing the masked user/item representations learned from collaborative filtering into discrete tokens, thus achieving smooth incorporation of high-order collaborative knowledge and generalizable tokenization of users and items for LLM-based RecSys. Meanwhile, our generative retrieval paradigm is designed to efficiently recommend top-K items for users, eliminating the need for the time-consuming auto-regressive decoding and beam search processes used by LLMs, thus significantly reducing inference time. Comprehensive experiments validate the effectiveness of the proposed methods, demonstrating that TokenRec outperforms competitive benchmarks, including both traditional recommender systems and emerging LLM-based recommender systems.
Keywords: Collaborative filtering
ID tokenization
Large language models
Recommender systems
Vector quantization
Publisher: Institute of Electrical and Electronics Engineers
Journal: IEEE transactions on knowledge and data engineering 
ISSN: 1041-4347
EISSN: 1558-2191
DOI: 10.1109/TKDE.2025.3599265
Research Data: https://github.com/Quhaoh233/TokenRec
Rights: © 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
The following publication H. Qu, W. Fan, Z. Zhao and Q. Li, 'TokenRec: Learning to Tokenize ID for LLM-Based Generative Recommendations,' in IEEE Transactions on Knowledge and Data Engineering, vol. 37, no. 10, pp. 6216-6231, Oct. 2025 is available at https://doi.org/10.1109/TKDE.2025.3599265.
Appears in Collections:Journal/Magazine Article

Files in This Item:
File Description SizeFormat 
Qu_TokenRec_Learning_Tokenize.pdfPre-Published version6.48 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Final Accepted Manuscript
Access
View full-text via PolyU eLinks SFX Query
Show full item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.