MOTIF: Modular Thinking via Reinforcement Fine-tuning in LLMs
On the map: LLM reasoning → Reinforcement learning for reasoning
Abstract (arXiv)
Recent advancements in the reasoning capabilities of large language models (LLMs) show that employing group relative policy optimization (GRPO) algorithm for reinforcement learning (RL) training allows the models to use more thinking/reasoning tokens for generating better responses. However, LLMs can generate only a finite amount of tokens while maintaining attention to the previously generated tokens. This limit, also known as the context size of an LLM, is a bottleneck in LLM reasoning with arbitrarily large number of tokens. To think beyond the limit of context size, an LLM must employ a modular thinking strategy to reason over multiple rounds. In this work, we propose MOTIF: Modular Thinking via Reinforcement Finetuning -- an RL training method for generating thinking tokens in multiple rounds, effectively allowing the model to think with additional context size. We trained the open-source model Qwen2.5-3B-Instruct on GSM8K dataset via parameter efficient fine-tuning and tested its accuracy on MATH500 and AIME2024 benchmarks. Our experiments show 3.8% and 3.3% improvements over vanilla GRPO based training in the respective benchmarks. Furthermore, this improvement was achieved with only 15% of samples, thus demonstrating sample efficiency of MOTIF. Our code and models are available at https://github.com/purbeshmitra/MOTIF and https://huggingface.co/purbeshmitra/MOTIF, respectively.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 22 of its 29 references that are in the map. First posted on arXiv 3 Jul 2025.
Builds on
22 of 29 references.
Closest ancestors · 2
Same direction, newest first
- 2025Synthetic Data Generation & Multi-Step RL for Reasoning & Tool Use7 Apr
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning22 Jan
Other references · 20
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2025s1: Simple test-time scalingcited by 1,341
- 2024OpenAI o1 System Cardcited by 1,244
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 872
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 384
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
8 more
- 2025Rethinking Mixture-of-Agents: Is Mixing Different Large Language Models Beneficial?cited by 54
- 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Modelscited by 54
- 2025Think Twice: Enhancing LLM Reasoning by Scaling Multi-round Test-time Thinkingcited by 46
- 2024SMoA: Improving Multi-agent Large Language Models with Sparse Mixture-of-Agentscited by 30
- 2024Iteration of Thought: Leveraging Inner Dialogue for Autonomous Large Language Model Reasoningcited by 16
- 2025Not All Thoughts are Generated Equal: Efficient LLM Reasoning via Multi-Turn Reinforcement Learningcited by 16
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processingcited by 7
- 2024Distributed Mixture-of-Agents for Edge Inference with Large Language Modelscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Self-Compacting Language Model Agentscited by 11
- 2025It's Not You, It's Clipping: A Soft Trust-Region via Probability Smoothing for LLM RLcited by 7
- 2026CARE-RFT: Confidence-Anchored Reinforcement Finetuning for Reliable Reasoning in Large Language Modelscited by 2
- 2026Chained Recursive Language Models for Multi-Iteration Reasoningcited by 0
- 2026Chained Recursive Language Models for Multi-Iteration Reasoning5 Aug 2026
- 2026Self-Compacting Language Model Agents22 Jun 2026
- 2026CARE-RFT: Confidence-Anchored Reinforcement Finetuning for Reliable Reasoning in Large Language Models22 Jan 2026
- 2025It's Not You, It's Clipping: A Soft Trust-Region via Probability Smoothing for LLM RL25 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't
- 2025Well Begun, Half Done: Reinforcement Learning with Prefix Optimization for LLM Reasoning
- 2025Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged Training
- 2025Token-Efficient RL for LLM Reasoning
- 2026Are complicated loss functions necessary for teaching LLMs to reason?
- 2025Walk Before You Run! Concise LLM Reasoning via Reinforcement Learning
- 2025Revisiting Reinforcement Learning for LLM Reasoning from A Cross-Domain Perspective
- 2025Not All Tokens Matter: Towards Efficient LLM Reasoning via Token Significance in Reinforcement Learning