Papers › Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for...

Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendations

27 Feb 2024arXiv:2402.17152archive 2025-07-28

Jiaqi Zhai, Lucy Liao, Xing Liu, Yueming Wang, Rui Li, Xuan Cao, Leon Gao, Zhaojie Gong, Fangda Gu, Michael He, Yinghai Lu, Yu Shi

Large-scale recommendation systems are characterized by their reliance on high cardinality, heterogeneous features and the need to handle tens of billions of user actions on a daily basis. Despite being trained on huge volume of data with thousands of features, most Deep Learning Recommendation Models (DLRMs) in industry fail to scale with compute. Inspired by success achieved by Transformers in language and vision domains, we revisit fundamental design choices in recommendation systems. We reformulate recommendation problems as sequential transduction tasks within a generative modeling framework ("Generative Recommenders"), and propose a new architecture, HSTU, designed for high cardinality, non-stationary streaming recommendation data. HSTU outperforms baselines over synthetic and public datasets by up to 65.8% in NDCG, and is 5.3x to 15.2x faster than FlashAttention2-based Transformers on 8192 length sequences. HSTU-based Generative Recommenders, with 1.5 trillion parameters, improve metrics in online A/B tests by 12.4% and have been deployed on multiple surfaces of a large internet platform with billions of users. More importantly, the model quality of Generative Recommenders empirically scales as a power-law of training compute across three orders of magnitude, up to GPT-3/LLaMa-2 scale, which reduces carbon footprint needed for future model developments, and further paves the way for the first foundational models in recommendations.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.17152")

Code

Syntology Ran 15 of 42 code samples harvested from 8 repositories linked to this paper; 27 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 14 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 2 ran; community (archive-listed): 33 samples from 7 repositories, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

facebookresearch/generative-recommenders officialmentioned in papermentioned on GitHubpytorch report
glb400/Toy-RecLM mentioned on GitHubpytorch report
pwc-1/Paper-9 mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

42 samples harvested; 15 ran; 0 honoured the contract we drafted; 27 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
14ran
27unverified

Licence: 3 of the 42 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 8 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

