arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11015cs.CRcs.AI
收藏

DCVD:双通道跨模态融合用于联合漏洞检测与定位

DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localization

Tsinghua University(清华大学);Hunan University(湖南大学);Dalian Maritime University(大连海事大学);The Chinese University of Hong Kong(香港中文大学);Shenzhen University(深圳大学);Northwestern Polytechnical University(西北工业大学);Shandong University(山东大学);BNU-HKBU United International College(北京师范大学-香港浸会大学联合国际学院);Sun Yat-sen University(中山大学);Peng Cheng Laboratory(鹏城实验室);Guangzhou Intelligence Communications Technology Co., Ltd.(广州智能通信技术有限公司);The Fifth Electronic Research Institute of MIIT(中华人民共和国信息产业部第五电子研究所)

Wenxin Tang, Junliang Liu, Wenbin Li, Jingyu Xiao, Xi Xiao, Mingzhe Liu, Jinlong Yang, Xuan Liu, Yuehe Ma, Wang Luo, Qing Li, Lei Wang, Peng Xiangli

AI总结:

本文提出DCVD框架,通过双通道融合实现功能级检测与语句级定位的联合优化,有效解决单一信息源和缺乏显式监督的问题。

摘要:

软件漏洞检测在确保系统安全中起关键作用,实际审计需确定函数是否易受攻击并定位具体行。现有方法要么依赖单一信息源,要么将语句级定位视为功能级检测的副产品。为解决这些问题,本文提出DCVD框架,通过双通道提取控制依赖和语义特征,并通过对比对齐和双向交叉注意力进行融合,有效弥合跨模态表示差距。引入显式监督信号,实现功能级和语句级的协同优化。在大规模真实世界漏洞基准上的实验表明,DCVD在功能级检测和语句级定位上均优于现有方法。代码可在https://github.com/vinsontang1/DCVD获取。

英文摘要:

Software vulnerability detection plays a critical role in ensuring system security, where real-world auditing requires not only determining whether a function is vulnerable but also pinpointing the specific lines responsible. However, existing approaches either rely on a single information source -- sequential, structural, or semantic -- failing to jointly exploit the complementary strengths across modalities, or treat statement-level localization merely as a byproduct of function-level detection without explicit line-level supervision. To address these limitations, we propose DCVD (Dual-Channel Cross-Modal Vulnerability Detection), a unified framework that performs joint function-level detection and statement-level localization. DCVD extracts control-dependency and semantic features through two parallel branches and integrates them via contrastive alignment coupled with bidirectional cross-attention, effectively bridging the cross-modal representation gap. It further introduces explicit supervision signals at both the function and statement levels, enabling collaborative optimization across the two granularities. Extensive experiments on a large-scale real-world vulnerability benchmark demonstrate that DCVD consistently outperforms state-of-the-art methods on both function-level detection and statement-level localization. Our code is available at https://github.com/vinsontang1/DCVD.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