Evaluating the line-level localization capability of learning-based code vulnerability detection modelsEvaluating Line-level Localization Ability of Learning-based Code Vulnerability Detection Models
AI summary
The paper proposes an interpretability-based evaluation procedure, Detection Alignment (DA), that quantifies the consistency between the source code lines with the greatest influence on model predictions and the ground-truth vulnerability localization. DA is model-agnostic and adaptable to different detection tasks; the authors use it to analyze multiple learning-based vulnerability detectors and datasets, and the results show that these models' predictions are consistently biased by non-vulnerable lines, highlighting the high impact of bias and spurious correlations.