DP-Rec: Towards Dynamic Patching for Efficient Long-Sequence Recommendation
Dwipam Katariya, Thomas Caputo, Akshat Shreemali, Juan Manuel Origgi, Nikita Seleznev, Pranab Mohanty, Kalanand Mishra, Nam Nguyen, James Montgomery
Abstract
Transformers have redefined sequential recommendation by effectively modeling dynamic user behaviors and long-range dependencies. However, they remain inherently inefficient: standard architectures operate at a fixed rate, allocating comparable computation to every item in a user's history regardless of its information content. This leads to prohibitive computational overhead on long sequences and increased sensitivity to behavioral noise. To address this, practitioners often resort to lossy sequence compression, staged modeling, or truncation. This limits the model's ability to leverage the full context of long histories during inference. Inspired by the recent success of Byte Latent Transformer, we propose DP-Rec, a dynamic latent patching architecture for recommendation. DP-Rec shifts from item-level modeling to patch-level modeling by segmenting interaction sequences using contrastive entropy surprise to identify informative behavioral boundaries. A lightweight patch encoder compresses these temporally contextualized segments into a reduced set of dynamic latent behavior vectors, which are then processed by a larger latent transformer and decoded for next-item prediction. Extensive experiments show that, under constrained computational budgets, DP-Rec scales effectively to long sequences and achieves a superior efficiency-accuracy trade-off over both non-compressed and fixed-size compression baselines.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.IR
- Comments
- Accepted at RecSys'26, 14 pages, 7 figures
Related papers
Chameleon: Dynamic Format Adapter for Efficient Diffusion
Shared title terminologycs.LGArnab Sanyal, Sandeep Chinchali
Efficient Dynamic Algorithms for Graph Neural Networks with Non-Linear Propagation
Shared title terminologycs.LGKiarash Banihashem, MohammadTaghi Hajiaghayi, Mahdi JafariRaviz et al.
Distance-KV: Exploiting Relative Distance for Efficient Long-Context Inference
Shared title terminologycs.LGXianpeng Shang, Canbin Huang, Jiang Li et al.
Critical Sequence Length: A Note on How Document Structure Bounds Gradient-Noise Reduction
Shared title terminologycs.LGSunny Guha
LinearSpec: Drafting from the Target's Memory for Long-Context Speculative Decoding in Hybrid Vision-Language Models
Shared title terminologycs.LGHaiyu Wang, Sai Qian Zhang, Steven Li
PolicyPolish: LLM-Guided Weight Editing of Reinforcement Learning Policies for Dynamic RMSA in Elastic Optical Networks
Shared title terminologycs.LGMasayuki Shimoda