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

分布内引导:语言模型生成中控制与连贯性的平衡

In-Distribution Steering: Balancing Control and Coherence in Language Model Generation

Arthur Vogels, Benjamin Wong, Yann Choho, Annabelle Blangero, Milan Bhan

AI总结:

针对现有激活引导方法固定强度导致控制不足或文本质量下降的问题,提出分布内引导(IDS)方法,根据输入在表示空间中的分布动态调整干预强度,实现自适应干预,在分类任务上取得高准确率并保持生成文本连贯性。

摘要:

激活引导方法通过在推理时修改内部激活来控制大型语言模型(LLM)的行为。然而,现有的大多数激活引导方法依赖于固定的引导强度,这导致要么控制不足,要么干预不当,从而降低文本的合理性和连贯性。我们提出了分布内引导(IDS),这是一种新颖的方法,它根据表示空间中的输入数据分布来调整引导强度。IDS根据给定输入在分布中的位置动态调整干预,从而在文本生成过程中实现自适应干预和生成稳定性。实验表明,IDS在分类任务上取得了较强的准确率,同时生成连贯的文本而不发生崩溃,这使得IDS特别适合实际应用。

英文摘要:

Activation steering methods control large language model (LLM) behavior by modifying internal activations at inference time. However, most existing activation steering methods rely on a fixed steering strength, leading to either insufficient control or unadapted intervention that degrades text plausibility and coherence. We introduce In-Distribution Steering (IDS), a novel method that adapts steering strength based on the input data distribution in representation space. IDS dynamically adjusts interventions according to how far a given input lies within the distribution, enabling adaptive intervention and generation stability during text generation. Experiments demonstrate that IDS achieves strong accuracy on classification tasks while producing coherent text without collapse, making IDS particularly well suited for real-world applications.

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

↑