Sequence-aware models for predicting online purchase conversion from clickstream data: a leakage-aware benchmark study with calibration, value, and interpretability
摘要
Predicting purchase conversion from web-session clickstreams underpins targeting, personalization, and budget-allocation decisions in digital commerce, but published benchmarks frequently report near-perfect discrimination that does not survive a leakage audit. We present a leakage-aware benchmark study that contrasts a full-session task (Task A, an upper-bound diagnostic in which the input may contain post-outcome tokens) with a pre-conversion task (Task B, a deployable formulation in which post-purchase events and aggregates are removed) on the public Yoochoose RecSys 2015 challenge data, complemented by a controlled synthetic stress test. We compare four tabular baselines (logistic regression, histogram gradient boosting, XGBoost, LightGBM) against two sequence-aware deep models (LSTM, Transformer), report 95 % bootstrap confidence intervals on every metric, and use DeLong’s correlated-AUC test for pairwise model comparison. We further evaluate calibration via reliability diagrams, Brier score, and expected calibration error; quantify business value via top-k expected-revenue capture; and triangulate behavioral evidence with pre-purchase n-gram motifs and counterfactual session edits with paired Wilcoxon tests on