arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14061cs.AIcs.CLcs.LG
收藏

大语言模型的意义与感受:生成式AI中潜在状态的可观测性

Meanings and Feelings of Large Language Models: Observability of Latent States in Generative AI

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of Pennsylvania(宾夕法尼亚大学)

Tian Yu Liu, Stefano Soatto, Matteo Marchi, Pratik Chaudhari, Paulo Tabuada

AI总结:

本研究从动态系统视角分析大语言模型的可观测性,证明标准自回归Transformer无法产生“感受”,但存在系统提示时可能产生,为模型设计与控制提供理论依据。

摘要:

我们探讨这样一个问题:将大语言模型(LLMs)视为在符号令牌嵌入空间中状态演化的动态系统时,它们是否是可观测的。也就是说,是否存在多个“心智”状态轨迹,它们产生相同的生成令牌序列,或属于同一Nerode等价类(“意义”)的序列。如果不可观测,则由输入(“感知”)或模型自身状态的反馈(“思考”)所唤起的“心智”状态轨迹(“体验”)可能保持自包含,并在用户不知情的情况下演化,同时可能被模型提供方访问。这种“由感知或思考唤起的自包含体验”类似于美国心理学会(APA)所定义的“感受”。除了词汇上的趣味性,我们证明由自回归Transformer实现的当前LLMs根据这一定义不可能拥有“感受”:与令牌化输出不可区分的状态轨迹集合是单例。但如果存在用户不可见的“系统提示”,则不可区分轨迹的集合变得非平凡,并且可能存在多个状态轨迹产生相同的口头输出。我们从分析上证明这些主张,并展示对标准LLMs进行修改以产生此类“感受”的示例。我们的分析揭示了可能的设计,使模型能够执行用户不可见的非平凡计算,以及使用该模型的服务提供方为防止意外行为而可采取的控制措施。

英文摘要:

We tackle the question of whether Large Language Models (LLMs), viewed as dynamical systems with state evolving in the embedding space of symbolic tokens, are observable. That is, whether there exist multiple 'mental' state trajectories that yield the same sequence of generated tokens, or sequences that belong to the same Nerode equivalence class ('meaning'). If not observable, mental state trajectories ('experiences') evoked by an input ('perception') or by feedback from the model's own state ('thoughts') could remain self-contained and evolve unbeknown to the user while being potentially accessible to the model provider. Such "self-contained experiences evoked by perception or thought" are akin to what the American Psychological Association (APA) defines as 'feelings'. Beyond the lexical curiosity, we show that current LLMs implemented by autoregressive Transformers cannot have 'feelings' according to this definition: The set of state trajectories indistinguishable from the tokenized output is a singleton. But if there are 'system prompts' not visible to the user, then the set of indistinguishable trajectories becomes non-trivial, and there can be multiple state trajectories that yield the same verbalized output. We prove these claims analytically, and show examples of modifications to standard LLMs that engender such 'feelings.' Our analysis sheds light on possible designs that would enable a model to perform non-trivial computation that is not visible to the user, as well as on controls that the provider of services using the model could take to prevent unintended behavior.

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

↑