arrow
Return

PatchNet: Hierarchical Deep Learning-Based Stable Patch Identification for the Linux Kernel

delete2021-11-01
delete13
delete
OA
AI
T
Thong Hoang *
J
Julia Lawall
田源 cover
田源 (Yuan Tian)
R
Richard J. Oentaryo
D
David Lo
DOI:10.1109/TSE.2019.2952614delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Linux kernel stable versions serve the needs of users who value stability of the kernel over new features. The quality of such stable versions depends on the initiative of kernel developers and maintainers to propagate bug fixing patches to the stable versions. Thus, it is desirable to consider to what extent this process can be automated. A previous approach relies on words from commit messages and a small set of manually constructed code features. This approach, however, shows only moderate accuracy. In this paper, we investigate whether deep learning can provide a more accurate solution. We propose PatchNet, a hierarchical deep learning-based approach capable of automatically extracting features from commit messages and commit code and using them to identify stable patches. PatchNet contains a deep hierarchical structure that mirrors the hierarchical and sequential structure of commit code, making it distinctive from the existing deep learning models on source code. Experiments on 82,403 recent Linux patches confirm the superiority of PatchNet against various state-of-the-art baselines, including the one recently-adopted by Linux kernel maintainers.
Keywords:
Kernel
Linux
Computer bugs
Feature extraction
Deep learning
Indexes
Manuals
Linux kernel
patch classification
deep learning
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 29
S
Singapore Management University
Scholars:
1.5K
Papers: 2.5K
Citations: 3.5K
I
Inria
Scholars:
3.5K
Papers: 2.5K
Citations: 343
S
Sorbonne Universite
Scholars:
6.2W
Papers: 4.5W
Citations: 605
researcher View more organizations