NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Stepwise Penalization for Length-Efficient Chain-of-Thought Reasoning

Xintong Li, Sha Li, Rongmei Lin, Hongye Jin, Linwei Li, Hejie Cui, Sarah Zhang, Chia-Yuan Chang, Kewei Cheng, Yuwei Zhang, Qingyu Yin, Jingbo Shang, Bing Yin

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Adaptive Reasoning Optimization · Type: new method · Keywords: chain-of-thought reasoning, length reduction, step-wise penalization, policy optimization, reasoning efficiency

Areas: LLM Reasoning › Efficient Reasoning › Efficient Reasoning; RL for LLMs & Agents › LLM Reasoning Reinforcement Learning › Reinforcement Learning for Reasoning

Summary

SWAP introduces step-wise adaptive penalization to reduce reasoning length while preserving accuracy in chain-of-thought reasoning.

Explained to a 5-year-old

Big computers think a lot when they answer questions, like writing a long story. Sometimes they write extra sentences that aren't needed, which makes them slower and uses more energy. The researchers made a new way to decide which thinking steps are important and which are not. They give less thinking time to the unimportant steps, so the answer stays correct but is shorter. This helps the computers answer faster while still being accurate.

Explained to a 5-year-old, longer

When a computer program tries to answer a question, it writes down a chain of thoughts, like a step-by-step reasoning. Sometimes it writes many steps, even some that don't really help, which makes the answer take longer. The researchers noticed that existing methods only cut the whole chain at once, which can hurt the answer. They wanted a smarter way to keep the good steps and drop the useless ones. Their idea is to look at each step and see how much it helps the answer. They measure how much the step improves the chance of being correct. Steps that help a lot are kept, while steps that help little are given a penalty. The penalty reduces the length of those less useful steps. This way the overall reasoning becomes shorter without losing accuracy. The method works by adjusting the reward during training so the model learns to focus on important steps. In experiments, the model produced much shorter chains while still getting the right answers. This makes the computer faster and uses less power, which is good for real-world use.

For a technical reader

The paper addresses the problem of large language models generating overly long reasoning chains during inference, which raises computational cost. Existing length-penalty methods apply a uniform penalty to the whole chain, making it hard to distinguish useful from redundant steps. The proposed framework evaluates each reasoning step’s contribution by measuring its on-policy improvement toward the correct answer. It then redistributes a penalty mass to less important steps while preserving high-importance reasoning, optimizing with a unified outcome-process advantage. Experiments show the method cuts reasoning length by over half and improves accuracy, offering a practical way to make chain-of-thought inference more efficient.

Problem

Large reasoning models often produce overly long chains-of-thought, increasing computational cost without improving accuracy. Existing length penalties at the trajectory level cannot differentiate essential from redundant reasoning steps, leading to blunt compression.

Method

The approach estimates the importance of each reasoning step based on the model's on-policy log-probability improvement toward the correct answer, then redistributes excess length as a penalty mass to low-importance steps while preserving high-importance steps. It optimizes using a unified outcome-process advantage within group-relative policy optimization.

Results

SWAP reduces reasoning length by 56.3% on average and improves accuracy by 4.2% relative to the base model.

Contributions

It introduces a fine-grained step-level length optimization framework that adaptively penalizes less important reasoning steps, and it shows both length reduction and accuracy gains in extensive experiments.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction