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

概念异质性感知表示引导

Concept Heterogeneity-aware Representation Steering

Laziz U. Abdullaev, Noelle Y. L. Wong, Ryan T. Z. Lee, Shiqi Jiang, Khoi N. M. Nguyen, Tan M. Nguyen

AI总结:

针对大语言模型表示非均匀导致全局引导脆弱的问题,提出基于最优传输的输入依赖引导方法CHaRS,通过高斯混合模型和离散最优传输实现更有效的行为控制。

摘要:

表示引导提供了一种轻量级机制,通过在推理时干预内部激活来控制大语言模型(LLMs)的行为。现有方法大多依赖于单个全局引导方向,通常通过对比较数据集进行均值差异得到。这种方法隐含假设目标概念在嵌入空间中均匀表示。然而在实践中,LLM表示可能高度非均匀,表现出聚类、上下文相关的结构,这使得全局引导方向变得脆弱。在这项工作中,我们通过最优传输(OT)的视角审视表示引导,注意到标准均值差异引导隐式对应于具有不同一阶矩的两个相同分布之间的OT映射,产生全局平移。为了放宽这一限制性假设,我们从理论上将源和目标表示建模为高斯混合模型,并将引导公式化为语义潜在聚类之间的离散OT问题。从得到的传输计划中,我们通过重心投影推导出显式的、输入依赖的引导映射,产生聚类级别偏移的平滑核加权组合。我们将此方法称为概念异质性感知表示引导(CHaRS)。通过大量实验设置,我们证明CHaRS比全局引导产生更有效的行为控制。

英文摘要:

Representation steering offers a lightweight mechanism for controlling the behavior of large language models (LLMs) by intervening on internal activations at inference time. Most existing methods rely on a single global steering direction, typically obtained via difference-in-means over contrastive datasets. This approach implicitly assumes that the target concept is homogeneously represented across the embedding space. In practice, however, LLM representations can be highly non-homogeneous, exhibiting clustered, context-dependent structure, which renders global steering directions brittle. In this work, we view representation steering through the lens of optimal transport (OT), noting that standard difference-in-means steering implicitly corresponds to the OT map between two identical distributions with differing first moments, yielding a global translation. To relax this restrictive assumption, we theoretically model source and target representations as Gaussian mixture models and formulate steering as a discrete OT problem between semantic latent clusters. From the resulting transport plan, we derive an explicit, input-dependent steering map via barycentric projection, producing a smooth, kernel-weighted combination of cluster-level shifts. We term this method Concept Heterogeneity-aware Representation Steering (CHaRS). Through numerous experimental settings, we show that CHaRS yields more effective behavioral control than global steering.

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

↑