From Specification to Architecture: A Theory Compiler for Knowledge-Guided Machine Learning
Asela Hevapathige, Yu Xia, Sachith Seneviratne, Saman Halgamuge

TL;DR
This paper introduces the Theory Compiler, an automated system that translates formal domain theories into neural network architectures with provable consistency, enhancing generalisation and reducing manual effort.
Contribution
It proposes a novel system that automates the translation of domain theories into architectures with formal correctness guarantees, addressing scalability and transferability issues.
Findings
Automated architecture generation from formal theories.
Potential for improved generalisation and data efficiency.
Foundation for scalable, verifiable knowledge-guided machine learning.
Abstract
Theory-guided machine learning has demonstrated that including authentic domain knowledge directly into model design improves performance, sample efficiency and out-of-distribution generalisation. Yet the process by which a formal domain theory is translated into architectural constraints remains entirely manual, specific to each domain formalism, and devoid of any formal correctness guarantee. This translation is non-transferable between domains, not verified, and does not scale. We propose the Theory Compiler: a system that accepts a typed, machine-readable domain theory as input and automatically produces an architecture whose function space is provably constrained to be consistent with that theory by construction, not by regularisation. We identify three foundational open problems whose resolution defines our research agenda: (1) designing a universal theory formalisation language…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · Machine Learning and Data Classification · Scientific Computing and Data Management
