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

ChronicleRec: Pre-training Temporally Anchored Tokens for Lifelong User Modeling

Chengkai Huang, Yubin Sheng, Liang Guo, Haoxi Liu, Junwei Pan, Shangyu Zhang, Zhixiang Feng, Chao Zhou, Chengguo Yin, Lina Yao, Haijie Gu, Jie JiangarXiv 2026

TL;DR

ChronicleRec introduces a novel framework for lifelong user modeling by compressing ultra-long behavior histories into a compact, chronologically ordered sequence of "Chronicle Tokens." By decoupling history compression from online candidate scoring, it enables efficient user-profile caching while preserving critical multi-scale temporal interests, achieving near full-attention accuracy at a fraction of the computational cost.

What Problem Does This Paper Address?

Modern recommendation and online advertising systems benefit immensely from tracking long-term user histories to capture stable preferences. However, processing thousands of historical actions in real time creates a massive computational bottleneck. Full self-attention scales quadratically ($O(L^2)$), making it unusable under strict online latency constraints.

To cope, industrial systems often use target-attention retrieval (such as SIM or TWIN) to pull relevant past behaviors for each candidate item. However, this approach is target-dependent, meaning it must be recomputed for every single candidate item, multiplying online serving costs.

Recent alternative methods compress history into reusable, target-independent summaries that can be cached. However, these techniques typically append query tokens at the very end of the sequence and use bidirectional encoding. This collapses the chronological structure into an unordered, redundant "bag of tokens," failing to capture how user interests evolve over time.

Methods

ChronicleRec addresses these limitations using a "sequence-in, sequence-out" architecture consisting of four core components:

  1. Recency-Aware Multi-Granularity Merge: Instead of uniform compression, it splits history into near, mid, and far segments. Recent behaviors are kept at full resolution, while older history is progressively pooled with larger strides to capture coarse, aggregated preferences.
  2. Causal Query-Token Interleaving: Learnable query tokens are interleaved within the merged sequence rather than appended at the end. Using a lightweight Transformer with a causal attention mask, each query token acts as a temporal anchor, summarizing only the history preceding it.
  3. Multi-Branch Multi-Horizon Compression: To prevent recent actions from dominating the summary, parallel branches mask out varying windows of recent history, forcing different branches to specialize in distinct historical horizons.
  4. Chronicle Alignment Pre-training: The compressor is pre-trained using a mask-and-predict objective to reconstruct held-out recent behaviors from older compressed history, ensuring the past representation aligns with near-present intent.
Figure 2: Architecture of the Chronicle Compressor. A recency-aware dynamic token merge preserves fine-grained recent behaviors while progressively compressing older history. Learnable query tokens are interleaved with the merged sequence and propagated through a causal encoder, where each query summarizes only its preceding history. The encoded query states are extracted as Chronicle Tokens, forming a compact multi-scale representation of the ultra-long behavior sequence.

Datasets

The authors evaluated ChronicleRec on two large-scale datasets:

  • KuaiRand (KuaiRand-27K split): A public short-video recommendation benchmark featuring exceptionally long user histories (averaging 11,811 events per user, capped at a maximum length of 2,048 for training).
  • Tencent AdLive: An industrial online live-stream advertising dataset containing over 213 million interactions from nearly 200,000 users (averaging 1,069 events per user, capped at 4,000).

Key Insights and Ideas

  • Chronological Structure Matters: Treating compressed user profiles as a sequence rather than an order-agnostic bag of tokens prevents the loss of crucial temporal context.
  • Causal Masking Reduces Redundancy: Bidirectional attention allows queries to peek across the entire timeline, leading to highly redundant summaries. Causal interleaving forces query tokens to specialize in distinct temporal blocks, preserving more temporally specialized and complementary information.
  • The Distant Past is Self-Sustained: Long-range signal analysis revealed that even when the most recent 1,000 behaviors are completely masked out, the compressed older history still provides a strong predictive signal that vastly outperforms a simple short-window baseline.
Figure 4: Pairwise cosine similarity between compressed to- ken positions. Token indices are ordered from the farthest to the most recent temporal anchor and grouped into far, mid- dle, and recent regions. VISTA exhibits uniformly high simi- larity across many non-local token pairs, suggesting substan- tial redundancy among its compressed summaries. In con- trast, ChronicleRec shows a clearer temporal organization: tokens within nearby temporal regions remain strongly cor- related, while cross-region similarities are relatively lower. This indicates that Chronicle Tokens preserve more tempo- rally specialized and complementary information.

Key Results

  • Near Full-Attention Performance: On KuaiRand, Multi-ChronicleRec achieved a GAUC of 0.5580, closely approaching the expensive Full-Attention upper bound (0.5601) and outperforming the single-pass baseline VISTA (0.5518) and Short-Attention (0.5307).
  • Substantial Training Speedups: ChronicleRec reduced GPU memory usage from 49.1 GB to 28.0 GB and cut training time from 2,997 minutes to 620.3 minutes—a ~4.8× training speedup over Full-Attention.
  • Target-Independent Caching: Because the tokens are target-independent, they can be computed once per user and cached asynchronously, removing the long-sequence encoding overhead from the real-time candidate scoring path.
  • Production Gains: A 7-day online A/B test in the Weixin Moments Ads platform yielded a statistically significant +1.61% lift in Gross Merchandise Value (GMV).

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{huang2026chroniclerec,
  author = {Chengkai Huang and Yubin Sheng and Liang Guo and Haoxi Liu and Junwei Pan and Shangyu Zhang and Zhixiang Feng and Chao Zhou and Chengguo Yin and Lina Yao and Haijie Gu and Jie Jiang},
  title = {{ChronicleRec: Pre-training Temporally Anchored Tokens for Lifelong User Modeling}},
  year = {2026},
  eprint = {2609.12375},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.12375},
}
Figure