Code2Snapshot: Using Code Snapshots for Learning Representations of Source Code
원문 초록
There are several approaches for encoding source code in the input vectors of neural models. These approaches attempt to include various syntactic and semantic features of input programs in their encoding. In this paper, we investigate Code2Snapshot, a novel representation of the source code that is based on the snapshots of input programs. We evaluate several variations of this representation and compare its performance with state-of-the-art representations that utilize the rich syntactic and semantic features of input programs. Our preliminary study on the utility of Code2Snapshot in the code summarization and code classification tasks suggests that simple snapshots of input programs have comparable performance to state-of-the-art representations. Interestingly, obscuring input programs have insignificant impacts on the Code2Snapshot performance, suggesting that, for some tasks, neural models may provide high performance by relying merely on the structure of input programs.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Embedding Java Classes with code2vec: Improvements from Variable Obfuscation
InferCode: Self-Supervised Learning of Code Representations by Predicting Subtrees
CASTLE: Benchmarking Dataset for Static Code Analyzers and LLMs towards CWE Detection
WRDScore: New Metric for Evaluation of Natural Language Generation Models
Studying Vulnerable Code Entities in R
Enhancing Source Code Classification Effectiveness via Prompt Learning Incorporating Knowledge Features
토론
이 논문과 연결된 포럼 글이 아직 없습니다.