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 with decidable type-checking; (2) constructing a compositionally correct compilation algorithm from theory primitives to architectural modules; and (3) establishing soundness and completeness criteria for formal verification. We further conjecture that compiled architectures match or exceed manually-designed counterparts in generalisation performance while requiring substantially less training data, a claim we ground in classical statistical learning theory. We argue that recent advances in formal machine learning theory, large language models, and the growth of an interdisciplinary research community have made this paradigm achievable for the first time.
Logical Specifications-guided Dynamic Task Sampling for Reinforcement Learning Agents
Tufts University(塔夫茨大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Georgia Tech Research Institute(佐治亚理工学院研究所);University of Colorado Boulder(科罗拉多大学博尔德分校)
EEG Benchmarking Needs a Task Specification Layer: NeuroDoc for Rulebook-Guided, Executable Benchmark Construction
School of Advanced Technology, Xi’an Jiaotong-Liverpool University(西交利物浦大学先进技术学院);School of Electrical Engineering, Electronics and Computer Science, University of Liverpool(利物浦大学电气工程、电子与计算机科学学院);School of Computer Science and Informatics, University of Liverpool(利物浦大学计算机科学与信息学学院);Department of Data Science and Artificial Intelligence, Hong Kong Polytechnic University(香港理工大学数据科学与人工智能系)
MLGOPerf: An ML Guided Inliner to Optimize Performance
Huawei Technologies(华为技术有限公司)
在过去的25年里,我们见证了机器学习在选择和相位排序问题中的广泛应用。然而,有限的作品已被上传到最先进的编译器,即,LLVM,将前者无缝集成到编译器的优化管道中,以便用户轻松部署。MLGO是第一个这样的项目之一,它只致力于使用强化学习来减少基于ML的Inliner的二进制代码的大小。本文介绍了MLGOPerf;第一个能够使用LLVM的ML-Inliner优化性能的端到端框架。它采用二级ML模型来生成用于训练重定向强化学习代理的奖励,该代理先前被MLGO用作主要模型。它通过预测被分析函数的内联后加速来实现这一点,并且它为主要模型提供了一个快速训练框架,否则这将是不实用的。实验结果表明,MLGOPerf是能够获得高达1.8%和2.2%,相对于LLVM的优化在O3时,训练的性能在SPEC CPU 2006和Cbench基准,分别。此外,所提出的方法为我们的基准测试提供了高达26%的自动调优代码区域的机会,这可以转化为额外的3.7%的加速值。
MQSS-Selector: RL-Guided Pass Selection for an MLIR Compilation Pipeline
Leibniz Supercomputing Centre (LRZ)(莱布尼茨超级计算中心);Technical University of Munich (TUM)(慕尼黑工业大学);Munich Quantum Valley (MQV)(慕尼黑量子谷);Argonne National Laboratory (ANL)(阿贡国家实验室)