Leveraging World Events to Predict E-Commerce Consumer Demand under Anomaly

Dan Kalifa,Uriel Singer,Ido Guy,Guy D. Rosin,Kira Radinsky
DOI: https://doi.org/10.1145/3488560.3498452
2024-05-23
Abstract:Consumer demand forecasting is of high importance for many e-commerce applications, including supply chain optimization, advertisement placement, and delivery speed optimization. However, reliable time series sales forecasting for e-commerce is difficult, especially during periods with many anomalies, as can often happen during pandemics, abnormal weather, or sports events. Although many time series algorithms have been applied to the task, prediction during anomalies still remains a challenge. In this work, we hypothesize that leveraging external knowledge found in world events can help overcome the challenge of prediction under anomalies. We mine a large repository of 40 years of world events and their textual representations. Further, we present a novel methodology based on transformers to construct an embedding of a day based on the relations of the day's events. Those embeddings are then used to forecast future consumer behavior. We empirically evaluate the methods over a large e-commerce products sales dataset, extracted from eBay, one of the world's largest online marketplaces. We show over numerous categories that our method outperforms state-of-the-art baselines during anomalies.
Machine Learning
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to predict e - commerce consumer demand more accurately in abnormal situations (such as during the epidemic, abnormal weather or sports events). Traditional time - series prediction methods perform poorly when dealing with these abnormal situations because these situations are often affected by multiple external factors, such as weather, health conditions, market trends, etc., which increase the uncertainty of prediction. Although many time - series algorithms have been applied to this task, prediction in abnormal situations remains a challenge. To meet this challenge, the paper proposes a new method to improve the prediction accuracy in abnormal situations by leveraging world events. Specifically, the authors mined 40 years of world - event data and proposed a new Transformer - based method to construct an embedding representation for a day, which is based on the relationships between the events of that day. These embedding representations are then used to predict future consumer behavior. Through empirical evaluation on eBay's large - scale e - commerce product sales data set, the paper shows that its method outperforms the existing state - of - the - art baseline methods in multiple categories, especially in abnormal situations.