The Intrinsic Dimension of Prompts in Internal Representations of Large Language Models
大语言模型内部表示中提示的固有维度
专题命中 知识编辑与模型理解 :LLM(summary_cn,abstract);large language model(title,abstract);language model(title,abstract);分类 cs.CL、cs.LG
AI总结 本研究通过固有维度视角分析大语言模型提示的内部表示几何,发现其与下一个 token 不确定性等相关,训练的线性探测模型可在生成前区分恶意与良性提示,准确率优于现有安全工具,为 LLM 安全提供了新信号。
Comments 12+14 pages, 18 figures, matches published version on Transactions of Machine Learning Research