arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.17614cs.AIcs.CLcs.LG
收藏

刻画模型内禀技能

Characterizing Model-Native Skills

Virginia Tech(弗吉尼亚理工学院)

Feiyang Kang, Mahavir Dabas, Myeongseob Ko, Ruoxi Jia

AI总结:

本文提出模型内禀技能的刻画方法,通过从序列激活中恢复紧凑正交基,实现行为变化轴的自组织,验证了在推理和安全对齐中的有效性,优于人类定义的技能。

摘要:

技能是描述语言模型能力的自然单位,但现有刻画依赖人类编写的分类、文本描述或手动流程,这些外部假设可能不与模型内部表示一致。本文主张在干预模型行为时,技能刻画应是模型内禀的:基于模型自身表示而非外部本体。通过从序列级激活中恢复紧凑正交基,所得基语义可解释但不需对应任何预定义的人类本体;它捕捉了模型自身组织的行为变化轴。在推理后训练中,使用恢复的基进行SFT数据选择和推理时的引导。开发轻量级代理干预以识别对给定模型最有用的方向。在Llama3-8B和Qwen2.5-3B上,沿这些方向选择数据使Pass@1在MATH上提高20%,在AMC上提高41%,优于基于人类定义技能的数据选择。由于基位于激活空间,相同方向也作为推理时的引导向量,使Pass@8在MATH上提高4.8%——人类定义技能无法支持的干预。进一步验证在安全对齐中,选择对抗训练数据以覆盖模型内禀技能而非文本多样性,更高效。这些结果表明,从模型自身表示中恢复技能,而非外部强加,为干预模型行为提供了更有效的基础。代码已开源。

英文摘要:

Skills are a natural unit for describing what a language model can do and how its behavior can be changed. However, existing characterizations rely on human-written taxonomies, textual descriptions, or manual profiling pipelines--all external hypotheses about what matters that need not align with the model's internal representations. We argue that when the goal is to intervene on model behavior, skill characterization should be *model-native*: grounded in the model's own representations rather than imposed through external ontologies. We instantiate this view by recovering a compact orthogonal basis from sequence-level activations. The resulting basis is semantically interpretable but need not correspond to any predefined human ontology; instead, it captures axes of behavioral variation that the model itself organizes around. We validate this characterization on reasoning post-training, using the recovered basis for both SFT data selection and inference-time steering. We develop lightweight proxy interventions to identify which directions are most useful for a given model. Across Llama3-8B and Qwen2.5-3B, selecting data along those directions improves Pass@1 by up to 20% on MATH and 41% on AMC, outperforming data selection based on human-characterized skills. Because the basis lives in activation space, the same directions also serve as steering vectors at inference time, improving Pass@8 by up to 4.8% on MATH--an intervention that human-characterized skills cannot support. We further validate the characterization on safety alignment, where selecting adversarial training data for model-native skill coverage rather than textual diversity yields more sample-efficient learning. These results suggest that recovering skills from the model's own representations, rather than imposing them externally, provides a more effective foundation for intervening on model behavior. Codes are open-sourced.

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

↑