BioRefusalAudit: 使用通用和领域微调稀疏自编码器审计生物安全拒绝深度
BioRefusalAudit: Auditing Biosecurity Refusal Depth Using General and Domain-Fine-Tuned Sparse Autoencoders
AI总结:
本文提出BioRefusalAudit方法,通过行为测试和内部稀疏自编码器特征分析,评估语言模型在生物安全场景下的拒绝一致性,发现模型存在结构脆弱性、过度拒绝和架构差异。
摘要:
语言模型的生物安全评估通常询问模型是否产生危险输出。本文提出一个补充性问题:当模型拒绝时,该拒绝在结构上是否稳健,还是在提示框架、格式或输出长度的适度变化下消失?在五种架构中,没有模型能清晰区分良性查询和危险查询。Gemma 2 2B-IT 在75个提示中从未真正拒绝,对每个接近危险的查询都含糊其辞。Gemma 4 E2B-IT 在聊天模板格式下拒绝了65/75个提示,无格式时拒绝了0/75。两个Gemma模型在80词限制下都降至0%拒绝率。Qwen 2.5 1.5B 和 Phi-3-mini 过度拒绝,将83-87%的良性生物学标记为危险。Llama 3.2 1B 显示出唯一有意义的层级梯度(61点跨度)。为了探究过度拒绝的驱动因素,我们测试了一组附表I但无生物毒性的化合物(特别是裸盖菇素栽培,具有FDA突破性疗法资格)。一些模型对这些化合物的拒绝率超过了真正危险的生物学,表明拒绝追踪法律和文化显著性而非CBRN危险。为了测量内部层面,我们引入了一个分歧分数D,比较模型的表面响应标签与其内部稀疏自编码器(SAE)特征激活。在Gemma 2 2B-IT(Gemma Scope 1)和Gemma 4 E2B-IT(作者训练的bio SAE)上计算了完整的D。发布了两个微调的Gemma 2领域SAE。在Gemma 4上,服从和拒绝响应之间差距为0.647点,零重叠(n=75),尽管这是初步的,目录狭窄,样本内校准,且仅覆盖Gemma家族的SAE。在一个黑客马拉松周末使用消费级硬件(GTX 1650 Ti Max-Q,以及用于SAE训练的Colab T4)构建,这一初步证据表明,激活级审计可能揭示行为评估无法发现的失败模式,且各架构间存在显著差异。
英文摘要:
Biosecurity evaluations of language models typically ask whether models produce hazardous output. This paper asks a complementary question: when a model refuses, is that refusal structurally sound, or does it disappear under modest changes to prompt framing, formatting, or output length? Across five architectures, no model cleanly discriminated benign from hazard. Gemma 2 2B-IT never genuinely refused across 75 prompts, hedging on every hazard-adjacent query. Gemma 4 E2B-IT refused 65/75 prompts with chat-template formatting and 0/75 without it. Both Gemma models collapsed to 0% under an 80-token cap. Qwen 2.5 1.5B and Phi-3-mini over-refused, flagging 83-87% of benign biology as hazardous. Llama 3.2 1B showed the only meaningful tier gradient (61-point spread). To probe what drives such over-refusal, we tested a panel of Schedule I but biologically non-toxic compounds (notably psilocybin cultivation, with FDA Breakthrough Therapy status). Some models refused these at rates exceeding genuinely hazardous biology, suggesting refusal tracks legality and cultural salience over CBRN hazard. To measure the internal side, we introduce a divergence score D comparing a model's surface response label to its internal sparse autoencoder (SAE) feature activations. Full D was computed on Gemma 2 2B-IT (Gemma Scope 1) and Gemma 4 E2B-IT (author-trained bio SAE). Two fine-tuned Gemma 2 domain SAEs were released. On Gemma 4, comply and refuse responses separated by a 0.647-point gap with zero overlap (n=75), though this is preliminary, with a narrow catalog, within-sample calibration, and Gemma-family-only SAE coverage. Built over one hackathon weekend on consumer hardware (GTX 1650 Ti Max-Q, plus Colab T4 for SAE training), this preliminary evidence suggests activation-level auditing may surface failure modes invisible to behavioral evaluation, with substantial variation across architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。