mlsanityData to 14 Oct 2026

Compiling to linear neurons

arXiv 2511.13769 ↗First posted 14 Nov 2025cs.LG cs.PLcited by 2

Not on the map. Why?

Abstract (arXiv)

We don't program neural networks directly. Instead, we rely on an indirect style where learning algorithms, like gradient descent, determine a neural network's function by learning from data. This indirect style is often a virtue; it empowers us to solve problems that were previously impossible. But it lacks discrete structure. We can't compile most algorithms into a neural network -- even if these algorithms could help the network learn. This limitation occurs because discrete algorithms are not obviously differentiable, making them incompatible with the gradient-based learning algorithms that determine a neural network's function. To address this, we introduce textsfCajal: a typed, higher-order and linear programming language intended to be a minimal vehicle for exploring a direct style of programming neural networks. We prove textsfCajal programs compile to linear neurons, allowing discrete algorithms to be expressed in a differentiable form compatible with gradient-based learning. With our implementation of textsfCajal, we conduct several experiments where we link these linear neurons against other neural networks to determine part of their function prior to learning. Linking with these neurons allows networks to learn faster, with greater data-efficiency, and in a way that's easier to debug. A key lesson is that linear programming languages provide a path towards directly programming neural networks, enabling a rich interplay between learning and the discrete structures of ordinary programming.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 9 of its 28 references that are in the map. First posted on arXiv 14 Nov 2025.

Builds on

9 of 28 references.

References · 9

  1. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  2. 2016HyperNetworkscited by 1,027
  3. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  4. 2021The Principles of Deep Learning Theorycited by 173
  5. 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
  6. 2016Programming with a Differentiable Forth Interpretercited by 33
  7. 2016Differentiable Programs with Neural Librariescited by 30
  8. 2024PartIR: Composing SPMD Partitioning Strategies for Machine Learningcited by 10
  9. 2020A closer look at the approximation capabilities of neural networkscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.