Focus on What Matters: Fisher-Guided Adaptive Multimodal Fusion for Vulnerability Detection
Bian, Yun, Chen, Yi, Wang, HaiQuan, Li, ShiHao, Cui, Zhe
–arXiv.org Artificial Intelligence
False negatives in software vulnerability detection can lead vulnerable functions to directly enter the build and release pipeline, thereby triggering severe security hazards; to improve the comprehensiveness and accuracy of detection, multimodal vulnerability detection techniques that integrate code sequences and graph structures have gradually become the current mainstream paradigm. Existing methods typically jointly model source code sequences and code property graph, but simple concatenation or general interaction mechanisms struggle to fully extract control-flow and data-dependency information in the graph modality that is relevant to vulnerability discrimination, resulting in limited performance gains under real data distributions. To address this issue, this paper proposes the TaCCS-DFA framework, which quantifies the sensitivity of feature directions to classification decisions using Fisher information, constrains cross-modal attention within tasksensitive structural subspaces, and dynamically regulates fusion strength on a per-sample basis through adaptive gating, thereby suppressing the propagation of redundancy and noise while preserving the advantages of semantic representations. Theoretical analysis indicates that, under the isotropic perturbation assumption, this mechanism can tighten the upper bound of the output error from O(ε) to O( k/d ε). Experiments on the four real-world benchmarks BigVul, PrimeVul, Devign, and ReVeal demonstrate that TaCCS-DFA, with only a 3.4% increase in inference latency, improves the F1 score by up to 6.3 percentage points and achieves a superior balance between precision and recall in highly imbalanced scenarios. The above results indicate that selectively extracting task-relevant control flow and data dependency information from CPG helps alleviate false-negative issues in practical vulnerability detection scenarios and holds application value for DevSecOps pipelines.
arXiv.org Artificial Intelligence
Sep-15-2026