arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.07783cs.LG
收藏

曲率调节:从单个参数出发的可证明无训练模型操控方法

Curvature Tuning: Provable Training-free Model Steering From a Single Parameter

Brown University(布朗大学);KTH Royal Institute of Technology(皇家理工学院)

Leyang Hu, Matteo Gamba, Randall Balestriero

AI总结:

曲率调节通过单个超参数调节模型决策边界,提升模型泛化与鲁棒性。

摘要:

模型和数据规模的扩展已重塑人工智能格局,确立了对预训练模型进行微调作为解决下游任务的标准范式。然而,主流微调方法通常依赖权重适应,往往缺乏可解释性,并依赖于启发式选择的超参数。在本文中,我们采取了不同的视角,将焦点从权重转移到激活函数,并通过样条算子的视角来审视它们。我们提出了曲率调节(CT),一种可解释且有原则的操控方法,通过将单个超参数注入到激活函数中来调节模型的决策边界。我们证明CT可证明地调整模型决策边界曲率,并更根本地将模型投影到平滑函数的空间中——从而补充了当前微调方法,其效果主要体现在特征适应上。使这个超参数可训练,产生了一种新颖且高度参数高效微调方法。实验表明,CT提高了泛化能力和鲁棒性。例如,它在12个数据集上比线性探测提高了ResNet-50/152的下游准确率8.59%/8.34%,比LoRA提高了4.64%/1.70%。此外,它在ℓ∞基准测试中从RobustBench提升鲁棒准确率1032.64%/1494.46%。我们的代码可在https://github.com/Leon-Leyang/curvature-tuning获取。

英文摘要:

The scaling of model and data sizes has reshaped the AI landscape, establishing finetuning pretrained models as the standard paradigm for solving downstream tasks. However, dominant finetuning methods typically rely on weight adaptation, often lack interpretability, and depend on heuristically chosen hyperparameters. In this paper, we take a different perspective and shift the focus from weights to activation functions, viewing them through the lens of spline operators. We propose Curvature Tuning (CT), an interpretable and principled steering method that modulates a model's decision boundary by injecting a single hyperparameter into its activation functions. We show that CT provably adjusts model decision boundary curvature and, more fundamentally, projects a model onto a space of smooth functions-thereby complementing current finetuning methods, whose effect lies primarily in feature adaptation. Making this hyperparameter trainable gives rise to a novel and highly parameter-efficient finetuning method. Empirically, CT improves both generalization and robustness. For example, it boosts downstream accuracy of ResNet-50/152 by 8.59%/8.34% over linear probing and 4.64%/1.70% over LoRA across 12 datasets, and improves robust accuracy on the $\ell_\infty$ benchmark from RobustBench by 1032.64%/1494.46%. Our code is available at https://github.com/Leon-Leyang/curvature-tuning.

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

↑