Differentiable Exact Learning
Not on the map. Why?
Abstract (arXiv)
We introduce a framework for differentiable exact learning that couples an unbounded external environment to a state-tracking neural controller, which we train on policy-trajectory observations (PTOs): expert behavior traces that expose observations and actions while hiding internal states. In addition to the learning framework, we introduce Differentiable Finite-State Transducers (DFSTs) which use multilinear updates, support log-parallel training, and emulate arbitrary finite-state controllers, yielding computational universality through environmental interaction. From tiny training datasets, compact DFSTs achieve extreme length generalization on arithmetic and universal-simulation tasks. We replicate the success of DFSTs on RNNs and GRUs, thereby supporting a broader learning recipe: State-Tracking Controller + Unbounded External Environment + PTOs = Extreme Length Generalization. Beyond length generalization, our metric-extraction protocol recovers interpretable discrete controllers from trained DFSTs, which we prove equivalent to the target arithmetic and universal-simulation algorithms. Furthermore, for our Softmax DFST models, simply taking argmax over the transition probabilities yields discrete controllers which provably exactly perform universal Turing-machine simulation and binary arithmetic. Proving exact learning for the neural controllers requires assumptions, which we empirically support. We make our code, training recipes, model weights, and proof checkers publicly available at https://github.com/fanagor/DEL.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 31 of its 67 references that are in the map. Submitted 16 Nov 2026.
Builds on
31 of 67 references.
References · 31
- 2014Adam: A Method for Stochastic Optimizationcited by 38,596
- 2018Universal Transformerscited by 769
- 2014Neural Turing Machinescited by 693
- 2014Memory Networkscited by 379
- 2022Transformers Learn Shortcuts to Automatacited by 297
- 2022Neural Networks and the Chomsky Hierarchycited by 226
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 219
- 2023Teaching Arithmetic to Small Transformerscited by 129
- 2015Neural GPUs Learn Algorithmscited by 126
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 121
- 2015Neural Programmer-Interpreterscited by 108
- 2022On the Paradox of Learning to Reason from Datacited by 96
19 more
- 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 94
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 90
- 2016Neuro-Symbolic Program Synthesiscited by 86
- 2023Length Generalization in Arithmetic Transformerscited by 76
- 2023Positional Description Matters for Transformers Arithmeticcited by 63
- 2019Sequential Neural Networks as Automatacited by 55
- 2017Making Neural Programming Architectures Generalize via Recursioncited by 37
- 2015Neural Programmer: Inducing Latent Programs with Gradient Descentcited by 36
- 2015Neural Random-Access Machinescited by 36
- 2019Inductive Logic Programming via Differentiable Deep Neural Logic Networkscited by 27
- 2024Autoregressive Large Language Models are Computationally Universalcited by 24
- 2024Arithmetic Transformers Can Length-Generalize in Both Operand Length and Countcited by 19
- 2016TerpreT: A Probabilistic Programming Language for Program Inductioncited by 17
- 2015Reinforcement Learning Neural Turing Machines - Revisedcited by 13
- 2016Extensions and Limitations of the Neural GPUcited by 10
- 2023Recurrent Neural Language Models as Probabilistic Finite-state Automatacited by 8
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 8
- 2016Learning Efficient Algorithms with Hierarchical Attentive Memorycited by 3
- 2025Exact Learning of Arithmetic with Differentiable Agentscited by 3
Built on by
Not cited yet.