paper-with-me

Papers

Learning Blended, Precise Semantic Program Embeddings

2019-07-03 · Ke Wang, Zhendong Su

Learning neural program embeddings is key to utilizing deep neural networks in program languages research --- precise and efficient program representations enable the application of deep models to a wide range of program analysis tasks. Existing approaches predominately learn to embed programs from their source code, and, as a result, they do not capture deep, precise program semantics. On the other hand, models learned from runtime information critically depend on the quality of program executions, thus leading to trained models with highly variant quality. This paper tackles these inherent weaknesses of prior approaches by introducing a new deep neural network, \liger, which learns program representations from a mixture of symbolic and concrete execution traces. We have evaluated \liger on \coset, a recently proposed benchmark suite for evaluating neural program embeddings. Results show \liger (1) is significantly more accurate than the state-of-the-art syntax-based models Gated Graph Neural Network and code2vec in classifying program semantics, and (2) requires on average 10x fewer executions covering 74\% fewer paths than the state-of-the-art dynamic model \dypro. Furthermore, we extend \liger to predict the name for a method from its body's vector representation. Learning on the same set of functions (more than 170K in total), \liger significantly outperforms code2seq, the previous state-of-the-art for method name prediction.

📄 PDF Abstract BibTeX arXiv:1907.02136

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Neural NetworkMethod name predictionRepresentation Learning

Methods 이 논문이 사용한 방법론

Graph Neural Network 설명 없음

Similar Papers 제목 키워드 기반

Dynamic Neural Program Embeddings for Program Repair

2018-01-01 · ICLR 2018 1 · Ke Wang, Rishabh Singh, Zhendong Su

Neural program embeddings have shown much promise recently for a variety of program analysis tasks, including program synthesis, program repair, code completion, and fault localization. However, most existing program emb…

Code CompletionFault localizationProgram RepairProgram Synthesis

Dynamic Neural Program Embedding for Program Repair

2017-11-20 · Ke Wang, Rishabh Singh, Zhendong Su

Neural program embeddings have shown much promise recently for a variety of program analysis tasks, including program synthesis, program repair, fault localization, etc. However, most existing program embeddings are base…

Fault localizationProgram RepairProgram Synthesis

The Scene Language: Representing Scenes with Programs, Words, and Embeddings

2024-10-22 · CVPR 2025 1 · Yunzhi Zhang, Zizhang Li, Matt Zhou, Shangzhe Wu 외

We introduce the Scene Language, a visual scene representation that concisely and precisely describes the structure, semantics, and identity of visual scenes. It represents a scene with three key components: a program th…

Scene Generation

Representing Partial Programs with Blended Abstract Semantics

2020-12-23 · ICLR 2021 1 · Maxwell Nye, Yewen Pu, Matthew Bowers, Jacob Andreas 외

Synthesizing programs from examples requires searching over a vast, combinatorial space of possible programs. In this search process, a key challenge is representing the behavior of a partially written program before it …

Program Synthesis

LessLex: Linking Multilingual Embeddings to SenSe Representations of LEXical Items

2020-06-01 · CL 2020 6 · Davide Colla, Enrico Mensa, Daniele P. Radicioni

We present LESSLEX, a novel multilingual lexical resource. Different from the vast majority of existing approaches, we ground our embeddings on a sense inventory made available from the BabelNet semantic network. In this…

text similarity