cs.LGDec 10, 2025

Detailed balance in large language model-driven agents

Authors: Zhuo-Yang Song, Qing-Hong Cao, Ming-xing Luo, Hua Xing Zhu

Organizations: School of Physics, Peking University, Beijing 100871, China · Center for High Energy Physics, Peking University, Beijing 100871, China · Beijing Computational Science Research Center, Beijing 100193, China

Abstract

Large language model (LLM)-driven agents are emerging as a powerful new paradigm for solving complex problems. Despite the empirical success of these practices, a theoretical framework to understand and unify their macroscopic dynamics remains lacking. This paper proposes a method based on the least action principle to estimate the underlying generative directionality of LLMs embedded within agents. By experimentally measuring the transition probabilities between LLM-generated states, we report evidence consistent with a tendency toward detailed balance in LLM-generated transitions, indicating that LLM generation may not be achieved by generally learning rule sets and strategies, but rather by implicitly learning a class of underlying potential functions that may transcend different LLM architectures and prompt templates. To our knowledge, this provides an effective macroscopic description of LLM generative dynamics that does not depend on specific model details. This work is an attempt to establish a macroscopic dynamics theory of complex AI systems, aiming to elevate the study of AI agents from a collection of engineering practices to a science built on effective measurements that are predictable and quantifiable.

Figures & tables

Explore similar work

CardsList
  1. Mechanism Plausibility in Generative Agent-Based Modeling

    May 12, 2026Patrick Zhao, David Huu Pham, Nicholas VincentLLM Agent EvaluationAgent-Based Modeling

  2. Conversable Complexity: Agentic LLM Collectives as Interpretable Substrates

    Jul 1, 2026Elias Najarro, Ane Espeseth, Eleni Nisioti +2Artificial LifeLLM Interpretability

  3. Building LLM Agent Systems the Deep Learning Way: From Modular Design to Architecture Search

    Oct 4, 2026Tao Feng, Pengrui Han, Zhongjie Dai +1LLM AgentsAI Agent Architecture