• Home
  • Search
  • Deep learning similarities from different representations of source code
  • Cite Icon166
  • https://doi.org/10.1145/3196398.3196431Copy DOI Icon

Deep learning similarities from different representations of source code

  • May 28, 2018
  • Michele Tufano +5 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Assessing the similarity between code components plays a pivotal role in a number of Software Engineering (SE) tasks, such as clone detection, impact analysis, refactoring, etc. Code similarity is generally measured by relying on manually defined or hand-crafted features, e.g., by analyzing the overlap among identifiers or comparing the Abstract Syntax Trees of two code components. These features represent a best guess at what SE researchers can utilize to exploit and reliably assess code similarity for a given task. Recent work has shown, when using a stream of identifiers to represent the code, that Deep Learning (DL) can effectively replace manual feature engineering for the task of clone detection. However, source code can be represented at different levels of abstraction: identifiers, Abstract Syntax Trees, Control Flow Graphs, and Bytecode. We conjecture that each code representation can provide a different, yet orthogonal view of the same code fragment, thus, enabling a more reliable detection of similarities in code. In this paper, we demonstrate how SE tasks can benefit from a DL-based approach, which can automatically learn code similarities from different representations.

Similar Papers
  • Research Article
  • Citations4

On the impact of multiple source code representations on software engineering tasks — An empirical study

  • Dec 27, 2023
  • Journal of Systems and Software
  • Karthik Chandra Swarna +3
  • Research Article
  • Citations39

On the Reproducibility and Replicability of Deep Learning in Software Engineering

  • Oct 26, 2021
  • ACM Transactions on Software Engineering and Methodology
  • Chao Liu +5
  • Conference Article
  • Citations2

Control flow graph visualization in compiled software engineering

  • May 01, 2016
  • Andrey Mikhailov +3
  • Conference Article
  • Citations309

Supervised Deep Features for Software Functional Clone Detection by Exploiting Lexical and Syntactical Information in Source Code

  • Aug 01, 2017
  • Huihui Wei +1
  • Research Article
  • Citations63

PathPair2Vec: An AST path pair-based code representation method for defect prediction

  • May 28, 2020
  • Journal of Computer Languages
  • Ke Shi +3
  • Conference Article
  • Citations37

Source Code Summarization with Structural Relative Position Guided Transformer

  • Mar 01, 2022
  • Zi Gong +5
  • Research Article

Experimental Evaluation of Parameter-Efficient Fine-Tuning for Software Engineering Tasks

  • Mar 07, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Wentao Zou +8
  • Conference Article
  • Citations1

ASPDup: AST-Sequence-based Progressive Duplicate Code Detection Tool for Onsite Programming Code

  • Nov 01, 2020
  • Yaoshen Yu +4
  • Conference Article
  • Citations9

Female characteristics and requirements in software engineering in mechanical engineering

  • Dec 01, 2014
  • Denise Grams +3
  • Research Article
  • Citations18

Survey of source code vulnerability analysis based on deep learning

  • Sep 03, 2024
  • Computers & Security
  • Chen Liang +4
  • Conference Article
  • Citations42

A dataset from change history to support evaluation of software maintenance tasks

  • May 01, 2013
  • Bogdan Dit +3
  • PDF
  • Research Article
  • Citations1

A Novel Source Code Representation Approach Based on Multi-Head Attention

  • May 29, 2024
  • Electronics
  • Lei Xiao +5
  • Research Article
  • Citations64

Theory-oriented software engineering

  • Nov 27, 2014
  • Science of Computer Programming
  • Klaas-Jan Stol +1
  • Conference Article
  • Citations12

Investigating the Social Representations of Code Smell Identification: A Preliminary Study

  • May 01, 2019
  • Rafael Maiani De Mello +6
  • Research Article
  • Citations32

软件工程开发者社交网络: 构建、 分析及应用

  • Oct 30, 2014
  • Science China Information Sciences
  • Weiqiang Zhang +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.