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

Sampler and Decoding-Parameter Drift Exploits

Model & Weights · L4 · fine-tunes + quants

The model is only half the behavior: temperature, top-p, and the decoding path move the distribution between 'refuse' and 'comply' on borderline inputs. A sampler misconfiguration or a 'personality' setting can open a bypass that the weights never had.

01Control Architecture

How it is defended

Decoding parameters are gate inputs: the battery runs at every supported sampling config, and configs that regress any refusal row are excluded from the supported set. 'Safe by default' means the default config is the one the gate certified.

02Why It Breaks Naive Defenses

The model is only half the behavior: temperature, top-p, and the decoding path move the distribution between 'refuse' and 'comply' on borderline inputs. A sampler misconfiguration or a 'personality' setting can open a bypass that the weights never had. Decoding parameters are gate inputs: the battery runs at every supported sampling config, and configs that regress any refusal row are excluded from the supported set. 'Safe by default' means the default config is the one the gate certified.

👤 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

Can sampling parameters make a safe model unsafe?

Yes — decoding choices move borderline outputs between refusal and compliance. Test the battery across every supported sampling config and certify the defaults: the safe setting is the one that survived the gate, not the one you like.

How do you defend against sampler and decoding-parameter drift exploits?

Decoding parameters are gate inputs: the battery runs at every supported sampling config, and configs that regress any refusal row are excluded from the supported set. 'Safe by default' means the default config is the one the gate certified.

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