potentialpaper

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

RecMem recurrently compresses archived interaction segments into fixed memory slots while retaining a recent explicit window, giving constant decoder context. On MerRec it substantially outperforms PHSTU at a similar decoder-token budget. The reviewers agree that the problem is important and the method promising, but raise consistent concerns about the strength and scope of the evidence.

The decision turns on three issues. First, the rollout theorem is conditional on contraction and semigroup-consistency assumptions; the architecture and output-level KL objective encourage, but do not establish, these properties, and fixed memory size does not itself prove semantic fidelity. Second, the comparison may not be capacity matched: the description appears to use 8 shared, 8 encoder, and 8 decoder layers, while the baselines are described as 16-layer models. Third, the extended HSTU “Oracle” uses only the most recent 1,200 interactions, so it is not a full-history oracle, and the current evaluation does not isolate whether genuinely distant history remains useful.

Please address:

  1. State precisely which properties are proved, assumed, or observed, explain how the reported contraction and consistency quantities were estimated, and narrow the abstract and conclusion where necessary.

  2. Report unique parameter counts and clarify the layer sharing. Provide any existing shared-stack or parameter-matched control, and clarify whether Eq. 5 uses one broadcast scalar gate or a genuinely slot-wise gate.

  3. Clarify the history available to HSTU and PHSTU at each test position and provide any existing matched-history result or compact diagnostic showing benefit from old interactions rather than only recent history.

  4. Position RecMem against the closest fixed-state or teacher-guided alternatives and report any available serving latency or memory results. Otherwise, narrow the state-of-the-art and efficiency claims. The small stream-consistency gains should also be supported across independent runs or qualified.

Convincing answers could move the recommendation to Accept (poster)otherwise, the strongest claims remain insufficiently supported.

Final justification

the authors address the main concerns in the initial meta-review through capacity-matched controls, distant-history diagnostics, a full-prefix comparison, a retrieval baseline, serving measurements, an independent run, and substantially longer-horizon evaluation, while appropriately narrowing the theoretical claims. The remaining limitations concern scope rather than correctness of the central contribution. I therefore revise my recommendation from Reject to Accept (poster).

Area Chair BgCD · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

RecMem recurrently compresses archived interaction segments into fixed memory slots while retaining a recent explicit window, giving constant decoder context. On MerRec it substantially outperforms PHSTU at a similar decoder-token budget. The reviewers agree that the problem is important and the method promising, but raise consistent concerns about the strength and scope of the evidence.

The decision turns on three issues. First, the rollout theorem is conditional on contraction and semigroup-consistency assumptions; the architecture and output-level KL objective encourage, but do not establish, these properties, and fixed memory size does not itself prove semantic fidelity. Second, the comparison may not be capacity matched: the description appears to use 8 shared, 8 encoder, and 8 decoder layers, while the baselines are described as 16-layer models. Third, the extended HSTU “Oracle” uses only the most recent 1,200 interactions, so it is not a full-history oracle, and the current evaluation does not isolate whether genuinely distant history remains useful.

Please address:

  1. State precisely which properties are proved, assumed, or observed, explain how the reported contraction and consistency quantities were estimated, and narrow the abstract and conclusion where necessary.

  2. Report unique parameter counts and clarify the layer sharing. Provide any existing shared-stack or parameter-matched control, and clarify whether Eq. 5 uses one broadcast scalar gate or a genuinely slot-wise gate.

  3. Clarify the history available to HSTU and PHSTU at each test position and provide any existing matched-history result or compact diagnostic showing benefit from old interactions rather than only recent history.

  4. Position RecMem against the closest fixed-state or teacher-guided alternatives and report any available serving latency or memory results. Otherwise, narrow the state-of-the-art and efficiency claims. The small stream-consistency gains should also be supported across independent runs or qualified.

Convincing answers could move the recommendation to Accept (poster)otherwise, the strongest claims remain insufficiently supported.

Final justification

the authors address the main concerns in the initial meta-review through capacity-matched controls, distant-history diagnostics, a full-prefix comparison, a retrieval baseline, serving measurements, an independent run, and substantially longer-horizon evaluation, while appropriately narrowing the theoretical claims. The remaining limitations concern scope rather than correctness of the central contribution. I therefore revise my recommendation from Reject to Accept (poster).

3 comments
Authors · CommentOpenReview ↗

Response to the Area Chair — Part 1/2: theory, capacity, and gate

1. What the theorem establishes and how the diagnostics relate to it.

The three desiderata have different support. Space invariance is architectural: fixed M,d,LrM,d,L_r give an M×dM\times d state and M+LrM+L_r decoder tokens regardless of history length. Semantic fidelity is empirical: because the archived prefix reaches the decoder only through MKM_K, recommendation supervision trains this fixed-capacity state to preserve predictive signals, as evaluated by recommendation quality and the Part 2 controls. Lifelong evolvability is addressed by the conditional rollout theorem, which compares sequential and packed processing of the same history.

The theorem assumes contraction, sup⁡M,S∥∂U(M,S)/∂M∥2≤ρ<1\sup_{M,S}\|\partial U(M,S)/\partial M\|_2\leq\rho<1, and approximate semigroup consistency, ∥U(U(M,A),B)−U(M,A⊕B)∥F≤ε\|U(U(M,A),B)-U(M,A\oplus B)\|_F\leq\varepsilon. The first controls how an existing state discrepancy propagates; the second controls the new discrepancy caused by regrouping adjacent segments. For ek=∥Mkseq−Mkpack∥Fe_k=\|M_k^{\mathrm{seq}}-M_k^{\mathrm{pack}}\|_F:

ek+1≤ρek+ε⟹eK≤ε1−ρK1−ρ≤ε1−ρ.e_{k+1}\leq \rho e_k+\varepsilon \quad\Longrightarrow\quad e_K\leq\varepsilon\frac{1-\rho^K}{1-\rho} \leq\frac{\varepsilon}{1-\rho}.

For ρ<1\rho<1, each update damps the discrepancy already accumulated before adding the new gap ε\varepsilon. The errors therefore form a geometric series rather than growing linearly with KK, giving the theorem's history-length-independent stability result.

We estimate ρ^\widehat\rho at rollout-reached states by randomized finite differences: a unit Gaussian direction, δ=10−3\delta=10^{-3}, and two refinement steps, averaged over users at five positions in each K=5K=5 rollout and 20 validation batches. This asks whether a memory perturbation is amplified or damped by the next update. Main/Stream give 0.630/0.6380.630/0.638, both below one: sampled perturbations are attenuated, as required for error damping.

ε^\widehat\varepsilon asks how sensitive the update is to segmenting the same history differently. It compares processing adjacent segments A,BA,B in two updates, U(U(M,A),B)U(U(M,A),B), with processing their concatenation once, U(M,A⊕B)U(M,A\oplus B). The submitted K=5K=5 averages over four adjacent pairs and 20 batches are raw Frobenius gaps of 7.186/7.2007.186/7.200; over the 16×256=4,09616\times256=4{,}096 state coordinates, these equal RMS differences of 0.112/0.1130.112/0.113 per coordinate.

To report dispersion rather than only a batch average, an expanded consistency check covers Main/Stream, seeds 42/123, and 160 users/cell. At K=5K=5, dimension-normalized median gaps are 0.0790.079–0.1030.103 and p95 values are 0.1110.111–0.1470.147; across K∈{5,9,14}K\in\{5,9,14\}, medians remain 0.0790.079–0.1050.105. Thus the regrouping gap stays on the same scale as the horizon grows. Together, ρ^\widehat\rho and these gaps probe the two proof mechanisms: damping existing errors and controlling newly introduced ones.

