A Mask Optimization Method for Automated Vulnerability Repair

In recent years, automated vulnerability repair methods, particularly those based on Transformer models, have been increasingly applied to address software security challenges. These methods often employ masking techniques to focus on attack-prone code areas. Inspired by Vision Transformers in object detection, this paper introduces a mask optimization solution. It integrates masks into the decoder’s cross-attention mechanism, allowing the model to focus on key vulnerability segments. Additionally, the mask is applied to the encoder’s self-attention, enhancing feature representation. The proposed method demonstrates improvements over approaches such as VulRepair and VQM.

Authors

Institutions

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/iscait64916.2025.11010430
Primary Topic
Engineering Applied Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Mask Optimization Method for Automated Vulnerability Repair

Ying Lei, J.-L. Li, Feng Qin
Engineering Applied Research
article

A Mask Optimization Method for Automated Vulnerability Repair

Ying Lei, J.-L. Li, Feng Qin
article en

Abstract

In recent years, automated vulnerability repair methods, particularly those based on Transformer models, have been increasingly applied to address software security challenges. These methods often employ masking techniques to focus on attack-prone code areas. Inspired by Vision Transformers in object detection, this paper introduces a mask optimization solution. It integrates masks into the decoder’s cross-attention mechanism, allowing the model to focus on key vulnerability segments. Additionally, the mask is applied to the encoder’s self-attention, enhancing feature representation. The proposed method demonstrates improvements over approaches such as VulRepair and VQM.

University of Electronic Science and Technology of China (CN), China Academy of Engineering Physics (CN)
Research and Development
Openalex Percentile: Top 87%
Engineering Applied Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.