Skip to main content
Back

Researchers Catch LLMs Looping Into the Same Sentences After 50 Rewrites

A new paper models repeated LLM rephrasing and translation as Markov chains, revealing when outputs collapse into loops versus keep drifting.

Pro

Paper, Full Access
  • EMNLP 2026 paper models iterative LLM rephrasing and translation as Markovian generation chains over sentences.
  • Greedy decoding traps chains in fixed points or 2-cycles after just a few steps across all tested models.
  • Sampling decoding (temp 0.7, top-p 0.9) produces much longer transients and many chains never repeat in 50 iterations.
  • Seed sentence length correlates with diversity; GPT-4o-mini on BookSum hits Pearson r of 0.64.
  • Prompted LLM translation drifts far more than Google Translate v3, which stays near-deterministic on fixed inputs.
  • Distinct from training-time model collapse: inference-time behavior can increase diversity, not just reduce it.

Repeatedly feeding an LLM’s output back into the same prompt can produce either a short cycle or dozens of new sentences, depending largely on the decoding method. An EMNLP 2026 Findings paper formalizes this workflow as a Markovian generation chain and measures how quickly repeated paraphrasing and translation begin to recur.

Each run is deliberately memoryless: the model receives a fixed prompt template and the previous output, without chat history. The resulting process forms a time-homogeneous Markov kernel over sentence strings, meaning the next output depends only on the current sentence and a transition rule that stays fixed across iterations.

Why Repeated Inference Needs Its Own Model

Model collapse describes a training-time effect in which repeated use of synthetic data narrows the learned distribution. The behavior studied here occurs during inference, while model parameters remain fixed. Some inputs even gain sentence diversity over successive calls, so training-data collapse does not adequately describe the observed dynamics.

Markov-chain concepts give developers a more precise vocabulary for these pipelines. Transient states are outputs the process leaves behind, recurrent classes are sets of outputs it revisits, and KL contraction measures whether different output distributions become more alike after applying the same transition. These concepts help characterize repeated calls in agent systems, rewriting tools, and translation workflows.

Inside the 50-Step Test

The authors begin with 150 opening sentences drawn from BookSum, ScriptBase-alpha, and BBC News2024. Each sentence passes through 50 rounds of paraphrasing or round-trip translation under the following configurations:

Component Configuration
Models GPT-4o-mini, Llama-3.1-8B-Instruct, Mistral-7B-Instruct, and Qwen2.5-7B-Instruct
Decoding Greedy decoding or sampling with temperature 0.7 and top-p 0.9
Tasks Repeated paraphrasing and round-trip translation
Trajectory length 50 iterations per seed

The evaluation measures four aspects of each trajectory:

  • Distinct outputs: the number of unique sentences produced across 50 steps.
  • First recurrence: the first step that exactly repeats an earlier output.
  • Textual drift: stepwise and cumulative changes measured with METEOR, ROUGE-1, BLEU, and TF-IDF cosine similarity.
  • Seed sensitivity: Pearson correlation between the initial sentence length and the number of distinct outputs.
Diagram comparing Markovian generation chains under greedy and sampling-based decoding
The experiments compare recurrence and drift under fixed prompts, alternating prompts, and different decoding methods.

Greedy Decoding Finds Loops Fast

Greedy decoding usually reaches a fixed point or short cycle within a few iterations. A fixed point repeats the same output indefinitely, while a cycle rotates through a small set of outputs.

Qwen2.5-7B, for example, enters a two-sentence cycle between “We begin with a prologue” and “We start with a prologue” after one step. Llama-3.1-8B similarly alternates between two near-paraphrases. Stepwise similarity scores then flatten, reflecting movement within a small recurrent set.

Sampling extends the period before recurrence and allows some 50-step trajectories to finish without an exact repeat. Across all four models and three datasets, sampled decoding produces substantially more unique paraphrases than greedy decoding.

Bar chart showing average unique paraphrase counts by model, dataset, and decoding method
Sampling produces more unique outputs than greedy decoding across the tested models and datasets.

Longer Seeds Open More Paths

Longer seed sentences generally produce more distinct outputs, especially under sampling. GPT-4o-mini on BookSum records a Pearson correlation of 0.64 between seed word count and unique outputs. ScriptBase-alpha shows weaker and sometimes negative correlations, indicating that dataset style also shapes the available paraphrases.

Prompt wording changes diversity less than decoding within the tested settings. Alternating prompts across iterations produces more distinct outputs while preserving some exact recurrences. The setup forms a time-homogeneous Markov chain because the transition rule remains fixed across iterations.

Round-trip translation provides a natural example of changing operators. Each iteration combines translation into another language with translation back into the source language, so the full step contains two directional transformations.

Prompted Translation Adds Surface Drift

GPT-4o-mini under sampling produces considerably more surface-form variation during repeated round-trip translation than Google Translate v3. The dedicated translation service behaves nearly deterministically for fixed inputs, whereas the prompted LLM generates multiple phrasings as the chain continues.

Repeated LLM translation can therefore alter wording even when the intended meaning remains stable. Pipelines that depend on exact text, reproducible terminology, or downstream string matching need to account for that variation.

Pipeline Choices Shape Recurrence

  • Agent handoffs: Repeated transformations may converge on a small set of formulations, making nominally separate agents produce closely related outputs.
  • Paraphrase generation: Greedy decoding offers reproducibility but quickly exhausts distinct formulations; sampling yields more alternatives and more drift.
  • Back-translation: Stepwise similarity metrics can reveal cumulative changes that remain hidden when only the first and final texts are compared.
  • Paragraph processing: Exact paragraph recurrence is rare, although individual sentences can recur frequently. In one BookSum trajectory, “Hooray for best friends!” appears in all 50 iterations.
  • Termination rules: Exact-repeat detection can stop fixed points and short cycles before a pipeline spends additional calls reproducing earlier text.

The Study’s Boundaries

The experiments stop after 50 iterations, so they do not establish long-run behavior beyond that budget. The analysis describes recurrence and drift without proposing an attractor-avoidance method, a fine-tuning recipe, or a general guarantee for production systems.

The abstract and main text do not link to a code repository. The paper’s practical contribution is a diagnostic framework for measuring recurrent classes, pre-recurrence time, output diversity, and kernel composition in workflows that repeatedly pass generated text through LLMs.