We will title the result Rollout Stability under Contraction and Approximate Semigroup Consistency and revise the abstract/conclusion accordingly: RecMem guarantees a history-independent state and decoder context by construction; the KK-independent discrepancy bound follows under the two stated conditions; and preservation of predictive historical information is established empirically on MerRec.

2. Layer sharing, parameter capacity, and Eq. 5.

SplitTop has 8 shared, 8 encoder-specific, and 8 decoder-specific blocks: 24 unique blocks, but active depth 16/path. Counting shared parameters once:

Model Unique trainable params. Unique blocks Active depth
HSTU-1200 327.005M 16 16
PHSTU 327.217M 16 16
RecMem-SharedStack-16 327.283M 16 16
RecMem-SplitTop 329.906M 24 16/path

SharedStack-16 reuses one 16-block update/decode stack while retaining recurrent memory and its training objective:

Model R@10 R@50 N@10 R@200
PHSTU 32.740 48.580 20.450 61.100
RecMem-SharedStack-16 41.568 58.611 26.505 70.556
RecMem-SplitTop 42.362 60.119 26.743 72.196

SharedStack-16 is our primary capacity control: it has the same active depth of 16 and only 65,552 more trainable parameters than PHSTU (0.020%), yet retains the main gain. Thus the gain does not depend on SplitTop's eight extra unique blocks. We will also report a complementary SplitTop-6/5/5 control (6 shared/5 encoder/5 decoder; 16 unique, 11 active/path) in a follow-up comment; it preserves bifurcation while removing those extra blocks.

Eq. 5 has a notation error. The implementation uses gt=σ(Wgsˉt+bg)∈(0,1)M\mathbf g_t=\sigma(W_g\bar{\mathbf s}_t+\mathbf b_g)\in(0,1)^M and Gt=gt1d⊤G_t=\mathbf g_t\mathbf1_d^\top: one scalar per slot, broadcast only over its dimensions. We will correct the equation and description.

Authors · CommentOpenReview ↗

Response to the Area Chair — Part 2/2: history, alternatives, and efficiency

3. History visibility and distant-history evidence.

Under the standard protocol, targets are t∈[1200,2000)t\in[1200,2000):

  • HSTU-1200 receives only Xt−1200:tX_{t-1200:t}.
  • PHSTU accesses X0:tX_{0:t} using growing segment-level user-token/KV state.
  • RecMem processes X0:tX_{0:t} into M=16M=16 recurrent slots plus at most 200 explicit recent interactions.
  • HSTU-Recent-200 is a separately trained control receiving only Xt−200:tX_{t-200:t}.

For extended targets t∈[1200,3000)t\in[1200,3000), the existing HSTU baseline still sees only the latest 1,200 interactions, whereas PHSTU and RecMem process the visible prefix. We therefore relabel the existing “HSTU Oracle” result as HSTU-1200 for clarity and will report an additional full-prefix HSTU comparison in a follow-up Official Comment.

HSTU-Recent-200 was trained from scratch with the same users, split, 800 targets, anchors, and candidate protocol:

Model R@10 R@50 N@10 R@200
HSTU-Recent-200 40.929 56.588 26.161 67.742
RecMem-Main 42.273 59.952 26.659 71.962
RecMem-Stream 42.362 60.119 26.743 72.196

Versus this recent-only baseline, Main improves R@10 and R@200 by +1.344+1.344 and +4.220+4.220 points, respectively; Stream improves them by +1.433+1.433 and +4.454+4.454 points.

We also performed a post-hoc matched-anchor analysis without changing training/inference. “Archived-only” means the target occurred outside, but not inside, the recent 200; its last occurrence is divided into newest 20%, middle 60%, and oldest 20% of the visible prefix. Values are RecMem minus HSTU-Recent-200 R@10 points with 2,000 user-clustered bootstraps:

Cohort Anchors Main difference [95% CI] Stream difference [95% CI]
Archived-newest 2,898,654 +4.413 [4.368, 4.460] +4.576 [4.532, 4.623]
Archived-middle 7,593,974 +2.169 [2.145, 2.194] +2.353 [2.327, 2.378]
Archived-oldest 1,044,050 +0.984 [0.931, 1.037] +1.188 [1.133, 1.241]
Archived-only 11,536,678 +2.626 [2.605, 2.647] +2.806 [2.785, 2.827]
No-recurrence 20,786,602 +0.318 [0.309, 0.327] +0.433 [0.423, 0.443]

On archived-only anchors, N@10 improves by 1.3531.353 points for Main (95% CI [1.343,1.364][1.343,1.364]) and 1.4591.459 for Stream ([1.448,1.470][1.448,1.470]). The oldest-20% result supports exact-item utility outside the recent window, not lossless retention or much longer histories. See Reviewer 2, Q1 and Reviewer 3, Q2.

4. Closest alternatives, efficiency, and independent runs.

Rec2PM-O is the closest teacher-guided fixed-state alternative. It trains one-step overwriting updates against self-generated global reference memories; RecMem combines recurrent updates with recommendation supervision and sequential/packed output consistency, without a full-prefix reference target. A matched Rec2PM-O comparison will be reported in a follow-up Official Comment.

Available systems evidence is a controlled model-forward GPU benchmark: bfloat16, batch 64, three warm-ups, 20 repetitions, available history 2,000:

Model Warm latency (ms) Throughput (users/s) Peak allocated GPU memory (GB) Retained state/user
RecMem 7.653 8,363 1.585 8 KiB
HSTU-1200 106.613 600 6.285 None
PHSTU 9.245 6,923 1.586 432 KiB

Relative to HSTU-1200, RecMem has 92.8% lower warm latency, 13.9×13.9\times higher throughput, and 74.8% lower peak allocated GPU memory. Relative to PHSTU, it has 17.2% lower warm latency, 20.8% higher throughput, and a 54×54\times smaller retained recurrent state. Thus, under the same GPU benchmark, RecMem is substantially faster and more memory-efficient than HSTU-1200, while also improving latency and throughput over PHSTU with a much smaller retained state.

We additionally repeated the Main/Stream comparison in an independent run with seed 123. Stream again improves over Main on all four metrics: +0.813+0.813 R@10, +0.692+0.692 R@50, +0.649+0.649 N@10, and +0.577+0.577 R@200 points. Together, these completed results support RecMem's efficiency advantage under the controlled GPU benchmark and show a positive Stream-over-Main direction across both evaluated seeds.

Authors · CommentOpenReview ↗

Follow-up experimental results for the Area Chair

1. Near-capacity-matched SplitTop-6/5/5 control.

To test whether RecMem's improvement can be explained simply by model capacity, we completed the promised SplitTop-6/5/5 control: 6 shared lower blocks, 5 encoder-specific upper blocks, and 5 decoder-specific upper blocks. It has 16 unique blocks, 11 active blocks per path, and 327.342M trainable parameters, only 0.038% more than PHSTU.

Model Trainable params. Unique blocks R@10 R@50 N@10 R@200
PHSTU 327.217M 16 32.740 48.580 20.450 61.100
SplitTop-6/5/5 327.342M 16 42.055 59.471 26.326 71.354

Under this near-matched capacity, SplitTop-6/5/5 improves over PHSTU by +9.315/+10.891/+5.876/+10.254 points on R@10/R@50/N@10/R@200. The advantage therefore persists when RecMem and the baseline have nearly identical trainable parameter counts and the same number of unique blocks, ruling out extra parameter or block count alone as the explanation for the gain.

2. HSTU-FullPrefix comparison.

We also completed the promised HSTU-FullPrefix comparison under the standard evaluation targets t∈[1200,2000)t\in[1200,2000). Unlike HSTU-1200, it processes the growing raw prefix X0:tX_{0:t}.

Model History representation R@10 R@50 N@10
HSTU-FullPrefix Growing raw prefix 48.981 65.636 32.316
RecMem-Stream Fixed 16-slot state + recent 200 42.362 60.119 26.743

