mlsanityData to 14 Oct 2026

White-Basilisk: A Hybrid Model for Code Vulnerability Detection

arXiv 2507.08540 ↗First posted 11 Jul 2025cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The proliferation of software vulnerabilities presents a significant challenge to cybersecurity, necessitating more effective detection methodologies. We introduce White-Basilisk, a novel approach to vulnerability detection that demonstrates superior performance while challenging prevailing assumptions in AI model scaling. Utilizing an innovative architecture that integrates Mamba layers, linear self-attention, and a Mixture of Experts framework, White-Basilisk achieves state-of-the-art results in vulnerability detection tasks with a parameter count of only 200M. The model's capacity to process sequences of unprecedented length enables comprehensive analysis of extensive codebases in a single pass, surpassing the context limitations of current Large Language Models (LLMs). White-Basilisk exhibits robust performance on imbalanced, real-world datasets, while maintaining computational efficiency that facilitates deployment across diverse organizational scales. This research not only establishes new benchmarks in code security but also provides empirical evidence that compact, efficiently designed models can outperform larger counterparts in specialized tasks, potentially redefining optimization strategies in AI development for domain-specific applications.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 27 references that are in the map. First posted on arXiv 11 Jul 2025.

Builds on

18 of 27 references.

References · 18

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  2. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  3. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  6. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  7. 2023StarCoder: may the source be with you!cited by 799
  8. 2021Carbon Emissions and Large Neural Network Trainingcited by 567
  9. 2019Quantifying the Carbon Emissions of Machine Learningcited by 521
  10. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  11. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
  12. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
6 more
  1. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  2. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 139
  3. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 125
  4. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  5. 2023LLMCarbon: Modeling the end-to-end Carbon Footprint of Large Language Modelscited by 72
  6. 2022VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detectioncited by 51

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Points
  2. 2025Automated Vulnerability Validation and Verification: A Large Language Model Approach
  3. 2025LLMpatronous: Harnessing the Power of LLMs For Vulnerability Detection
  4. 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Models
  5. 2026RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
  6. 2025Boosting Vulnerability Detection of LLMs via Curriculum Preference Optimization with Synthetic Reasoning Data
  7. 2026MulVul: Retrieval-augmented Multi-Agent Code Vulnerability Detection via Cross-Model Prompt Evolution
  8. 2025A Systematic Study of Code Obfuscation Against LLM-based Vulnerability Detection