RecMem: Recurrent Memory Compression for Long-Sequence Generative Recommendation
Haoyi Hu, Gaoyang Guo, Yunjia Xi, Wen Chen, Weiwen Liu, Jian Wu, Yuning Jiang, Weinan Zhang
Abstract
Generative recommendation benefits from long interaction histories, but the cost of processing them directly grows with history length. We propose RecMem, a recurrent memory compression framework guided by three desiderata: space invariance, semantic fidelity, and lifelong evolvability. RecMem compresses historical segments into a fixed set of memory slots using a bifurcated encoder-decoder with shared lower layers and slot-wise forget-gated updates. Recommendation supervision trains the memory to preserve predictive information, while stream-consistency training aligns predictions from sequential and packed processing. By construction, the memory state and decoder context are independent of history length; under contraction and approximate semigroup consistency, we further derive a horizon-independent bound on the state discrepancy between these two processing orders. On MerRec, RecMem uses 16 memory slots and a 216-token decoder context, compared with 1,200 tokens for HSTU-1200, while retaining 87.9% of HSTU-1200's Recall@10 and 97.0% of its Recall@200. It outperforms PHSTU and the evaluated recent-only and retrieval baselines, and analyses of distant history show that archived interactions contribute predictive signal.
Create a lesson
Related papers
Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory
Shared title terminology · Bao Pham
Learning to Reason with Predictive Gains for Generative Recommendation
Shared title terminology · Zhuoyang Li, Teng Shi, Jiakai Tang et al.
AdMem: Expectation-Grounded Procedural Memory for Long-Horizon Task-Solving Agents
Shared title terminology · Runzhe Wang, Huilin Lu, Shengjie Liu et al.
VAHBench: A Harness Benchmark for Agentic Long-Video Generation
Shared title terminology · Hongbo Zhang, Liuyang Song, Hang Zhou et al.
Mem2Fair: Online Fairness Control for Text-to-Video Generation via Fair Memory
Shared title terminology · Pengyu Chen, Jiaming Zhang, Xiaohua Feng et al.
Découpage: Directorial Audio-Visual Control for Long Multi-Shot Video Generation
Shared title terminology · Yifan Wang, Hao Ouyang, Qiuyu Wang et al.