SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.17488 · 2023

LightLM: A Lightweight Deep and Narrow Language Model for Generative Recommendation

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2310.17488.json · badge: /api/ran/2310.17488.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
dongyuanjushi/lightlm canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
FunctionStatusWhere it lives
CF_representation Ran
ran; our contract draft was wrong, not the code
dongyuanjushi/lightlm/indexing/rep_method.py
pointer only (licence: NONE) · get_code("fd846716290f640c")
How it ran

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

amazon_asin Ran
ran; our contract draft was wrong, not the code
dongyuanjushi/lightlm/indexing/rep_method.py
pointer only (licence: NONE) · get_code("541290c22843b04e")
How it ran

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

calculate_whole_word_ids Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dongyuanjushi/lightlm/utils/data.py
pointer only (licence: NONE); the stored copy get_code serves, from agiresearch/idgenrec, is pointer only (licence: NONE) · get_code("2bb3789deb444247")
How it ran

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

composite_function Ran
ran; our contract draft was wrong, not the code
dongyuanjushi/lightlm/indexing/CF_index.py
pointer only (licence: NONE) · get_code("89abb655800e1331")
How it ran

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

compute_index_without_extra Ran
ran; our contract draft was wrong, not the code
dongyuanjushi/lightlm/indexing/graph_index.py
pointer only (licence: NONE) · get_code("4d2840078ddc4710")
How it ran

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

construct_indices_from_graph Ran
ran; our contract draft was wrong, not the code
dongyuanjushi/lightlm/indexing/graph_index.py
pointer only (licence: NONE) · get_code("81b463b5a06c7a2e")
How it ran

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

no_tokenization Ran
ran; our contract draft was wrong, not the code
dongyuanjushi/lightlm/indexing/rep_method.py
pointer only (licence: NONE) · get_code("c0601c71874951cc")
How it ran

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

normalize Ran
ran, honoured the contract we drafted
dongyuanjushi/lightlm/indexing/GID_generation.py
pointer only (licence: NONE) · get_code("8caf0473d6628d9d")
How it ran

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

one_further_indexing Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dongyuanjushi/lightlm/indexing/CF_index.py
pointer only (licence: NONE) · get_code("780859af55584d41")
How it ran

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

one_further_indexing Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dongyuanjushi/lightlm/indexing/co_CID_generation.py
pointer only (licence: NONE) · get_code("a4111d01bf35a82f")
How it ran

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

sigmoid Ran
ran, violated the contract we drafted
dongyuanjushi/lightlm/indexing/GID_generation.py
pointer only (licence: NONE); the stored copy get_code serves, from XPixelGroup/SEAL, is pointer only (licence: NONE) · get_code("f35babe3912ec8b1")
How it ran

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

eigenDecomposition Not yet run
unverified (harvested, no recorded run)
dongyuanjushi/lightlm/indexing/CF_index.py
pointer only (licence: NONE) · get_code("8d6ca2a87339d5e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyuanjushi/lightlm 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 2 later) and 6 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
sigmoid 12 other papers
7 dated earlier, 5 later · 1 only as an assembly brick
1506.02640 (2015-06)
You Only Look Once: Unified, Real-Time Object Detection
1602.01783 (2016-02)
Asynchronous Methods for Deep Reinforcement Learning
2106.12930 (2021-06)
VinDr-SpineXR: A deep learning framework for spinal lesions detection and classification from radiographs
and 9 more not named here
calculate_whole_word_ids 2 other papers
1 dated earlier, 1 later
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
2403.19021 (2024-03)
IDGenRec: LLM-RecSys Alignment with Textual ID Learning
composite_function 1 other paper
1 dated earlier
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
eigenDecomposition 1 other paper
1 dated earlier
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
no_tokenization 1 other paper
1 dated earlier
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems
one_further_indexing 1 other paper
1 dated earlier
2306.11134 (2023-06)
OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems

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

Repositories linked to this paper

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

Abstract

This paper presents LightLM, a lightweight Transformer-based language model for generative recommendation. While Transformer-based generative modeling has gained importance in various AI sub-fields such as NLP and vision, generative recommendation is still in its infancy due to its unique demand on personalized generative modeling. Existing works on generative recommendation often use NLP-oriented Transformer architectures such as T5, GPT, LLaMA and M6, which are heavy-weight and are not specifically designed for recommendation tasks. LightLM tackles the issue by introducing a light-weight deep and narrow Transformer architecture, which is specifically tailored for direct generation of recommendation items. This structure is especially apt for straightforward generative recommendation and stems from the observation that language model does not have to be too wide for this task, as the input predominantly consists of short tokens that are well-suited for the model's capacity. We also show that our devised user and item ID indexing methods, i.e., Spectral Collaborative Indexing (SCI) and Graph Collaborative Indexing (GCI), enables the deep and narrow Transformer architecture to outperform large-scale language models for recommendation. Besides, to address the hallucination problem of generating items as output, we propose the constrained generation process for generative recommenders. Experiments on real-world datasets show that LightLM outperforms various competitive baselines in terms of both recommendation accuracy and efficiency. The code can be found at https://github.com/dongyuanjushi/LightLM.

For agents

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

get_harvested_code_for_paper("2310.17488")
get_code_for_paper("2310.17488")
have("2310.17488")

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

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

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

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

Connect an agent — have() is free.