SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.09049 · 2023

Adapting Large Language Models by Integrating Collaborative Semantics for Recommendation

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.09049.json · badge: /api/ran/2311.09049.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
rucaibox/lc-rec canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
atoi Ran
ran, honoured the contract we drafted
rucaibox/lc-rec/convert/zero_to_fp32.py
pointer only (licence: NONE); the stored copy get_code serves, from harshmaru7/DilatedConv, is pointer only (licence: NONE) · get_code("6dbf1b2a5b901370")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_metrics_results Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/evaluate.py
pointer only (licence: NONE); the stored copy get_code serves, from honghuibao2000/letter, is pointer only (licence: NONE) · get_code("821a5d97132f11ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_model_state_file Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/convert/zero_to_fp32.py
pointer only (licence: NONE) · get_code("3a53f3109825e747")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_topk_results Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/evaluate.py
pointer only (licence: NONE); the stored copy get_code serves, from honghuibao2000/letter, is pointer only (licence: NONE) · get_code("ca14fff52bd00067")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

natural_keys Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/convert/zero_to_fp32.py
pointer only (licence: NONE) · get_code("7052cf0436949e37")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ndcg_k Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/evaluate.py
pointer only (licence: NONE); the stored copy get_code serves, from honghuibao2000/letter, is pointer only (licence: NONE) · get_code("9c6f5ffc9e56c40a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_dataset_args Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/utils.py
pointer only (licence: NONE) · get_code("dbf71154d12a9f53")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_global_args Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from honghuibao2000/letter, is pointer only (licence: NONE) · get_code("2be50b7fb0f78745")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_train_args Ran
ran; our contract draft was wrong, not the code
rucaibox/lc-rec/utils.py
pointer only (licence: NONE) · get_code("0f855b150af608b8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rucaibox/lc-rec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 7 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 7 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
atoi 13 other papers
7 dated earlier, 1 the same month, 5 later
1511.07122 (2015-11)
Multi-Scale Context Aggregation by Dilated Convolutions
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
2104.08773 (2021-04)
Cross-Task Generalization via Natural Language Crowdsourcing Instructions
and 10 more not named here
natural_keys 12 other papers
6 dated earlier, 1 the same month, 5 later
1511.07122 (2015-11)
Multi-Scale Context Aggregation by Dilated Convolutions
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
2203.03339 (2022-03)
L2CS-Net: Fine-Grained Gaze Estimation in Unconstrained Environments
and 9 more not named here
get_model_state_file 5 other papers
2 dated earlier, 1 the same month, 2 later
2308.14034 (2023-08)
Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculum
2310.09168 (2023-10)
EXPLORE-INSTRUCT: Enhancing Domain-Specific Instruction Coverage through Active Exploration
2311.04072 (2023-11)
Beyond Imitation: Leveraging Fine-grained Quality Signals for Alignment
and 2 more not named here
parse_global_args 2 other papers
2 later
2405.07314 (2024-05)
Learnable Item Tokenization for Generative Recommendation
2502.14735 (2025-02)
EAGER-LLM: Enhancing Large Language Models as Recommenders through Exogenous Behavior-Semantic Integration
get_metrics_results 1 other paper
1 later
2405.07314 (2024-05)
Learnable Item Tokenization for Generative Recommendation
get_topk_results 1 other paper
1 later
2405.07314 (2024-05)
Learnable Item Tokenization for Generative Recommendation
ndcg_k 1 other paper
1 later
2405.07314 (2024-05)
Learnable Item Tokenization for Generative Recommendation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recently, large language models (LLMs) have shown great potential in recommender systems, either improving existing recommendation models or serving as the backbone. However, there exists a large semantic gap between LLMs and recommender systems, since items to be recommended are often indexed by discrete identifiers (item ID) out of the LLM's vocabulary. In essence, LLMs capture language semantics while recommender systems imply collaborative semantics, making it difficult to sufficiently leverage the model capacity of LLMs for recommendation. To address this challenge, in this paper, we propose a new LLM-based recommendation model called LC-Rec, which can better integrate language and collaborative semantics for recommender systems. Our approach can directly generate items from the entire item set for recommendation, without relying on candidate items. Specifically, we make two major contributions in our approach. For item indexing, we design a learning-based vector quantization method with uniform semantic mapping, which can assign meaningful and non-conflicting IDs (called item indices) for items. For alignment tuning, we propose a series of specially designed tuning tasks to enhance the integration of collaborative semantics in LLMs. Our fine-tuning tasks enforce LLMs to deeply integrate language and collaborative semantics (characterized by the learned item indices), so as to achieve an effective adaptation to recommender systems. Extensive experiments demonstrate the effectiveness of our method, showing that our approach can outperform a number of competitive baselines including traditional recommenders and existing LLM-based recommenders. Our code is available at https://github.com/RUCAIBox/LC-Rec/.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.09049")
get_code_for_paper("2311.09049")
have("2311.09049")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.09049.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.09049.svg)](https://syntology.ai/paper/2311.09049)

Connect an agent — have() is free.