From Evaluation-Driven Model Selection to Downstream Deployment: Building a Security Vulnerability Assessment Model with NVIDIA Nemotron and NeMo AutoModel
When enterprises adopt large language models, the most common challenge is not "Is there a model we can use?" but "Which model fits our scenario?" and "How do we get it to do exactly what we need?" A general-purpose model may know a great deal about cybersecurity, but there is still a considerable gap between that and reliably turning English vulnerability descriptions, one after another, day after day, into consistently formatted and precisely classified vulnerability assessment reports.
This article documents APMIC's approach in a cybersecurity project. We first used question banks covering the exam scope of the international ECIH security certification to objectively evaluate and select a base model, choosing NVIDIA Nemotron-3-Nano-30B-A3B. We then performed supervised fine-tuning (SFT) with NVIDIA NeMo AutoModel to train ACE-Security, a downstream task model dedicated to vulnerability assessment. At the end, we also share, from the perspective of an NVIDIA ISV, Nemotron's strengths, areas for improvement, and our experience using it as a base model for downstream tasks.
Key Takeaways
|
1. Why Evaluate Before Choosing a Model
Fine-tuning can significantly improve a model's performance on a specific task, but the base model's own domain knowledge and ability to generalize determine where fine-tuning starts and how far it can go. If a base model has a weak grasp of security concepts, no amount of task data will do more than teach it to "memorize the answers," and it will easily falter when it meets a new vulnerability.
Vulnerability assessment is exactly the kind of scenario where "there are new questions every day": new CVEs are published continuously, and they are described in endlessly varied ways. So before committing data engineering effort and GPU training resources, we first built a repeatable, quantifiable evaluation that measures each candidate model's security knowledge with the same yardstick, and only then decided which model to invest in.
2. Evaluation Design: Measuring Security Knowledge with ECIH Exam-Scope Question Banks
We chose EC-Council's ECIH (Certified Incident Handler, exam code 212-89) as our evaluation benchmark. ECIH is an internationally recognized professional certification in incident handling and response (IH&R) and is an approved qualification under the U.S. Department of Defense's DoD 8140/8570. Its curriculum aligns with industry methodologies such as the NIST SP 800-61 incident handling lifecycle, MITRE ATT&CK, and the Cyber Kill Chain, and covers the full process from incident preparation, detection, and containment through to digital forensics. That makes it well suited to measuring a model's "practical security knowledge."
Item | Setting |
Question banks | Two practice question banks mapped to the ECIH 212-89 exam scope: V14.65 (304 questions) and V14.95 (447 questions), 751 question attempts in total, all single-answer multiple-choice questions with four options |
Overlap between banks | Compared by question stem: V14.65 has 304 unique questions; V14.95 has 432 unique questions (plus 15 duplicates within the file). The two banks share 273 questions; 31 appear only in V14.65 and 159 appear only in V14.95, for 463 unique questions across both banks |
Topic classification | Each question is labeled with one of the 10 official ECIH v3 modules (M01–M10) to analyze capability in each sub-domain |
Models tested | NVIDIA Nemotron-3-Nano-30B-A3B, Google Gemma-4-31B-it, Google Gemma-4-26B-A4B-it (all 30B-class open-source models suitable for enterprise on-premises deployment) |
Answering mode | Direct answering with reasoning mode off; the option letter is parsed from the output, and every question was parsed successfully |
Statistical methods | Accuracy reported with 95% Wilson confidence intervals; McNemar's paired test used to determine whether differences between models are significant |
The 10 ECIH v3 modules are: M01 Security Fundamentals / Risk / Regulations, M02 Incident Handling Process (IH&R), M03 First Response and Digital Forensics, M04 Malware, M05 Email, M06 Network, M07 Web Applications, M08 Cloud, M09 Insider Threats, and M10 Endpoint (Mobile / IoT / OT) security incidents.
It is worth emphasizing that the two question banks are not independent of each other. Comparing question stems, 273 questions appear in both banks, about 90% of V14.65, so the "average of both banks" mainly reflects the same set of questions. The real difference lies in the 159 new questions added in V14.95 (they use the same four-option, single-answer format; their content simply does not appear in the older bank). We scored these 159 questions separately as a reference for how models perform on new questions. We must note, however, that "not in the older bank" does not mean the model never saw them during pre-training, so this is only an indicative measure of generalization, not a strict test on unseen data.
The "751 question attempts" figure in this article is simply the sum of the two banks (304 + 447), so overlapping questions and the duplicates within V14.95 are counted more than once; the two banks contain 463 unique questions in total.
3. Evaluation Results
3.1 Overall Accuracy: Nemotron Ranks First on Average, with Its Biggest Lead on New Questions

