PatchNet: Hierarchical Deep Learning-Based Stable Patch Identification for the Linux Kernel
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 2; 2024: 0; 2025: 1.
5 papers.
- 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
- 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
- 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Backcited by 3
- 2025LLM-Driven Kernel Evolution: Automating Driver Updates in Linuxcited by 1
- 2025LLM-Driven Kernel Evolution: Automating Driver Updates in Linux24 Nov 2025
- 2023Exploring ChatGPT's Capabilities on Vulnerability Management11 Nov 2023
- 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Back8 Feb 2023
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learning18 Aug 2021
- 2021Unsupervised Learning of General-Purpose Embeddings for Code Changes3 Jun 2021