arrow
返回

Pkg2Vec: Hierarchical package embedding for code authorship attribution

delete2021-03-01
delete9
PRE
AI
R
Roni Mateless *
O
Oren Tsur
R
Robert Moskovitch
DOI:10.1016/j.future.2020.10.020delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Authorship attribution of software is the task of identifying the author of a given piece of code. Code attribution is of importance in multiple scenarios, ranging from software plagiarism to cybersecurity. In this paper, we introduce authorship attribution of software packages that better reflect real-world scenarios in which code is organized in packages and written by teams. We present a novel approach for software package authorship attribution called Pkg2Vec, based on a hierarchical deep neural network (DNN) architecture, corresponding to the hierarchical nature of software (code) packages. The hierarchical neural network model consists of a token level encoder and an attention mechanism for a function level encoder, together producing package embedding. Beyond package embedding, we use keywords and API calls as resilient features, which reflect the programmer's intention and style. Pkg2Vec is evaluated on a large dataset of public packages and compared to a number of other source code authorship attribution state-of-the-art algorithms. We find that Pkg2Vec significantly outperforms other approaches, achieving a 13% improvement in accuracy (C) 2020 Elsevier B.V. All rights reserved.
Keyword:
Source code authorship attribution
Code embedding
Hierarchical neural networks
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
Dataset Characteristics for Reliable Code Authorship Attribution
err2023-01-01
err0
PREAI
errAbazari, Farzaneh; Branca, Enrico; Ridley, Norah; Stakhanova, Natalia; Dalla Preda, Mila
err分享
err收藏
Document embeddings learned on various types of n-grams for cross-topic authorship attribution
err2018-01-25
err36
PREAI
errGomez-Adorno, Helena; Posadas-Duran, Juan-Pablo; Sidorov, Grigori; Pinto, David
err分享
err收藏
Source Code Authorship Attribution: Trends, Techniques, and Challenges源代码作者归属:趋势、技术和挑战
err2026-11-17
err0
errOAAI
errBilal Al-Ahmad; M. Harshvardhan; Murad Magableh; Sahar Mahmoud; Doaa Altayeb; Dana Dghaym
err分享
err收藏
Meta-Heuristic Guided Feature Optimization for Enhanced Authorship Attribution in Java Source Code用于增强Java源代码中作者归属的元启发式指导特征优化
err2023-01-01
err0
errOAAI
errAl-Ahmad, Bilal; Al-Madi, Nailah; Alzaqebah, Abdullah; Alkhawaldeh, Rami S.; Aldebei, Khaled; Kabir, Md. Faisal; Altaharwa, Ismail; Abu-Faraj, Mua'ad; Aljarah, Ibrahim
err分享
err收藏

期刊

F
Future Generation Computer Systems-The International Journal of eScience
IF:
6.1
论文数:
6.9K
被引数:
2.8W

机构

B
ben gurion university
学者数:
20
论文数: 10
被引数: 6.2K
引用论文

引用论文

Code authorship identification using convolutional neural networks
err2019-06-01
err41
PREAI
errAbuhamad, Mohammed; Rhim, Ji-su; AbuHmed, Tamer; Ullah, Sana; Kang, Sanggil; Nyang, DaeHun
err分享
err收藏
err分享
err收藏
A Survey of Machine Learning for Big Code and Naturalness面向大代码和自然性的机器学习综述
err2018-07-31
err477
errOAAI
errAllamanis, Miltiadis; Barr, Earl T.; Devanbu, Premkumar; Sutton, Charles
err分享
err收藏
学者 查看更多内容