RecMem-Stream therefore preserves 86.5%/91.6%/82.8% of HSTU-FullPrefix performance on R@10/R@50/N@10 while retaining a history-length-independent recurrent state and decoder context. This comparison quantifies the trade-off: full-prefix access provides additional headroom, whereas RecMem operates with fixed serving state.

3. Teacher-guided and retrieval alternatives.

We attempted the promised Rec2PM-O teacher-guided comparison through our reimplementation based on the paper. Because no official implementation or checkpoint is available, our current run did not reach a reliable accuracy level. We therefore treat this as an unresolved issue in our reproduction and training setup rather than evidence about Rec2PM-O, and do not include the unstable numbers in the quantitative comparison. We will continue auditing the training pipeline and tuning the reproduction.

In parallel, we completed Ret-HSTU-16 as a verifiable alternative, inspired by the retrieval-augmented sequential recommendation paradigm of RUEL (Wu et al., CIKM 2023). At each prediction anchor, Ret-HSTU-16 retrieves 16 relevant historical item occurrences exclusively from the current user's own distant history, strictly before the recent 200-item window. It prepends these occurrences to the recent 200 items, forming a 216-token input for an otherwise matched HSTU predictor; neither the target item nor any future interaction is accessible to retrieval:

Model R@10 R@50 N@10 R@200
HSTU-Recent-200 40.929 56.588 26.161 67.742
Ret-HSTU-16 41.030 57.544 26.533 68.839
RecMem-Main 42.273 59.952 26.659 71.962
RecMem-Stream 42.362 60.119 26.743 72.196

Ret-HSTU-16 improves over HSTU-Recent-200 on all four metrics, confirming that explicit retrieval from archived history is useful. RecMem-Stream further improves over Ret-HSTU-16 by +1.332/+2.575/+0.210/+3.357 points on R@10/R@50/N@10/R@200. Thus, the completed retrieval baseline supports the value of old interactions while showing that RecMem captures additional predictive history beyond what this 16-occurrence retrieval baseline recovers.

Reviewer a6RzOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes RecMem, a recurrent memory compression method for long-sequence generative recommendation. The approach partitions a user's long-term history into multiple segments and progressively compresses historical prefixes into a fixed number of memory slots via recurrent updates, while retaining the most recent interaction sequence to capture short-term interests. The model adopts a bifurcated encoder-decoder architecture, combining forget-gated memory updates with a stream consistency loss to model long-term user preferences under a fixed decoder context budget. Experiments on the MerRec dataset demonstrate that RecMem outperforms PHSTU under comparable context budgets and approaches the full-history HSTU Oracle on several metrics.

Strengths and weaknesses

Strengths

  1. This paper addresses the practically important challenge of efficiently modeling long user histories in generative recommendation, directly tackling the context explosion issue inherent in full-history Transformers.

  2. RecMem compresses long-term history into a fixed number of memory slots while preserving a recent window for short-term interest modeling—an intuitive approach that aligns well with the task requirements.

  3. Compared to segment-based memory methods, RecMem's decoder-side context does not grow with history length, offering a clear advantage in memory efficiency.

  4. Under comparable context budgets, RecMem substantially outperforms PHSTU and approaches the full-history HSTU Oracle on several recall metrics, indicating that fixed memory slots can effectively preserve long-term predictive signals.

  5. The paper provides theoretical analysis and extensive ablation experiments covering memory importance, write mechanisms, memory capacity, curriculum training, and stability verification, which collectively shed light on the role of each model component.

Weakness:

  1. The experiments primarily compare against HSTU-based methods such as HSTU Oracle and PHSTU, while the long-sequence and lifelong user behavior modeling literature contains a broad range of non-HSTU approaches, including recurrent memory models, retrieval-augmented methods, state space models, retention-based architectures, and other long-context compression techniques. Restricting comparisons to HSTU variants makes it difficult to establish RecMem's advantages over the broader landscape of long-sequence modeling methods.

  2. The extended evaluation protocol only tests up to a history length of 3,000, whereas real-world production recommendation systems are already exploring user behavior sequences on the scale of tens or even hundreds of thousands. Whether the fixed 16 memory slots would suffer from capacity saturation, long-term interest forgetting, error accumulation, or update instability under substantially longer histories remains insufficiently evidenced. As such, the current experiments do not yet provide adequate support for a strong "lifelong" claim.

  3. The stability theorem requires the update operator to satisfy contraction and approximate semigroup consistency, yet the paper does not rigorously prove that RecMem satisfies these conditions—it only encourages such properties through model design and training objectives. Similarly, semantic fidelity is primarily justified through the fixed-capacity bottleneck and recommendation loss, without a formal proof. Consequently, the theoretical results read more as a conditional analysis rather than a direct guarantee of the model's capabilities.

  4. As the authors acknowledge in the limitations section, the current memory slots are fixed in number; adaptive capacity adjustment would be more practically meaningful, particularly for the two markedly different scenarios of cold-start users and long-term active users. Exploring dynamic or conditional memory allocation mechanisms could further enhance the model's adaptability across different stages of the user lifecycle.

Questions

See Weakness.

Limitations

Yes.

Final justification

Many thanks for the authors' response. Most of my concerns have been addressed, I would like to maintain my current rating.

Formatting concerns

No

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for distinguishing the structural fixed-state contribution from the broader claims about baselines, lifelong quality, and adaptive capacity. We will revise the paper around exactly this distinction.

1. Positioning against the broader baseline landscape

Our primary comparison is intentionally controlled: RecMem, HSTU, and PHSTU use the same HSTU generative-recommendation family, which isolates the history-representation mechanism and decoder-context budget. This controlled comparison does not establish superiority over every recurrent-memory, retrieval, retention, state-space, or KV-compression family. We will expand the comparison of their assumptions and serving trade-offs in Related Work and remove broad “state-of-the-art” wording.

2. What the 3,000-interaction evaluation supports

Two different statements should not be conflated:

  • Structural scaling: for fixed M,d,LrM,d,L_r, RecMem's retained state is M×dM\times d and its decoder context is M+LrM+L_r, independent of history length. With M=16,d=256,Lr=200M=16,d=256,L_r=200, this is 8 KiB/user in bfloat16 and 216 decoder tokens.
  • Empirical quality: the current recommendation evaluation covers histories up to 3,000 interactions. It supports long-sequence extrapolation over this tested range, not non-saturation or error-free behavior at tens of thousands of interactions.

We will replace the broad “lifelong” claim with this structural statement plus the explicitly tested empirical horizon.

3. Conditional theorem and semantic fidelity

We will rename the theorem “Rollout Stability under Contraction and Approximate Semigroup Consistency.” It proves that uniform ρ<1\rho<1 and composition error at most ε\varepsilon imply

∥MKseq−MKpack∥F≤ε/(1−ρ).\|M_K^{\mathrm{seq}}-M_K^{\mathrm{pack}}\|_F \le \varepsilon/(1-\rho).

It does not prove that every trained RecMem checkpoint satisfies those premises, that fixed memory preserves all semantics, or that recommendation quality cannot degrade.

Our local diagnostics are checkpoint-level observations and do not provide a uniform contraction certificate. We therefore present the theorem strictly as a conditional analysis and remove wording that treats its premises or semantic fidelity as established facts.

4. Fixed versus adaptive capacity

The current method deliberately fixes MM to make state and decoder cost history-independent. The existing M={8,16,32}M=\{8,16,32\} sweep finds M=16M=16 best in the tested configuration, showing that more slots are not automatically better. We agree that conditional capacity allocation could better serve cold-start and long-active users. This mechanism is not implemented or validated in the current paper, so we will state adaptive memory capacity as a limitation and future direction rather than imply that fixed MM is universally optimal.

Authors · CommentOpenReview ↗

Since our initial response, we have carefully rechecked the implementation and evaluation protocols and completed additional analyses directly addressing the concerns in your review. To avoid ambiguity, please treat the verified results and clarifications below as our updated and consolidated response, which supersedes our initial reply.

Q1. Broader baseline landscape. The HSTU-family comparison controls the backbone and evaluation protocol while varying history representation: HSTU-1200 uses an explicit window, PHSTU growing segment-level user-token/KV state, and RecMem a fixed recurrent state. It therefore isolates RecMem's compression mechanism.

Under matched conditions, we are adding Rec2PM-O (our reimplementation), which learns teacher-guided fixed-state overwriting against global reference memories rather than RecMem's recurrent recommendation/consistency training, and Ret-HSTU-16, which queries a strictly pre-recent, target-free archive with the recent 200 and retrieves 16 items. We will report both verified comparisons in a follow-up Official Comment. Together, they test learned state overwriting and explicit archived-history retrieval as alternatives to RecMem.

Q2. Evaluated horizon and fixed-slot saturation. This concern involves two distinct properties. For fixed M,d,LrM,d,L_r, RecMem's M×dM\times d state and M+LrM+L_r decoder-token context are history-length independent by construction. Whether recommendation quality remains stable as the history grows is an empirical question.

For extended targets t∈[1200,3000)t\in[1200,3000), HSTU-1200 sees only the latest 1,200 interactions; PHSTU sees the full prefix; RecMem recurrently processes the complete evaluator-visible prefix. We will relabel the submitted “HSTU Oracle” as HSTU-1200 and report a true full-prefix HSTU comparison in a follow-up Official Comment. Across the 1,800 extended targets:

Model R@10 R@200
PHSTU 37.64 64.02
RecMem-Main 41.45 70.67
RecMem-Stream 41.58 70.96

Stream therefore improves over PHSTU by +3.94+3.94 R@10 and +6.94+6.94 R@200 points. A separate matched-anchor analysis further finds that, even when the target item's last occurrence lies in the oldest 20% of the visible prefix, Stream exceeds the recent-only control by +1.188+1.188 R@10 (95% CI [1.133,1.241][1.133,1.241]). These results probe capacity saturation and forgetting; Q3's directional-gain and composition-gap diagnostics probe error amplification and update stability. Through 3,000 interactions, we observe neither quality collapse nor complete loss of the oldest archived exact-item signal.

We are extending the same trained Main/Stream checkpoints, with fixed MM and no retraining, to a fixed cohort through 10,000 interactions; verified results will follow in an Official Comment. We will distinguish the history-length-independent state/context guarantee from recommendation quality, whose empirical boundary will be stated at the longest evaluated horizon.

Q3. Conditional theory and semantic fidelity. The theorem concerns processing-order stability: it compares sequential and packed processing of the same history. If the update is contractive and its approximate-semigroup error is at most ε\varepsilon, then:

ek=∥Mkseq−Mkpack∥F,ek+1≤ρek+ε⟹eK≤ε1−ρK1−ρ≤ε1−ρ.e_k=\lVert M_k^{\mathrm{seq}}-M_k^{\mathrm{pack}}\rVert_F,\qquad e_{k+1}\leq\rho e_k+\varepsilon \quad\Longrightarrow\quad e_K\leq\varepsilon\frac{1-\rho^K}{1-\rho}\leq\frac{\varepsilon}{1-\rho}.

Contraction damps previously accumulated discrepancy, while ε\varepsilon controls the new discrepancy introduced by regrouping adjacent segments; the errors therefore form a geometric series rather than growing linearly with KK.

The submitted randomized finite-difference probe estimates directional amplification at rollout-reached states. Main/Stream give ρ^=0.630/0.638\widehat\rho=0.630/0.638, indicating that sampled perturbations are attenuated by the next update. The corresponding dimension-normalized composition-gap medians are 0.0790.079–0.1030.103 at K=5K=5 (p95 0.1110.111–0.1470.147) and remain 0.0790.079–0.1050.105 through K=14K=14. These diagnostics empirically support the damping and regrouping-consistency mechanisms on the evaluated rollouts. Predictive fidelity is established separately by recommendation quality and the distant-history controls above.

We will title the result Rollout Stability under Contraction and Approximate Semigroup Consistency and revise the abstract/conclusion accordingly: fixed state/context is architectural, the KK-independent discrepancy bound is conditional on the stated premises, and preservation of predictive historical information is empirical.

Q4. Adaptive capacity. We agree that adapting memory capacity to users at different lifecycle stages is an important and practically meaningful direction. We will explore conditional slot allocation for cold-start and long-term active users in future work.

Reviewer a6Rz · CommentOpenReview ↗

Many thanks for the authors' response. I would like to maintain my current rating.

Authors · CommentOpenReview ↗

Follow-up experimental results for Reviewer 3

Thank you for your follow-up and for taking the time to consider our response. We appreciate your feedback. For completeness, we report below the outcomes of the supplementary experiments conducted after our previous response.

We attempted the promised Rec2PM-O teacher-guided comparison through our reimplementation based on the paper. Because no official implementation or checkpoint is available, our current run did not reach a reliable accuracy level. We therefore treat this as an unresolved issue in our reproduction and training setup rather than evidence about Rec2PM-O, and do not include the unstable numbers in the quantitative comparison. We will continue auditing the training pipeline and tuning the reproduction.

Additional retrieval-augmented baseline.

In parallel, we completed the promised Ret-HSTU-16 comparison as a verifiable alternative, inspired by the retrieval-augmented sequential recommendation paradigm of RUEL (Wu et al., CIKM 2023). At each prediction anchor, Ret-HSTU-16 retrieves 16 relevant historical item occurrences exclusively from the current user's own distant history, strictly before the recent 200-item window. It prepends these occurrences to the recent 200 items, forming a 216-token input for an otherwise matched HSTU predictor; neither the target item nor any future interaction is accessible to retrieval.

Model R@10 R@50 N@10 R@200
HSTU-Recent-200 40.929 56.588 26.161 67.742
Ret-HSTU-16 41.030 57.544 26.533 68.839
RecMem-Main 42.273 59.952 26.659 71.962
RecMem-Stream 42.362 60.119 26.743 72.196

Ret-HSTU-16 improves over HSTU-Recent-200 by +0.101/+0.956/+0.372/+1.097 points on R@10/R@50/N@10/R@200, confirming that explicit access to archived interactions provides useful predictive information. RecMem-Stream further improves over Ret-HSTU-16 by +1.332/+2.575/+0.210/+3.357 points. Thus, retrieved old interactions help, but the fixed recurrent state captures additional predictive history beyond what this 16-occurrence retrieval baseline recovers under the same evaluation protocol.

Long-history stability with a fixed 16-slot state.

We additionally evaluated the same trained RecMem-Stream checkpoint, with the memory size fixed at 16 and without retraining, on a fixed cohort of 6,442 users through 10,000 interactions. The separately executed 5k evaluation agrees exactly with the 10k evaluation on all 3,800 overlapping positions and all reported metrics. The absolute values differ from the standard 2k experiment because that result is averaged over the full 119,754-user evaluation cohort, whereas the long-history analysis uses the fixed 6,442-user cohort with sufficiently long sequences. We therefore assess the effect of accumulated recurrent updates through matched positional comparisons within this long-history cohort:

Positions within the 10k evaluation R@10 R@50 N@10 R@200
1,200–1,999 40.519 57.736 25.632 69.867
2,000–4,999 40.644 57.911 25.744 70.032
5,000–7,499 40.684 57.999 25.741 70.154
7,500–9,999 40.689 58.137 25.726 70.379

Across this matched cohort, the later positions remain at least as strong as the initial 1,200–1,999 interval on all four metrics. Thus, with the memory state fixed at 16 slots, we observe no recommendation-quality collapse or empirical sign of capacity saturation, long-term forgetting, or accumulated-update instability through 10,000 interactions.

Reviewer 32zXOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The manuscript introduces Recurrent Memory Compression (RecMem), a framework designed to enable long-sequence generative recommendation while bypassing context explosion bottlenecks in Transformer-based systems. The architecture divides the user interaction stream into a recent explicit suffix window and an archived history prefix, chunking the prefix into non-overlapping segments. Experiments on the MerRec benchmark demonstrate improved recommendation performance while maintaining constant inference context size.

Strengths and weaknesses

Strengths:

  1. The paper directly tackles a highly critical and timely problem in modern recommendation systems: managing long-sequence user histories and optimizing memory selection/updates. Resolving this bottleneck has immediate practical significance for industry-scale deployment.
  2. The authors provide clear proofs demonstrating contractive behavior and bounded cumulative rollout errors.
  3. Extensive experiments successfully verify both the effectiveness and computational efficiency of the proposed method.

Weaknesses:

  1. The evaluation is restricted as the experiments only utilize one specific type of data (MerRec). Testing across a broader variety of data domains (e.g., highly sparse datasets, or datasets with varied item distribution structures) is necessary to fully prove the method's generalizability.
  2. A major concern lies in whether the continuous memory updates implicitly favor recent interactions or segments over distant ones. The manuscript lacks dedicated, granular experiments to verify long-term memory fidelity and prove that crucial information from distant interactions is not inadvertently wiped out or forgotten during stream compression.
  3. The framework currently only considers using raw item/user ID information. In modern generative environments, rich textual metadata (such as user profiles and item descriptions) is often available. It remains unverified whether the current memory module and gated update mechanism can function effectively when scaling up to accommodate these rich text semantics.

Minor: The authors need to proofread the paper to avoid small typos ie. line 283, page 7; and L2 in eq 7.

Questions

Does the streaming-based update mechanism of the gated differential codec inadvertently suffer from recency bias, where older interactions/segments are completely overwritten or faded out in favor of the newest items? To verify memory fidelity over deep horizons, please provide a micro-analysis or a small-scale experiment analyzing recommendation accuracy strictly on long-term dependencies (e.g., measuring Recall/NDCG specifically on ground-truth items that match patterns established in the oldest 20% of the sequence, compared to the newest 20%). Alternatively, an ablation or visualization of the forget-gate activation distributions over long horizons would help shed light on whether old slots are prematurely flushed.

Limitations

While the authors acknowledge certain limitations, several critical aspects remain unaddressed. Specifically, the paper lacks a detailed analysis of information loss within the streaming update mechanism and does not explore how varying memory lengths impact overall performance.

Final justification

I appreciate the author's addition of supplementary experiments to address some of my concerns, which gives me more confidence in my rating.

Formatting concerns

no

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for focusing on whether recurrent compression preserves useful signals beyond the recent window. We added a trained recent-history control and designed a matched exact-item analysis that addresses the same question by stratifying examples according to the recency of the target item's last prior occurrence.

Trained recent-history control

We trained a 16-layer HSTU-Recent-200 from scratch. It uses the same data split, target positions, and standard evaluation protocol, but each target can attend only to its most recent 200 raw interactions. All reported evaluations use the same 800 test positions and score 95,803,200 target-candidate pairs:

Method, seed 42 R@10 R@50 N@10 R@200
HSTU-Recent-200 0.40929 0.56588 0.26161 0.67742
RecMem-main 0.42273 0.59952 0.26659 0.71962
RecMem-stream 0.42362 0.60119 0.26743 0.72196

Relative to HSTU-Recent-200, RecMem-main improves R@10/R@50/N@10/R@200 by +0.01344/+0.03364/+0.00498/+0.04220; the Stream variant improves them by +0.01433/+0.03531/+0.00582/+0.04454. In this matched evaluation, RecMem therefore has higher recommendation accuracy than the trained 200-item control. This comparison does not, by itself, establish that the difference is caused by the recurrent state or identify which archived events supply useful evidence.

Exact-item recurrence-by-recency analysis

For that localization, we retain every evaluation anchor and classify it by the target item's last prior occurrence:

  • Recent-200;
  • Archived-newest, Archived-middle, or Archived-oldest;
  • No prior recurrence.

The three archived strata are also pooled into a primary Archived aggregate. We compare RecMem and HSTU-Recent-200 on the identical (user,target position)(\text{user},\text{target position}) anchors and report cohort counts, Recall/NDCG, paired deltas, and user-clustered bootstrap 95% confidence intervals.

The matched recurrence analysis is being finalized. We make no subgroup claim until its aggregation and user-clustered intervals are verified, and will report the verified results in a follow-up Official Comment.

Memory capacity, rich semantics, and presentation

The paper already varies M={8,16,32}M=\{8,16,32\} in a controlled capacity sweep; R@10 is 0.3365/0.3551/0.3518, with M=16M=16 the best tested setting. This shows a real capacity trade-off rather than a monotonic benefit from adding slots.

Our current evidence uses user/item IDs on MerRec. RecMem consumes embeddings and can mechanically accept richer representations, but we have not established that 16 slots preserve the diversity of long text or multimodal semantics. We will scope the empirical claim to sequential-ID recommendation and identify rich metadata as future evaluation. We will also correct the typo on page 7 and the notation around Eq. 7.

Authors · CommentOpenReview ↗

Since our initial response, we have carefully rechecked the implementation and evaluation protocols and completed additional analyses directly addressing the concerns in your review. To avoid ambiguity, please treat the verified results and clarifications below as our updated and consolidated response, which supersedes our initial reply.

Q1. Does recurrent compression overwrite distant history? RecMem's archived prefix can reach the decoder only through its M=16M=16 memory slots, whereas HSTU-Recent-200 sees the same explicit recent suffix but no archived state. Therefore, on targets whose previous occurrence lies only before the recent 200, a matched comparison tests whether the archived memory still provides predictive information.

First, we trained HSTU-Recent-200 from scratch with the same users, split, 800 targets, prediction anchors, and candidate protocol:

Model R@10 R@50 N@10 R@200
HSTU-Recent-200 40.929 56.588 26.161 67.742
RecMem-Main 42.273 59.952 26.659 71.962
RecMem-Stream 42.362 60.119 26.743 72.196

Versus this recent-only control, Main improves R@10 and R@200 by +1.344+1.344 and +4.220+4.220 points; Stream improves them by +1.433+1.433 and +4.454+4.454 points. Thus, under this protocol, the explicit recent window alone does not reproduce RecMem's result.

Second, without changing training or inference, we perform the requested age-stratified matched-anchor analysis. For every unchanged (user,target position)(\text{user},\text{target position}), we locate the target item's last prior occurrence. “Archived-only” means that this occurrence is outside the recent 200, with no recurrence inside that window; newest/middle/oldest denote the newest 20%, middle 60%, and oldest 20% of the visible prefix. Archived-only is the aggregate of these three age groups. All values below are absolute percentages on the same matched anchors.

Recall@10

Cohort Anchors HSTU-Recent-200 Main Stream
Archived-newest 2,898,654 13.641 18.054 18.217
Archived-middle 7,593,974 9.713 11.882 12.066
Archived-oldest 1,044,050 7.263 8.247 8.451
Archived-only 11,536,678 10.478 13.104 13.284

NDCG@10

Cohort Anchors HSTU-Recent-200 Main Stream
Archived-newest 2,898,654 6.112 8.347 8.447
Archived-middle 7,593,974 4.362 5.487 5.594
Archived-oldest 1,044,050 3.276 3.841 3.946
Archived-only 11,536,678 4.703 6.056 6.162

With 2,000 user-clustered bootstrap samples, Main's oldest-20% gains are +0.984+0.984 R@10 (95% CI [0.931,1.037][0.931,1.037]) and +0.565+0.565 NDCG@10 ([0.540,0.591][0.540,0.591]); Stream's are +1.188+1.188 R@10 ([1.133,1.241][1.133,1.241]) and +0.671+0.671 NDCG@10 ([0.645,0.697][0.645,0.697]). Although prediction becomes harder with interaction age, both variants retain significant gains over the matched recent-only control even in the oldest cohort. This provides direct evidence against complete overwriting of archived exact-item signals within the evaluated history range.

Memory capacity. Here MM is the persistent-state length, not the input-history truncation length.

MM R@10 R@50 N@10 N@50
8 33.65 45.22 22.27 24.84
16 35.51 46.38 23.41 25.83
32 35.18 46.14 23.13 25.58

M=16M=16 gives the best accuracy on every metric in this sweep while using half the persistent slot state of M=32M=32; it is therefore a measured quality-capacity choice rather than an arbitrary setting.

Additional scope. We agree that evaluation across additional domains is a valuable direction. MerRec provides a large-scale long-history setting, 119,754 users with at least 2,000 interactions and approximately 1.26 million items, for directly testing the long-context compression problem targeted by RecMem.

We agree that extending RecMem to rich textual semantics, such as user profiles and item descriptions, is an important and practically relevant direction. The current work focuses on the ID-based setting, and we will investigate how recurrent memory updates preserve such semantic information in future work. We will also correct the typo on page 7 and the notation around Eq. 7.

Reviewer gUGLOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes RecMem, a recurrent memory compression framework for long-sequence generative recommendation that maintains a fixed number of memory slots regardless of user history length. The method features a bifurcated encoder–decoder, a forget-gated memory update with per-step norm control, and a stream-consistency training objective to reduce order-sensitivity, along with a theoretical stability bound under mild assumptions. Experiments on the large-scale MerRec benchmark show that RecMem achieves substantially better accuracy than a strong segment-based memory baseline (PHSTU) while using constant decoder context, approaching the performance of an oracle full-context model with far fewer tokens.

Strengths and weaknesses

Strengths

Technical novelty and innovation

  • Introduces a clean, recurrent compression mechanism for generative recommendation with a fixed-capacity memory, directly addressing the context-wall challenge in seq2seq recommenders.
  • The bifurcated encoder–decoder enforces a task-aligned semantic bottleneck, which is a thoughtful design to prevent the memory from becoming an unconstrained cache.
  • The forget-gated overwrite with per-slot norm bounding and optional spectral normalization is a principled approach to induce contractive updates and stabilize long rollouts.
  • The stream-consistency objective (packing last two segments and aligning distributions) is a simple, pragmatic proxy to encourage approximate associativity of the update operator.

Experimental rigor and validation

  • Strong head-to-head comparison with PHSTU under comparable decoder budgets; RecMem consistently outperforms by large margins on multiple cutoffs.
  • Extended-horizon evaluation up to t = 3000 (2.5× training horizon) demonstrates stable performance and constant context budget, supporting the lifelong evolvability claim.
  • Ablations on write mechanisms (showing slot-collapse issues in alternatives), capacity (M), curriculum training, and a "no memory" variant provide informative insights.
  • Empirical verification of contraction-like behavior and bounded rollout error supports the theoretical framing.

Clarity of presentation

  • Well organized with a clear problem formulation, architectural description, training procedure, and theoretical analysis; assumptions and claims are laid out transparently.
  • Figures and equations are generally easy to follow; the role of each component (encoder/decoder split, gating, stream consistency) is well motivated.

Significance of contributions

  • Addresses a practically important bottleneck in generative recommendation: enabling long-term histories at constant serving cost without reliance on external teacher models.
  • The approach appears readily pluggable into transformer-based generative recommenders and could influence how production systems manage unbounded interaction logs.

Weaknesses

Technical limitations or concerns

  • The global stability bound relies on two assumptions: a contraction constant ρ < 1 and an "approximate semigroup" error ε. While contraction is encouraged architecturally, there is no formal guarantee; ε is trained via output KL rather than an explicit state metric, with no theoretical bridge from KL to state discrepancy.
  • The forget gate G_t is defined as a scalar (broadcast across all slots and dimensions), which seems at odds with the stated "slot-wise" update and may unduly limit slot-specific forgetting/adaptation capacity.
  • The benefit of the bifurcated encoder–decoder over a simpler shared stack is not quantified; absent an ablation, it is hard to separate its contribution from that of the recurrent memory itself.

Experimental gaps or methodological issues

  • Evaluation is limited to a single benchmark (MerRec). Additional datasets (e.g., Amazon domains, MovieLens/Netflix, or another large-scale industrial log) would strengthen generality claims.
  • Baseline coverage omits several relevant classes:
    • Teacher-guided compression like Rec2PM
    • Recurrent/retentive/state-space alternatives (Infini-attention, RetNet, Mamba-based recommenders, LRURec)
    • Long-context KV-compression or retrieval-enhanced generative methods

This weakens the SOTA claim.

  • Efficiency reporting focuses on token counts; concrete latency/throughput/memory measurements at train and serve time are missing, particularly cold-start compression cost and amortized per-update latency.
  • The stream-consistency gains are modest (< 0.5 pp Recall@10); the paper would benefit from a deeper analysis of when/why it helps and whether packing more than two segments meaningfully reduces ε without harming efficiency.

Clarity or presentation issues

  • The "slot-wise forget-gated" terminology is potentially misleading given the gate appears globally shared; if there is a per-slot variant in implementation, it should be clarified.
  • The definition of packed vs. sequential processing interacts with positional embeddings (reset per segment); how equivalence is approximated when packing into a 2L_s block with different positional indices could be more explicitly discussed.

Missing related work or comparisons

  • Limited discussion/empirics against recurrent memory transformers, RMT-style block recurrence, KV cache compression, and state-space/retention models adapted to recommendation. Some are cited but not compared experimentally, and the discussion of their trade-offs relative to RecMem could be expanded.
Questions

Questions for Authors

  1. The forget gate G_t seems broadcast from a single scalar to all slots and dimensions (Eq. 5). Is this intentional? Did you try per-slot or per-dimension gates, and how did they affect stability and accuracy?
  2. Can you provide ablations quantifying the contribution of the bifurcated encoder–decoder versus a shared-top variant? How much does bifurcation improve performance or stability?
  3. How do the contraction factor ρ and error ε relate empirically to the stream-consistency KL? Do you have measurements correlating KL reductions with reductions in ‖M_pack − M_seq‖?
  4. What are the end-to-end latency, GPU memory, and throughput at serving time (including the recurrent update) versus PHSTU and Oracle across history lengths? Please include cold-start compression costs and amortized per-segment update latency.
  5. How sensitive is RecMem to the memory norm bound c and the number of memory slots M? Is there a principled way to tune M and c jointly for a target quality/latency envelope?
  6. Have you evaluated RecMem on additional datasets (e.g., Amazon, MovieLens/Netflix) or with other generative backbones? If not, do you foresee any domain-specific failure modes?
  7. Can you compare against teacher-guided compression (e.g., Rec2PM) or at least discuss practical trade-offs (quality vs. scalability vs. dependency on window-limited teachers)?
  8. How does stream consistency behave if you pack more than two segments (e.g., 3–4) during training? Is there a quality vs. memory trade-off curve?
  9. Does resetting positional indices per segment introduce discrepancies when packing segments (2L_s) during the stream-consistency branch? How do you ensure positional comparability?
  10. Will you release code and training scripts to facilitate reproduction and further benchmarking?
Limitations

yes

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the detailed questions. We added a parameter/architecture control, two-seed local stability diagnostics, a phase-separated GPU microbenchmark, and an independently trained recent-history control. We will also correct the gate and position descriptions and narrow claims beyond the evaluated setting.

Q1. Is the gate global, per-slot, or per-dimension?

The implementation is genuinely slot-wise: Each slot receives a different scalar gate for each example/update; that scalar is broadcast across the dd feature dimensions. Equation 5 omitted the slot index and made this look like one globally broadcast scalar. We will correct both the equation and terminology. The submitted model is already the per-slot version. We have not conducted a controlled per-dimension-gate sweep and do not claim that such a variant is inferior.

Q2. What does the bifurcated encoder-decoder contribute?

The submitted model has 8 shared-bottom + 8 encoder-high + 8 decoder-high trainable HSTU blocks: 24 unique blocks, but 16 active blocks on either path. We trained RecMem-SharedStack-16, which retains the memory update, gate, masks, recent window, and Stream objective while sharing one 16-block trainable backbone between updating and decoding.

Method Unique trainable HSTU blocks Trainable parameters R@10 R@50 N@10 R@200
HSTU-Recent-200 16 326.749M 0.40929 0.56588 0.26161 0.67742
RecMem-SharedStack-16 16 327.283M 0.41568 0.58611 0.26505 0.70556
Split-top RecMem-stream 24 329.906M 0.42362 0.60119 0.26743 0.72196

SharedStack-16 is within 0.16% of the baseline's trainable parameter count. The result shows that the recurrent-memory gain persists with a single shared stack, while the submitted split-top design achieves higher metrics. This control answers whether the gain persists under weight sharing; we do not interpret the remaining gap as a pure causal estimate of bifurcation.

Q3. How do contraction, state discrepancy, and Stream KL relate?

The theorem uses uniform contraction and composition assumptions; our new measurements are explicitly checkpoint-local. For Main/Stream checkpoints at seeds 42 and 123, we sample 160 paired users at each K={2,5,9,14}K=\{2,5,9,14\}. We estimate the update-Jacobian spectral norm in FP32 with eight J⊤JJ^\top J power iterations, and measure the dimension-normalized sequential-versus-packed state gap, local two-segment composition gap, and output KL over the same 1,024 candidates.

Median output KL is 2.69×10−52.69\times10^{-5}–2.17×10−42.17\times10^{-4} across the tested cells. Local spectral behavior is heterogeneous and does not certify a uniform ρ<1\rho<1. The per-seed/per-horizon association between Main-minus-Stream changes in output KL and state gap is positive but variable (Spearman 0.02–0.45); their average directions are not jointly consistent across seeds. Thus the KL objective provides an output-level training signal, but we do not present it as a theorem connecting output KL to state distance or as proof of the contraction assumption.

We will rename the theorem “Rollout Stability under Contraction and Approximate Semigroup Consistency” and state explicitly that it is a conditional implication.

Q4. What are the measured latency, memory, throughput, cold-start, and update costs?

We added a phase-separated, controlled single-GPU bfloat16 microbenchmark. The full table covers histories 1,200/2,000/3,000, batch-1 median/P95 latency, batch throughput, peak allocated GPU memory, and retained state.

For RecMem, cold construction is 23.1/41.4/64.3 ms as history increases from 1,200 to 3,000; a 200-interaction update remains about 4.6 ms and batch-1 warm prediction about 3.8 ms. At history 2,000, RecMem versus PHSTU takes 41.4 vs. 35.8 ms for cold construction, 4.61 vs. 4.09 ms for an update, and 3.81 vs. 4.03 ms for batch-1 warm prediction. At batch 64, RecMem reaches 8,363 users/s versus 6,923 for PHSTU and 600 for HSTU-1200. Its retained state is 8 KiB/user, versus 432 KiB for PHSTU at history 2,000.

This is a controlled measurement of model computation, not production end-to-end serving: it excludes data loading, networking, request scheduling, and other service overhead. We will label it accordingly.

Q5. How sensitive is RecMem to MM and cc?

The existing controlled capacity sweep uses M={8,16,32}M=\{8,16,32\} and Ls=Lr=50L_s=L_r=50. R@10 is 0.3365/0.3551/0.3518, respectively, so M=16M=16 provides the best tested quality-capacity point rather than quality increasing monotonically with slot count.

For the submitted c=10c=10 model, new diagnostic measurements over two seeds and four horizons find median pre-projection slot norms of 5.06–8.72, mean slot exceedance rates of 0.18%–36.74%, and median projection scales of 0.957–1.000. Thus the bound is active for a subset of slots/horizons but does not force every update to the boundary. In practice, MM selects the quality/state-size budget, while cc controls update magnitude; a joint Pareto sweep for a deployment-specific latency/quality target is a useful extension rather than a property established here.

Q6. Additional datasets, backbones, and failure modes

The current empirical evidence is MerRec with an HSTU backbone. We will state this scope explicitly rather than infer cross-domain or cross-backbone generality. Plausible stress cases include highly sparse users, abrupt preference shifts, and text-rich inputs whose semantic diversity may require more or adaptive capacity. The update operates on embeddings and is architecturally compatible with richer features, but its effectiveness on such inputs is not established by the present experiments.

Q7. Teacher-guided compression

We agree that Rec2PM is the closest teacher-guided fixed-state alternative. Its strength is direct guidance from a full-context teacher; its cost is teacher dependence during distillation and a ceiling set by the teacher's available context. RecMem instead trains a self-contained recurrent update from recommendation and processing-order objectives. We will add this comparison to Related Work, but without a completed matched evaluation we do not claim an empirical quality advantage over Rec2PM.

Q8. Packing more than two segments

The current Stream branch packs exactly two adjacent segments. The K={2,5,9,14}K=\{2,5,9,14\} diagnostics test repeated rollout behavior at longer horizons, but they are not a 3–4-segment training-pack sweep. We will make this distinction explicit and treat multi-segment Stream training as future work rather than imply an unmeasured trade-off curve.

Q9. Positional comparability

Sequential processing assigns each segment positions [0,…,Ls−1][0,\ldots,L_s-1]. The packed two-segment branch uses [0,…,Ls−1, 0,…,Ls−1][0,\ldots,L_s-1,\,0,\ldots,L_s-1], not a monotone [0,…,2Ls−1][0,\ldots,2L_s-1] sequence. Together with the packed attention mask, this gives each item the same within-segment position in both processing orders. We will add this construction explicitly to the method description.

Q10. Release

Yes. We will release the model code, configurations, training/evaluation scripts, diagnostic scripts, and selected checkpoints upon acceptance.

Authors · CommentOpenReview ↗

Follow-up response to Reviewer 1 — Part 1/2: gate, architecture, and stability

Since our initial response, we have carefully rechecked the implementation and evaluation protocols and completed additional analyses directly addressing the concerns in your review. To avoid ambiguity, please treat the verified results and clarifications below as our updated and consolidated response, which supersedes our initial reply.

Q1. Is the forget gate genuinely slot-wise? Eq. 5 contains a notation error. The implementation uses

gt=σ(Wgsˉt+bg)∈(0,1)M,Gt=gt1d⊤.\mathbf g_t=\sigma(W_g\bar{\mathbf s}_t+\mathbf b_g)\in(0,1)^M, \qquad G_t=\mathbf g_t\mathbf1_d^\top.

Each memory slot therefore receives a distinct scalar gate, broadcast only across that slot's embedding dimensions; it is not one scalar shared by all slots. This treats each slot as a coherent memory unit. We have not evaluated a per-dimension gate, so this is an architectural inductive bias rather than an empirically selected gate granularity. Thus, the implemented update is genuinely slot-wise; the apparent global sharing comes from the notation in Eq. 5, which we will correct.

