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

通过子概念探测探究大语言模型中有害性的几何结构

The Geometry of Harmfulness in LLMs through Subconcept Probing

Algoverse AI Research(Algoverse AI研究院);Berkeley(伯克利大学)

McNair Shah, Saleena Angeline, Adhitya Rajendra Kumar, Naitik Chheda, Kevin Zhu, Vasu Sharma, Sean O'Brien, Will Cai

AI总结:

该研究提出多维框架探测LLM内部有害性,通过55个有害性子概念的线性探针构建低秩有害性子空间,证实主导方向调控可近乎消除有害性且效用损失低,为LLM行为研究与安全加固提供了可扩展工具。

摘要:

大语言模型(LLMs)的最新进展使得理解并可靠遏制其有害行为的需求愈发迫切。我们提出了一个多维框架,用于探测和调控模型内部的有害内容。针对55个不同的有害性子概念(例如种族仇恨、就业诈骗、武器等),我们各训练了一个线性探针,在激活空间中得到了55个可解释的方向。这些方向共同构成了一个有害性子空间,我们证实该子空间的秩极低。随后我们测试了从模型内部消融整个子空间的效果,以及在该子空间主导方向上的调控和消融操作。研究发现,主导方向调控几乎可以完全消除有害性,同时对模型效用的影响很小。我们的发现支撑了新兴的研究观点:概念子空间为研究LLM行为提供了可扩展的视角,也为社区提供了审计和强化下一代语言模型的实用工具。

英文摘要:

Recent advances in large language models (LLMs) have intensified the need to understand and reliably curb their harmful behaviours. We introduce a multidimensional framework for probing and steering harmful content in model internals. For each of 55 distinct harmfulness subconcepts (e.g., racial hate, employment scams, weapons), we learn a linear probe, yielding 55 interpretable directions in activation space. Collectively, these directions span a harmfulness subspace that we show is strikingly low-rank. We then test ablation of the entire subspace from model internals, as well as steering and ablation in the subspace's dominant direction. We find that dominant direction steering allows for near elimination of harmfulness with a low decrease in utility. Our findings advance the emerging view that concept subspaces provide a scalable lens on LLM behaviour and offer practical tools for the community to audit and harden future generations of language models.

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

↑