mlsanityData to 7 Oct 2026

Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFN

arXiv 2505.17153 ↗First posted 22 May 2025cs.CL cs.AIcited by 1

On the map: LLM reasoning → Prompting and chain-of-thought reasoning

Abstract (arXiv)

Recently, models such as OpenAI-o1 and DeepSeek-R1 have demonstrated remarkable performance on complex reasoning tasks through Long Chain-of-Thought (Long-CoT) reasoning. Although distilling this capability into student models significantly enhances their performance, this paper finds that fine-tuning LLMs with full parameters or LoRA with a low rank on long CoT data often leads to Cyclical Reasoning, where models repeatedly reiterate previous inference steps until the maximum length limit. Further analysis reveals that smaller differences in representations between adjacent tokens correlates with a higher tendency toward Cyclical Reasoning. To mitigate this issue, this paper proposes Shift Feedforward Networks (Shift-FFN), a novel approach that edits the current token's representation with the previous one before inputting it to FFN. This architecture dynamically amplifies the representation differences between adjacent tokens. Extensive experiments on multiple mathematical reasoning tasks demonstrate that LoRA combined with Shift-FFN achieves higher accuracy and a lower rate of Cyclical Reasoning across various data sizes compared to full fine-tuning and standard LoRA. Our data and code are available at https://anonymous.4open.science/r/Shift-FFN

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 41 of its 48 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

41 of 48 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025Deconstructing Long Chain-of-Thought: A Structured Reasoning Optimization Framework for Long CoT Distillation20 Mar
  2. 2025Unlocking General Long Chain-of-Thought Reasoning Capabilities of Large Language Models via Representation Engineering14 Mar
  3. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar
  4. 2025LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters!11 Feb
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan

Other references · 36

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  5. 2024Qwen2.5 Technical Reportcited by 4,713
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  7. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  9. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  10. 2020GLU Variants Improve Transformercited by 1,724
  11. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  12. 2019Root Mean Square Layer Normalizationcited by 1,425
24 more
  1. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  2. 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,099
  3. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  4. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  5. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
  6. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
  7. 2025LIMO: Less is More for Reasoningcited by 488
  8. 2023AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuningcited by 337
  9. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
  10. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 240
  11. 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
  12. 2024ReFT: Representation Finetuning for Language Modelscited by 186
  13. 2025Light-R1: Curriculum SFT, DPO and RL for Long COT from Scratch and Beyondcited by 175
  14. 2022AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuningcited by 137
  15. 2023Parameter-Efficient Orthogonal Finetuning via Butterfly Factorizationcited by 112
  16. 2019Augmenting Self-attention with Persistent Memorycited by 92
  17. 2022SparseAdapter: An Easy Approach for Improving the Parameter-Efficiency of Adapterscited by 83
  18. 2023Aligning Large Language Models with Human Preferences through Representation Engineeringcited by 71
  19. 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluationcited by 56
  20. 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
  21. 2024Advancing Parameter Efficiency in Fine-tuning via Representation Editingcited by 37
  22. 2024Embedding Trajectory for Out-of-Distribution Detection in Mathematical Reasoningcited by 18
  23. 2024KV Shifting Attention Enhances Language Modelingcited by 7
  24. 2025LLM Braces: Straightening Out LLM Predictions with Relevant Sub-Updatescited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Latent Chain-of-Thought? Decoding the Depth-Recurrent Transformer
  2. 2025A Survey on Latent Reasoning
  3. 2025Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning
  4. 2025TokenSkip: Controllable Chain-of-Thought Compression in LLMs
  5. 2025Phi-4-Mini-Reasoning: Exploring the Limits of Small Reasoning Language Models in Math
  6. 2026Thinking in Latents: Adaptive Anchor Refinement for Implicit Reasoning in LLMs
  7. 2025Feature Extraction and Steering for Enhanced Chain-of-Thought Reasoning in Language Models
  8. 2026Think Wider: Mitigating Latent Rank Collapse in Implicit Chain-of-Thought Reasoning