arXiv:2608.28393cs.AIAug 2026

Manuscript Offprint

arXiv:2608.28393

Timing-Aware Repurchase Prediction for Web-Scale E-Commerce: Survival Models for Multi-Surface Grocery Recommendation

Akshay Kekuda, Shreeranjani Srirangamsridharan, Ishan Bhatt, Yanan Cao, Sinduja Subramaniam, Evren Korpeoglu, Kaushiki Nag, Kannan Achan

Akshay Kekuda

Walmart Global Tech

Bellevue, WA, USA

akshay.kekuda@walmart.com

Shreeranjani

Srirangamsridharan

Walmart Global Tech

Sunnyvale, CA, USA

shreeranjani.srirangamsridharan@walmart.com

Yanan Cao

Walmart Global Tech

Sunnyvale, CA, USA

yanan.cao@walmart.com

Ishan Bhatt

Walmart Global Tech

Sunnyvale, CA, USA

ishan.bhatt@walmart.com

Sinduja Subramaniam

Walmart Global Tech

Sunnyvale, CA, USA

sinduja.subramaniam@walmart.com

Evren Korpeoglu

Walmart Global Tech

Sunnyvale, CA, USA

evren.korpeoglu@walmart.com

Kaushiki Nag

Walmart Global Tech

Sunnyvale, CA, USA

kaushiki.nag@walmart.com

Abstract

Repurchase recommenders in e-commerce are commonly framed as a binary question asking will this customer buy this item within W days, a formulation that in our production setting requires a separately trained model for every horizon of interest. We replace this stack with survival models that predict time-to-repurchase directly, and evaluate them on millions of customers from a major grocery e-commerce platform across more than thirty ablation configurations. Our study makes three contributions. First, an empirical hazard analysis reveals a slightly decreasing marginal hazard ( k^≈0.9\hat{k} \approx 0.9). This differs from the common intuition that grocery items become more likely to be repurchased the longer it has been since the last purchase (an increasing hazard with k>1k > 1). Log-Normal achieves the best marginal fit ( R2=0.998R^2 = 0.998) and the best ranking, despite Weibull providing the best fit to conditional residuals, revealing an apparent discrepancy that we analyze in detail. Second, a single Accelerated Failure Time (AFT) model replaces three per-horizon binary classifiers, matching or exceeding each at its own horizon while using roughly 3×3 \times fewer total trees. Feature importance reshuffles under the survival objective: channel-cadence and recency signals rise sharply while aggregate frequency counts fall. Third, a 4-parameter parametric calibration maps raw survival cumulative distribution functions (CDFs) to per-horizon probabilities with zero cross-horizon monotonicity violations. Calibration quality varies by an order of magnitude across the AFT family even though ranking does not: Exponential AFT (Weibull k=1k=1) achieves expected calibration error (ECE) ≈10−4\approx 10^{-4}, roughly 10×10 \times lower than Log-Normal, while ranking metrics agree within 0.3% relative. We therefore adopt Exponential AFT for probability-consuming surfaces and Log-Normal for pure ranking, exposing a principled calibration-ranking trade-off within a single AFT family.

Keywords

repurchase prediction, survival analysis, accelerated failure time, discrete-time hazard, multi-horizon ranking

Kannan Achan

Walmart Global Tech

Sunnyvale, CA, USA

kannan.achan@walmart.com