Model | V14.65 | V14.95 | Average of both | V14.95 new questions (159) |
Nemotron-3-Nano-30B-A3B | 91.12% | 91.95% | 91.53% | 92.5% |
Gemma-4-31B-it | 92.11% | 88.81% | 90.46% | 84.3% |
Gemma-4-26B-A4B-it | 90.46% | 88.81% | 89.64% | 84.9% |
Nemotron-3-Nano ranked first with an average of 91.53% across both banks, and it was the only model to exceed 91% on both. Gemma-4-31B achieved the highest single-bank score, 92.11% on V14.65, but dropped to 88.81% on V14.95. A closer breakdown shows that the score gap between the two banks comes mainly from the 159 new questions: Nemotron scored 92.5% on the new questions, while the two Gemma models scored 84%–85%. On the 273 overlapping questions, the gap among the three models was much smaller (Nemotron 91.6% / 91.4%, Gemma-4-31B 92.7% / 90.8%, Gemma-4-26B 90.8% / 90.5%, answering in V14.65 and V14.95 respectively).
For the same overlapping question, the consistency of right-or-wrong outcomes across the two banks was above 97% for all three models (Nemotron 97.8%, Gemma-4-31B 98.2%, Gemma-4-26B 97.4%), showing that the models answer the same question quite consistently.
We also tested the robustness of the conclusion. Whether we computed a weighted score over all 751 question attempts combined (Nemotron 91.61%, Gemma-4-31B 90.15%, Gemma-4-26B 89.48%), or rescored after removing duplicates and then also removing questions the bank flags as having a questionable answer key, each model's accuracy changed by less than 1 percentage point and the ranking stayed exactly the same.
Statistical note: under McNemar's paired test, the overall differences among the three models are not statistically significant (Nemotron vs. Gemma-4-26B p ≈ 0.10; vs. Gemma-4-31B p ≈ 0.26; between the two Gemma models p ≈ 0.56). This test was computed on both banks combined, so overlapping questions are counted twice and the p-values may be slightly understated; even so, the differences are not significant. We therefore did not rely on the overall score alone to choose a model, and instead considered performance on new questions, task-relevant topics, inference efficiency, and answer bias together (see Section 4).
3.2 Capability Across the 10 Topics

Across topics, Nemotron ranked first outright in 6 of the 10 (M02 Incident Handling Process, M03 First Response and Forensics, M05 Email, M06 Network, M07 Web Applications, M10 Endpoint), and tied for first with Gemma-4-26B on M08 Cloud. It performed especially well on the topics most directly related to vulnerability assessment:
M06 Network Security Incidents 98.9%, M02 Incident Handling Process 95.3%, M10 Endpoint 94.2%, and M07 Web Applications 94.1%, the highest of the three models in every case.
The two topics with the largest gaps among the three models are M10 Endpoint (11.5 percentage points between highest and lowest) and M02 Incident Handling Process (7.8 percentage points). Nemotron is highest on both, showing that topics requiring process and domain detail are exactly where Nemotron pulls ahead.
On the other hand, M01 Security Fundamentals / Risk / Regulations is a weakness shared by all models: it is each model's own lowest-scoring topic, with Nemotron at 72.3%. Most of the errors here involve long-tail knowledge that requires "precise recall," such as names of standards and regulations (e.g., UK GPG18, Forensic Readiness principles), threat attribution categories, the ordering of vulnerability management steps, and specific tool commands. We pass this observation on to NVIDIA in Section 7.
3.3 Answer Bias: Nemotron Is Closest to the Ground-Truth Distribution

