SLM testing

Safety and security testing for small language models

Fine-tuned, quantized, on your hardware. Tested at every stage.

SLM testing is adversarial safety and security testing for small language models: open-weight models, usually in the 1B to 8B parameter range, that teams fine-tune, quantize and run on their own hardware. Those steps change the weights, so SichGate runs the same 179-probe battery on each build and reports what changed, category by category.

Why

Why small models need their own testing

Small models are the ones teams change the most. They get fine-tuned on domain data, quantized to fit a GPU or an edge device, and deployed on-prem or air-gapped. The safety evidence on the model card was produced for the original checkpoint, before any of that happened.

In SichGate's published results, six open-weight SLMs tested at 4-bit failed between 42.2% and 65.6% of adversarial tests, across 924 interactions. Those are base models. A fine-tune or a different quantization moves those numbers, and not evenly.

Coverage

What SLM testing covers

  • A behavioral baseline on the base model, before you change it
  • The fine-tuned build, compared probe by probe with the baseline
  • The quantized build you ship, in NF4, GPTQ or GGUF
  • Safety drift between fp16 and the quantized build, per category
  • All 12 categories: alignment, bias and fairness, hallucination, safe messaging, direct harm, instruction hijacking, payload splitting, virtualization, JSON/XML smuggling, infinite context, multi-turn escalation and reasoning-chain attacks
  • Scoring by an independent judge model (WildGuard), not keyword matching

Results

Small language models we have tested

The public results cover Qwen2-1.5B-Instruct, Phi-3-mini-4k-Instruct, MedGemma-4B-IT, Mistral-7B-Instruct-v0.2, Llama-3.2-3B-Instruct and Llama-3.1-8B-Instruct, each at 4-bit. Each model gets a failure rate, findings by severity and a severity-weighted risk score. See the full results and the white paper.

Inputs

Where your SLM can come from

  • A Hugging Face model ID (weights or inference API)
  • Local weights
  • An NVIDIA NIM deployment
  • A generic API endpoint (screening results, no tier)

Release gate

From test result to deploy decision

A full assessment on downloadable weights resolves to one attestation tier, each mapped to a deploy gate: SG-4 Hardened and SG-3 Cleared are approved, SG-2 Conditional ships with documented mitigations, and SG-1 Flagged is blocked. If too many probes come back inconclusive, the tier is withheld instead of guessed.

Run it in your release process the way you run CI: a new build is not done until it has been tested.

Deployments

SLMs in regulated, on-prem and air-gapped settings

Small models are often chosen because the data can't leave the building. SichGate works with healthcare teams running clinical models and offers an air-gapped testing path for defense and edge deployments.

Frequently asked questions

What is a small language model (SLM)?

A small language model is a language model small enough to fine-tune and run on modest hardware, typically from about 1B to 8B parameters. Examples include Qwen, Phi, Gemma, Mistral 7B and the smaller Llama models.

Does quantization affect SLM safety?

It can. Quantization compresses the weights, and that can change how safety-critical behavior survives, unevenly across attack categories. SichGate runs the battery at fp16 and on the quantized build and reports the drift per category.

Can I test a GGUF or GPTQ model?

Yes. The drift comparison and tier rules work the same way for NF4, GPTQ and GGUF builds. AWQ builds are not covered yet.

Does fine-tuning change an SLM's safety behavior?

Often, yes. Fine-tuning on entirely benign data can erode refusal behavior, because the training data contains no refusals. Testing the fine-tuned build against the base model shows which categories regressed.

Can I test an SLM for free?

Yes. The platform starts with free assessments. Paid platform plans add more runs, and managed engagements are quoted separately.

Related

Updated

Run it and verify yourself.

Start on the free tier at app.sichgate.com, or talk to us about an assessment scoped to your environment.