Published October 28, 2026 | Journal article | Version v1 | https://doi.org/10.21105/joss.10778

CD-Dynamax: A JAX-based Python package for continuous-discrete probabilistic state space modeling and inference

  • 1. Broad Institute of MIT and Harvard, USA
  • 2. Basis Research Institute, USA
  • 3. Massachusetts Institute of Technology, USA
  • 4. BCAM – Basque Center for Applied Mathematics, Spain
  • 5. IKERBASQUE — Basque Foundation for Science, Spain

Files

cd_dynamax-v0.5.0.zip

Files (11.6 MB)

Name Size Download all
md5:a31268ff5c4fc5030d4771efcb985e5d
11.4 MB Preview Download
md5:a91dba218ee4b293da1377d174d562f5
248.5 kB Preview Download

Additional details

Dates

Issued
October 28, 2026

References

  1. Matthew, L., Daniel Waxman, & Iñigo Urteaga. (2026). CD-Dynamax: A JAX-based Python package for continuous-discrete probabilistic state space modeling and inference (Version v0.5.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23362342
  2. Murphy, K. P. (2023). Probabilistic machine learning: Advanced topics. MIT Press. ISBN: 9780262048439
  3. Särkkä, S., & Svensson, L. (2023). Bayesian Filtering and Smoothing (2nd ed.). Cambridge University Press. https://doi.org/10.1017/9781108917407
  4. Bradbury, J., Frostig, R., Hawkins, P., Johnson, M. J., Leary, C., Maclaurin, D., Necula, G., Paszke, A., VanderPlas, J., Wanderman-Milne, S., & Zhang, Q. (2018). JAX: Composable transformations of Python+NumPy programs (Version 0.3.13). https://github.com/google/jax
  5. Linderman, S. W., Chang, P., Harper-Donnelly, G., Kara, A., Li, X., Duran-Martin, G., & Murphy, K. (2025). Dynamax: A Python package for probabilistic state space modeling with JAX. Journal of Open Source Software, 10(108), 7069. https://doi.org/10.21105/joss.07069
  6. Kidger, P. (2022). On Neural Differential Equations (Version 1) [Article]. arXiv. https://doi.org/10.48550/arxiv.2202.02435
  7. Lysy, M. (2023). PFJax: Particle filtering in JAX. https://github.com/mlysy/pfjax
  8. Johnson, M. J. (2020). PyHSMM: Bayesian inference in HSMMs and HMMs (Version 0.0.0). https://github.com/mattjj/pyhsmm
  9. Corenflos, A., & Särkkä, S. (2021). Code companion for Bayesian Filtering and Smoothing (Version 1.0). https://github.com/EEA-sensors/Bayesian-Filtering-and-Smoothing
  10. Linderman, S., Antin, B., Zoltowski, D., & Glaser, J. (2020). SSM: Bayesian Learning and Inference for State Space Models (Version 0.0.1). https://github.com/lindermanlab/ssm
  11. Weiss, R., Du, S., Grobler, J., Cournapeau, D., Pedregosa, F., Varoquaux, G., Mueller, A., Thirion, B., Nouri, D., Louppe, G., Vanderplas, J., Benediktsson, J., Buitinck, L., Korobov, M., McGibbon, R., Lattarini, S., Niculae, V., Gramfort, A., Lebedev, S., … Rockhill, A. (2024). hmmlearn (Version 0.3.2). https://github.com/hmmlearn/hmmlearn
  12. Wu, M., & Lysy, M. (2025). rodeo: Probabilistic Methods of Parameter Inference for Ordinary Differential Equations (Version 1) [Article]. arXiv. https://doi.org/10.48550/arxiv.2506.21776
  13. Aicher, C., Putcha, S., Nemeth, C., Fearnhead, P., & Fox, E. (2025). Stochastic Gradient MCMC for Nonlinear State Space Models. Bayesian Analysis, 20(1), 83–105. https://doi.org/10.1214/23-ba1395
  14. Lee, M. A., Yi, B., Martin-Martin, R., Savarese, S., & Bohg, J. (2020). Multimodal Sensor Fusion with Differentiable Filters. 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 10444–10451. https://doi.org/10.1109/iros45743.2020.9341579
  15. Waxman, D., Batenkov, D., Feser, J., Zane, A., Bingham, E., Marzouk, Y., & Levine, M. E. (2026). Dynestyx: A probabilistic programming library for dynamical systems. https://doi.org/10.48550/arXiv.2606.16985 https://doi.org/10.48550/arxiv.2606.16985
  16. Blondel, M., Berthet, Q., Cuturi, M., Frostig, R., Hoyer, S., Llinares-Lopez, F., Pedregosa, F., & Vert, J.-P. (2022). Efficient and Modular Implicit Differentiation. Advances in Neural Information Processing Systems 35, 5230–5242. https://doi.org/10.52202/068431-0378
  17. Corenflos, A., & Duffield, S. (2026). Cuthbert: State-space model inference with JAX. https://github.com/state-space-models/cuthbert
  18. Phan, D., Pradhan, N., & Jankowiak, M. (2019). Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro (Version 1) [Article]. arXiv. https://doi.org/10.48550/arxiv.1912.11554
  19. Brunton, S. L., Proctor, J. L., & Kutz, J. N. (2016). Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proceedings of the National Academy of Sciences, 113(15), 3932–3937. https://doi.org/10.1073/pnas.1517384113
  20. Särkkä, S., & Solin, A. (2019). Applied Stochastic Differential Equations (1st ed.). Cambridge University Press. https://doi.org/10.1017/9781108186735
  21. Waxman, D. (2025). Sequential Bayesian learning and ensembles for online inference and experimental design [PhD thesis]. State University of New York at Stony Brook.
  22. Cabezas, A., Corenflos, A., Lao, J., Louf, R., Carnec, A., Chaudhari, K., Cohn-Gordon, R., Coullon, J., Deng, W., Duffield, S., Durán-Martín, G., Elantkowski, M., Foreman-Mackey, D., Gregori, M., Iguaran, C., Kumar, R., Lysy, M., Murphy, K., Orduz, J. C., … Zinkov, R. (2024). BlackJAX: Composable Bayesian inference in JAX (Version 2) [Article]. arXiv. https://doi.org/10.48550/arxiv.2402.10797
  23. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  24. Sarkka, S., Solin, A., & Hartikainen, J. (2013). Spatiotemporal Learning via Infinite-Dimensional Bayesian Filtering and Smoothing: A Look at Gaussian Process Regression Through Kalman Filtering. IEEE Signal Processing Magazine, 30(4), 51–61. https://doi.org/10.1109/msp.2013.2246292
  25. Pinder, T., & Dodd, D. (2022). GPJax: A Gaussian Process Framework in JAX. Journal of Open Source Software, 7(75), 4455. https://doi.org/10.21105/joss.04455