The correct answers in the question banks are spread roughly evenly across A–D (about 24%–26% each). The two Gemma models chose A about 30%–31% of the time, roughly 5 percentage points more than the ground truth, indicating a "position bias" when uncertain. Nemotron's answer distribution, by contrast, almost exactly matches the ground truth. For a model that will be plugged into an automated pipeline, less bias means more trustworthy output.
In addition, measuring with Cohen's κ whether models get the same questions right or wrong, the two Gemma models agree at κ = 0.66, while Nemotron agrees with them at only 0.36–0.37. In other words, Nemotron's errors are distributed quite differently from the Gemma family's: across the 751 combined question attempts, there were 45 attempts where Nemotron was right and Gemma-4-31B was wrong, versus 34 the other way around; against Gemma-4-26B the split was 49 to 33. This shows that their knowledge coverage differs.
4. Why We Chose NVIDIA Nemotron-3-Nano-30B-A3B
Based on the evaluation above, we selected Nemotron-3-Nano-30B-A3B as the base model for our cybersecurity downstream task, for the following reasons:
First on average, best on new questions: It ranked first with a 91.5% average across both banks and held 92.5% on the 159 new questions, 7.6–8.2 percentage points ahead of the other two models. It remains stable on new questions, which fits the needs of vulnerability assessment, where "there are new CVEs every day."
Leads across the topics most relevant to the task: It scored highest on Web applications, incident handling process, endpoint, and network topics.
Extremely efficient inference: It uses a hybrid Mamba-Transformer MoE (mixture-of-experts) architecture with 31.6B total parameters, but activates only about 3.6B parameters per token (6 of 128 experts). When answering directly it needs only about 6 output tokens on average, making it very well suited to high-volume batch analysis.
Least answer bias: Its answer distribution is closest to the ground truth, and it does not systematically favor any option when uncertain.
Knowledge coverage that differs from other models: Its error pattern differs markedly from the Gemma family's (κ of only 0.36–0.37), meaning it brings a different knowledge foundation.
5. Downstream Task Development: Training the Vulnerability Assessment Model ACE-Security
5.1 Task Definition and Pain Points
The client for this project is a cybersecurity services provider whose overall needs span four tasks: security incident reports, advisory Q&A, monthly security reports, and training for new security staff. The first phase focuses on the vulnerability assessment step within security incident reports: having the model understand vulnerability descriptions detected by monitoring tools, automatically perform CWE (Common Weakness Enumeration) classification, and produce a structured vulnerability assessment report with defensive recommendations. It addresses three problems:
Classification is time-consuming: Security staff must read each English vulnerability description one by one and judge its category by checking it against CWE definitions themselves.
Recommendations are inconsistent: Remediation advice written by different staff varies in detail, making it hard to establish a standard operating procedure.
General-purpose models are unreliable: Although general-purpose models have security knowledge, their classification results and response formats are inconsistent, so they cannot be plugged directly into internal workflows.
5.2 Development Process

