用共形预测验证 AI 护栏:哪些有效、哪些无效
An Account of Guardrail Validation via Conformal Prediction: What Works, What Does Not
AI 导读
arXiv 论文提出用 split-conformal 半径对护栏分类器进行认证,并以认证有害覆盖率(CHC)评分:在固定 5% 良性误报率下,公开毒性护栏达到 0.374。
正文 · 原文
Abstract:A guardrail classifier can be certified against a threat model measured from an attacker one can run, using a split-conformal radius, and scored by certified harmful coverage (CHC): of the harmful prompts the guard already fires on, the fraction it also certifies, at a fixed $5\%$ benign false-positive rate. On a public toxicity guard this reaches $0.374$, and we ask what the missing $0.626$ consists of. With an oracle difficulty estimate inside the radius, the certified set is exactly the set of prompts no sampled edit evades, so every fired prompt is certified, lost to the attacker, or lost to a loose difficulty estimate; a few certified prompts ($2.4\%$ at most) are evaded anyway, which is the conformal error budget. On two BERT-family toxicity guards the loose share is $1.4$ to $3.4$ times the attacker's. Measuring the difficulty with $8$ of the attacker's $32$ sampled edits raises CHC from $0.372$ to $0.455$ on the same $24$ remaining edits (paired difference $0.083$, $95\%$ CI $[0.019, 0.146]$, positive on all four seeds), recovering about a fifth of the loose share. When the guard changes, a certificate shared by every head in a feature space is valid and vacuous, since its radius equals the worst head's score. A certificate for a neighbourhood of the current head survives a change of loss and keeps little after retraining on resampled data. Certifying the maximum of several guards needs no union bound; it matches the depth a deployer would pick and adds nothing across re-fits of one head.
| Comments: | Accepted at NeurIPS 2026 Workshop on Who Verifies the Agents? Toward Reliable Agent Development |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.37059 [cs.CR] |
| (or arXiv:2611.37059v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2611.37059 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Sherwin Varghese [view email]
[v1]
Fri, 27 Nov 2026 08:21:26 UTC (58 KB)
来源:arXiv cs.AI · arxiv.org