DeepCausalMMM
Overview
A Deep Learning framework for Marketing Mix Modeling with causal structure learning. Standard MMM approaches rely on linear regression or Bayesian hierarchical models that assume channel independence and struggle to capture temporal dynamics and non-linear saturation. DeepCausalMMM combines GRU-based temporal modeling with DAG-based causal discovery to recover channel relationships and time-varying effects that those approaches miss.
Methodology
- Temporal modeling: Gated Recurrent Units (GRUs) learn adstock and lag effects over time.
- Causal structure learning: a Directed Acyclic Graph, either an upper-triangular mask or NOTEARS continuous optimization, discovers statistical dependencies between channels instead of assuming independence.
- Response curves: Hill equation saturation curves model diminishing returns for budget optimization.
- Robust statistics: Huber loss and channel-specific regularization for stability against outliers.
- Multi-region modeling: shared and region-specific parameters, with DMA-level economic contribution analysis.
Paper, code, and docs
- Paper (JOSS): 10.21105/joss.09914
- Code: github.com/adityapt/deepcausalmmm
- Install (PyPI):
pip install deepcausalmmm - Documentation: deepcausalmmm.readthedocs.io
- Tutorial: Colab quickstart notebook
- Software record (Zenodo): 10.5281/zenodo.16934842
How to cite
@article{PuttaparthiTirumala2026,
author = {Puttaparthi Tirumala, Aditya},
title = {DeepCausalMMM: A Deep Learning Framework for Marketing Mix Modeling with Causal Structure Learning},
journal = {Journal of Open Source Software},
year = {2026},
volume = {11},
number = {120},
pages = {9914},
doi = {10.21105/joss.09914},
url = {https://doi.org/10.21105/joss.09914}
}
Independent discussions
Technical & practitioner coverage
- Paolo Baldriga, “From Bayesian MMM to Deep Causal: Why Storyline Matters More”
- MachineBrief, “DeepCausalMMM: Unpacking the Marketing Magic with AI”
- 360OM Agency, “The Future of Marketing Budgets in 2026”
- Lydec, “Attribution, CRO, and CAC: A Reality Check”
- SEO by the Sea, “5-Schritte-Leitfaden zur erfolgreichen Marketingmessung” (German)
- Tahereh Nabizadeh, “Marketing Is Entering a New Scientific Era” (LinkedIn)
- Buzzhive Marketing, “Marketing Tracking”
Research & technical discovery