NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

SeqFold: Timestamp-Addressable Compressed States for User Action Sequence Backbones

Mianwei Zhou, Duo Zhang, Henry Tsai, Yuqi Zheng, Jian Li, Juexin Lin, Sujay Khandagale, Vijay Rajaram, Dong Jiao, Tao ChengarXiv 2026

TL;DR

SeqFold is a novel framework that compresses massive multi-layer user action sequence backbones into compact, timestamp-addressable discrete codes. By combining learned multi-channel fusion with Lookup-Free Quantization (LFQ), it achieves a staggering 3,400x reduction in storage while retaining over 97% of the predictive performance of uncompressed models.

What Problem Does This Paper Address?

In modern e-commerce, user behavior models are the engine behind search and recommendations. These models often use "backbones" (like Transformers) to process long histories—sometimes thousands of actions like clicks, searches, and purchases.

The challenge isn't just processing these sequences; it's reusing them. A frozen backbone produces a rich timeline of hidden states for every single action. However, downstream applications (like a search ranker) only need a "snapshot" of the user's state at the exact moment they perform a query. Storing or transmitting the full, uncompressed hidden-state timeline for every user is prohibitively expensive, often requiring millions of floating-point values per sequence. Existing methods usually focus on making the backbone faster, but SeqFold focuses on making the interface between the backbone and downstream tasks efficient.

Methods

SeqFold acts as a compressed-state interface that sits between a frozen backbone and downstream models. Its architecture consists of three main components:

  1. Multi-Channel Fusion & Gating: Instead of saving every action's state, SeqFold uses data-dependent gating to route information from the backbone into a fixed number of "fusion channels." This condenses thousands of actions into a small set of continuous vectors.
  2. Temporal Decay: To capture the fact that recent actions are often more relevant than old ones, each channel has a learnable exponential decay factor. This allows the model to "forget" or "remember" information over different time horizons.
  3. Lookup-Free Quantization (LFQ): To achieve extreme compression, the fused vectors are mapped into binary codes. Unlike standard Vector Quantization (VQ) which requires a massive codebook, LFQ uses sign-based indexing, making it incredibly lightweight and efficient for large-scale serving.

To make this practical, the authors developed a fused streaming implementation (using Triton). This kernel updates the user state action-by-action but only "materializes" (saves) the state at the specific timestamps requested by downstream tasks, avoiding the memory bottleneck of storing a dense prefix timeline.

Figure 1: SeqFold as a timestamp-addressable interface be- tween a frozen action sequence backbone and downstream applications. Given a target timestamp, SeqFold returns timestamp-aligned compact codes that downstream tasks decode with task-specific decoders for downstream training backfill and serving.

Datasets

The researchers evaluated SeqFold on large-scale proprietary e-commerce datasets from Coupang. These datasets include heterogeneous user actions (searches, clicks, purchases) with sequences up to 2,000 actions for main experiments and up to 10,000 actions for scalability benchmarks.

Key Insights and Ideas

  • Decoupling Update from Materialization: The "aha moment" here is that while the model must process every action to maintain a causal state, it only needs to output a state when a downstream task asks for it. This insight allows for massive savings in training backfill and online serving.
  • Multi-Layer Compression: The authors found that compressing information from all layers of the Transformer backbone (not just the last one) provides complementary signals that significantly improve downstream performance.
  • Learned Memory Horizons: By making temporal decay learnable per channel, SeqFold can automatically dedicate some channels to long-term user preferences and others to short-term "in-the-moment" intent.
  • Task-Specific Decoding: The compressed codes are "universal." Different downstream tasks (e.g., Search vs. Query Autocomplete) can learn their own small decoders to map these shared codes into whatever embedding dimension fits their specific needs.
The internal architecture of the SeqFold compression and training path.

Key Results

  • Extreme Compression: SeqFold reduced the per-state storage from ~7 MB (uncompressed) to just 2,048 bytes, a 3,400x reduction.
  • High Fidelity: Despite the compression, the model maintained a high level of performance, trailing the uncompressed "Full Model" by only 2.11% in PRAUC.
  • Efficiency at Scale: For long sequences (10,000 actions), the fused streaming kernel was 19.6x faster and used significantly less peak memory than an optimized PyTorch baseline.
  • Downstream Transfer: The compressed codes showed consistent gains when plugged into real-world search and query autocomplete models, proving they capture meaningful user intent.

Limitations and Future Work

  • Proprietary Data: Because the evaluation is on proprietary data, it is difficult for outside researchers to replicate the exact results, though the architectural principles are general.
  • Fixed Checkpoints: In the current training setup, the model uses periodic export points. The authors suggest that adaptive checkpointing (exporting states only when a significant user action occurs) could be a promising future direction.
  • Task-Aware Budgets: Future work could explore varying the compression budget (number of bits) dynamically based on the complexity of the downstream task.

Summary updated

Abstract

Existing sequential user modeling methods mainly focus on improving the backbone encoder or learning task-specific user representations for a single prediction objective. We instead study how to export the multi-layer user states of a frozen long-history backbone as compact, timestamp-addressable representations for downstream training backfill and serving. In this setting, the user state at a given timestamp summarizes the user's actions before that time, so downstream systems need only the state aligned to each target timestamp rather than the full hidden-state timeline. To this end, we present \texttt{SeqFold}, a compressed-state interface that combines learned multi-channel fusion, channel-specific temporal decay, and Lookup-Free Quantization (LFQ) to produce compact discrete codes from frozen backbone states. Task-specific decoders then map these shared codes into flexible embedding spaces for downstream models. To make timestamp-addressable export practical at scale, we further develop a fused streaming implementation that updates the fusion recurrence after every action while materializing states only at target timestamps. On large-scale proprietary datasets, SeqFold reduces per-state representation storage by $3{,}400\times$ while preserving most of the downstream ranking performance of the uncompressed model, showing that SeqFold is an effective interface for reusing long-history sequence backbones in downstream models.
BibTeX
@misc{zhou2026seqfold,
  author = {Mianwei Zhou and Duo Zhang and Henry Tsai and Yuqi Zheng and Jian Li and Juexin Lin and Sujay Khandagale and Vijay Rajaram and Dong Jiao and Tao Cheng},
  title = {{SeqFold: Timestamp-Addressable Compressed States for User Action Sequence Backbones}},
  year = {2026},
  eprint = {2611.13704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.13704},
}
Figure