SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.03637 · 2024

Sequential Recommendation for Optimizing Both Immediate Feedback and Long-term Retention

arXiv · PDF · Open in the Atlas

Code that ran

13 of 13 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 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/2404.03637.json · badge: /api/ran/2404.03637.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
applied-machine-learning-lab/dt4ier canonical (classifier label)
classifier basis: census
13 ran · 0 no recorded run
FunctionStatusWhere it lives
bleu Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/GPT_model_accuracy.py
pointer only (licence: NONE) · get_code("177e65070d17ec10")
How it ran

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

bleu Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/baseline.py
pointer only (licence: NONE) · get_code("0b64b2b3b2700f5b")
How it ran

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

bleu_emb_pos Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/GPT_model_accuracy.py
pointer only (licence: NONE) · get_code("f392f3ea95d61d09")
How it ran

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

bleu_emb_pos Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/baseline.py
pointer only (licence: NONE) · get_code("45b3f2ddcb87a718")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, applied-machine-learning-lab/dt4ier 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_mem_space Ran
ran, honoured the contract we drafted
applied-machine-learning-lab/dt4ier/gpu_mem_track.py
pointer only (licence: NONE) · get_code("efa7095cdb85be6c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, applied-machine-learning-lab/dt4ier 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_parameter_number Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/GPT_trainer_returnscore.py
pointer only (licence: NONE); the stored copy get_code serves, from zzzx1224/ebtsa-iclr2023, is pointer only (licence: NONE) · get_code("b2fb8159f199e5b8")
How it ran

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

moving_average Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/rl_utils.py
pointer only (licence: NONE) · get_code("326fd6b469512950")
How it ran

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

sample Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/utils.py
pointer only (licence: NONE) · get_code("88b475e1d92e0c14")
How it ran

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

sequence_mask Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/GPT_model_accuracy.py
pointer only (licence: NONE) · get_code("679f1190874eb427")
How it ran

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

sequence_mask Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/baseline.py
pointer only (licence: NONE) · get_code("1fa9d9be43970ce8")
How it ran

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

top_k_logits Ran
ran; our contract draft was wrong, not the code
applied-machine-learning-lab/dt4ier/utils.py
pointer only (licence: NONE) · get_code("0f0021cdea13e4da")
How it ran

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

train_off_policy_agent Ran
ran, honoured the contract we drafted
applied-machine-learning-lab/dt4ier/rl_utils.py
pointer only (licence: NONE) · get_code("1c191b709c8b5651")
How it ran

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

train_on_policy_agent Ran
ran, honoured the contract we drafted
applied-machine-learning-lab/dt4ier/rl_utils.py
pointer only (licence: NONE) · get_code("6d8e0a5a66591485")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, applied-machine-learning-lab/dt4ier 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 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 1 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
top_k_logits 16 other papers
14 dated earlier, 2 later
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.02039 (2021-06)
Offline Reinforcement Learning as One Big Sequence Modeling Problem
2106.14131 (2021-06)
SymbolicGPT: A Generative Transformer Model for Symbolic Regression
and 13 more not named here
get_mem_space 7 other papers
6 dated earlier, 1 the same month
2306.06446 (2023-06)
ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformers
2310.13012 (2023-10)
H2O Open Ecosystem for State-of-the-art Large Language Models
2310.20199 (2023-10)
In Search of Lost Online Test-time Adaptation: A Survey
and 4 more not named here
get_parameter_number 3 other papers
3 dated earlier
2203.03619 (2022-03)
Adaptive Cross-Layer Attention for Image Restoration
2302.11215 (2023-02)
Energy-Based Test Sample Adaptation for Domain Generalization
2308.13894 (2023-08)
FwdLLM: Efficient FedLLM using Forward Gradient
moving_average 1 other paper
1 dated earlier
2308.07272 (2023-08)
Dialogue for Prompting: a Policy-Gradient-Based Discrete Prompt Generation for Few-shot 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-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

In the landscape of Recommender System (RS) applications, reinforcement learning (RL) has recently emerged as a powerful tool, primarily due to its proficiency in optimizing long-term rewards. Nevertheless, it suffers from instability in the learning process, stemming from the intricate interactions among bootstrapping, off-policy training, and function approximation. Moreover, in multi-reward recommendation scenarios, designing a proper reward setting that reconciles the inner dynamics of various tasks is quite intricate. In response to these challenges, we introduce DT4IER, an advanced decision transformer-based recommendation model that is engineered to not only elevate the effectiveness of recommendations but also to achieve a harmonious balance between immediate user engagement and long-term retention. The DT4IER applies an innovative multi-reward design that adeptly balances short and long-term rewards with user-specific attributes, which serve to enhance the contextual richness of the reward sequence ensuring a more informed and personalized recommendation process. To enhance its predictive capabilities, DT4IER incorporates a high-dimensional encoder, skillfully designed to identify and leverage the intricate interrelations across diverse tasks. Furthermore, we integrate a contrastive learning approach within the action embedding predictions, a strategy that significantly boosts the model's overall performance. Experiments on three real-world datasets demonstrate the effectiveness of DT4IER against state-of-the-art Sequential Recommender Systems (SRSs) and Multi-Task Learning (MTL) models in terms of both prediction accuracy and effectiveness in specific tasks. The source code is accessible online to facilitate replication

For agents

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

get_harvested_code_for_paper("2404.03637")
get_code_for_paper("2404.03637")
have("2404.03637")

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

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

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

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

Connect an agent — have() is free.