Backprop without PyTorch: using math as the universal abstraction layer for models
vtabbott_ · x · 2026-12-03
vtabbott argues mathematics can serve as the universal abstraction layer for models:
- Backprop is just a mathematical transform — building on categorical deep learning, it can be one, removing the need for PyTorch or autodiff.
- The accompanying string diagrams contrast two schemes: the naive tape stores Q, K, V, O, the normalizer, and the exponential scores (size q×x); the recomputed version stores only Q, K, V, O and the normalizer, recomputing E=e^(QKᵀ) from Q and K during the backward pass — trading a smaller tape for recomputation.
- Math is claimed to be the most agent-compatible language: agents could optimize backprop directly from the mathematical description they produce.
A notable framework-free route that ties into agent-written models.
Related event: Categorical Deep Learning Claims Backprop Needs No PyTorch or Autodiff(3 posts)→
More from AGI Musings
- Ben Golub on how automating expertise shifts power in science — AnneliesGamble · 2026-12-04
- Designer: the scarier it gets for hired designers, the more exciting for independent makers — joonasvirtanen · 2026-12-04
- Bill Gates: AI's benefits may exceed imagination, but addressing its risks is the world's most urgent priority — paulnovosad · 2026-12-04
- Landian and Yudkowskian frameworks may converge: near-term ASI singleton is undesirable — jessi_cata · 2026-12-04
- Why is AI memory trusted more when it's stored externally? — PierceLilholt · 2026-12-04
- Margaret Mitchell pushes back on 'what if the founders used AI' thought experiment — mmitchell_ai · 2026-12-04