arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.41870cs.LGcs.CLcs.CR
收藏

一次训练,迁移何处?更好的对齐并不意味着更好的探测迁移

Train Once, Transfer Where? Better Alignment Does Not Mean Better Probe Transfer

Institute for Data Science and Artificial Intelligence, Boğaziçi University(博阿齐奇大学数据科学与人工智能学院)

Engin Deniz Alpman, Hüseyin Oktay Altun

AI总结:

本文研究大型语言模型的线性探测迁移问题,发现更好的对齐不代表更好的迁移,提出的均值偏移探测迁移效果最佳,多源平均可缩小部分迁移差距。

摘要:

大型语言模型激活上的线性探测是用于监测安全性、真实性和提示注入的低成本工具,但通常在模型变更时需要重新训练。本文研究了在一个模型上训练的只读探测能否从未标记文本迁移到另一个模型。在来自四个家族(Qwen、Gemma、Llama 3.1、OLMo 3)的六个模型(共30个定向对)中,通过600句SQuAD正交Procrustes旋转映射的探测,在输入属性任务(hh-rlhf、XSTest、MATH-500)上保留了95%-99%的匹配原生高于随机的AUROC,且无需额外VRAM即可折叠为单个点积。迁移在行为谄媚(其中反偏见下降反映标签不一致)、4K间接注入和自适应规避任务上会退化。有两个关键发现:第一,零超参数均值偏移(均值差)探测在所有四个机制任务上迁移效果最佳,且匹配或优于源CV L2-逻辑回归;第二,更好的对齐并不意味着更好的迁移:在N=600时,白化旋转会损害迁移性能,且Ridge、Kernel Ridge和MLP在R²和余弦相似度上甚至优于缩放Procrustes,但在N≤20000的所有情况下迁移性能均落后。多源平均在无目标标签的情况下缩小了38%-46%的剩余非上限差距,而保留的域内XSTest校准在82%的不安全召回率下产生4.8%的误报率。

英文摘要:

Linear probes on large language model activations are cheap monitors for safety, truthfulness, and prompt injection, but normally require retraining when models change. We ask whether a read-only probe trained on one model can transfer to another from unlabeled text. Across six models from four families (Qwen, Gemma, Llama 3.1, OLMo 3; 30 directed pairs), probes mapped via a 600-sentence SQuAD Orthogonal Procrustes rotation retain 95%-99% of matched native above-chance AUROC on input-property tasks (hh-rlhf, XSTest, MATH-500) and fold into a single dot product with zero extra VRAM. Transfer degrades on behavioral sycophancy (where counter-bias drops reflect label disagreement), 4K indirect injection, and adaptive evasion. Two findings stand out. First, a zero-hyperparameter mean-shift (difference-of-means) probe transferred best on all four mechanism tasks and matched or beat source-CV L2-logistic regression. Second, better alignment does not mean better transfer: whitened rotations hurt transfer at $N = 600$, and Ridge, Kernel Ridge, and MLPs beat even Scaled Procrustes in $R^2$ and cosine yet trail in transfer at every $N$ up to 20,000. Multi-source averaging closes 38%-46% of remaining non-ceiling gaps without target labels, and held-out in-domain XSTest calibration yields 4.8% false alarms at 82% unsafe recall.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