Skip to content
Log inStart free

Design paper

Event-driven decision making in commerce: a design for interpreting signals as they arrive

Abstract

Machine learning in commerce is often run as a batch exercise: models are trained on weekly aggregates and their outputs reach the storefront long after the conditions that produced them have changed. We describe a design in which decisions about merchandising, promotion, payments and delivery promises are driven by events as they occur. The design has two layers. An event signal layer validates, deduplicates and enriches events, and monitors their quality. A decision layer estimates the effect of candidate actions, chooses among them with bandits and constrained planners, and checks consent, exposure and latency before any action is taken. We set out the reasoning for each component from the cited literature, show how signals map to decisions, describe the evaluation the design would need, and state its limits. This is a design proposal, not a measured result.

Method. Design paper: the architecture is argued from the cited literature; we report no measurements of our own. Table 1 maps signal families to the decisions they inform, the guard applied, and the supporting source.

References

  1. 1

    Pearl, J. (2009). Causality: Models, reasoning, and inference (2nd ed.). Cambridge University Press. doi.org/10.1017/CBO9780511803161

  2. 2

    Athey, S., & Imbens, G. (2016). Recursive partitioning for heterogeneous causal effects. Proceedings of the National Academy of Sciences. doi.org/10.1073/pnas.1510489113

  3. 3

    Abadie, A., Diamond, A., & Hainmueller, J. (2010). Synthetic control methods for comparative case studies: Estimating the effect of California's tobacco control program. Journal of the American Statistical Association. doi.org/10.1198/jasa.2009.ap08746

  4. 4

    Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems 30 (arXiv). arxiv.org/abs/1705.07874

  5. 5

    Kohavi, R., Tang, D., & Xu, Y. (2020). Trustworthy online controlled experiments: A practical guide to A/B testing. Cambridge University Press. doi.org/10.1017/9781108653985

  6. 6

    Kleppmann, M. (2017). Designing data-intensive applications. O'Reilly Media. www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/

  7. 7

    Kullback, S., & Leibler, R. A. (1951). On information and sufficiency. The Annals of Mathematical Statistics. doi.org/10.1214/aoms/1177729694

  8. 8

    Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. doi.org/10.1145/2939672.2939785

  9. 9

    Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems 30 (arXiv). arxiv.org/abs/1706.03762

  10. 10

    Box, G. E. P., Jenkins, G. M., Reinsel, G. C., & Ljung, G. M. (2015). Time series analysis: Forecasting and control (5th ed.). Wiley. www.wiley.com/en-us/Time+Series+Analysis%3A+Forecasting+and+Control%2C+5th+Edition-p-9781118675021

  11. 11

    Agarwal, A., Hsu, D., Kale, S., Langford, J., Li, L., & Schapire, R. E. (2014). Taming the monster: A fast and simple algorithm for contextual bandits. Proceedings of the 31st International Conference on Machine Learning (arXiv). arxiv.org/abs/1402.0555

  12. 12

    Choi, H., & Varian, H. (2012). Predicting the present with Google Trends. Economic Record. doi.org/10.1111/j.1475-4932.2012.00809.x

  13. 13

    Lazer, D., Kennedy, R., King, G., & Vespignani, A. (2014). The parable of Google Flu: Traps in big data analysis. Science. doi.org/10.1126/science.1248506

  14. 14

    Lambrecht, A., & Tucker, C. (2013). When does retargeting work? Information specificity in online advertising. Journal of Marketing Research. doi.org/10.1509/jmr.11.0503

  15. 15

    Gefen, D., Karahanna, E., & Straub, D. W. (2003). Trust and TAM in online shopping: An integrated model. MIS Quarterly. doi.org/10.2307/30036519

  16. 16

    Patil, V., Ghalme, G., Nair, V., & Narahari, Y. (2021). Achieving fairness in the stochastic multi-armed bandit problem. Journal of Machine Learning Research, 22. jmlr.org/papers/v22/20-704.html

  17. 17

    Deng, A., Xu, Y., Kohavi, R., & Walker, T. (2013). Improving the sensitivity of online controlled experiments by utilizing pre-experiment data. Proceedings of the Sixth ACM International Conference on Web Search and Data Mining. doi.org/10.1145/2433396.2433413

  18. 18

    Johari, R., Koomen, P., Pekelis, L., & Walsh, D. (2017). Peeking at A/B tests: Why it matters, and what to do about it. Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. doi.org/10.1145/3097983.3097992

  19. 19

    Dwork, C., & Roth, A. (2014). The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science. doi.org/10.1561/0400000042

Cite this paper

Tanqory Research (2025). Event-driven decision making in commerce: a design for interpreting signals as they arrive. Tanqory. https://tanqory.com/research/20251230-event-driven-ai-commerce

More research

All research