Abstract
We describe the Customer LifeTime Value (CLTV) prediction system deployed at ASOS.com, a global online fashion retailer. CLTV prediction is an important problem in e-commerce where an accurate estimate of future value allows retailers to effectively allocate marketing spend, identify and nurture high value customers and mitigate exposure to losses. The system at ASOS provides daily estimates of the future value of every customer and is one of the cornerstones of the personalised shopping experience. The state of the art in this domain uses large numbers of handcrafted features and ensemble regressors to forecast value, predict churn and evaluate customer loyalty. Recently, domains including language, vision and speech have shown dramatic advances by replacing handcrafted features with features that are learned automatically from data. We detail the system deployed at ASOS and show that learning feature representations is a promising extension to the state of the art in CLTV modelling. We propose a novel way to generate embeddings of customers, which addresses the issue of the ever changing product catalogue and obtain a significant improvement over an exhaustive set of handcrafted features.
Introduction
Predicting Customer Lifetime Value (CLTV)—the net profit a customer generates over a specific period—is a critical challenge for e-commerce. Accurate forecasts enable retailers like ASOS to optimize marketing spend and identify high-value customers early. However, CLTV modeling is complicated by extreme data sparsity, the high rate of product returns in fashion, and the limitations of traditional handcrafted features, which often fail to capture subtle behavioral patterns hidden in raw clickstream data.
System Architecture
The system deployed at ASOS handles over 12 million active customers, processing massive datasets including demographics, purchase history, and web/app session logs. The architecture is designed to balance predictive power with operational efficiency.
As shown in the architecture diagram, the system utilizes Apache Spark for large-scale data aggregation and a machine learning pipeline that includes pre-processing, churn classification (Random Forest), and LTV regression. A key innovation is the experimental Customer Embedding Generator built with TensorFlow, which provides rich behavioral features to the downstream models by learning representations directly from session data.
Learning Customer Representations
The core advancement of this work is the move from manual feature engineering to learned embeddings. Traditional models rely on roughly 132 handcrafted features, such as order frequency in the last three months. Inspired by Word2Vec, the authors propose a "Skip-gram" approach where products serve as the context and the sequence of customers viewing them are treated as "words." This allows the model to capture latent similarities between customers based on shared interests, effectively handling the "ever-changing catalog" problem—even if a specific item goes out of stock, the learned customer relationship remains valid.
To ensure the reliability of these predictions in a production environment, the system employs a calibration layer. This step maps raw model outputs to real-world probabilities, ensuring that if the model predicts a 75% churn risk for a group, approximately 75% of those customers actually churn. Additionally, a "warm start" strategy is used during retraining to maintain stable embeddings for existing customers while integrating new ones, preventing the arbitrary permutation of embedding dimensions that can occur during stochastic training.
Results and Performance
The inclusion of customer embeddings provided a significant uplift in model performance. The churn prediction model achieved an Area Under the Curve (AUC) of 0.798. For CLTV prediction, the system achieved a Spearman rank-order correlation of 0.56 across the entire customer base.
While hybrid deep learning models showed potential for even higher accuracy, the authors noted a significant trade-off regarding computational costs. For a large-scale retailer, the efficiency of Random Forests on Spark clusters often provides a better balance of performance and operational expense than GPU-intensive deep architectures. This highlights the importance of "cost-aware" machine learning in industrial settings.
Conclusion
The ASOS CLTV system demonstrates that learned feature representations are a powerful extension to traditional e-commerce modeling. By treating customer behavior as a sequence of interactions, the system captures complex patterns that handcrafted features miss. Future work aims to move toward fully end-to-end deep learning systems and improving "cold start" predictions for new customers with limited history.
Summary updated