作者
Veselin Raychev, Martin Vechev, Andreas Krause
发表日期
2015/1/14
研讨会论文
ACM POPL 2015
出版商
ACM
简介
We present a new approach for predicting program properties from massive codebases (aka "Big Code"). Our approach first learns a probabilistic model from existing data and then uses this model to predict properties of new, unseen programs.
The key idea of our work is to transform the input program into a representation which allows us to phrase the problem of inferring program properties as structured prediction in machine learning. This formulation enables us to leverage powerful probabilistic graphical models such as conditional random fields (CRFs) in order to perform joint prediction of program properties.
As an example of our approach, we built a scalable prediction engine called JSNice for solving two kinds of problems in the context of JavaScript: predicting (syntactic) names of identifiers and predicting (semantic) type annotations of variables. Experimentally, JSNice predicts correct names for 63% of …
引用总数
201520162017201820192020202120222023202414435365627168505423
学术搜索中的文章
V Raychev, M Vechev, A Krause - Communications of the ACM, 2019
V Raychev, M Vechev, A Krause - Proceedings of the 42nd Annual ACM SIGPLAN …