AI
Repeated LLM Processing Reveals Markovian Patterns in Text Evolution
Research on iterative language model inference shows that repeated processing either drives text toward a fixed set of outputs or generates novel sentences, with temperature settings and initial input determining the outcome.
A new study examines what happens to text when large language models repeatedly process it in chains, revealing predictable mathematical patterns in how language transforms across iterations.
The Iterative Inference Problem#
Researchers define this behavior as Markovian generation chains—a process where an LLM takes a fixed prompt template and the model's previous output as input, without access to any original data. This setup mirrors scenarios that arise in multi-agent systems where LLMs exchange and refine information. Understanding these dynamics is crucial as such workflows become more common in real-world applications.
Key Findings on Text Evolution#
The research tested two scenarios: iterative rephrasing and round-trip translation. The results fell into two distinct patterns:
- Text either converges to a small recurring set of outputs, cycling between the same phrases
- Text continues generating novel sentences without convergence, though within a finite horizon
The behavior depends significantly on configuration choices. The study employed sentence-level Markov chain modeling and analyzed simulated data to show that iterative processing can either expand or contract output diversity depending on factors like the temperature parameter (which controls randomness) and the characteristics of the initial input.
Implications for Multi-Agent Systems#
These findings offer clarity on how LLM-based systems behave when models communicate in loops—a common pattern in collaborative AI workflows. The mathematical framework suggests that seemingly chaotic text evolution follows predictable dynamics grounded in Markov chain theory, with immediate applications to designing more reliable and interpretable multi-agent LLM architectures.

