Uncovering Uncontrolled Repetition through Residual Stream Dynamics
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:56 UTC · c7d4d5f855c9 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "wNloELlD9A"- }- ],- "title": "Uncovering Uncontrolled Repetition through Residual Stream Dynamics",- "authors": [],- "abstract": "Uncontrolled repetition can prolong autoregressive generation in large language models (LLMs) and enable resource consumption attacks.\nPrior analyses of repetitive generation have identified strongly activated features in intermediate and late layers.\nHowever, how uncontrolled repetition activity emerges and develops before becoming prominent in these layers remains insufficiently understood.\nIn this paper, we investigate this question primarily in large vision-language models (LVLMs), which support a richer set of uncontrolled repetitions through both visual and textual inputs. \nWe propose Tokenwise Residual Comparison (TRC), a method that identifies and localizes anomalies associated with repetition from residual dynamics during generation.\nTRC compares attention and multilayer perceptron writes to the residual stream across generated tokens to identify patterns associated with repetition. \nIt then selectively suppresses coordinates in the residual stream at the identified layer.\nExperiments show that TRC effectively mitigates uncontrolled repetition, reducing loop rates by 57\\% on average.\nOur analysis further shows that repetition semantics emerge in shallow layers and propagate through the residual stream, disrupting normal representations.\nTRC also generalizes to large language models (LLMs) and large reasoning models (LRMs), where it consistently captures analogous repetition dynamics and achieves effective mitigation.\nOur work broadens the study of repetitive generation from its prominent internal representations to earlier opportunities for intervention, providing insights for mitigating resource consumption attacks.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "8bbac5f0-ba99-42d7-9f9c-d26801088d04"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Uncovering Uncontrolled Repetition through Residual Stream Dynamics",+ "authors": [],+ "abstract": "Uncontrolled repetition can prolong autoregressive generation in large language models (LLMs) and enable resource consumption attacks.\nPrior analyses of repetitive generation have identified strongly activated features in intermediate and late layers.\nHowever, how uncontrolled repetition activity emerges and develops before becoming prominent in these layers remains insufficiently understood.\nIn this paper, we investigate this question primarily in large vision-language models (LVLMs), which support a richer set of uncontrolled repetitions through both visual and textual inputs. \nWe propose Tokenwise Residual Comparison (TRC), a method that identifies and localizes anomalies associated with repetition from residual dynamics during generation.\nTRC compares attention and multilayer perceptron writes to the residual stream across generated tokens to identify patterns associated with repetition. \nIt then selectively suppresses coordinates in the residual stream at the identified layer.\nExperiments show that TRC effectively mitigates uncontrolled repetition, reducing loop rates by 57\\% on average.\nOur analysis further shows that repetition semantics emerge in shallow layers and propagate through the residual stream, disrupting normal representations.\nTRC also generalizes to large language models (LLMs) and large reasoning models (LRMs), where it consistently captures analogous repetition dynamics and achieves effective mitigation.\nOur work broadens the study of repetitive generation from its prominent internal representations to earlier opportunities for intervention, providing insights for mitigating resource consumption attacks.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}