Introduction: The Challenge of Timing in E-commerce
In the competitive landscape of e-commerce, identifying who will make a purchase is only part of the equation. The "holy grail" for marketers is determining when a consumer will buy, allowing for perfectly timed advertisements and recommendations. Traditional tools, such as the Negative Binomial Distribution (NBD) model, often fall short because they assume purchase probability remains stationary over time. They fail to capture the "bursty" nature of shopping—where one purchase often triggers another—and the complex influence of external stimuli like seasonal sales.
Methodology: Hierarchical Time-Rescaling (HTRm)
To address these limitations, the researchers developed the Hierarchical Time-Rescaling (HTRm) model. The core innovation is based on the Time-Rescaling Theorem, a mathematical principle that allows any complex sequence of events to be transformed into a simple, steady "unit-rate Poisson process" by stretching or shrinking the time axis.
HTRm applies this rescaling in a hierarchical fashion across several layers:
- The Sale Factor: Uses alpha-functions to model sudden spikes in purchase probability triggered by sales, followed by a gradual decay.
- The Self-Excitation Factor: Employs a Hawkes process to model "bursty" behavior, capturing how a recent purchase increases the likelihood of subsequent transactions.
- The Preceding Purchase Dependency: Utilizes a Weibull hazard function to account for individual rhythms, such as the "refractory period" required before a consumer needs to replenish a long-lasting item.
By layering these factors analytically, the model can calculate the "survivor function" (the probability of no purchase occurring) without the need for heavy simulations. This makes the model computationally efficient enough for real-time systems.
Key Insights and Results
The model was evaluated using fashion e-commerce transactions and grocery panel data (Milk, Coffee, and Water).
Category-Specific Temporal Signatures
The HTRm model revealed that different product categories possess distinct "temporal personalities":
- Fashion: Highly self-exciting; purchases tend to occur in clusters, reflecting "shopping spree" behavior.
- Milk: Predominantly periodic; it features a clear refractory period where the probability of purchase drops significantly immediately after a transaction.
Performance and Scalability
HTRm significantly outperformed standard NBD models in terms of log-likelihood across all tested datasets. By successfully "normalizing" the data, the hierarchical rescaling removed the correlations between purchase intervals that plague simpler models. Furthermore, the time required for parameter estimation scales linearly with the number of customers, demonstrating the model's readiness for large-scale industrial deployment.
Conclusion and Future Work
HTRm provides a robust framework for predicting consumer behavior by treating it as a temporal geometry problem. While the current model treats customers and items independently, future research may incorporate social dynamics and cross-category influences—such as how purchasing a printer might trigger a subsequent need for ink—to create an even more holistic view of the consumer ecosystem.
Summary updated