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

Kasra Fallah, Rudramani Singha, Hannah Ghanei, Paul Sajda, James Anderson, Erfan Zabeh · 2026-11-04 · q-bio.NC

Gemini 繁中導讀筆記

中文譯名與核心主題

本論文中文譯名為《透過閉迴路刺激進行大語言模型的心智控制:分佈外強健性》。研究探討大語言模型(LLMs)與生物大腦在面對高維度、非線性動態系統時的共通控制挑戰,即系統偏離特定運作狀態時易導致干預失效的問題。作者受神經刺激(neurostimulation)領域的閉迴路與狀態依賴方法所啟發,將 LLM 的方向引導(steering)重新定義為反饋控制問題,旨在解決傳統固定開迴路干預在面對分布外(Out-of-Distribution, OOD)情境時的弱點。

研究亮點

專業學術繁體中文摘要

本研究指出,大腦與大語言模型(LLMs)雖非完全等同的系統,但兩者皆展現出高維度且非線性的複雜動態特徵,且其內部行為僅能被不完美地建模。當我們試圖對這類系統施加干預時,常面臨共同的控制困境:控制器若僅依賴特定運作區間所建立的模型,一旦系統偏離該區間即可能面臨干預失敗;反之,則必須顯確地將不確定性與變動中的內部狀態納入考量。神經刺激領域數十年來亦面臨類似挑戰,傳統固定式開迴路刺激的局限性,促成了依賴神經系統即時狀態進行調整的閉迴路與狀態依賴干預法。受此原理啟發,本研究將 LLM 的方向引導(steering)表述為一項反饋控制問題,由網絡的內部動態狀態而非單一固定干預來決定系統受擾動的方式。為解決簡化動態模型與非線性 Transformer 之間的逼近錯置問題,我們引入強健控制理論,發展出基於 $H_\infty$ 的引導控制器,有效限制系統對外在擾動與線型化誤差的敏感度。實證結果顯示,該控制器在多個引導基準測試中表現優於現有基線方法,在分布外條件及不同長度複雜度下的效能提升尤為顯著。此外,本研究提出部署前指標「強健可控性」($S_{\mathrm{rob}}$),用於量化系統對動態錯置的容忍極限;分析顯示 $S_{\mathrm{rob}}$ 跨模型與任務對呈現出任務特異性結構,並隨模型規模變化。該指標不單詢問控制是否可行,更探討系統能承受多少不確定性,為人工與生物神經系統提供了跨領域的共通控制原則。

臨床或實務潛在價值

本研究之理論架構雖然主要針對人工神經網路(LLMs)的演算法設計,但其核心機制源自神經刺激與臨床腦機介面(BMI)的閉迴路控制思想。在實務應用上,此技術可改善 AI 輔助諮商或心智健康對話系統在面對極端、未曾見過的使用者語境(OOD 情境)時的輸出穩定性與安全性,防止 AI 產生偏離臨床規範的回應。然而,本研究的實務意涵仍有其局限:研究成果目前僅於大語言模型的內部特徵空間中完成計算驗證,尚未直接應用於真實生物體的神經調控或臨床精神疾病治療試驗中;未來若欲跨域應用於臨床腦刺激設備,仍需克服神經訊號解碼延遲與生物組織非線性變異等現實挑戰。

原始摘要

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.