Step | Approach |
Data source | Vulnerability analysis data provided by a security partner (vulnerability descriptions with their corresponding CWEs) |
Data engineering | After cleaning the data, we grouped 114 CWEs into 23 major categories, wrote a defensive recommendation template for each category, and then generated 35,000 SFT samples to teach the model three things: CWE definitions, the mapping between vulnerability descriptions and CWEs, and how to defend against each class of weakness |
Early validation | Small-scale trial training to test the data pipeline and to find and fix data issues (see 5.3) |
Training | NVIDIA NeMo AutoModel, supervised fine-tuning (SFT); base model Nemotron-3-Nano-30B-A3B; a single node of NVIDIA B200 GPUs |
Deployment | vLLM inference + LiteLLM gateway, providing an OpenAI-compatible API |
Client validation | API test documentation and a question-by-question test checklist (covering 15 CWEs) provided for the client's own hands-on testing |
Why group CWEs into 23 major categories? Many CWEs differ only subtly. For example, CWE-121 (stack-based buffer overflow) and CWE-122 (heap-based buffer overflow) differ only in the memory region where the overflow occurs, and their remediations are nearly identical. So the model still outputs the precise CWE ID, but CWEs in the same category share one defensive template. This design keeps recommendations consistent, complete, and easy to maintain: updating a single template later applies the change to the entire category.
5.3 Pitfalls We Hit in Data Engineering
During trial training before the main run, we found and fixed three typical problems. These lessons also apply to building data for models in other domains:
Insufficient input information leads to memorization: When the input lacks enough information to support a judgment, the model tends to memorize the mapping between inputs and answers rather than learn the basis for the judgment. We adjusted the input content of the data accordingly and regenerated it.
Hallucinated CVE IDs: The model would "make up" plausible-looking CVE IDs. The fix was to provide the CVE ID directly in the input so the model could focus on classification and analysis.
Leftover translations of product names: Translations of product names left over from data processing hurt output consistency; this was fixed during data cleaning.
5.4 Why NVIDIA NeMo AutoModel
NeMo AutoModel feature | Practical benefit in this project |
Native Hugging Face support, no conversion needed; new models can be trained as soon as they are released | Nemotron 3 weights load directly from Hugging Face without first converting to a framework-specific format, shortening the time from model selection to the first model version |
Driven by a single YAML recipe, with parameters overridable from the command line | Trial and production training, as well as different model families, share the same data format and workflow; switching base models mainly means swapping the model and its corresponding settings |
Built-in MoE support and PyTorch-native parallelism such as FSDP2 | A 30B-class MoE model can complete SFT on a single B200 node, and the same configuration can scale directly to multiple nodes in the future |
Output can be merged into a Hugging Face–compatible checkpoint | The trained model goes straight to vLLM for deployment, with no extra format conversion between training and production |
Supports SFT, PEFT (LoRA / QLoRA), continued training, knowledge distillation, and tool calling | Later tasks such as advisory Q&A, monthly reports, and new-staff training can be built on the same framework |
6. Results: CWE Classification Accuracy Rises from 60% to 96%
Evaluation method: We took 50 vulnerability records (covering a variety of CWEs) from a test set kept separate from the training data, and asked the same prompt (CVE ID + original vulnerability text, explicitly requesting a CWE classification) to both the pre-fine-tuning Nemotron-3-Nano-30B-A3B and the fine-tuned ACE-Security, with temperature = 0. We used a strict criterion: an answer counts as correct only if the CWE ID exactly matches the reference answer; a different ID in the same major category still counts as wrong.

Model | Accuracy | Correct | 95% confidence interval (Wilson) |
Nemotron-3-Nano-30B-A3B (before fine-tuning) | 60% | 30 / 50 | 46.2% – 72.4% |
ACE-Security (after NeMo AutoModel SFT) | 96% | 48 / 50 | 86.5% – 98.9% |
The two confidence intervals do not overlap at all, so the improvement is clear. Looking at the 20 questions the model got wrong before fine-tuning, the common patterns were classifying into a more generic parent category (such as CWE-20, CWE-285, or CWE-400) or confusing closely related weaknesses (such as labeling CWE-121 as CWE-120, or CWE-98 as CWE-22). After fine-tuning, the model learned to use the details in the vulnerability description to arrive at the precise CWE ID.
6.1 Not Just More Accurate Classification, but Report-Ready Output
ACE-Security produces every vulnerability assessment report in a fixed format with six fields: affected product, weakness category, CWE definition, basis for judgment, original technical details, and recommended defensive measures, so it can plug directly into security staff's workflows. The base model, by contrast, has no fixed output format: in a separate 98-question test using general prompts (without specifically asking for a CWE), a CWE classification could be extracted from only 2 of the responses. This is also why the 50-question evaluation above explicitly asks for a CWE prediction in the prompt, to allow a fair before-and-after comparison.

