大语言模型中的马尔可夫生成链
Markovian Generation Chains in Large Language Models
研究将LLM反复处理文本的迭代推理过程定义为马尔可夫生成链,每步仅以特定提示模板和上一步输出为输入。在迭代改写与往返翻译实验中,输出要么收敛到小型循环集合,要么在有限范围内持续生成新句子。句级马尔可夫链建模与模拟数据分析显示,该过程可依据温度参数和初始输入句子等因素提升或降低多样性。
arXiv:2603.11228v2 Announce Type: replace Abstract: The widespread use of large language models (LLMs) raises an important question: how do texts evolve when they are repeatedly processed by LLMs? In this paper, we define this iterative inference process as Markovian generation chains, where each step takes a specific prompt template and the previous output as input, without including any prior data. In iterative rephrasing and round-trip translation experiments, the output either converges to a small recurrent set or continues to produce novel sentences within a finite horizon. Through sentence-level Markov chain modeling and analysis of simulated data, we show that iterative process can either increase or reduce the diversity depending on factors such as the temperature parameter and the initial input sentence. These results offer valuable insights into the dynamics of iterative LLM inference and their implications for multi-agent LLM systems.
来源:arXiv (AI + Vision + Imaging) · arxiv.org