面向自组织多LLM系统的主动推理:一种研究适应性的贝叶斯热力学方法
Active Inference for Self-Organizing Multi-LLM Systems: A Bayesian Thermodynamic Approach to Adaptation
AI总结:
本文提出在LLM智能体之上构建主动推理认知层,利用自由能原理和状态-观测建模动态调整提示与搜索策略,实现语言驱动环境中的自适应探索与利用。
摘要:
本文介绍了一种通过将主动推理与大型语言模型(LLM)相集成来创建自适应语言智能体的新方法。尽管LLM展现出卓越能力,但其对静态提示的依赖限制了其对新信息和变化环境的适应。我们通过实现一个主动推理框架来解决这一问题,该框架充当基于LLM的智能体之上的认知层,通过有原则的信息寻求行为动态调整提示和搜索策略。我们的框架使用三个状态因素(提示、搜索和信息状态)对环境建模,并用七种观测模态捕获质量指标。通过借助自由能原理构建智能体的学习,我们实现了对提示组合和搜索策略的系统性探索。实验结果证明了该方法的有效性:智能体形成了准确的环境动力学模型,观测矩阵中涌现的结构即为证据。动作选择模式揭示了复杂的探索-利用行为,即从最初的信息收集过渡到有针对性的提示测试。热力学原理与语言模型能力的融合为创建鲁棒、可适应的智能体提供了一个有原则的框架,将主动推理从传统的低维控制问题扩展到高维、语言驱动的环境。
英文摘要:
This paper introduces a novel approach to creating adaptive language agents by integrating active inference with large language models (LLMs). While LLMs demonstrate remarkable capabilities, their reliance on static prompts limits adaptation to new information and changing environments. We address this by implementing an active inference framework that acts as a cognitive layer above an LLM-based agent, dynamically adjusting prompts and search strategies through principled information-seeking behavior. Our framework models the environment using three state factors (prompt, search, and information states) with seven observation modalities capturing quality metrics. By framing the agent's learning through the free energy principle, we enable systematic exploration of prompt combinations and search strategies. Experimental results demonstrate the effectiveness of this approach, with the agent developing accurate models of environment dynamics evidenced by emergent structure in observation matrices. Action selection patterns reveal sophisticated exploration-exploitation behavior, transitioning from initial information-gathering to targeted prompt testing. The integration of thermodynamic principles with language model capabilities provides a principled framework for creating robust, adaptable agents, extending active inference beyond traditional low-dimensional control problems to high-dimensional, language-driven environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。