Papers › Minimum Description Length Recurrent Neural Networks

Minimum Description Length Recurrent Neural Networks

31 Oct 2021arXiv:2111.00600archive 2025-07-28

Nur Lan, Michal Geyer, Emmanuel Chemla, Roni Katzir

We train neural networks to optimize a Minimum Description Length score, i.e., to balance between the complexity of the network and its accuracy at a task. We show that networks optimizing this objective function master tasks involving memory challenges and go beyond context-free languages. These learners master languages such as aⁿbⁿ, aⁿbⁿcⁿ, aⁿb²ⁿ, aⁿbᵐcⁿ⁺ᵐ, and they perform addition. Moreover, they often do so with 100% accuracy. The networks are small, and their inner workings are transparent. We thus provide formal proofs that their perfect accuracy holds not only on a given test set, but for any input sequence. To our knowledge, no other connectionist model has been shown to capture the underlying grammars for these languages in full generality.

PaperPDFConference PDFCode

Code

taucompling/mdlrnn officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Test

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections