Focus on What Matters: Fisher-Guided Adaptive Multimodal Fusion for Vulnerability Detection
Yun Bian, Yi Chen, HaiQuan Wang, ShiHao Li, Zhe Cui

TL;DR
This paper introduces a Fisher-guided adaptive multimodal fusion method for vulnerability detection that selectively combines code representations based on task relevance, improving accuracy and efficiency.
Contribution
It proposes a novel Fisher information-based fusion strategy and the TaCCS-DFA framework, addressing limitations of naive multimodal fusion in vulnerability detection.
Findings
Achieved up to 6.3-point F1 score improvement on benchmarks.
Reduced inference latency by 3.4% compared to baseline methods.
Maintained low calibration error with the proposed approach.
Abstract
Software vulnerability detection can be formulated as a binary classification problem that determines whether a given code snippet contains security defects. Existing multimodal methods typically fuse Natural Code Sequence (NCS) representations extracted by pretrained models with Code Property Graph (CPG) representations extracted by graph neural networks, under the implicit assumption that introducing an additional modality necessarily yields information gain. Through empirical analysis, we demonstrate the limitations of this assumption: pretrained models already encode substantial structural information implicitly, leading to strong overlap between the two modalities; moreover, graph encoders are generally less effective than pretrained language models in feature extraction. As a result, naive fusion not only struggles to obtain complementary signals but can also dilute effective…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
