PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel

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 w...

Full description

Saved in:
Bibliographic Details
Main Authors: HOANG, Thong, LAWALL, Julia, TIAN, Yuan, OENTARYO, Richard J., LO, David
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2021
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/4497
https://ink.library.smu.edu.sg/context/sis_research/article/5500/viewcontent/PatchNet__Hierarchical_Deep_Learning_Based_Stable_Patch_Identification_for_the_Linux_Kernel.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-5500
record_format dspace
spelling sg-smu-ink.sis_research-55002022-07-26T07:24:55Z PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel HOANG, Thong LAWALL, Julia TIAN, Yuan OENTARYO, Richard J. LO, David 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. 2021-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/4497 info:doi/10.1109/TSE.2019.2952614 https://ink.library.smu.edu.sg/context/sis_research/article/5500/viewcontent/PatchNet__Hierarchical_Deep_Learning_Based_Stable_Patch_Identification_for_the_Linux_Kernel.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Deep learning Patch classification Stable patch identification Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Deep learning
Patch classification
Stable patch identification
Software Engineering
spellingShingle Deep learning
Patch classification
Stable patch identification
Software Engineering
HOANG, Thong
LAWALL, Julia
TIAN, Yuan
OENTARYO, Richard J.
LO, David
PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel
description 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.
format text
author HOANG, Thong
LAWALL, Julia
TIAN, Yuan
OENTARYO, Richard J.
LO, David
author_facet HOANG, Thong
LAWALL, Julia
TIAN, Yuan
OENTARYO, Richard J.
LO, David
author_sort HOANG, Thong
title PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel
title_short PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel
title_full PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel
title_fullStr PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel
title_full_unstemmed PatchNet: Hierarchical deep learning-based stable patch identification for the Linux Kernel
title_sort patchnet: hierarchical deep learning-based stable patch identification for the linux kernel
publisher Institutional Knowledge at Singapore Management University
publishDate 2021
url https://ink.library.smu.edu.sg/sis_research/4497
https://ink.library.smu.edu.sg/context/sis_research/article/5500/viewcontent/PatchNet__Hierarchical_Deep_Learning_Based_Stable_Patch_Identification_for_the_Linux_Kernel.pdf
_version_ 1770574875611627520