7. Feedback for NVIDIA: Nemotron's Strengths and Areas for Improvement
As an NVIDIA ISV, APMIC uses multiple open-source model families in real projects. Below are our observations on Nemotron-3-Nano-30B-A3B from the evaluation and downstream task development.
7.1 Strengths
Leading security knowledge: First on average across the two ECIH question banks (91.5%) and 92.5% on the 159 new questions; highest scores on network, incident handling process, endpoint, and Web application topics.
Efficient inference: The hybrid Mamba-Transformer MoE activates only about 3.6B parameters per token and produces concise output, giving the best cost-effectiveness for SOC scenarios that require large volumes of real-time analysis.
Stable answers, little bias: Smallest option-position bias, and 97.8% right-or-wrong consistency on questions that overlap between the two banks.
Highly adaptable as a fine-tuning base: After SFT, CWE classification rose from 60% to 96%, and the model reliably learned a fixed report format, showing it is an excellent starting point for downstream tasks.
7.2 Areas for Improvement
Security fundamentals, risk, and regulatory knowledge (ECIH M01) is the most obvious weakness: Nemotron scored 72.3% on this topic, below Gemma-4-26B (75.4%) and Gemma-4-31B (80.0%). Errors concentrate on long-tail knowledge such as names of security standards and regulations, threat attribution categories, and specific tool commands. If future versions strengthen their corpus on standards and regulations such as NIST, ISO/IEC 27035/27037, and GDPR, Nemotron would be more well-rounded in the security domain.
M04 Malware (88.4%) and M09 Insider Threats (90.3%) fall below Nemotron's own topic average (about 91.1%) and below both Gemma models (90.7% each on M04; 94.4% and 97.2% on M09), making them areas worth strengthening.
Native output format is less consistent: Without fine-tuning, the response format varies, so plugging it directly into an automated pipeline still requires SFT or explicit prompt constraints on format.
7.3 Our Experience with NeMo AutoModel
Native Hugging Face support is the biggest value: Client projects run on tight timelines, and being able to start training the latest open-source models directly, without waiting for format conversion tools, matters.
One workflow serves many clients: The same recipe and data format work across models, with only configuration changes needed to switch, so "model evaluation → training → deployment" can be offered as a standardized service.
A lower barrier to training MoE models: A 30B-class MoE model can complete SFT on a single node, and the output goes straight to vLLM for production, with no gap between training and deployment.
8. Four Lessons for Enterprises Adopting Domain Models
Build the evaluation first, then talk about training: Agree on the questions and reference answers with the client up front, and use them as a fixed baseline for comparing before and after training. Choose models with the same yardstick, not by impression.
Data engineering makes or breaks the project: Behind the 35,000 samples, the real effort went into grouping categories, writing templates, and uncovering hidden problems like "memorization," "hallucination," and "leftover translations."
Keep evaluation and training sets strictly separate: The ECIH question banks were used only for evaluation and never included in the training data; the CWE test set was likewise kept apart from the training data, so results could be measured objectively.
A specialized small model often beats a generalist large model: A fine-tuned mid-size MoE model can deliver accuracy, consistent output formatting, and low inference cost on a specific task all at once. We have applied the same workflow in the financial credit domain, where the fine-tuned model's accuracy rose from 60% to 78%, outperforming an un-fine-tuned model more than 4 times its size.
9. Conclusion and Next Steps
This project demonstrates APMIC's end-to-end capability in downstream task development: "evaluation-driven model selection → data engineering → NeMo AutoModel fine-tuning → vLLM deployment → client validation." Through the ECIH evaluation, we confirmed with data that NVIDIA Nemotron-3-Nano delivered the best overall security knowledge and the best performance on new questions among the three candidate models. Through SFT with NeMo AutoModel, we then turned it into ACE-Security, a model that reliably delivers structured vulnerability assessment reports.
Next, we will apply the same Nemotron and NeMo AutoModel workflow to other tasks such as security advisory Q&A, monthly security reports, and new-staff training, while continuing to build training data for weaker areas such as security regulations. We also look forward to deeper collaboration with NVIDIA on domain fine-tuning of Nemotron.
References
EC-Council, Certified Incident Handler (E|CIH): https://www.eccouncil.org/train-certify/ec-council-certified-incident-handler-ecih/
NIST SP 800-61r3, Incident Response Recommendations and Considerations: https://csrc.nist.gov/pubs/sp/800/61/r3/final
NVIDIA NeMo AutoModel documentation: https://docs.nvidia.com/nemo/automodel
MITRE CWE (Common Weakness Enumeration): https://cwe.mitre.org/


Comments