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

减少搜索,更多引导:利用激活引导几何降低超参数搜索

Sweep Less, Steer More: Using Activation Steering Geometry for Reduced Hyperparameter Search

Boston University(波士顿大学);University of Maryland(马里兰大学)

Nishkal Hundia, Swastik Agrawal, Navita Goyal, Sarah Wiegreffe

AI总结:

本研究基于判别指数$d'$的几何特性,提出利用激活引导几何减少超参数搜索,可可靠识别LLM的引导层,其结论在单标记MCQA场景与开放式生成场景间存在差异。

摘要:

差异均值(DIM)等表示引导方法为控制大语言模型(LLM)行为提供了轻量途径,但其效果在不同概念、数据集和层间差异极大,若不进行详尽的超参数搜索,合理部署成本高昂。本研究基于判别指数$d'$——一种计算成本低廉的几何度量,用于衡量对比训练激活沿引导方向的分离程度。在3个模型的5种行为任务中,我们证明了其超出数据集级引导性预测的应用价值:首先,在多项选择题问答(MCQA)场景中,$d'$可可靠识别适合引导的性能层,无需进行逐层搜索;其次,将该分析扩展至开放式多标记生成,发现$d'$在不同场景下仍可成功用于层选择;最后,测试生成标记的表示在DIM线上的位置是否能预测该单个样本的引导效果,在MCQA场景中,该方法对高$d'$数据集有效,但在开放式生成的不同行为、模型及训练标记选择间存在不一致。这表明在单标记MCQA场景中开发的方法和得出的结论未必能迁移至开放式生成。

英文摘要:

Representation steering methods like difference-in-means (DIM) offer a lightweight approach to controlling LLM behavior, but their effectiveness varies widely across concepts, datasets, and layers, making principled deployment costly without exhaustive hyperparameter sweeps. We build on the discriminability index $d'$, a compute-cheap geometric measure of how well contrastive training activations separate along the steering direction. Across five behaviors on 3 models, we demonstrate uses beyond its established role as a dataset-level steerability predictor. First, in the multiple-choice question answering (MCQA) setting, we show that $d'$ reliably identifies performant layers at which to steer, eliminating the need for a layer-wise sweep. Second, we extend this analysis to open-ended multi-token generation, and find that $d'$ remains successful for layer selection across different settings. Lastly, we test whether the position of a generated token's representation on the DIM line predicts steering success on that individual example. In the MCQA setting, this works for high-$d'$ datasets but is inconsistent across behaviors, models, and training-token choices in open-ended generation. This highlights that methods developed and conclusions drawn in single-token MCQA settings do not necessarily transfer to open-ended generation.

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

↑