paper-with-me

홈 › Papers

Analysing Features Learned Using Unsupervised Models on Program Embeddings

2021-01-01 · Martina Saletta, Claudio Ferretti

In this paper, we propose a novel approach for analyzing and evaluating how a deep neural network is autonomously learning different features related to programs on different input representations. We trained a simple autoencoder having 5 hidden layers on a dataset containing Java programs, and we tested the ability of each of its neurons in detecting different program features using only unlabeled data for the training phase. For doing that, we designed two binary classification problems having different scopes: while the first one is based on the program cyclomatic complexity, the other one is defined starting from the identifiers chosen by the programmers, making it more related to the functionality (and thus, to some extent, to the semantic) of the program than to its structure. Using different program vector representations as input, we performed experiments considering the two problems, showing how some neurons can be effectively used as classifiers for programs on different binary tasks. We also discuss how the program representation chosen as input affects the classification performance, stating that new and customized program embeddings could be designed in order to obtain models able to solve different tasks guided by the proposed benchmarking approach.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingBinary Classification

Methods 이 논문이 사용한 방법론

Solana Customer Service Number +1-833-534-1729 설명 없음

Similar Papers 제목 키워드 기반

Complexity-based code embeddings

2026-01-01 · Rares Folea, Radu Iacob, Emil Slusanschi, Traian Rebedea arxiv

This paper presents a generic method for transforming the source code of various algorithms to numerical embeddings, by dynamically analysing the behaviour of computer programs against different inputs and by tailoring m…

Word-Level Loss Extensions for Neural Temporal Relation Classification

2018-08-07 · COLING 2018 8 · Artuur Leeuwenberg, Marie-Francine Moens

Unsupervised pre-trained word embeddings are used effectively for many tasks in natural language processing to leverage unlabeled textual data. Often these embeddings are either used as initializations or as fixed word r…

ClassificationGeneral ClassificationRelationRelation Classification+4

Mining Program Properties From Neural Networks Trained on Source Code Embeddings

2021-03-09 · Martina Saletta, Claudio Ferretti

In this paper, we propose a novel approach for mining different program features by analysing the internal behaviour of a deep neural network trained on source code. Using an unlabelled dataset of Java programs and three…

Binary Classification

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

Big Data Small Data, In Domain Out-of Domain, Known Word Unknown Word: The Impact of Word Representation on Sequence Labelling Tasks

2015-04-21 · Lizhen Qu, Gabriela Ferraro, Liyuan Zhou, Weiwei Hou 외

Word embeddings -- distributed word representations that can be learned from unlabelled data -- have been shown to have high utility in many natural language processing applications. In this paper, we perform an extrinsi…

ChunkingNERPOSPOS Tagging+2