We lifted 8 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| honghuibao2000/letter | canonical | 7 of 8 |
| Function | Status | Where it lives |
|---|---|---|
| get_metrics_results | Ran | honghuibao2000/letter/LETTER-LC-Rec/evaluate.py pointer only (licence: NONE) · get_code("821a5d97132f11ad") |
| get_topk_ranking_results | Ran | honghuibao2000/letter/LETTER-TIGER/evaluate.py pointer only (licence: NONE) · get_code("b8ee1bcca47a7fca") |
| get_topk_results | Ran | honghuibao2000/letter/LETTER-LC-Rec/evaluate.py pointer only (licence: NONE) · get_code("ca14fff52bd00067") |
| ndcg_k | Ran | honghuibao2000/letter/LETTER-LC-Rec/evaluate.py pointer only (licence: NONE) · get_code("9c6f5ffc9e56c40a") |
| parse_global_args | Ran | honghuibao2000/letter/LETTER-LC-Rec/utils.py pointer only (licence: NONE) · get_code("2be50b7fb0f78745") |
| parse_train_args | Ran | honghuibao2000/letter/LETTER-LC-Rec/utils.py pointer only (licence: NONE) · get_code("472b3b34ce3b65d9") |
| sigmoid | Ran | honghuibao2000/letter/LETTER-TIGER/modeling_letter.py pointer only (licence: NONE) · get_code("f47b8733b06d4cb3") |
| parse_dataset_args | Not yet run | honghuibao2000/letter/LETTER-LC-Rec/utils.py pointer only (licence: NONE) · get_code("39be8603028304b3") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Utilizing powerful Large Language Models (LLMs) for generative recommendation has attracted much attention. Nevertheless, a crucial challenge is transforming recommendation data into the language space of LLMs through effective item tokenization. Current approaches, such as ID, textual, and codebook-based identifiers, exhibit shortcomings in encoding semantic information, incorporating collaborative signals, or handling code assignment bias. To address these limitations, we propose LETTER (a LEarnable Tokenizer for generaTivE Recommendation), which integrates hierarchical semantics, collaborative signals, and code assignment diversity to satisfy the essential requirements of identifiers. LETTER incorporates Residual Quantized VAE for semantic regularization, a contrastive alignment loss for collaborative regularization, and a diversity loss to mitigate code assignment bias. We instantiate LETTER on two models and propose a ranking-guided generation loss to augment their ranking ability theoretically. Experiments on three datasets validate the superiority of LETTER, advancing the state-of-the-art in the field of LLM-based generative recommendation.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2405.07314")
get_code_for_paper("2405.07314")
have("2405.07314")
Connect an agent — have() is free.