Adaptive Neural Compilation

Bunel, Rudy R., Desmaison, Alban, Mudigonda, Pawan K., Kohli, Pushmeet, Torr, Philip

Neural Information Processing Systems 

This paper proposes an adaptive neural-compilation framework to address the problem of learning efficient program. 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.