# NEDMP: Neural Enhanced Dynamic Message Passing

arXiv: https://arxiv.org/abs/2202.06496 · HTML: https://mlsanity.com/paper/2202.06496/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 19 of its 30 references that are in the map.
- Submitted 14 Feb 2022.

## Builds on (most cited first, 19 of 19)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [A Comprehensive Survey on Graph Neural Networks](https://mlsanity.com/paper/1901.00596/) (2019)
- [Learning to Simulate Complex Physics with Graph Networks](https://mlsanity.com/paper/2002.09405/) (2020)
- [Gated Graph Sequence Neural Networks](https://mlsanity.com/paper/1511.05493/) (2015)
- [Discovering Symbolic Models from Deep Learning with Inductive Biases](https://mlsanity.com/paper/2006.11287/) (2020)
- [Model-Based Deep Learning](https://mlsanity.com/paper/2012.08405/) (2020)
- [Neural Enhanced Belief Propagation on Factor Graphs](https://mlsanity.com/paper/2003.01998/) (2020)
- [Inference in Probabilistic Graphical Models by Graph Neural Networks](https://mlsanity.com/paper/1803.07710/) (2018)
- [Belief Propagation Neural Networks](https://mlsanity.com/paper/2007.00295/) (2020)
- [Message passing on networks with loops](https://mlsanity.com/paper/1907.08252/) (2019)
- [Inferring the origin of an epidemic with a dynamic message-passing algorithm](https://mlsanity.com/paper/1303.5315/) (2013)
- [Reconstructing parameters of spreading models from partial observations](https://mlsanity.com/paper/1608.08698/) (2016)
- [Prediction-Centric Learning of Independent Cascade Dynamics from Partial Observations](https://mlsanity.com/paper/2007.06557/) (2020)
- [Neural Enhanced Belief Propagation for Cooperative Localization](https://mlsanity.com/paper/2105.12903/) (2021)
- [A message-passing approach for recurrent-state epidemic models on networks](https://mlsanity.com/paper/1505.02192/) (2015)
- [Optimal Deployment of Resources for Maximizing Impact in Spreading Processes](https://mlsanity.com/paper/1608.08278/) (2016)
- [A message-passing approach for threshold models of behavior in networks](https://mlsanity.com/paper/1312.2070/) (2013)
- [Dynamic message-passing equations for models with unidirectional dynamics](https://mlsanity.com/paper/1407.1255/) (2014)
- [Scalable Influence Estimation Without Sampling](https://mlsanity.com/paper/1912.12749/) (2019)

## Abstract (arXiv)

Predicting stochastic spreading processes on complex networks is critical in epidemic control, opinion propagation, and viral marketing. We focus on the problem of inferring the time-dependent marginal probabilities of states for each node which collectively quantifies the spreading results. Dynamic Message Passing (DMP) has been developed as an efficient inference algorithm for several spreading models, and it is asymptotically exact on locally tree-like networks. However, DMP can struggle in diffusion networks with lots of local loops. We address this limitation by using Graph Neural Networks (GNN) to learn the dependency amongst messages implicitly. Specifically, we propose a hybrid model in which the GNN module runs jointly with DMP equations. The GNN module refines the aggregated messages in DMP iterations by learning from simulation data. We demonstrate numerically that after training, our model's inference accuracy substantially outperforms DMP in conditions of various network structure and dynamics parameters. Moreover, compared to pure data-driven models, the proposed hybrid model has a better generalization ability for out-of-training cases, profiting from the explicitly utilized dynamics priors in the hybrid model. A PyTorch implementation of our model is at https://github.com/FeiGSSS/NEDMP.
