{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/inductive-generative-recommendation-via","title":"Inductive Generative Recommendation via Retrieval-based Speculation","arxiv_id":"2410.02939","date":"2024-10-03","proceeding":null,"authors":["Yijie Ding","Yupeng Hou","Jiacheng Li","Julian McAuley"],"abstract":"Generative recommendation (GR) is an emerging paradigm that tokenizes items into discrete tokens and learns to autoregressively generate the next tokens as predictions. Although effective, GR models operate in a transductive setting, meaning they can only generate items seen during training without applying heuristic re-ranking strategies. In this paper, we propose SpecGR, a plug-and-play framework that enables GR models to recommend new items in an inductive setting. SpecGR uses a drafter model with inductive capability to propose candidate items, which may include both existing items and new items. The GR model then acts as a verifier, accepting or rejecting candidates while retaining its strong ranking capabilities. We further introduce the guided re-drafting technique to make the proposed candidates more aligned with the outputs of generative recommendation models, improving the verification efficiency. We consider two variants for drafting: (1) using an auxiliary drafter model for better flexibility, or (2) leveraging the GR model's own encoder for parameter-efficient self-drafting. Extensive experiments on three real-world datasets demonstrate that SpecGR exhibits both strong inductive recommendation ability and the best overall performance among the compared methods. Our code is available at: https://github.com/Jamesding000/SpecGR.","url_abs":"https://arxiv.org/abs/2410.02939v1","url_pdf":"https://arxiv.org/pdf/2410.02939v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"inductive-generative-recommendation-via","repo_url":"https://github.com/jamesding000/specgr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"re-ranking","task_name":"Re-Ranking"},{"task_slug":"retrieval","task_name":"Retrieval"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.02939","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.02939"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jamesding000/specgr","reach":{"status":"ok"}}],"summary":{"ran":5},"by_repo_kind":{"official":{"samples":5,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"d5aa362923f60f09","entry":"calculate_masked_score","repo":"jamesding000/specgr","repo_kind":"official","path":"models/SpecGR/utils.py","file_url":"https://github.com/jamesding000/specgr/blob/HEAD/models/SpecGR/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d5aa362923f60f09"}},{"code_sha256_prefix":"36308951a398d03f","entry":"calculate_optimizer_config_in_distributed_setting","repo":"jamesding000/specgr","repo_kind":"official","path":"SpecGR/lightning_modules/utils.py","file_url":"https://github.com/jamesding000/specgr/blob/HEAD/SpecGR/lightning_modules/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"36308951a398d03f"}},{"code_sha256_prefix":"af88619f48a603d0","entry":"constrained_draft","repo":"jamesding000/specgr","repo_kind":"official","path":"models/SpecGR/utils.py","file_url":"https://github.com/jamesding000/specgr/blob/HEAD/models/SpecGR/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af88619f48a603d0"}},{"code_sha256_prefix":"8adee3f43808db79","entry":"custom_metrics_format","repo":"jamesding000/specgr","repo_kind":"official","path":"SpecGR/lightning_modules/callbacks.py","file_url":"https://github.com/jamesding000/specgr/blob/HEAD/SpecGR/lightning_modules/callbacks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8adee3f43808db79"}},{"code_sha256_prefix":"015097fb83e4064b","entry":"prepare_beam_search_inputs","repo":"jamesding000/specgr","repo_kind":"official","path":"models/SpecGR/utils.py","file_url":"https://github.com/jamesding000/specgr/blob/HEAD/models/SpecGR/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"015097fb83e4064b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}