A framework for interacting stochastic processes with discrete jumps on time-varying networks whose topology co-evolves with the system state.
Research project at ETH Zürich, 2026 — Adrian Martens & Samuel Krause.
This repository accompanies an ongoing research project. The full implementation is under development; this page documents motivation, formulation, and scope.
Many real-world systems involve interacting stochastic processes with sudden discontinuities on time-varying networks:
- Power grids: renewable in-feed fluctuates stochastically at every bus; line trips are discrete jumps that redistribute flows via Kirchhoff's laws and can cascade.
- Financial markets: asset prices follow correlated diffusions punctuated by jumps (defaults, flash crashes); cross-asset contagion intensifies during crises.
Both settings combine three features simultaneously:
- continuous stochastic node dynamics,
- discrete jump events propagating through a network,
- a time-varying interaction structure that co-evolves with the state.
No existing model captures all three. Neural MJD models jumps but treats series independently. LNJSDE adds latent graph structure but fixes it in time. Graph Neural SDEs have graphs but no jumps. This project closes that gap.
Each entity
where
- Variant 1 (deterministic): $A_{kj}(t) = \mathrm{softmax}j!\left(e\theta(z_k, z_j)\right)$, recomputed every integration step.
- Variant 2 (stochastic): adds a learned Gaussian perturbation, capturing uncertainty in coupling strength.
-
Variant 3 (jump-induced):
$A(\tau^+) = A(\tau^-) + \Delta A_\theta(z(\tau^-), \text{event})$ ; for power grids$\Delta A$ is informed by Power Transfer Distribution Factors.
Training uses the standard TPP log-likelihood with stochastic-adjoint backprop and adjoint jump conditions, extending Neural MJD's likelihood to graph-coupled dynamics.
Cascading failures in power grids (IEEE 39-bus + PowerGraph benchmark). A line trip redistributes flows; a static graph cannot express that a previously non-critical line becomes the most loaded post-trip path. Variant 3 adapts
Cross-asset contagion in finance (S&P 500,
| SDE | Jumps | Graph | Dyn. A | Target | |
|---|---|---|---|---|---|
| NJ-ODE | – | ✓ | – | – | States |
| Neural MJD | ✓ | ✓ | (✓) | – | States |
| LNJSDE | ✓ | ✓ | ✓ | – | Intensities |
| Graph Neural SDE | ✓ | – | ✓ | – | Repr. |
| LaGNA | ✓ | – | ✓ | – | States |
| This project | ✓ | ✓ | ✓ | ✓ | Both |
- M1–2: reproduce LNJSDE and Neural MJD baselines; codebase integration.
- M3–4: implement and evaluate co-evolutionary graph variants on TPP benchmarks (Stack Overflow, MIMIC-II, Retweet).
- M5–6: power-grid cascading-failure experiments (PowerGraph); cross-asset experiments (S&P 500); theoretical analysis (existence/uniqueness).
- M7: ablations, manuscript.
Python · PyTorch · torchsde · torch-geometric · NumPy / SciPy
Built on top of the LNJSDE codebase, the torchsde library, and the Neural MJD solver.
- Gao et al., Neural MJD: Neural Non-Stationary Merton Jump Diffusion for Time Series Prediction, NeurIPS 2025.
- Wang et al., Learning Neural Jump SDEs with Latent Graph for Multivariate TPPs, IJCAI 2025.
- Jia & Benson, Neural Jump Stochastic Differential Equations, NeurIPS 2019.
- Li, Wong, Chen, Duvenaud, Scalable Gradients for SDEs, AISTATS 2020.
- Varbella, Gjorgiev, Sansavini, PowerGraph, NeurIPS D&B 2024.
A full bibliography accompanies the project proposal.
Adrian Martens · ETH Zürich Samuel Krause · ETH Zürich · sakrause@ethz.ch
Early draft — April 2026.