RelativeBucketedTimeAndPositionBasedBias facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 87d520a2cecef5ab · report
SequentialTransductionUnitJagged facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 8e67290b484621dc · report
HSTU facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · 1b0e681749e03d79 · report
HSTUJagged facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · af3ba853909518b7 · report
InputFeaturesPreprocessorModule facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · 69baf41bf38fa53a · report
RelativeAttentionBiasModule facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · 722d4d3551b1330b · report
SequentialEncoderWithLearnedSimilarityModule facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · c7bd477551eea3d8 · report
SimilarityModule facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · 5cf1b1643aeb298f · report
_hstu_attention_maybe_from_cache facebookresearch/generative-recommenders/generative_recommenders/research/modeling/sequential/hstu.py official repository unverified Apache-2.0 (permissive) · e4eacfaee3c9dde6 · report
GaussianElimination MindSpore-scientific/code-4/Deformable_Patch_Representation/deformable_patch_representation.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 07e6e09a56bb2aab · report
GeneralizedInteractionModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 732a9292a549f889 · report
HSTUBlock roman-dusek/GR-HSTU/hstu.py community (archive-listed) ran no licence file found · pointer only · d710bcff6a3d3d81 · report
PointwiseAggregatedAttention roman-dusek/GR-HSTU/hstu.py community (archive-listed) ran no licence file found · pointer only · 2e940ea8095c3ba3 · report
RankedLogger foreverYoungGitHub/generative-recommenders-pl/src/generative_recommenders_pl/models/sequential_encoders/hstu.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 85a6849359c5f5e8 · report
RelativeAttentionBias roman-dusek/GR-HSTU/hstu.py community (archive-listed) ran no licence file found · pointer only · c0d8162f6ccbc40a · report
RelativeBucketedTimeAndPositionBasedBias glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · cf69abc69c9a52b1 · report
RelativeBucketedTimeAndPositionBasedBias foreverYoungGitHub/generative-recommenders-pl/src/generative_recommenders_pl/models/sequential_encoders/hstu.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 45a12d3d33925880 · report
SequentialEncoderWithLearnedSimilarityModule bailuding/rails/modeling/sequential/hstu.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · b7537cbdee06dac7 · report
SequentialTransductionUnitJagged glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · f1c140f6503605bf · report
SequentialTransductionUnitJagged foreverYoungGitHub/generative-recommenders-pl/src/generative_recommenders_pl/models/sequential_encoders/hstu.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · da2a3d953e663a05 · report
SequentialTransductionUnitJagged bailuding/rails/modeling/sequential/hstu.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 3c1986d68d087d2a · report
get_current_embeddings glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 0376ea3757f5f63e · report
EmbeddingModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · eece677a59828947 · report
HSTU glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · 724ed6e7e00a7fda · report
HSTU foreverYoungGitHub/generative-recommenders-pl/src/generative_recommenders_pl/models/sequential_encoders/hstu.py community (archive-listed) unverified MIT (permissive) · 9b97ef3be03bed65 · report
HSTU bailuding/rails/modeling/sequential/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · 5f35558580c55d6d · report
HSTU snapfinger/hstu-blair/generative_recommenders/research/modeling/sequential/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · 543debc1b00b95a3 · report
HSTUJagged glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · 501db889bfdd9bb0 · report
HSTUJagged foreverYoungGitHub/generative-recommenders-pl/src/generative_recommenders_pl/models/sequential_encoders/hstu.py community (archive-listed) unverified MIT (permissive) · 9cff21d1111d44eb · report
HSTUJagged bailuding/rails/modeling/sequential/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · a67884cc50d40aad · report
InputFeaturesPreprocessorModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · 9269aeddc68cac36 · report
InputFeaturesPreprocessorModule bailuding/rails/modeling/sequential/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · 41be69705279a075 · report
InteractionModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · 3579714787dc8d39 · report
NDPModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · b0c190ff62ae0dd3 · report
OutputPostprocessorModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · f19becb1418ef093 · report
RelativeAttentionBiasModule glb400/Toy-RecLM/analysis/src/modeling/sequential/hstu.py community (archive-listed) unverified MIT (permissive) · 514d4d6606c0e9ad · report
RelativeAttentionBiasModule alibaba/TorchEasyRec/tzrec/modules/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · 21d9bc0ad504318b · report
SequentialTransductionUnitJagged alibaba/TorchEasyRec/tzrec/modules/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · d3b2601e4e7b9ead · report
SimilarityModule bailuding/rails/modeling/sequential/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · d5bd879a7af1a427 · report
_hstu_attention_maybe_from_cache foreverYoungGitHub/generative-recommenders-pl/src/generative_recommenders_pl/models/sequential_encoders/hstu.py community (archive-listed) unverified MIT (permissive) · 7eaf0c9a3f641a2a · report
_hstu_attention_maybe_from_cache bailuding/rails/modeling/sequential/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · a3d0818722016cf5 · report
_hstu_attention_maybe_from_cache alibaba/TorchEasyRec/tzrec/modules/hstu.py community (archive-listed) unverified Apache-2.0 (permissive) · 1d89041488291bb5 · report

Tasks

Recommendation Systems

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Recommendation Systems Amazon-Book HSTU HR@10 0.0478 #15 of 16 Archive leaderboard report
Recommendation Systems Amazon-Book HSTU HR@50 0.1082 #15 of 16 Archive leaderboard report
Recommendation Systems Amazon-Book HSTU NDCG@10 0.0262 #15 of 16 Archive leaderboard report
Recommendation Systems Amazon-Book HSTU NDCG@50 0.0393 #15 of 16 Archive leaderboard report
Recommendation Systems MovieLens 1M HSTU HR@10 (full corpus) 0.3294 #29 of 31 Archive leaderboard report
Recommendation Systems MovieLens 1M HSTU NDCG@10 (full corpus) 0.1893 #29 of 31 Archive leaderboard report
Recommendation Systems MovieLens 20M HSTU HR@10 (full corpus) 0.3556 #15 of 18 Archive leaderboard report
Recommendation Systems MovieLens 20M HSTU nDCG@10 (full corpus) 0.2098 #15 of 18 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections