MoR4Rec: Mixture-of-Recursion for Sequential Recommendation

Tiwari Ankit Satyaprakash, Adamya Shyam, Vikas Kumar, Bharti Rana, Venkateswara Rao KagitaarXiv 2026

Imagine you’re winding down after a long day, scrolling through your favorite app. Some of your clicks are mindless habits—you buy the same brand of coffee every Tuesday. Others are deep dives—you’ve suddenly decided to take up woodworking and are comparing specialized chisels.

Current recommendation AI treats both these behaviors exactly the same. Whether it's a routine "latte" or a complex "lathe," the model spends the same amount of "thinking time" (computational depth) on every single item in your history. This paper, MoR4Rec, suggests that’s a massive waste of energy. Instead, it proposes a system that knows when to skim and when to study.

TL;DR

MoR4Rec introduces a "Mixture-of-Recursion" approach to sequential recommendation, allowing the model to adaptively decide how much computation to spend on each item in a user's history. By routing "easy" routine interactions through fewer layers and "complex" preference shifts through more, it achieves state-of-the-art accuracy while actually reducing the computational footprint.

What Problem Does This Paper Address?

Sequential Recommender Systems (SRS) try to predict your next move by looking at your past. Most modern versions use Transformers—the same tech behind ChatGPT—because they are great at spotting long-range patterns.

However, Transformers are "fixed-depth." If you have a 12-layer model, every item in the sequence goes through all 12 layers. The authors argue this is suboptimal. User behavior is heterogeneous:

  1. Simple patterns: Repetitive, habitual clicks that don't need deep reasoning.
  2. Complex patterns: Interactions that signal a shift in intent or require understanding a long chain of previous actions.

Applying a "one-size-fits-all" depth leads to inefficient use of model capacity and unnecessary lag. MoR4Rec aims to fix this by making the computation depth item-wise adaptive.

Methods

The framework processes a sequence through a few clever stages:

  1. The Shared Backbone: Instead of having many unique layers, MoR4Rec uses a recursive structure. It has a shared transformer block that can be reused multiple times. This keeps the parameter count low while allowing for "virtual" depth.
  2. The Token Router: This is the "brain" of the operation. After an initial pass, a lightweight router looks at each item and assigns it a recursion depth.
  3. Cascading Selection: Items assigned a shallow depth exit early. Only the "complex" items continue through additional recursive loops.
  4. Adaptive KV Sharing: To avoid re-doing work, the model caches "Keys" and "Values" (internal attention states) from the first pass. In subsequent loops, it only updates these states for the active, complex items.
  5. Gated Attention: The authors added a "volume knob" to the attention mechanism. This allows the model to dynamically suppress noisy or irrelevant interactions on a per-item basis, which is particularly helpful when a user's history is sparse or messy.
Figure 1: Overview of MoR4Rec.

Datasets

The authors tested MoR4Rec on three well-known benchmarks that represent different "vibes" of user data:

  • MovieLens 1M: A relatively dense dataset of movie ratings.
  • Amazon Video Games: A sparse dataset with long-tail (rare) items.
  • Amazon Industrial & Scientific: Another sparse dataset representing niche professional interests.

Key Insights and Ideas

  • Recency Matters: When analyzing the router's behavior, the authors found it naturally learned to spend more "thinking time" on the most recent items in a sequence. This makes intuitive sense: your last three clicks are usually more complex signals for your next click than something you did three years ago.
  • Parameter Efficiency: Because the middle layers are shared (recursive), you can effectively have a very "deep" model without the massive memory footprint of a standard deep Transformer.
  • Noise Filtering: The gated attention mechanism proved vital for sparse datasets. It acts as a filter, preventing the model from getting distracted by "incidental" clicks that don't represent the user's true intent.

Key Results

MoR4Rec didn't just save time; it got smarter. Compared to the strongest baselines (like LRURec and BERT4Rec):

  • Accuracy Gains: It achieved average improvements of 2.28% in Recall@5 and 2.50% in NDCG@5.
  • Efficiency: On the MovieLens 1M dataset, it required 42.76 MFLOPs compared to the vanilla Transformer's 44.10 MFLOPs, while using roughly 10% fewer parameters.
  • Statistical Significance: Using the Friedman and Nemenyi tests, the authors confirmed that these gains weren't just lucky flukes—they are statistically superior across the board.

Limitations and Future Work

While MoR4Rec is a leap forward, the authors note a few areas for growth:

  • Interpretability: While we know that the router picks different depths, we don't always know exactly why a specific item was deemed "complex." Improving the transparency of this routing logic is a goal.
  • Beyond Text/IDs: The current model focuses on item IDs. Future versions could incorporate multi-modal data (like product images or descriptions) to see if that changes how the model allocates its "thinking time."
  • Cross-Domain: Testing how this adaptive depth handles users who jump between very different categories (e.g., from buying electronics to buying groceries) is another promising direction.

Summary updated

Abstract

Sequential recommender systems aim to predict a user's next interaction by modeling temporal dependencies in historical behavior sequences. To capture such dependencies, recent approaches increasingly rely on attention-based architectures, particularly transformers. While effective at modeling long-range sequential patterns, these models apply a fixed computation depth to all interaction items, treating them as equally complex. However, user behavior is inherently heterogeneous, with many interactions following simple repetitive patterns, whereas others require modeling higher-order dependencies. This mismatch leads to inefficient utilization of model capacity and unnecessary computational overhead, particularly in deep transformer-based architectures. To address this issue, we propose MoR4Rec, a sequential recommendation framework based on a Mixture-of-Recursion paradigm, which enables item-wise adaptive computation through a shared transformer backbone. A learned routing mechanism dynamically assigns each item to an appropriate recursion depth, allocating deeper computation to complex interactions while processing simpler patterns more efficiently. To improve computational efficiency, we develop a cascade-based strategy with key-value sharing across recursion steps. We further introduce a gated attention mechanism that adaptively regulates contextual information during recursive sequence modeling. Extensive experiments on three benchmark datasets show that MoR4Rec consistently outperforms strong transformer-based baselines, achieving average gains of 2.28% in Recall@5, 2.50% in NDCG@5, and 2.0% in MRR@5 over the strongest baseline. The improvements remain consistent across top-10 and top-20 recommendation cutoffs, while comparisons with vanilla transformers demonstrate the computational efficiency of adaptive recursive processing.
BibTeX
@misc{satyaprakash2026mor,
  author = {Tiwari Ankit Satyaprakash and Adamya Shyam and Vikas Kumar and Bharti Rana and Venkateswara Rao Kagita},
  title = {{MoR4Rec: Mixture-of-Recursion for Sequential Recommendation}},
  year = {2026},
  eprint = {2611.29462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29462},
}
Figure