Q2. Shared stack and the contribution of bifurcation. SplitTop has 8 shared lower, 8 encoder-specific upper, and 8 decoder-specific upper blocks: 24 unique blocks, with active depth 16 on either path. SharedStack-16 uses the same single 16-block shared HSTU backbone topology and active depth as PHSTU, while retaining RecMem's recurrent state, masks, recent window, and training objective.

Model Unique trainable params. Unique blocks/active depth R@10 R@50 N@10 R@200
PHSTU 327.217M 16/16 32.740 48.580 20.450 61.100
RecMem-SharedStack-16 327.283M 16/16 41.568 58.611 26.505 70.556
RecMem-SplitTop 329.906M 24/16 per path 42.362 60.119 26.743 72.196

SharedStack-16 differs from PHSTU by only 65,552 trainable parameters (0.020%) yet improves R@10/R@50/N@10/R@200 by +8.828/+10.031/+6.055/+9.456 points. SplitTop further improves over SharedStack-16 by +0.794/+1.508/+0.238/+1.640 points. Thus, SharedStack-16 retains the main RecMem gain under the same single-stack backbone topology as PHSTU, while SplitTop provides a positive additional margin on all four metrics. This ablation quantifies the performance contribution of the complete role-specific architecture; update stability is evaluated separately by the rollout diagnostics in Q3.

Q3. How do contraction, composition error, and output KL relate? They operate at different levels. The theorem concerns state-space processing-order stability: if an existing state discrepancy is amplified by at most ρ<1\rho<1 and regrouping adjacent segments introduces at most ε\varepsilon, then

ek+1≤ρek+ε⟹eK≤ε1−ρK1−ρ≤ε1−ρ.e_{k+1}\leq\rho e_k+\varepsilon \quad\Longrightarrow\quad e_K\leq\varepsilon\frac{1-\rho^K}{1-\rho}\leq\frac{\varepsilon}{1-\rho}.

Stream KL instead aligns the recommendation distributions produced by sequential and packed processing. It is an output-level consistency objective, not a theoretical substitute for the state-space composition error: different latent memory states can produce similar predictive distributions.

The submitted probe estimates sampled directional amplification at rollout-reached states using randomized finite differences (δ=10−3\delta=10^{-3}, five positions in each K=5K=5 rollout, and 20 validation batches). Main/Stream give ρ^dir=0.630/0.638\widehat\rho_{\rm dir}=0.630/0.638, indicating attenuation along the sampled directions. The dimension-normalized composition gap is an empirical counterpart of the theorem's ε\varepsilon on rollout-reached states, rather than a uniform bound: its medians are 0.0790.079–0.1030.103 at K=5K=5 (p95 0.1110.111–0.1470.147) and remain 0.0790.079–0.1050.105 through K=14K=14. On paired users, Spearman point estimates between Stream-related reductions in output KL and state discrepancy are positive and range from 0.020.02 to 0.450.45. Their variation across checkpoints and rollout horizons indicates an empirical tendency rather than a universal KL-to-state bridge. The theorem remains conditional on contraction and approximate semigroup consistency; the directional-gain and composition-gap measurements separately probe these two mechanisms on the evaluated rollouts.

Authors · CommentOpenReview ↗

Follow-up response to Reviewer 1 — Part 2/2: efficiency, scope, and alternatives

Q4. Cold construction, recurrent update, and serving cost. We measured cold history-state construction, a subsequent 200-item update, and warm prediction on one bfloat16 GPU (three warm-ups and 20 repetitions):

Model Cold build 1.2K/2K Update 1.2K/2K Warm prediction 1.2K/2K State/user 1.2K/2K
RecMem 23.1/41.4 ms 4.57/4.61 ms 3.82/3.81 ms 8/8 KiB
PHSTU 19.8/35.8 ms 4.11/4.09 ms 3.99/4.03 ms 240/432 KiB

At batch 64 and history 2,000, RecMem/PHSTU/HSTU-1200 obtain latency of 7.653/9.245/106.613 ms, throughput of 8,363/6,923/600 users/s, and peak GPU memory of 1.585/1.586/6.285 GB. Cold construction grows with the prefix, whereas RecMem's update, prediction, and 8-KiB state remain nearly unchanged over the measured 1.2K–2K range.

Q5. Sensitivity to MM and cc. MM controls the number of persistent memory units, whereas cc bounds each slot's norm.

MM R@10 R@50 N@10 N@50
8 33.65 45.22 22.27 24.84
16 35.51 46.38 23.41 25.83
32 35.18 46.14 23.13 25.58

M=16M=16 is best on all four metrics while using half the slots of M=32M=32. With c=10c=10, median pre-projection norms are 5.065.06–8.728.72 and median projection scales 0.9570.957–1.0001.000, so the bound selectively constrains state magnitude. Our tuning procedure first selects MM from validation quality and persistent-state budget, and then uses cc as a stability constraint on each slot.

Q6. Additional domains and backbones. The MerRec evaluation cohort contains 119,754 users and approximately 1.26M items, providing a large-scale long-history test. We agree that cross-domain/backbone evaluation is valuable. Important next stress tests include sparse or cold-start users, rapid preference shifts, and text-rich or highly multi-interest histories that may create interference within fixed slots.

Q7. Teacher-guided and retrieval alternatives. Rec2PM-O trains against teacher-generated global reference memories, whereas RecMem does not require a latent-state teacher. Because no official implementation or checkpoint is available, our paper-based reproduction did not meet a reliable verification threshold. We therefore omit its numbers and make no empirical superiority claim against Rec2PM-O.

We completed Ret-HSTU-16 as a verifiable alternative, following the retrieval-augmented paradigm of RUEL (Wu et al., CIKM 2023). It retrieves 16 occurrences from the current user's history strictly before the recent 200-item window and prepends them to that window for an otherwise matched HSTU predictor; neither the target nor future interactions are accessible to retrieval.

Model R@10 R@50 N@10 R@200
HSTU-Recent-200 40.929 56.588 26.161 67.742
Ret-HSTU-16 41.030 57.544 26.533 68.839
RecMem-Main 42.273 59.952 26.659 71.962
RecMem-Stream 42.362 60.119 26.743 72.196

Ret-HSTU-16 improves over HSTU-Recent-200 by +0.101/+0.956/+0.372/+1.097 points on R@10/R@50/N@10/R@200, showing that archived retrieval is useful. RecMem-Stream further improves by +1.332/+2.575/+0.210/+3.357 points, indicating that its fixed recurrent state preserves predictive history beyond what this 16-occurrence retrieval baseline recovers under the same protocol.

Q8. Packing more than two segments. Pairwise packing matches the primitive relation U(U(M,A),B)≈U(M,A⊕B)U(U(M,A),B)\approx U(M,A\oplus B) recursively used by the theorem. In the independent seed-123 run, Stream improves over Main by +0.813/+0.692/+0.649/+0.577 on R@10/R@50/N@10/R@200. Our quantitative evaluation therefore concerns pairwise packing; larger packing arities define a separate quality–training-cost study.

Q9. Positional comparability. Sequential processing assigns each segment [0,…,Ls−1][0,\ldots,L_s-1]; the packed branch repeats [0,…,Ls−1,0,…,Ls−1][0,\ldots,L_s-1,0,\ldots,L_s-1], not [0,…,2Ls−1][0,\ldots,2L_s-1]. A causal mask over the combined block lets the second segment attend to the first. Tokens therefore preserve segment-local positions, while the intended difference is one packed update versus two recurrent updates, not positional reindexing.

Q10. Reproducibility. We will release the model implementation, configurations, and training/evaluation scripts upon acceptance.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…