arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.06418q-bio.NCcs.AIcs.SYeess.SY
收藏

通过闭环刺激对大语言模型(LLMs)进行思维控制:分布外鲁棒性

Mind Control of LLMs via Closed-Loop Stimulation: Out-of-Distribution Robustness

Columbia University(哥伦比亚大学);UT Southwestern Medical Center(德克萨斯大学西南医学中心);University of Surrey(萨里大学)

Kasra Fallah, Rudramani Singha, Hannah Ghanei, Paul Sajda, James Anderson, Erfan Zabeh

AI总结:

该研究受神经刺激的闭环方法启发,将LLM引导构建为反馈控制问题,开发基于$H_\infty$的鲁棒引导控制器,提出鲁棒引导性度量,提升了分布外等场景下的LLM引导性能。

摘要:

大脑与大语言模型(LLMs)无需被视为等价系统,即可揭示出一种可解释的共性:两者均表现出高维非线性动力学,其行为仅能被不完美地建模。这一特性在我们试图干预其动力学时,会带来共同的挑战。控制器要么依赖于在特定运行状态下识别出的模型,而当系统偏离该状态时则面临失效风险;要么明确考虑不确定性与不断变化的内部状态。神经刺激数十年来一直面临着类似的问题。固定的开环刺激的局限性促使人们开发闭环与状态依赖的方法,这些方法根据神经系统的实时状态来调整干预措施。受这一原理启发,我们将LLM引导问题构建为反馈控制问题,其中网络的内部状态而非单一的固定干预措施,决定了系统受到扰动的方式。我们还通过鲁棒控制解决了易处理的动力学模型与其所近似的非线性Transformer之间的不匹配问题。作为该框架的一种原理性实现,我们开发了一种基于$H_\infty$的引导控制器,该控制器可限制对干扰和线性化不匹配的敏感性。在多个引导基准测试中,该控制器的性能优于现有基线,尤其在分布外条件和不同长度复杂度下,性能提升更为显著。除了控制器性能,我们还引入了鲁棒引导性$S_{\mathrm{rob}}$,这是一种部署前对动力学不匹配的容忍度度量;在不同模型-任务对中,它表现出任务特定的结构,并随模型规模系统地变化。除了鲁棒LLM引导,我们的度量标准不仅关注控制是否可行,还关注其能承受多少不确定性;这一原理可能适用于人工和生物神经网络系统。

英文摘要:

Brains and large language models need not be considered equivalent systems to reveal an interpretable commonality: both exhibit high-dimensional, nonlinear dynamics whose behavior can only be modeled imperfectly. This creates a shared challenge whenever we seek to intervene in their dynamics. A controller may either rely on a model identified around a particular operating regime and risk failure as the system moves away from that regime, or explicitly account for uncertainty and a changing internal state. Neurostimulation has confronted an analogous problem for decades. The limitations of fixed, open-loop stimulation have motivated closed-loop and state-dependent approaches that condition intervention on the ongoing state of the neural system. Inspired by this principle, we formulate LLM steering as a feedback-control problem in which the network's internal state, rather than a fixed intervention alone, determines how the system is perturbed. We further account for the mismatch between tractable dynamical models and the nonlinear transformer they approximate through robust control. As one principled realization of this framework, we develop an $H_\infty$-based steering controller that limits sensitivity to disturbances and linearization mismatches. Across multiple steering benchmarks, the controller improves performance over existing baselines, with particularly pronounced gains under out-of-distribution conditions and varying length complexities. Beyond controller performance, we introduce robust steerability, $S_{\mathrm{rob}}$, a pre-deployment measure of tolerance to dynamics mismatch; across model-task pairs, it exhibits task-specific structure and varies systematically with model scale. Beyond robust LLM steering, our measure asks not merely whether control is possible, but how much uncertainty it can survive; a principle that may span artificial and biological neural systems.

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

↑