Welcome to the Modula docs!

Modula is a deep learning framework and a deep learning theory built hand-in-hand. The central idea of Modula is to metrize the neural architecture and construct the corresponding duality theory. This is leading to training algorithms that are faster and more intrinsically scalable. But I anticipate other benefits too.

Purpose of the docs

I’m currently in the process of overhauling these docs. But the idea is to create a central place to learn about the theory, algorithms and code behind Modula. I hope that this will help inspire further research into metrized deep learning.

If something is unclear, first check the FAQ, but then consider starting a GitHub issue, making a pull request or reaching out by email. Then we can improve the docs for everyone.

Citing the docs

The docs currently contain some original research contributions not published anywhere else—in particular, the section on manifold duality maps. If you want to cite the docs, here’s some BibTeX:

@misc{modula-docs,
  author  = {Jeremy Bernstein},
  title   = {The Modula Docs},
  url     = {https://docs.modula.systems/},
  year    = 2025
}