Sample Is Feature: Beyond Item-Level, Toward Sample-Level Tokens for Unified Large Recommender Models

Shuli Wang, Junwei Yin, Changhao Li, Senjie Kou, Chi Wang, Yinqiu Huang, Yinhua Zhu, Haitao Wang, Xingxing WangarXiv 2026 · DOI

TL;DR

The SIF (Sample Is Feature) framework redefines how large recommender models process user history by elevating tokens from bare item IDs to fully contextualized, sample-level representations. By compressing entire historical request logs using a novel quantization technique, SIF eliminates representational asymmetry in unified Transformers and unlocks massive performance gains in large-scale industrial deployments.

What Problem Does This Paper Address?

Industrial recommendation models typically scale along two axes: sample information scaling (incorporating longer user behavior histories) and model capacity scaling (using unified Transformer backbones to handle both sequence modeling and feature interactions).

However, these paradigms hit a structural bottleneck. Due to massive storage and serving constraints, existing history models only store bare item IDs or tiny feature subsets. This discards crucial context—for example, knowing an item was clicked during a weekday lunch rush versus a late-night discount session. Furthermore, mixing bare item IDs with the rich, multi-field features of the current request creates a "structural heterogeneity." Placing these asymmetric representations into the same attention space prevents unified Transformers from reaching their full capacity.

Methods

The authors introduce SIF (Sample Is Feature), which directly encodes the complete historical raw sample into the sequence token. SIF consists of two primary components:

  1. Sample Tokenizer: To make storing full request logs feasible, the authors propose Hierarchical Group-Adaptive Quantization (HGAQ). It partitions a raw sample into four semantic groups (user, item, context, and cross-features) and adaptively splits them into sub-tokens based on feature density. It then applies multi-level Residual Vector Quantization (RVQ) to compress the sample into discrete codebook indices, achieving a massive ~237x compression ratio. Crucially, it is jointly trained with a label-supervised auxiliary loss (predicting CTR from the reconstruction) to ensure the codebook prioritizes predictive relevance over pure reconstruction error.
  2. SIF-Mixer: Processing a 2D matrix of sequence length ($L$) and sub-tokens ($T$) with standard self-attention would trigger a prohibitive $O((LT)^2)$ complexity. The SIF-Mixer solves this by factoring the operations into a Token-level Mixer (intra-sample feature interactions along rows) and a Sample-level Mixer (inter-sample temporal dynamics along columns), keeping the complexity at a manageable $O(L^2T)$.
Figure 1: SIF overview. (a) Sample Tokenizer: HGAQ compresses Raw Sample S →Q. (b) Sample splicing: item embeddings replaced by Token Samples. (c) Serialization with temporal position embeddings. (d) SIF-Mixer: 𝑁blocks of Token-level Mixer, Sample-level Mixer, and FFN.

Datasets

The model was evaluated on a massive, production-scale Industrial Dataset from Meituan:

  • Scale: 1B+ impression records spanning 90 days.
  • Users/Items: 50M+ users, 5M+ items.
  • Features: Each sample includes ~600+ feature fields and a 1000-item behavior sequence.

Key Insights and Ideas

  • The Data is Already There: The bottleneck in sequence widening isn't data availability—historical request contexts are already saved in training logs. The bottleneck was purely representational.
  • Discrete Compression Acts as a Regularizer: Surprisingly, compressing raw samples into discrete HGAQ tokens outperforms using dense 512-dimensional raw embeddings. The discrete codebook forces an implicit clustering constraint that improves optimization and aligns features across time.
  • Steeper Scaling Curves: Traditional item-level models hit a representational ceiling and saturate quickly as sequence length increases. SIF's performance grows monotonically up to a sequence length of 2,000 because each additional history step injects a full, uncompromised context snapshot into the cross-temporal attention mechanism.
Scaling over Sequence Length L

Key Results

  • Offline Performance: SIF significantly outperformed strong unified baselines, beating HyFormer by +0.91% AUC and +0.88% GAUC on CTR prediction, and +0.77% AUC on CVR prediction.
  • Online Deployment: In an A/B test on Meituan's food delivery platform against a production HyFormer baseline, SIF achieved a +2.03% CTR, +1.21% CVR, and +1.35% GMV per session lift.
  • User Stratification: Heavy users with history lengths $\ge 500$ saw the largest gains (+3.12% CTR), but even cold users with histories $< 10$ saw improvements (+0.53% CTR) because the Sample Tokenizer aligns current-request features into the same expressive codebook space.

Limitations and Future Work

  • Sequential Feature Exclusion: To preserve temporal ordering, user interaction sequences within past samples are excluded from the quantization process and must be handled separately by the mixer.
  • Evaluation Scope: The framework is inherently designed for large-scale industrial architectures with rich logging infrastructure; its behavior and utility on smaller, public academic benchmarks remain unexplored.

Summary updated

BibTeX
@misc{wang2026sample,
  author = {Shuli Wang and Junwei Yin and Changhao Li and Senjie Kou and Chi Wang and Yinqiu Huang and Yinhua Zhu and Haitao Wang and Xingxing Wang},
  title = {{Sample Is Feature: Beyond Item-Level, Toward Sample-Level Tokens for Unified Large Recommender Models}},
  year = {2026},
  eprint = {2604.15650},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.15650},
}
Figure