← Latest papers
💬 NLP

Unified Data Selection for LLM Reasoning

This paper introduces High-Entropy Sum (HES), a training-free metric that efficiently identifies high-quality reasoning data by summing the entropy of top tokens, thereby significantly improving Large Language Model performance across Supervised Fine-tuning, Rejection Fine-tuning, and Reinforcement Learning paradigms while reducing computational costs.

Original authors: Xiaoyuan Li, Yubo Ma, Chengpeng Li, Fengbin Zhu, Yiyao Yu, Keqin Bao, Wenjie Wang, Fuli Feng, Dayiheng Liu

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

Original authors: Xiaoyuan Li, Yubo Ma, Chengpeng Li, Fengbin Zhu, Yiyao Yu, Keqin Bao, Wenjie Wang, Fuli Feng, Dayiheng Liu

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

Imagine you are trying to teach a brilliant but very young student (a Large Language Model) how to solve complex puzzles, like advanced math problems. The student learns by reading thousands of example solutions. But here's the problem: not all solutions are created equal. Some are clear, logical masterpieces, while others are messy, confused ramblings. If you feed the student all the messy ones along with the good ones, they might get confused or learn bad habits.

For a long time, researchers tried to filter out the bad examples by looking at simple things, like how long the solution was or how "surprised" the model seemed on average while writing it. But the paper argues these methods are like judging a whole movie by its average brightness; they miss the most important, dramatic moments.

The Core Idea: Finding the "Plot Twists"

The authors of this paper propose a new way to find the best training data, called High-Entropy Sum (HES).

Think of a reasoning process (like solving a math problem) as a long road trip.

  • Low-Entropy Tokens: These are the boring, predictable parts of the trip. "Turn left," "Drive straight," "The sky is blue." The model knows exactly what comes next. It's autopilot.
  • High-Entropy Tokens: These are the critical decision points. "Wait, should I turn here? Or maybe take a detour? What if I try this weird path?" This is where the model is truly thinking, weighing options, and making a hard choice.

The paper's big discovery is that the quality of a reasoning path isn't about how many "boring" steps it has, but about how many of these "critical decision points" it successfully navigates.

The New Metric: The "High-Entropy Sum"

Instead of averaging the "surprise" level of the whole trip (which dilutes the important moments with the boring ones), the authors invented a new score called HES.

The Analogy: Imagine you are a film critic reviewing a movie.

  • Old Method (Average Entropy): You rate the movie based on the average excitement level of every single second. If the movie has 90 minutes of boring dialogue and 5 minutes of an explosion, the average score is low. You might miss the fact that the explosion was a masterpiece.
  • The HES Method: You ignore the boring 90 minutes. You only look at the top 0.5% of the most exciting, unpredictable moments (the explosions, the plot twists). You sum up the intensity of just those moments. If a movie has a few incredible, high-stakes scenes, it gets a high score. If a movie is just a flat, boring ride with no surprises, it gets a low score.

The paper shows that this "sum of the best moments" is the perfect way to tell a high-quality reasoning path from a low-quality one.

How They Used It (The Three Training Styles)

The team tested this "HES filter" on three different ways of teaching AI, and it worked great in all of them:

  1. Supervised Fine-Tuning (SFT) - "The Textbook Method":

    • Scenario: You have a huge library of solved problems. You want to pick the best ones to teach the AI.
    • Result: When they used HES to pick only the top 20% of the best examples, the AI learned just as well as if it had read the entire library. In fact, if they picked the worst 20% (lowest HES), the AI got much worse. It proved that less is more, as long as you pick the right "less."
    • Bonus: They found they could use a tiny, cheap computer model to do the filtering for a giant, expensive model, saving massive amounts of money.
  2. Rejection Fine-Tuning (RFT) - "The Multiple Choice Method":

    • Scenario: The AI generates 32 different answers to one question. You need to pick the best one to keep.
    • Result: Instead of picking randomly or just picking the longest answer, they used HES to pick the answer with the most "critical thinking moments." This consistently beat random guessing.
  3. Reinforcement Learning (RL) - "The Trial and Error Method":

    • Scenario: The AI tries to solve a problem, gets a reward if it's right, and learns from the experience.
    • Result: They let the AI generate many attempts. They used HES to select only the best 50% of the successful attempts to teach the AI. This made the AI learn much faster and better than if they had used all the attempts (including the mediocre ones).

Why This Matters (Without the Hype)

The paper claims this method is a "unified" solution. It doesn't require training a new, expensive AI just to do the filtering. It's a simple math calculation based on the model's own internal "surprise" levels.

  • It's Fast: It doesn't slow down the training process.
  • It's Cheap: You can use a small model to filter data for a big model.
  • It's Effective: It consistently helps the AI learn better reasoning skills by focusing on the "critical forks in the road" where real thinking happens, rather than the boring, predictable parts.

In short, the paper says: Don't judge a reasoning path by its length or its average quality. Judge it by the intensity of its hardest, most critical moments. By focusing only on those moments, we can teach AI to think better, faster, and cheaper.

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 →