SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.03210 · ACL · 2024

Text-like Encoding of Collaborative Information in Large Language Models for Recommendation

Ming Yan, Yang Zhang, Xiangnan He, Fuli Feng, Wenjie Wang, Keqin Bao

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-21; 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/2406.03210.json · badge: /api/ran/2406.03210.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
zyang1580/binllm canonical (classifier label)
classifier basis: census
12 ran · 2 no recorded run
zyang1580/BinLLM community
Papers with Code archive
2 ran · 0 no recorded run
FunctionStatusWhere it lives
apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zyang1580/binllm/minigpt4/models/modeling_llama.py
pointer only (licence: NONE) · get_code("9b4dff79d5e6102c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

binarize Ran
ran on a synthesized input · constructed an object; no result was computed
zyang1580/BinLLM/minigpt4/models/rec_base_models.py
pointer only (licence: NONE) · get_code("2f7ae58aeda42ee6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/BinLLM 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.

consitence_loss Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/minigpt4/models/minigpt4rec_v2.py
pointer only (licence: NONE) · get_code("618026ac54baafd8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

disabled_train Ran
ran, violated the contract we drafted
zyang1580/binllm/minigpt4/models/rec_model.py
pointer only (licence: NONE) · get_code("4cb732f513d69dfd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

find_max Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/search_result.py
pointer only (licence: NONE) · get_code("72cd9bb66c87c9d0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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_ids_order Ran
ran, honoured the contract we drafted
zyang1580/binllm/minigpt4/models/minigpt4rec_v2.py
pointer only (licence: NONE) · get_code("b7efbc30fb95ec93")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

my_sign Ran
ran on a synthesized input · constructed an object; no result was computed
zyang1580/BinLLM/minigpt4/models/rec_base_models.py
pointer only (licence: NONE) · get_code("7bc4b73f93871086")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/BinLLM 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_at_k Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zyang1580/binllm/used_metrics.py
pointer only (licence: NONE) · get_code("d12e2622a49a925e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

precision_at_k Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zyang1580/binllm/used_metrics.py
pointer only (licence: NONE) · get_code("ca85fc22ecc0f5f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

rotate_half Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/minigpt4/models/modeling_llama.py
pointer only (licence: NONE) · get_code("b99eea6376d1e212")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

sparseFeature Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/minigpt4/models/rec_base_models.py
pointer only (licence: NONE); the stored copy get_code serves, from ym689/rec_icl, is pointer only (licence: NONE) · get_code("56235b6c0304098a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

tile Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/minigpt4/models/base_model.py
pointer only (licence: NONE); the stored copy get_code serves, from MengzhouLu/RetroMPA, is pointer only (licence: NONE) · get_code("cb33571427334815")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

uAUC_me Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/hashGNN.py
pointer only (licence: NONE); the stored copy get_code serves, from ym689/rec_icl, is pointer only (licence: NONE) · get_code("24bc7e3f0445fbe0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

varlenSparseFeature Ran
ran; our contract draft was wrong, not the code
zyang1580/binllm/minigpt4/models/rec_base_models.py
pointer only (licence: NONE); the stored copy get_code serves, from ym689/rec_icl, is pointer only (licence: NONE) · get_code("9bb7552e2df64ddb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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.

all_gather_with_grad Not yet run
unverified (harvested, no recorded run)
zyang1580/binllm/minigpt4/models/base_model.py
pointer only (licence: NONE) · get_code("0ec9fc2025c16f65")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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. No invocation recorded.

dcg_at_k Not yet run
unverified (harvested, no recorded run)
zyang1580/binllm/used_metrics.py
pointer only (licence: NONE) · get_code("fe8008467e8c8035")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zyang1580/binllm 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. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 8 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 5 the same month, 8 later) and 8 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
rotate_half 360 other papers
135 dated earlier, 21 the same month, 195 later, 6 same year, order not determinable, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
disabled_train 173 other papers
117 dated earlier, 9 the same month, 39 later, 8 same year, order not determinable · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
all_gather_with_grad 91 other papers
64 dated earlier, 3 the same month, 20 later, 4 same year, order not determinable · 2 only as an assembly brick
2206.02967 (2022-06)
Masked Unsupervised Self-training for Label-free Image Classification
2210.08773 (2022-10)
Plug-and-Play VQA: Zero-shot VQA by Conjoining Large Pretrained Models with Zero Training
2302.06605 (2023-02)
UniAdapter: Unified Parameter-Efficient Transfer Learning for Cross-modal Modeling
and 88 more not named here
tile 84 other papers
62 dated earlier, 3 the same month, 14 later, 5 same year, order not determinable
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
2210.07795 (2022-10)
EfficientVLM: Fast and Accurate Vision-Language Models via Knowledge Distillation and Modal-adaptive Pruning
2210.08773 (2022-10)
Plug-and-Play VQA: Zero-shot VQA by Conjoining Large Pretrained Models with Zero Training
and 81 more not named here
apply_rotary_pos_emb 47 other papers
36 dated earlier, 2 the same month, 6 later, 3 same year, order not determinable
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
2305.16355 (2023-05)
PandaGPT: One Model To Instruction-Follow Them All
and 44 more not named here
uAUC_me 2 other papers
1 dated earlier, 1 later
2310.19488 (2023-10)
CoLLM: Integrating Collaborative Embeddings into Large Language Models for Recommendation
2410.23136 (2024-10)
Real-Time Personalization for LLM-based Recommendation with Customized In-Context Learning
sparseFeature 1 other paper
1 later
2410.23136 (2024-10)
Real-Time Personalization for LLM-based Recommendation with Customized In-Context Learning
varlenSparseFeature 1 other paper
1 later
2410.23136 (2024-10)
Real-Time Personalization for LLM-based Recommendation with Customized In-Context Learning

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-21.

Repositories linked to this paper

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

Abstract

When adapting Large Language Models for Recommendation (LLMRec), it is crucial to integrate collaborative information. Existing methods achieve this by learning collaborative embeddings in LLMs' latent space from scratch or by mapping from external models. However, they fail to represent the information in a text-like format, which may not align optimally with LLMs. To bridge this gap, we introduce BinLLM, a novel LLMRec method that seamlessly integrates collaborative information through text-like encoding. BinLLM converts collaborative embeddings from external models into binary sequences -a specific text format that LLMs can understand and operate on directly, facilitating the direct usage of collaborative information in text-like format by LLMs. Additionally, BinLLM provides options to compress the binary sequence using dot-decimal notation to avoid excessively long lengths. Extensive experiments validate that BinLLM introduces collaborative information in a manner better aligned with LLMs, resulting in enhanced performance. We release our code at https://github.com/zyang1580/BinLLM.

For agents

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

get_harvested_code_for_paper("2406.03210")
get_code_for_paper("2406.03210")
have("2406.03210")

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

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

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

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

Connect an agent — have() is free.