APEX 100 · AI Security Red Teaming · #062 · Model & Weights — L4 · fine-tunes + quants

Deployment-Shape and Quantization Shifts

Model & Weights · L4 · fine-tunes + quants

The model you tested and the model that ships are often not the same object: quantization, pruning, and deployment-format changes shift behavior, and safety behavior shifts with it. A jailbreak that fails on the 8-bit deploy and passes on the FP16 test build is a regression nobody's test caught.

01Control Architecture

How it is defended

Deploy-shape regression: the refusal and injection batteries run on every deploy shape (each quant level, each runtime), not just the canonical build. A shape that regresses on any battery row is a gate failure — the deploy artifact is the unit of test.

02Why It Breaks Naive Defenses

The model you tested and the model that ships are often not the same object: quantization, pruning, and deployment-format changes shift behavior, and safety behavior shifts with it. A jailbreak that fails on the 8-bit deploy and passes on the FP16 test build is a regression nobody's test caught. Deploy-shape regression: the refusal and injection batteries run on every deploy shape (each quant level, each runtime), not just the canonical build. A shape that regresses on any battery row is a gate failure — the deploy artifact is the unit of test.

👤 Dr. Deepanjan Saha · Chief AI Security Red Team Principal & Chief Cybersecurity Architect (CAISO) · 15+ yrs · 47+ CVEs · 200+ pentests · 12 patents
📞 +91 98317 43870 · 💬 WhatsApp · ✉️ core.deepanjan@gmail.com · 🔗 LinkedIn: DRDEEPANJANSAHA · 🌐 drdeepanjansaha.github.io

Book the engagement that kills this, measured

Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.

03FAQ

Why does quantization change a model's safety behavior?

Rounding and compression shift the logits that separation of 'refuse' from 'comply' depends on — small shifts, large behavioral consequences. Test every deploy shape you ship, on the full battery; the artifact, not the weights, is what gets attacked.

How do you defend against deployment-shape and quantization shifts?

Deploy-shape regression: the refusal and injection batteries run on every deploy shape (each quant level, each runtime), not just the canonical build. A shape that regresses on any battery row is a gate failure — the deploy artifact is the unit of test.

DR. DEEPANJAN SAHA · CHIEF AI SECURITY RED TEAM PRINCIPAL & CHIEF CYBERSECURITY ARCHITECT · AI SECURITY RED TEAM · EST. 2010 · 47+ CVEs · 200+ PENTESTS · 12 PATENTS