Antares: Foundation Models for Agentic Vulnerability Localization

Supriti Vijay, Aman Priyanshu, Didier Chapoteau, Arthur Goldblatt, Jianliang He, Kimia Majd, Fraser Burch, Baturay Saglam, Takahiro Matsumoto, Zhuoran Yang, Amin KarbasiarXiv 2026

TL;DR

Antares is a new family of ultra-compact language models (ranging from 350M to 3B parameters) designed to act as autonomous agents that locate vulnerabilities within large codebases. By combining supervised fine-tuning with reinforcement learning from verifiable rewards, the 3B parameter model matches the performance of frontier models like GPT-5.5 while being orders of magnitude smaller, faster, and cheap enough to run entirely on local, air-gapped hardware.

What Problem Does This Paper Address?

When a software vulnerability is disclosed, the immediate operational challenge isn't understanding the flaw in the abstract—it's finding exactly where the vulnerable implementation lives in a massive codebase. This process, called vulnerability localization, is a major bottleneck in software security.

Traditional static analysis tools (like CodeQL or Semgrep) are fast but rigid, struggling to find flaws that don't match predefined patterns. Conversely, massive frontier LLMs possess deep reasoning capabilities but are prohibitively expensive to run repeatedly across CI/CD pipelines. Furthermore, sending proprietary source code to external APIs introduces severe data privacy and supply-chain risks. The authors introduce Antares to bridge this gap: a family of small, highly specialized models that can be deployed locally to navigate and audit repositories end-to-end.

Methods

Instead of operating as standalone text predictors, Antares models function within a closed agent loop. Given a generic vulnerability description (a CWE category), the model interacts with a read-only Docker sandbox using standard terminal commands (like ls, grep, cat, and find) to strategically explore the codebase.

The interactive agent loop used by Antares to explore codebases end-to-end.

The models are built on IBM Granite 4.0 base checkpoints and trained via a specialized two-stage pipeline:

  1. Supervised Fine-Tuning (SFT) with Semantic Conditioning: Along with learning cybersecurity concepts and terminal syntax, the authors introduce semantic conditioning as an auxiliary objective. Rather than forcing the model to predict exact terminal output tokens (which vary wildly between codebases), it trains the model to generate similar internal representations for terminal observations that share functional roles (e.g., recognizing that two different directory listings serve the same structural purpose).
  2. Reinforcement Learning via GRPO: The policy is optimized using Group Relative Policy Optimization (GRPO). Instead of using a fickle, learned reward model, Antares relies entirely on programmatic, verifiable rewards based on final localization accuracy, tool compliance, and strategic exploration behavior. This training induces a tight "search–verify–refine" loop.
The Antares model family variants designed for local, low-resource deployment.

Datasets

  • SFT Corpus: A mix of cybersecurity reasoning data (71.5%), deep research/evidence aggregation trajectories (13.1%), and general code search trajectories (15.4%).
  • RL Corpus: A curated dataset of vulnerable repository snapshots spanning 9 software ecosystems and 255 unique CWE categories (strictly disjoint from the evaluation sets).
  • VLoc Bench: The primary evaluation benchmark, consisting of 500 real-world tasks across 290 unique repositories.
  • Generalization Benchmarks: To test if the agentic skills transferred beyond security, the models were also evaluated on SWE-Bench (Verified and Lite) and the Berkeley Function Calling Leaderboard (BFCL-v3).

Key Insights and Ideas

  • The "Capability Cliff": Repository-scale localization does not scale smoothly with parameter size. General-purpose models exhibit a sharp performance drop-off; if a model lacks task-specific interaction training, even a 100B+ parameter model will fail to navigate a repository effectively.
  • Structure Over Severity: A vulnerability's severity (its CVSS score) has no bearing on how difficult it is to locate. Instead, difficulty is dictated by codebase architecture. Flat, convention-heavy ecosystems like Python (pip) and JavaScript (npm) are significantly easier for agents to parse than deeply nested, verbose build hierarchies like Java (Maven).
  • More Commands Can Hurt: Increasing an agent's command budget isn't a silver bullet. Experiments showed that when GPT-5.5 was given 100 commands instead of 30, its performance collapsed by 39% because it over-explored, got lost in the noise, and lost confidence in its candidate set.
  • Scale-Dependent Specialization: GRPO doesn't enforce a uniform strategy. Under reinforcement learning, smaller models (350M and 1B) naturally adapted by learning high-recall, search-heavy strategies to maximize coverage, compensating for their limited verification capacity. The 3B model, having more capacity, optimized for a highly selective, high-precision search-and-verify approach.

Key Results

  • Frontier Performance at 200x Smaller Scale: On VLoc Bench, Antares-3B achieved a 0.223 File F1 score, essentially matching GPT-5.5 xhigh (0.229) and beating open-weight models hundreds of times larger, such as GLM-5.2.
Antares models form the Pareto frontier on VLoc Bench, matching or beating models orders of magnitude larger.
  • Radical Cost and Speed Efficiency: Antares-3B processes a full 500-task evaluation sweep in 15 minutes on a single H100 GPU, costing less than $1 total (under $0.002 per task). GPT-5.5 takes roughly 5 hours and costs $141 via commercial APIs for the same workload.
  • Zero-Shot Transfer: Despite zero training exposure to SWE-Bench issues or repositories, Antares-3B achieved a 66.54 File F1 on SWE-Bench Verified, performing competitively with models explicitly fine-tuned for general code localization (like CodeScout-14B).

Limitations and Future Work

  • Signal Dilution: In massive codebases (10+ MB), vulnerability patterns (like unsafe calls) appear frequently in completely benign contexts. Antares models still struggle to maintain enough effective working memory to isolate the true vulnerability from surrounding noise.
  • Distributed Vulnerabilities: While the models excel at finding a single "vulnerable foothold," their performance degrades sharply when a vulnerability spans 5 or more files (e.g., distributed across validation chains and configuration boundaries).
  • Restricted Release: Because agentic vulnerability localization is a dual-use technology that could theoretically be repurposed for offensive exploit discovery, the authors have only publicly released the 350M and 1B models, retaining the flagship 3B model for internal defensive use.

Summary updated

BibTeX
@misc{vijay2026antares,
  author = {Supriti Vijay and Aman Priyanshu and Didier Chapoteau and Arthur Goldblatt and Jianliang He and Kimia Majd and Fraser Burch and Baturay Saglam and Takahiro Matsumoto and Zhuoran Yang and Amin Karbasi},
  title = {{Antares: Foundation Models for Agentic Vulnerability Localization}},
  year = {2026},
  eprint = {2608.02407},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.02407},
}
Figure