SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.14017 · 2024

EAGER: Two-Stream Generative Recommender with Behavior-Semantic Collaboration

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 11 functions out of this paper's own repositories and ran 9 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
yewzz/EAGER canonical 9 of 11
FunctionStatusWhere it lives
cal_nll_loss Ran yewzz/EAGER/EAGER/lib/HF_Model.py
pointer only (licence: NONE) · get_code("944878bfabf57548")
f_measure Ran yewzz/EAGER/EAGER/train_din.py
pointer only (licence: NONE) · get_code("3146f2599952c1b8")
f_measure Ran yewzz/EAGER/EAGER/train_rec.py
pointer only (licence: NONE) · get_code("626c9395b624179e")
info_nce Ran yewzz/EAGER/EAGER/lib/HF_Model.py
pointer only (licence: NONE) · get_code("b4a92ef31fda7e78")
initialize Ran yewzz/EAGER/EAGER/lib/KmeansTree.py
pointer only (licence: NONE) · get_code("74f85d8cb945ff78")
pairwise_distance_function Ran yewzz/EAGER/EAGER/lib/KmeansTree.py
pointer only (licence: NONE) · get_code("95b98702324fcb30")
presision Ran yewzz/EAGER/EAGER/train_din.py
pointer only (licence: NONE) · get_code("4552c16201e8e4b0")
recall Ran yewzz/EAGER/EAGER/train_din.py
pointer only (licence: NONE) · get_code("61f08da1a0a17b25")
transpose Ran yewzz/EAGER/EAGER/lib/HF_Model.py
pointer only (licence: NONE) · get_code("55f1419d4d8c483c")
cut Not yet run yewzz/EAGER/EAGER/lib/generate_train_and_test_data.py
pointer only (licence: NONE) · get_code("7a6c7633bb7110ea")
kmeans_equal Not yet run yewzz/EAGER/EAGER/lib/KmeansTree.py
pointer only (licence: NONE) · get_code("82efa6f04d934e54")

Repositories linked to this paper

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

Abstract

Generative retrieval has recently emerged as a promising approach to sequential recommendation, framing candidate item retrieval as an autoregressive sequence generation problem. However, existing generative methods typically focus solely on either behavioral or semantic aspects of item information, neglecting their complementary nature and thus resulting in limited effectiveness. To address this limitation, we introduce EAGER, a novel generative recommendation framework that seamlessly integrates both behavioral and semantic information. Specifically, we identify three key challenges in combining these two types of information: a unified generative architecture capable of handling two feature types, ensuring sufficient and independent learning for each type, and fostering subtle interactions that enhance collaborative information utilization. To achieve these goals, we propose (1) a two-stream generation architecture leveraging a shared encoder and two separate decoders to decode behavior tokens and semantic tokens with a confidence-based ranking strategy; (2) a global contrastive task with summary tokens to achieve discriminative decoding for each type of information; and (3) a semantic-guided transfer task designed to implicitly promote cross-interactions through reconstruction and estimation objectives. We validate the effectiveness of EAGER on four public benchmarks, demonstrating its superior performance compared to existing methods.

For agents

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

get_harvested_code_for_paper("2406.14017")
get_code_for_paper("2406.14017")
have("2406.14017")

Connect an agent — have() is free.