ContraCode — Neural Network That Finds Functionally Similar Code

ContraCode is a neural network for searching functionally similar program code. The model was pre-trained using a contrastive pre-training approach. The pre-trained neural network was then retrained on the tasks of type inference and code summation. During pre-training, researchers transform the compiler in order to generate equivalent in functionality and different in-text parts of the programs. According to the results of experiments, the retrained neural network bypasses the state-of-the-art on the tasks of type inference and code…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mikhail Raevskiy

Mikhail Raevskiy

430 Followers

Bioinformatician at Oncobox Inc. (@oncobox). Research Associate