TL;DR
This paper introduces FOUNDv2, a novel framework that unifies user representations from diverse data sources into a compact, discrete token space. By leveraging a hierarchical quantization approach and multi-scale alignment tasks, FOUNDv2 significantly reduces storage and computation costs while improving performance on downstream tasks like recommendation and behavior prediction, demonstrating its practical scalability for industrial applications.
What Problem Does This Paper Address?
Personalized services on large-scale web platforms like Alipay rely heavily on understanding users through their diverse data (text, behavior sequences, tabular attributes). Traditional methods often process each data source separately and then combine them (late-fusion), which leads to several issues:
- Lack of a Unified Paradigm: It's hard to capture deep synergies and complex dependencies across different data types when they're processed in isolation.
- Scalability and Storage Issues: Continuous embeddings, while expressive, can be very large and inefficient for storing long user histories, creating a bottleneck for platforms dealing with massive amounts of data.
- Inflexible Cross-Task Generalization: Models trained for one task might not easily adapt to others, limiting their utility across various platform needs.
The authors aim to create a single, efficient, and adaptable representation for users that overcomes these limitations.
Methods
FOUNDv2 employs a two-stage architecture:
- Multi-source Encoding: They use the Qwen3 Embedding model to encode various user data (textual descriptions, sequential behaviors, tabular attributes) into a shared, expressive latent language space. This step aims to create richer, better-aligned embeddings by leveraging the power of large language models. For tabular data, a Multilayer Perceptron (MLP) is used.
- Quantized User Tokenizers (U2QT): This is the core innovation. They propose a Multi-view Residual Quantized Variational AutoEncoder (MRQ-VAE).
- Hierarchical Quantization: MRQ-VAE compresses the continuous embeddings into discrete tokens using a two-stage hierarchical codebook system:
- Shared Codebook: Captures common cross-source semantic patterns.
- Source-Specific Codebooks: Refines patterns unique to each data source (e.g., tabular, app usage, search queries).
- Multi-Scale Alignment: To further enhance the learned tokens, they introduce three pretext tasks:
- Token-Level Alignment: Captures local dependencies within individual behavioral events.
- Window-Level Alignment: Captures long-term periodicity and cyclical user behavior patterns.
- Semantic-Level Alignment: Inspired by CLIP, it aligns user tokens with natural language descriptions of future behaviors, ensuring predictive capabilities at a high conceptual level.
This quantization process significantly reduces storage and computation, enabling longer historical context to be considered.
Datasets
- Training Data: A large-scale Alipay dataset comprising approximately 20 million heterogeneous, multi-scenario user records (Dtrain).
- Evaluation Benchmarks: Four representative tasks across three domains (security risk control, behavior prediction, user profiling), each with roughly 500,000 records (Dtest).
- Downstream Recommendation Task: Data split chronologically, with interactions from the first 21 days for training and the subsequent 3 days for validation/testing.
Key Insights and Ideas
- Hierarchical Quantization is Key: The combination of shared and source-specific codebooks in MRQ-VAE is crucial. It allows the model to learn both universal user patterns and domain-specific nuances effectively, leading to better disentanglement and representation quality compared to purely shared or purely specific approaches.
- Discrete Tokens for Efficiency: Transforming continuous embeddings into discrete tokens is a powerful strategy for drastically reducing storage and computational costs, making it feasible to handle massive user datasets and longer historical contexts.
- Multi-Scale Alignment for Temporal Intelligence: The three alignment tasks (token, window, semantic) imbue the user tokenizer with a sophisticated understanding of user behavior across different temporal granularities, from immediate actions to long-term trends.
- LLMs as a Foundation: Leveraging pre-trained LLMs like Qwen3 for initial encoding helps create a rich, semantically grounded latent space, which is then effectively compressed by the U2QT framework.
Key Results
- Performance Gains: FOUNDv2 consistently outperforms state-of-the-art baselines across downstream tasks, achieving significant improvements (e.g., 3% / 9% average increase in AUC / KS over the FOUND baseline).
- Efficiency Improvements:
- Storage: A 30x reduction in storage footprint compared to the original FOUND framework.
- Training Time: A 3.5x speedup in training time.
- Temporal Context: Extends the manageable historical window from 60 to 180 days under identical GPU memory constraints, a 200% increase.
- Industrial Validation: Extensive A/B tests on Alipay demonstrated practical effectiveness, leading to reduced coupon costs, lower pricing costs, and improved advertising metrics (Ad CPM, ad consumption, transaction amount, customer value).
- Architectural Synergy: The shared-plus-specific architecture shows superior performance, effectively balancing cross-source interaction and modality disentanglement.
Limitations and Future Work
- Encoder Choice Matters: While Qwen3-0.6B shows excellent results, the performance can be amplified by using a high-quality, domain-compatible encoder. The paper notes that a standard BERT backbone still yields good results, but Llama3.2-1B showed suboptimal performance, likely due to its Chinese-specific context limitations. This suggests that the choice of the initial encoder is important for maximizing FOUNDv2's benefits.
- Incremental Deployment: The paper details an efficient incremental update strategy for production, which is a key aspect of its scalability.
- Future Work: The paper implicitly suggests that exploring even more advanced quantization techniques and alignment strategies could further enhance user representation capabilities. The success in industrial settings also opens doors for broader applications.
Summary updated