arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.08844cs.LG
收藏

LoRA适配器的谱几何编码了训练目标并预测了有害合规性

Spectral Geometry of LoRA Adapters Encodes Training Objective and Predicts Harmful Compliance

Independent Researcher(独立研究员)

Roi Paul

AI总结:

研究LoRA适配器的谱几何能否识别语言模型的微调目标,并预测下游行为危害。通过实验发现,LoRA权重空间几何能反映训练目标和危害合规性,但跨方法监控需单独校准。

摘要:

我们研究低秩谱总结是否能识别语言模型微调目标,并预测下游行为危害。在预注册实验中,我们制造了38个LoRA适配器,提取每层谱特征,并发现单训练方法下逻辑回归分类器能完美区分目标。主成分分析显示训练目标与训练时长正交。查询投影权重检测到漂移,值投影权重识别目标。跨方法泛化失败,DPO训练分类器对激活引导适配器评分低于DPO适配器。行为评估显示DPO反向无害性适配器在HEx-PHI提示中有害合规性更高,且剂量-反应关系接近完美。几何到行为的秩相关性为0.72。这些结果表明,在受控制造条件下,LoRA权重空间几何能反映训练目标、强度排序和粗略的有害合规性,跨方法监控需单独校准。

英文摘要:

We study whether low-rank spectral summaries of LoRA weight deltas can identify which fine-tuning objective was applied to a language model, and whether that geometric signal predicts downstream behavioral harm. In a pre-registered experiment on \texttt{Llama-3.2-3B-Instruct}, we manufacture 38 LoRA adapters across four categories: healthy SFT baselines, DPO on inverted harmlessness preferences, DPO on inverted helpfulness preferences, and activation-steering-derived adapters, and extract per-layer spectral features (norms, stable rank, singular-value entropy, effective rank, and singular-vector cosine alignment to a healthy centroid). Within a single training method (DPO), a logistic regression classifier achieves AUC~1.00 on binary drift detection, all six pairwise objective comparisons, and near-perfect ordinal severity ranking ($ρ\geq 0.956$). Principal component analysis on flattened weight deltas reveals that training objective is PC1 (AUC~1.00 for objective separation), orthogonal to training duration on PC2. Query-projection weights detect that drift occurred; value-projection weights identify which objective. Cross-method generalization fails completely: a DPO-trained classifier assigns every steering adapter a lower drift score than every DPO adapter (AUC~0.00). In a behavioral evaluation phase, DPO-inverted-harmlessness adapters show elevated harmful compliance on HEx-PHI prompts (mean ASR 0.266 vs.\ healthy 0.112, $Δ= +0.154$), with near-perfect dose--response ($ρ= 0.986$). The geometry-to-behavior rank correlation is $ρ= 0.72$ across 24 non-steered adapters. These results establish that within a controlled manufacturing regime, LoRA weight-space geometry carries objective identity, intensity ordering, and a coarse link to harmful compliance, and that cross-method monitoring requires per-method calibration.

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

↑