A new Qwen algorithm gives reasoning models longer chains
Alibaba's Qwen team has introduced FIPO, a reinforcement learning algorithm that gives different reward weights to tokens based on their downstream influence. In math tests, it produced longer reasoning chains and better benchmark scores, but the work has not yet been shown to generalize beyond mathematical tasks.
Alibaba's Qwen team is trying to change how reasoning models learn from reinforcement learning. Its new algorithm, Future-KL Influenced Policy Optimization (FIPO), does not treat every token in an answer as equally important. Instead, it weighs each step by how much it affects the reasoning that follows.
“This is an early research improvement to reasoning performance, with no clear autonomy, danger, or societal degradation angle.”Why it scores Neutral
The result, in the team's math-focused tests, was a model that reasoned for longer, checked itself more often, and improved on several reported benchmark scores. The work is still early: FIPO has so far been validated only on mathematical tasks, and the team says more testing is needed.
Why token rewards matter
Reasoning models trained with reinforcement learning often receive a simple final signal: the answer is right or wrong. That reward is then distributed across the full generated sequence. In that setup, an important logical step and a piece of punctuation can receive the same treatment.
The Qwen team argues that this kind of credit assignment limits common training methods such as GRPO (Group Relative Policy Optimization). Reasoning chains may grow for a while, then stop getting longer. The model can improve, but the training signal does not clearly show which earlier steps helped produce the better outcome.
FIPO changes the question. Rather than asking only whether a token belongs to a successful answer, it asks how the model's later behavior shifts after that token appears. If a step helps launch a useful line of reasoning, it receives more credit. If it pushes the model toward an unproductive path, it receives less.
How FIPO differs from earlier approaches
Previous attempts to solve the flat reward problem often used PPO-based methods with a separate value model. That extra model estimates a benefit score for each token. But according to the researchers, it usually needs pre-training on long chain-of-thought data.
That creates a measurement problem. If the helper model has already absorbed outside long-CoT knowledge, it becomes harder to tell whether later gains came from the reinforcement learning method itself or from the pre-trained auxiliary component.
FIPO avoids that separate value model. It calculates the cumulative probability shift across following tokens and uses that signal to assign rewards more precisely. The team reports that it can deliver comparable results without relying on the auxiliary model.
The algorithm also includes stability controls. A discount factor gives more weight to nearby downstream tokens than to distant ones, because longer-range influence is harder to predict. FIPO also filters out tokens where the model has drifted too far between training steps. Without this filter, the researchers observed severe instabilities, including training failures and sharply reduced response lengths.
What changed in the math tests
The team tested FIPO on Qwen2.5-32B-Base, which had zero prior exposure to synthetic long-CoT data. It was trained exclusively on the public dataset from DAPO (Decoupled Clip and Dynamic sAmpling Policy Optimization), an open-source GRPO training variant, so the comparison would stay controlled.
The reported shift was large. DAPO's average chain-of-thought length stalls around 4,000 tokens, while FIPO pushes past 10,000. The researchers also say the longer outputs were not caused by only a few unusually long answers. The whole distribution moved upward, from the shortest responses to the longest ones.
Accuracy improved as well. On the AIME 2024 math benchmark, accuracy went from 50 to 56 percent and peaked at 58 percent. The source reports that this places FIPO ahead of Deepseek-R1-Zero-Math-32B at roughly 47 percent and OpenAI's o1-mini at around 56 percent. On AIME 2025, scores rose from 38 to 43 percent.
- Model tested: Qwen2.5-32B-Base
- Training data: the public dataset from DAPO
- Average reasoning length: from around 4,000 tokens under DAPO to past 10,000 with FIPO
- AIME 2024: from 50 to 56 percent, peaking at 58 percent
- AIME 2025: from 38 to 43 percent
The model began checking its own work
The team's paper describes four phases during training. At first, the model produced shallow planning templates that did not contain real math and ended in hallucinated answers. In the second phase, the model followed a clean, linear reasoning chain and stopped after finding its first answer. The source says DAPO-trained models remain in that second phase for the rest of training.
With FIPO, the model moved further. In phase three, it began to check intermediate results on its own. It could reach an answer, then try a different approach, such as moving from algebraic manipulation to geometric interpretation, to verify the result.
By phase four, the behavior became more systematic. The model performed multi-pass verification, recalculated large square numbers step by step, and worked through full derivations multiple times.
The paper notes that this resembles inference-time scaling strategies in OpenAI's o-series and Deepseek-R1. The difference is that FIPO produced the behavior through reinforcement learning alone, without long-CoT synthetic data.
Why the result is promising but limited
FIPO's main appeal is that it gives reinforcement learning a more detailed way to reward reasoning. Instead of making every token share the same final score, it tries to identify which steps actually shaped the later chain. That is a logical fit for reasoning models, where an early turn can determine whether the rest of the answer becomes useful or collapses.
But the boundaries of the result are clear. FIPO was benchmarked only on math problems, trained on a single dataset, and tested only on base models without long-CoT pre-training. Longer sequences also increase compute costs.
It is not yet known whether the same gains will appear in other domains, including code or symbolic logic. The source also notes that a performance gap remains compared with distilling from larger teacher models, because pure reinforcement learning teaches a model less than direct instruction from a stronger one.
The Qwen team says it plans to open-source the training system along with all configurations. That release should make it easier for others to test whether FIPO's weighted reward signal can help reasoning models outside the math setting where it has been evaluated so far.
Read next