paper-with-me

Papers

CRepair: CVAE-based Automatic Vulnerability Repair Technology

2024-11-08 · Penghui Liu, Yingzhou Bi, Jiangtao Huang, Xinxin Jiang, Lianmei Wang

Software vulnerabilities are flaws in computer software systems that pose significant threats to the integrity, security, and reliability of modern software and its application data. These vulnerabilities can lead to substantial economic losses across various industries. Manual vulnerability repair is not only time-consuming but also prone to errors. To address the challenges of vulnerability repair, researchers have proposed various solutions, with learning-based automatic vulnerability repair techniques gaining widespread attention. However, existing methods often focus on learning more vulnerability data to improve repair outcomes, while neglecting the diverse characteristics of vulnerable code, and suffer from imprecise vulnerability localization.To address these shortcomings, this paper proposes CRepair, a CVAE-based automatic vulnerability repair technology aimed at fixing security vulnerabilities in system code. We first preprocess the vulnerability data using a prompt-based method to serve as input to the model. Then, we apply causal inference techniques to map the vulnerability feature data to probability distributions. By employing multi-sample feature fusion, we capture diverse vulnerability feature information. Finally, conditional control is used to guide the model in repairing the vulnerabilities.Experimental results demonstrate that the proposed method significantly outperforms other benchmark models, achieving a perfect repair rate of 52%. The effectiveness of the approach is validated from multiple perspectives, advancing AI-driven code vulnerability repair and showing promising applications.

📄 PDF Abstract BibTeX arXiv:2411.05540

Code (0)

등록된 구현이 없습니다.

Tasks

Causal Inference

Methods 이 논문이 사용한 방법론

Focus 설명 없음
Causal inference Causal inference is the process of drawing a conclusion about a causal connection based on the conditions of the occurrence of an effect. The main difference between causal…

Similar Papers 제목 키워드 기반

SpecRepair: Counter-Example Guided Safety Repair of Deep Neural Networks

2021-06-03 · Fabian Bauer-Marquart, David Boetius, Stefan Leue, Christian Schilling

Deep neural networks (DNNs) are increasingly applied in safety-critical domains, such as self-driving cars, unmanned aircraft, and medical diagnosis. It is of fundamental importance to certify the safety of these DNNs, i…

Classificationimage-classificationImage ClassificationMedical Diagnosis+1

Enhancing Source Code Security with LLMs: Demystifying The Challenges and Generating Reliable Repairs

2024-09-01 · Nafis Tanveer Islam, Joseph Khoury, Andrew Seong, Elias Bou-Harb 외

With the recent unprecedented advancements in Artificial Intelligence (AI) computing, progress in Large Language Models (LLMs) is accelerating rapidly, presenting challenges in establishing clear guidelines, particularly…

Code Repair

Context-Aware Monolingual Repair for Neural Machine Translation

2019-09-03 · IJCNLP 2019 11 · Elena Voita, Rico Sennrich, Ivan Titov

Modern sentence-level NMT systems often produce plausible translations of isolated sentences. However, when put in context, these translations may end up being inconsistent with each other. We propose a monolingual DocRe…

Automatic Post-EditingMachine TranslationNMTSentence+1

ICDAR 2026 HIPE-OCRepair Competition on LLM-Assisted OCR Post-Correction for Historical Documents

2026-07-09 · Maud Ehrmann, Emanuela Boros, Juri Opitz, Andrianos Michail 외 arxiv

We present the results of HIPE-OCRepair-2026, an ICDAR competition on LLM-assisted OCR post-correction of historical documents. OCR post-correction remains a long-standing challenge in digital heritage: large-scale colle…

LLM-Powered Code Vulnerability Repair with Reinforcement Learning and Semantic Reward

2024-01-07 · Nafis Tanveer Islam, Joseph Khoury, Andrew Seong, Mohammad Bahrami Karkevandi 외

In software development, the predominant emphasis on functionality often supersedes security concerns, a trend gaining momentum with AI-driven automation tools like GitHub Copilot. These tools significantly improve devel…

Language ModellingLarge Language Modelreinforcement-learning