arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.07969cs.AIcs.LG
收藏

自适应神经编译

Adaptive Neural Compilation

University of Oxford(牛津大学);Microsoft Research(微软研究院)

Rudy Bunel, Alban Desmaison, Pushmeet Kohli, Philip H. S. Torr, M. Pawan Kumar

摘要:

本文提出了一种自适应神经编译框架,以解决有效的程序学习的问题。编译器中使用的传统代码优化策略是基于应用预先指定的一组转换,这些转换使代码在不改变其语义的情况下执行得更快。相比之下,我们的工作涉及调整程序,使其更有效,同时考虑正确性只对目标输入分布。我们的方法的灵感来自最近的作品可微表示的程序。我们表明,它是可能的编译程序编写的低级语言的可微表示。我们还展示了如何在这种表示的程序可以优化,使他们有效的目标分布的输入。实验结果表明,我们的方法能够学习特定的调整算法,为给定的数据分布,具有很高的成功率。

英文摘要:

This paper proposes an adaptive neural-compilation framework to address the problem of efficient program learning. Traditional code optimisation strategies used in compilers are based on applying pre-specified set of transformations that make the code faster to execute without changing its semantics. In contrast, our work involves adapting programs to make them more efficient while considering correctness only on a target input distribution. Our approach is inspired by the recent works on differentiable representations of programs. We show that it is possible to compile programs written in a low-level language to a differentiable representation. We also show how programs in this representation can be optimised to make them efficient on a target distribution of inputs. Experimental results demonstrate that our approach enables learning specifically-tuned algorithms for given data distributions with a high success rate.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