mlsanityData to 7 Oct 2026

Folding over Neural Networks

arXiv 2207.01090 ↗First posted 3 Jul 2022cs.PL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Neural networks are typically represented as data structures that are traversed either through iteration or by manual chaining of method calls. However, a deeper analysis reveals that structured recursion can be used instead, so that traversal is directed by the structure of the network itself. This paper shows how such an approach can be realised in Haskell, by encoding neural networks as recursive data types, and then their training as recursion scheme patterns. In turn, we promote a coherent implementation of neural networks that delineates between their structure and semantics, allowing for compositionality in both how they are built and how they are trained.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 2 of its 25 references that are in the map. First posted on arXiv 3 Jul 2022.

Builds on

2 of 25 references.

References · 2

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2018The simple essence of automatic differentiationcited by 22

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.