arXiv(opens in a new tab)cs.IRAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.23392

Towards a Densing Law for User Representation Learning at Billion-Scale Capacity

Bin Dou, Junru Zhang, Zhaoyi Yuan, Wuliang Huang, Letian Gong, Baokun Wang, Huan Li, Yu Cheng, Weiqiang Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Bin Dou1,∗^{1,*}, Junru Zhang1,2,∗^{1,2,*}, Zhaoyi Yuan1,2,∗^{1,2,*}, Wuliang Huang1^{1}, Letian Gong1^{1}, Baokun Wang1,†^{1,\dagger}, Huan Li2,†^{2,\dagger}, Yu Cheng1^{1}, Weiqiang Wang1^{1}

1^{1}DeepFind Team, Ant Group, 2^{2}Zhejiang University

*Equal Contribution, †Corresponding author yike.wbk@antgroup.com, lihuan.cs@zju.edu.cn

User representation learning in real-world industrial scenarios is commonly scaled by increasing user amount, behavioral sequence length, and model size. However, existing methods suffer from two issues: (i) Bottleneck for raw data scaling at billion-scale capacity, as performance gains diminish with larger-scale raw text user behavioral input which can be alleviated by tokenization. (ii) Lack of quantitative analysis of how tokenization configurations should scale with data size. In this paper, we propose User Behavioral Densing Law for characterizing the quantitative relationship between data scale and the minimum sufficient tokenization capacity. Firstly, we conduct pilot study on raw & tokenized scaling comparison on billion-scale Alipay dataset, revealing the raw data scaling bottleneck and breakthrough via tokenization. To derive the scaling pattern governing the minimum sufficient tokenization configuration at different data scales, theoretical and experimental analyses are employed to summarize the quantitative scaling pattern. In addition, we propose a new tokenization method named ALGN inspired by the proposed Densing Law. Experimental evaluation over different data sources, tokenization methods and downstream tasks proves the generalizability and reliability of the Densing Law, which provides the guidance for configuration selection in large-scale user representation learning. Also ALGN surpasses existing baselines on both performance and efficiency.

ANT GROUP

1 Introduction

The remarkable success of deep representation learning has fundamentally transformed modern personalized platforms, with downstream performance consistently improving as user behavioral sequences and model parameters scale (Kang and McAuley, 2018; Sun et al., 2019; Pi et al., 2019). Today, unified user embeddings extracted from raw behavioral logs serve as a shared foundation across recommendation, CTR/CVR prediction, retrieval, and natural language user targeting (Xiao et al., 2025; Zhang et al., 2021). Figure 1 (a) sketches this paradigm. However, scaling along practical axes, including more users, longer historical windows, and larger encoders (Ardalani et al., 2022; Guo et al., 2024; Zhang et al., 2024b), presents significant challenges. User behavior logs are heavily shaped by daily routines and repeated habits, meaning data volume grows rapidly while novel, task-relevant information grows much more slowly. This discrepancy introduces a critical question:

Can we identify the key properties that make scaled models effective, thus improving representation quality without simply processing a greater volume of raw behavioral events?

Figure

(a) Billion-Scale User Representation Learning

User Behavior Sequence Length / days

(b) Performance — Training User Data Scaling Trend

Figure 1 (a) User representation learning pipeline. Once trained on user behavioral sequences, a representation model can support various downstream applications, including text-based retrieval for user targeting, U2U retrieval for recommendation system and classification for advertising and risk control scenarios. In industrial settings with billion-scale users, when scaling up input data volume, commonly via increasing behavioral timespan and user amount, models directly consume raw data (e.g., raw user behavioral text description), will suffer from performance saturation beyond practical scaling thresholds while tokenization will alleviate the limitation and enable sustained performance gains, as shown in (b).

While existing industrial systems rely on scaling raw sequence data, the empirical manifestation of behavioral redundancy and its relationship to downstream performance remain underexplored. In this work, we provide a comprehensive empirical analysis of what we term the raw behavioral scaling wall, using large-scale real-world Alipay PayBill data to ensure practical relevance and ecological validity.

Definition 1.1. We define the raw behavioral scaling wall as the phenomenon where incrementally scaling raw behavioral sequence length, user population, or model capacity yields strictly diminishing downstream returns, culminating in a loss and quality dissociation where pre-training loss decreases without improving downstream accuracy.

Through systematic evaluations across multiple scaling axes, we demonstrate that industrial user representation learning exhibits severe redundancy saturation. Extending observation windows or user bases primarily introduces repetitive, low-information events. Most notably, when scaling a user encoder from 0.2B to 0.4B parameters, we observe that the larger model merely fits redundant behavioral details rather than extracting additional task-relevant signal, leaving downstream representation accuracy almost unchanged.

Definition 1.2. We define behavioral densing as the process of transforming long raw histories into compact representations that preserve task-relevant distinctions while suppressing redundancy, thereby optimizing the amount of downstream-relevant signal each effective input unit carries.

This density-oriented perspective shows a fundamental insight: information density, rather than model capacity alone, is a key bottleneck limiting the expressivity of user encoders. We hypothesize that moving user representations toward a better performance-cost frontier, governed by the behavioral densing law, can recover the gains that raw scaling fails to provide. This law rests on three principles: Bounded Raw Gains, where marginal utility drops as redundancy dominates; Density Driven Scaling, where denser representations shift the saturation frontier; and Minimal Sufficient Capacity, where optimal representations allocate only enough capacity to preserve necessary task-relevant information.

To test this hypothesis, we instantiate behavioral densing using residual quantized behavioral tokenization via RQ-VAE. This acts as a practical density operator, mapping repetitive event histories into compact sequences of discrete codes. Furthermore, recognizing that behavioral information is not uniformly distributed, we propose an entropy-based variable length tokenization strategy. By allocating more discrete codes to high-entropy segments and fewer to predictable routines, this mechanism explicitly adapts to behavioral complexity and approaches minimal sufficient representation capacity.

Our empirical evaluations demonstrate that under matched token and compute budgets, the tokenized representations overcome the raw scaling wall. The proposed framework yields consistent performance gains and improved encoder utilization on large-scale Alipay PayBill production data.

The key contributions of this work are:

  1. Scaling diagnosis and tokenization effects. We identify diminishing marginal returns when scaling raw behavioral data, and reveal that tokenized data deliver more sustained gains thereby mitigating performance saturation at larger scales. Together with evidence of a model-capacity bottleneck, these findings indicate that data information density, rather than model parameter number alone, is a primary constraint on industrial user representation learning, especially at billion-scale data capacity.

  2. Predictive tokenization configuration recipe. We formulate the optimal tokenization capacity configuration trajectory corresponding to input data volume as the Behavioral Densing Law for user representation learning, enabling required capacity configurations to be estimated from behavioral data scale and lightweight statistics after tokenizer-method calibration.

  3. Adaptive tokenization allocation. We propose Adaptive Length Gated Network, a novel approach which adaptively allocates tokenization capacity via variable residual depth across user samples according to the quantization residual and expression uncertainty, enabling more effective allocation of the discrete representation space and exhibiting advantages as the input data scales up from the Densing Law perspective.

References (42)