Differentiable Exact Learning
Abstract
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 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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.FL, stat.ML
- Comments
- Accepted in NeurIPS 2026
Related papers
Object-Centric Differentiable Logic Networks for Abstract Visual Reasoning
Shared title terminologycs.LGHanne Say Eren, Ana Ezquerro, Ozan Özdenizci
Storing the Gemma 4 K=V Cache Once: Exact Global-KV Memory Savings in a Paged Serving Engine with Unchanged Attention Kernels
Shared title terminologycs.LGKushagra Bainsla
How Much Distribution Shift Can a Clustering Withstand? Exact Split and Merge Certificates for Structured Transports
Shared title terminologycs.LGAlisina Bayati, Srinivasa Salapaka, Shahriar Talebi
Physics-informed neural networks for spacecraft trajectory optimization with exact boundary conditions
Shared title terminologycs.LGSamuel Schönherr, Günther Waxenegger-Wilfing, Sascha Ranftl
Optimistic Verifiers Get Hacked: Reward Hacking Under an Exact Process Oracle
Shared title terminologycs.LGArunkumar V, Manoranjan Gandhudi, Gangadharan G. R. et al.
artist: A Python package for differentiable ray tracing and gradient-based optimization of solar tower power plant operation
Shared title terminologycs.LGMarlene Busch, Marie Weiel, Kaleb Phipps et al.