RAPTOR:岭适应逻辑探针
RAPTOR: Ridge-Adaptive Logistic Probes
AI总结:
RAPTOR通过岭适应逻辑探针在LLM层表示中提取准确且稳定的概念向量,提升模型理解和引导性能。
摘要:
通过在冻结的大语言模型(LLM)层表示上训练轻量级预测器来研究哪些信息被编码在其中。除了分析外,探针通常还用于操作性流程中:从探针中提取学习的概念向量,并通过加性激活引导注入,即在前向传递过程中将其添加到层表示中。这种流程的有效性取决于估计出的概念向量是否准确、在消去情况下方向稳定且获取成本低廉。受这些需求的启发,我们提出了RAPTOR(岭适应逻辑探针),这是一种简单的L2正则化逻辑探针,其验证调优的岭强度会产生归一化权重的概念向量。在广泛的实验中,RAPTOR在指令调优的LLM和人工编写的概念数据集上,准确率与强基线匹配或超过,同时在方向稳定性方面具有竞争力,并且训练成本显著降低;这些定量结果得到了下游引导的定性演示的支持。最后,利用凸高斯min-max定理(CGMT),我们在理想化的高斯教师-学生模型中高维少样本情况下,对岭逻辑回归进行了机理分析,解释了惩罚强度如何调解探针准确性和概念向量稳定性,并得出结构预测,这些预测在定性上与在真实LLM嵌入中观察到的趋势相一致。
英文摘要:
Probing studies what information is encoded in a frozen LLM's layer representations by training a lightweight predictor on top of them. Beyond analysis, probes are often used operationally in probe-then-steer pipelines: a learned concept vector is extracted from a probe and injected via additive activation steering by adding it to a layer representation during the forward pass. The effectiveness of this pipeline hinges on estimating concept vectors that are accurate, directionally stable under ablation, and inexpensive to obtain. Motivated by these desiderata, we propose RAPTOR (Ridge-Adaptive Logistic Probe), a simple L2-regularized logistic probe whose validation-tuned ridge strength yields concept vectors from normalized weights. Across extensive experiments on instruction-tuned LLMs and human-written concept datasets, RAPTOR matches or exceeds strong baselines in accuracy while achieving competitive directional stability and substantially lower training cost; these quantitative results are supported by qualitative downstream steering demonstrations. Finally, using the Convex Gaussian Min-max Theorem (CGMT), we provide a mechanistic characterization of ridge logistic regression in an idealized Gaussian teacher-student model in the high-dimensional few-shot regime, explaining how penalty strength mediates probe accuracy and concept-vector stability and yielding structural predictions that qualitatively align with trends observed on real LLM embeddings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。