Visa Inc.
A DEEP LEARNING MODEL FOR LEARNING PROGRAM EMBEDDINGS

Last updated:

Abstract:

A system and method for using a deep learning model to learn program semantics is disclosed. The method includes receiving a plurality of execution traces of a program, each execution trace comprising a plurality of variable values. The plurality of variable values are encoded by a first recurrent neural network to generate a plurality of program states for each execution trace. A bi-directional recurrent neural network can then determine a reduced set of program states for each execution trace from the plurality of program states. The reduced set of program states are then encoded by a second recurrent neural network to generate a plurality of executions for the program. The method then includes pooling the plurality of executions to generate a program embedding and predicting semantics of the program using the program embedding.

Status:
Application
Type:

Utility

Filling date:

1 Oct 2019

Issue date:

10 Feb 2022