A new preprint on arXiv argues that high benchmark scores in learning-based vulnerability detection are misleading. The authors demonstrate that these models can suffer severe degradation when faced with distribution shifts—changes in the data that differ from the training set—even though their standard evaluation numbers look strong.

The paper proposes that calibrated embedding geometry, a way of measuring how well the model's internal representations separate vulnerable from non-vulnerable code, can expose these hidden generalization boundaries. By examining the distances in the embedding space, the method reveals where the model's confidence does not match its actual performance.

Because the source is an abstract, the specific datasets and experimental details are not available here. The key takeaway is that standard benchmark scores alone are insufficient for judging the reliability of AI-based vulnerability detectors, and that more diagnostic approaches are needed to understand their true limits.