SuperCoder: Program Learning Under Noisy Conditions From Superposition of States
@misc{davody2020supercoder,
title = {SuperCoder: Program Learning Under Noisy Conditions From Superposition of States},
author = {Ali Davody and Mahmoud Safari and Răzvan V. Florian},
year = {2020},
eprint = {2012.03925},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2012.03925}
}
Davody, A., Safari, M., & Florian, R. V. (2020). SuperCoder: Program Learning Under Noisy Conditions From Superposition of States [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.03925
DAVODY A, SAFARI M, FLORIAN RV. SuperCoder: Program Learning Under Noisy Conditions From Superposition of States[EB/OL]. (2020-12-07)[2026-11-30]. https://arxiv.org/abs/2012.03925.
Abstract
We propose a new method of program learning in a Domain Specific Language (DSL) which is based on gradient descent with no direct search. The first component of our method is a probabilistic representation of the DSL variables. At each timestep in the program sequence, different DSL functions are applied on the DSL variables with a certain probability, leading to different possible outcomes. Rather than handling all these outputs separately, whose number grows exponentially with each timestep, we collect them into a superposition of variables which captures the information in a single, but fuzzy, state. This state is to be contrasted at the final timestep with the ground-truth output, through a loss function. The second component of our method is an attention-based recurrent neural network, which provides an appropriate initialization point for the gradient descent that optimizes the probabilistic representation. The method we have developed surpasses the state-of-the-art for synthesising long programs and is able to learn programs under noise.