SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.10108 · 2023

On Generative Agents in Recommendation

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 2 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/2310.10108.json · badge: /api/ran/2310.10108.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
LehengTHU/Agent4Rec canonical (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
helper_load Ran
ran; our contract draft was wrong, not the code
LehengTHU/Agent4Rec/recommenders/data.py
pointer only (licence: MIT); the stored copy get_code serves, from lehengthu/alpharec, is pointer only (licence: NONE) · get_code("029327c4f6fb55d0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lehengthu/alpharec, and GitHub detected no licence in that repository 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.

helper_load_train Ran
ran; our contract draft was wrong, not the code
LehengTHU/Agent4Rec/recommenders/data.py
pointer only (licence: MIT); the stored copy get_code serves, from lehengthu/alpharec, is pointer only (licence: NONE) · get_code("f1fe817c737b6fed")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lehengthu/alpharec, and GitHub detected no licence in that repository 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.

naive_sparse2tensor Ran
ran, honoured the contract we drafted
LehengTHU/Agent4Rec/recommenders/models/MultVAE.py
pointer only (licence: MIT); the stored copy get_code serves, from lehengthu/alpharec, is pointer only (licence: NONE) · get_code("ea36ff95c1499fb1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lehengthu/alpharec, and GitHub detected no licence in that repository 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 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 3 later) and 0 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
helper_load_train 5 other papers
2 dated earlier, 2 the same month, 1 later
2210.11054 (2022-10)
Incorporating Bias-aware Margins into Contrastive Loss for Collaborative Filtering
2302.05328 (2023-02)
Invariant Collaborative Filtering to Popularity Distribution Shift
2310.10696 (2023-10)
Robust Collaborative Filtering to Popularity Distribution Shift
and 2 more not named here
helper_load 4 other papers
2 dated earlier, 1 the same month, 1 later
2210.11054 (2022-10)
Incorporating Bias-aware Margins into Contrastive Loss for Collaborative Filtering
2302.05328 (2023-02)
Invariant Collaborative Filtering to Popularity Distribution Shift
2310.18700 (2023-10)
Empowering Collaborative Filtering with Principled Adversarial Contrastive Loss
and 1 more not named here
naive_sparse2tensor 1 other paper
1 later
2407.05441 (2024-07)
Language Representations Can be What Recommenders Need: Findings and Potentials

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

Recommender systems are the cornerstone of today's information dissemination, yet a disconnect between offline metrics and online performance greatly hinders their development. Addressing this challenge, we envision a recommendation simulator, capitalizing on recent breakthroughs in human-level intelligence exhibited by Large Language Models (LLMs). We propose Agent4Rec, a user simulator in recommendation, leveraging LLM-empowered generative agents equipped with user profile, memory, and actions modules specifically tailored for the recommender system. In particular, these agents' profile modules are initialized using real-world datasets (e.g. MovieLens, Steam, Amazon-Book), capturing users' unique tastes and social traits; memory modules log both factual and emotional memories and are integrated with an emotion-driven reflection mechanism; action modules support a wide variety of behaviors, spanning both taste-driven and emotion-driven actions. Each agent interacts with personalized recommender models in a page-by-page manner, relying on a pre-implemented collaborative filtering-based recommendation algorithm. We delve into both the capabilities and limitations of Agent4Rec, aiming to explore an essential research question: ``To what extent can LLM-empowered generative agents faithfully simulate the behavior of real, autonomous humans in recommender systems?'' Extensive and multi-faceted evaluations of Agent4Rec highlight both the alignment and deviation between agents and user-personalized preferences. Beyond mere performance comparison, we explore insightful experiments, such as emulating the filter bubble effect and discovering the underlying causal relationships in recommendation tasks. Our codes are available at https://github.com/LehengTHU/Agent4Rec.

For agents

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

get_harvested_code_for_paper("2310.10108")
get_code_for_paper("2310.10108")
have("2310.10108")

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

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

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

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

Connect an agent — have() is free.