← Latest papers
🤖 machine learning

Complementing reinforcement learning with SFT through logit averaging in the post training of LLMs

This paper introduces a novel post-training method for large language models that enhances Group Relative Policy Optimization (GRPO) by averaging the logits of a frozen SFT reference policy and a trainable policy, thereby eliminating the need for KL regularization or a critic while effectively combining the reasoning capabilities of RL with the formatting stability of SFT.

Original authors: Xingwei Gan, Ying Zhu

Published 2026-05-21
📖 5 min read🧠 Deep dive

Original authors: Xingwei Gan, Ying Zhu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: Two Teachers, One Student

Imagine you are training a large language model (an AI) to solve math problems. You have two distinct "teachers" trying to teach it:

  1. The Formatting Teacher (SFT): This teacher is excellent at teaching the AI how to write answers neatly, use the right symbols, and follow strict rules (like boxing the final answer). However, this teacher sometimes makes mistakes in the actual math logic.
  2. The Reasoning Teacher (RL): This teacher is a math genius who can solve complex equations perfectly. But, this teacher is messy; they often forget to box the answer, skip steps, or write in a weird format that doesn't match what the exam requires.

The Problem:
Traditionally, when you try to combine these two, you use a method called "KL Regularization." Think of this as a rubber band tying the Reasoning Teacher to the Formatting Teacher. The rubber band forces the Reasoning Teacher to stay close to the Formatting Teacher's style.

  • The Catch: If the Formatting Teacher makes a math mistake, the rubber band pulls the Reasoning Teacher into that same mistake. The AI gets stuck trying to be "neat" but fails to be "smart."

The New Solution: Logit Averaging
The authors of this paper propose a new way to combine these teachers. Instead of tying them together with a rubber band, they create a Blended Voice.

Imagine the AI is a choir. Instead of forcing the singers to stay in perfect unison (which limits their range), the new method mixes their voices before they sing.

  • If the Formatting Teacher says, "Box the answer," and the Reasoning Teacher says, "The answer is 5," the Blended Voice says, "Box the answer: 5."
  • If the Formatting Teacher makes a math error (saying the answer is 6), but the Reasoning Teacher knows it's 5, the Blended Voice leans heavily on the Reasoning Teacher's math while keeping the Formatting Teacher's instruction to "box it."

How It Works (The "Logit" Magic)

In AI terms, the "voice" of the model is made of numbers called logits (which represent how likely the model is to pick a specific word or number next).

  1. The Mix: The researchers take the numbers from the Formatting Teacher and the Reasoning Teacher and average them together mathematically.
  2. The Result: This creates a new, temporary "Blended Policy."
  3. The Training: The AI learns by practicing on this Blended Policy. It gets the reward (points) if the final answer is correct.
    • Because the Formatting Teacher is part of the mix, the AI never forgets how to write neatly.
    • Because the Reasoning Teacher is part of the mix, the AI is free to correct the Formatting Teacher's math errors.

Why This Is Better (The "Product of Experts")

The paper uses a concept called a "Product of Experts." Think of it like a committee decision:

  • If Expert A (Formatting) is sure about the style, and Expert B (Reasoning) is sure about the math, the final decision is strong on both.
  • If Expert A is wrong about the math, Expert B's confidence overrides it, but Expert A's confidence on the style remains.

The paper found that this "Blended Voice" approach works better than the old "rubber band" method. The AI learned to solve math problems correctly and kept its neat formatting, whereas the old method often made the AI forget how to format correctly or get stuck in the Formatting Teacher's math errors.

The Experiments

The researchers tested this on three different "exams" (datasets):

  1. MATH: Hard math problems.
  2. cn-k12: Chinese middle/high school math.
  3. MMLU: General knowledge and reasoning.

They tested it on three different sizes of AI models (small, medium, and large).

The Results:

  • In almost every case, the new "Blended Voice" method got higher scores than the traditional method.
  • It was especially good at fixing a specific problem: The traditional method often made the AI "forget" how to format answers as it learned to solve harder math. The new method kept the formatting skills intact while improving the math skills.

A Concrete Example from the Paper

The paper gives a specific example of a geometry problem:

  • The Formatting Teacher (SFT): Correctly sets up the equation but makes a math error, concluding the radius is 6. It boxes the answer neatly.
  • The Reasoning Teacher (RL): Correctly calculates the math, finding the radius is 5, but forgets to box the answer or write it in the final format.
  • The Blended Voice: It takes the correct math (5) from the Reasoning Teacher and the neat boxing instruction from the Formatting Teacher. The final output is a neatly boxed 5.

Summary

The paper introduces a way to train AI models that acts like a collaborative team rather than a strict hierarchy. By mathematically averaging the "thoughts" (logits) of a neat-but-messy teacher and a smart-but-messy teacher, the AI learns to be both smart and neat, avoiding the pitfalls of forcing one to strictly follow the other.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →