Toward combining inductive reasoning with perception abilities, we develop techniques for neurosymbolic program synthesis where perceptual input is first parsed by neural nets into a low-dimensional interpretable representation, which is then processed by a synthesized program. We explore several techniques for relaxing the problem and jointly learning all modules end-to-end with gradient descent: multitask learning; amortized inference; overparameterization; and a differentiable strategy for penalizing lengthy programs. Collectedly this toolbox improves the stability of gradient-guided program search, and suggests ways of learning both how to perceive input as discrete abstractions, and how to symbolically process those abstractions as programs.
翻译:将感官推理与感知能力相结合,我们开发了神经同步程序合成技术,先由神经网将感知性输入分为低维可解释的表达方式,然后由合成程序处理。我们探索了多种技术来缓解问题,并共同学习所有模块的末端至端与梯度下落:多任务学习;摊销推理;过分法化;以及惩罚冗长程序的不同战略。收集了这个工具箱,提高了梯度引导程序搜索的稳定性,并提出了如何将投入视为离散抽象的学习方法,以及如何象征性地将这些抽象过程作为程序进行。