This paper presents Antares, a compact language model family for agentic vulnerability localization, comprising models at 350M, 1B, and 3B parameter scales. Through a two-stage training paradigm, it achieves vulnerability localization performance close to closed-source large models while substantially reducing the inference runtime cost of repository-level vulnerability localization.
VLoc Bench, a benchmark for repository-level vulnerability localization, contains 500 tasks drawn from 290 real-world repositories, covering 6 package ecosystems and 147 distinct CWE categories, with 78% of the entries already assigned corresponding CVE identifiers.
Existing code agent benchmarks fall into two categories. One targets general software engineering capabilities, such as the SWE-Bench family of benchmarks, which test issue-fixing ability across Python repositories and do not involve security-specific reasoning requirements. The other targets offensive and defensive security capabilities, such as NYU CTF Bench and CyberGym, which assume the vulnerability location is given in advance and do not require locating the vulnerability from the full repository. Neither category of benchmarks covers the specific task of repository-level vulnerability localization.
Antares is a compact language model family designed specifically for agentic vulnerability localization, comprising three decoder-only Transformer variants at 350M, 1B, and 3B parameter scales. All models are initialized from pretrained checkpoints of IBM Granite 4.0 and share an identical tokenizer and architecture blueprint, uniformly adopting grouped-query attention, SwiGLU MLP activations, RMSNorm, RoPE positional encoding, and shared input-output embedding matrices; the three versions differ only in the number of layers, hidden dimension, and specific attention head configurations.
This model family is the paper's core new resource, purpose-optimized for repository-level vulnerability localization scenarios. It builds its capabilities through a two-stage training pipeline: the first stage performs supervised fine-tuning on cybersecurity reasoning and repository exploration related datasets, while the second stage conducts reinforcement learning training on vulnerable code repositories using a verifiable reward mechanism. Its core design goal is to achieve low-latency, low-cost local inference deployment while maintaining vulnerability localization performance.
After initialization from IBM Granite checkpoints, Antares's 350M, 1B, and 3B models complete post-training via a two-stage pipeline. The first stage, supervised fine-tuning, aims to teach the model three foundational capabilities—cybersecurity reasoning, repository exploration, and terminal interaction—laying the groundwork for subsequent multi-turn task execution. The second stage, reinforcement learning, optimizes complete multi-turn execution trajectories based on verifiable file-level localization rewards. This training regime directly rewards the behaviors required at deployment time, including strategic searching, validating candidate results, and submitting vulnerability files within a fixed terminal operation budget. The figure below can help you fully understand the flow logic of the agent's complete execution process under this training regime.
All GRPO reward components used in Antares's reinforcement learning stage are computed programmatically from trajectory text, with no additional learned reward model—making this a model-free reward design. This reward system integrates multiple classes of verifiable signals corresponding to four dimensions: localization accuracy, legitimate task completion, tool-use compliance, and avoidance of anomalous outputs, constraining and guiding the agent's execution behavior from different angles.
On the VLoc Bench vulnerability localization benchmark, Antares-3B achieves a File F1 score of 0.223, performing close to GPT-5.5 while surpassing much larger open-source models including GLM-5.2. Comparisons with static analysis tools show a consistent trend: rule-based scanners can identify some vulnerable files, but lacking the ability to adaptively inspect repository context, their overall performance remains below the Antares family. You can consult the following figure to understand the performance distribution and Pareto-optimal relationships of open- and closed-source models at different parameter scales on the vulnerability localization task.
Even without exposure to SWE-Bench repositories, issue descriptions, or issue-resolution related data, Antares remains competitive with much larger models specifically trained for code localization on SWE-Bench tasks. On the BFCL-v3 benchmark, Antares achieves its largest performance gains over the corresponding Granite base models in multi-turn orchestration scenarios, while overall function calling performance is roughly on par with the base models. These results show that Antares has acquired transferable repository navigation and sequential tool-use capabilities, rather than merely a strategy narrowly fitted to VLoc Bench.
Antares completely changes the runtime cost profile of repository-level localization tasks: on a single H100 GPU with 16 parallel workers, Antares-3B completes the full 500-task evaluation in only about 15 minutes, and at commercial H100 rental rates, the total evaluation inference cost is under 12.5, while GPT-5.5 takes about 5 hours via the OpenAI API at a cost of about $141. You can consult the following figure for an intuitive comparison of the three model categories in runtime and per-evaluation estimated cost, including the annotated cost-multiple advantages.
Repository-level vulnerability localization capability exhibits a capability cliff rather than smooth scaling with parameter count. Compact models purpose-trained for agentic vulnerability localization can outperform open-source large models hundreds of times larger, showing that task-specific interactive training matters far more than sheer parameter scale.
The core failure mode of current models is signal dilution: in large codebases, vulnerability-related patterns such as unsafe calls, missing validations, and attacker-controlled data flows appear extensively in perfectly benign contexts. The agent must not only recognize suspicious patterns but also precisely pinpoint the specific instances that truly participate in the vulnerability implementation—a process requiring reading and integrating surrounding context across large extents, exceeding the effective working memory limits of current terminal agents. As a result, models often find seemingly plausible candidate files but cannot distinguish security-critical implementations from syntactically similar benign code.
Among the difficulty drivers of vulnerability localization, code implementation structure matters far more than the vulnerability's severity level. Programming languages with predictable repository layouts and CWE categories with localized characteristics are easier to localize within a fixed terminal operation budget, while scattered vulnerabilities and extremely deeply layered codebases are high-difficulty scenarios for all model families.