Combining Symbolic and Function Evaluation Expressions In Neural Programs

01/12/2018
by   Forough Arabshahi, et al.
0

Neural programming involves training neural networks to learn programs from data. Previous works have failed to achieve good generalization performance, especially on programs with high complexity or on large domains. This is because they mostly rely either on black-box function evaluations that do not capture the structure of the program, or on detailed execution traces that are expensive to obtain, and hence the training data has poor coverage of the domain under consideration. We present a novel framework that utilizes black-box function evaluations, in conjunction with symbolic expressions that integrate relationships between the given functions. We employ tree LSTMs to incorporate the structure of the symbolic expression trees. We use tree encoding for numbers present in function evaluation data, based on their decimal representation. We present an evaluation benchmark for this task to demonstrate our proposed model combines symbolic reasoning and function evaluation in a fruitful manner, obtaining high accuracies in our experiments. Our framework generalizes significantly better to expressions of higher depth and is able to fill partial equations with valid completions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/10/2019

Deep symbolic regression: Recovering mathematical expressions from data via policy gradients

Discovering the underlying mathematical expressions describing a dataset...
research
04/24/2023

B2Opt: Learning to Optimize Black-box Optimization with Little Budget

Learning to optimize (L2O) has emerged as a powerful framework for black...
research
03/13/2023

Symbolic Regression for PDEs using Pruned Differentiable Programs

Physics-informed Neural Networks (PINNs) have been widely used to obtain...
research
05/10/2017

Inferring and Executing Programs for Visual Reasoning

Existing methods for visual reasoning attempt to directly map inputs to ...
research
02/09/2023

Symbolic Metamodels for Interpreting Black-boxes Using Primitive Functions

One approach for interpreting black-box machine learning models is to fi...
research
10/17/2022

A Solver-Free Framework for Scalable Learning in Neural ILP Architectures

There is a recent focus on designing architectures that have an Integer ...
research
07/14/2020

Programming by Rewards

We formalize and study “programming by rewards” (PBR), a new approach fo...

Please sign up or login with your details

Forgot password? Click here to reset