The Signal is in the Steps: Local Scoring for Reasoning Data Selection
Hoang Anh Just, Myeongseob Ko, Ruoxi Jia
Overview
Modern large language models (LLMs) exhibit a powerful phenomenon known as test-time scaling, where allocating additional compute during inference—typically by generating long chains of thought (CoT)—allows models to tackle increasingly complex problem-solving tasks. To imbue smaller, resource-efficient models with these advanced reasoning capabilities, researchers frequently turn to knowledge distillation. In this paradigm, capable teacher models generate extensive solution traces, which are then used to supervise fine-tuning (SFT) for student models. However, when multiple teacher models can produce correct final answers, practitioners face a critical selection problem: which specific solution traces should be prioritized for training?

Key moments
- 0:00 Introduction and motivation for local reasoning data selection
- 2:00 Distillation challenges and the impact of different teachers
- 4:00 Global familiarity GALP and why it fails to predict usefulness
- 6:00 Inspiration: reasoning as connecting local experiences from training data
- 8:00 Empirical comparison of trajectory-level versus step-level similarity
- 10:00 Proposed local log average probability LALP method
- 12:00 Benchmark performance comparison against baseline selection strategies
- 14:00 Qualitative token analysis and conclusion of the talk
The Signal is in the Steps: Local Scoring for Reasoning Data Selection
Speakers: Hoang Anh Just; Myeongseob Ko; Ruoxi Jia
Conference: ICML
YouTube: https://slideslive.com/39083714
Overview
Modern large language models (LLMs) exhibit a powerful phenomenon known as test-time scaling, where allocating additional compute during inference—typically by generating long chains of thought (CoT)—allows models to tackle increasingly complex problem-solving tasks. To imbue smaller, resource-efficient models with these advanced reasoning capabilities, researchers frequently turn to knowledge distillation. In this paradigm, capable teacher models generate extensive solution traces, which are then used to supervise fine-tuning (SFT) for student models. However, when multiple teacher models can produce correct final answers, practitioners face a critical selection problem: which specific solution traces should be prioritized for training?
In this talk, the presenters argue that evaluating reasoning data requires a paradigm shift away from holistic, data-point-level metrics toward granular, local evaluation. Traditional data curation strategies treat reasoning traces as monolithic units, applying deduplication or quality filtering to the entire sequence. The authors demonstrate that this global perspective fails to capture the true utility of a reasoning trace. Instead, by examining data through local characteristics—specifically evaluating step-level familiarity—practitioners can automate the curation process and achieve superior downstream performance while utilizing a fraction of the training data.
The implications of this research are substantial for AI practitioners and infrastructure teams building specialized reasoning models. Rather than relying on expensive, human-guided curation pipelines (such as those pioneered by LIMA) or inefficiently training on massive, unfiltered datasets containing millions of tokens, developers can use local scoring mechanisms to pinpoint high-value reasoning paths. This approach bridges the gap between fully automated data selection and the high performance traditionally reserved for heavily curated datasets.
Background
▶ Watch: Introduction and motivation for local reasoning data selection (0:00)
In the machine learning and systems space, data curation for supervised fine-tuning has historically focused on global metrics. Standard pipelines evaluate entire text documents, prompts, or responses based on length, perplexity, or surface-level diversity. When scaling up to long-form reasoning tasks—where models explore multiple solution paths, double-check intermediate work, and write out exhaustive derivations—these global approaches break down.
Prior work attempted to address reasoning data selection by measuring the familiarity of a solution trace to the student model. This metric, known as GALP (Global Average Log Probability), evaluates the average log probability of the entire solution sequence given the prompt under the student model's parameters. The underlying intuition was straightforward: if a reasoning trace is more familiar to the student model globally, the student should be better equipped to learn and digest the information.
However, empirical experiments reveal a glaring flaw in global familiarity. When evaluating multiple teacher-generated datasets, models with the highest global familiarity scores frequently yield the lowest downstream performance after SFT. This breakdown occurs because long-form reasoning traces are inherently complex and rarely match any single global pattern seen during pre-training. Consequently, the machine learning community lacked an automated, reliable, and data-efficient method for selecting high-utility reasoning traces from diverse teacher pools.
Key Findings
▶ Watch: Global familiarity GALP and why it fails to predict usefulness (4:00)
The central discovery of this work is that reasoning generalizes compositionally, meaning that models solve novel problems by recombining familiar local experiences—such as individual reasoning steps or transitions—rather than memorizing entire macro-level trajectories.
To validate this hypothesis, the authors compared the nearest-neighbor similarity between test reasoning traces and a training dataset at both the trajectory level and the step level. Their analysis yielded striking results:
- Trajectory-Level Disconnection: The cosine similarity between test reasoning traces and training data at the full sequence level is exceptionally low, confirming that complete, long-form reasoning paths are rarely replicated in pre-training data.
- Step-Level Alignment: When broken down into individual steps (e.g., applying specific mathematical identities or variable substitutions), the similarity between test traces and training data increases significantly.
- Predictive Power of Local Scoring: By introducing LALP (Local Log Average Probability), the authors demonstrate that step-level familiarity successfully predicts student model performance gains after SFT, whereas global metrics like GALP fail.
- Data Efficiency: Using local step-level scoring combined with a diverse teacher pool, automated data selection achieves top-tier performance on benchmarks like AIME using only roughly 800 highly targeted data points—matching the performance levels of heavy human curation and drastically outperforming approaches that require millions of tokens.
Technical Deep Dive
▶ Watch: Empirical comparison of trajectory-level versus step-level similarity (8:00)
The core methodological contribution of the paper is the formulation and implementation of LALP (Local Log Average Probability) for reasoning data selection. To compute this metric, the framework operates through a structured pipeline:
- Step-Wise Segmentation: A long-form reasoning trace $Y$ generated in response to a prompt $X$ is systematically decomposed into discrete logical steps ($S_1, S_2, \dots, S_n$). These steps represent distinct operational transitions, such as algebraic rearrangements, logical deductions, or theorem applications (e.g., invoking Bezout's identity).
- Local Context Windowing: Rather than computing token probabilities over the entire history of the sequence (as done in GALP), the system calculates the log probability of each step conditioned strictly within a bounded local context window.
- Averaging and Scoring: The local log probabilities are averaged across all steps in the trace, producing a robust scalar score that reflects how digestible and familiar the constituent reasoning transitions are to the student model ($\theta_S$).
Qualitative token-level analysis reveals a distinct advantage of this local approach. While global familiarity metrics tend to heavily weight boilerplate conversational filler or meaningless structural tokens (such as "okay" or "so"), LALP surfaces and prioritizes high-value mathematical tokens and critical reasoning transitions. This ensures that data selection filters out redundant syntactic fluff and focuses squarely on substantive logical steps.
Experimental Setup & Results
▶ Watch: Proposed local log average probability LALP method (10:00)
The evaluation framework assesses data selection strategies across diverse reasoning benchmarks, notably incorporating the AIME (American Invitational Mathematics Examination) benchmark suite.
The experiments compare several distinct data curation paradigms:
- Minimal Curation Baselines: Approaches like those in Berkeley's open-source reasoning efforts and Open-Thoughts filter data strictly based on final-answer correctness. While effective at improving performance over base models, these methods demand massive training scales (tens of thousands to millions of data points).
- Human-Guided Curation: Methods such as LIMA rely on intensive human intuition to craft rigorous filters, achieving high performance (comparable to million-token datasets) with only about 800 carefully selected data points. However, this process lacks full automation.
- Global Familiarity (GALP): Evaluates trace familiarity at the sequence level. While fully automated, it struggles to reliably predict downstream performance gains.
- Local Familiarity (LALP): The proposed method.
Headline results demonstrate that LALP achieves the highest average performance across the evaluation benchmarks while utilizing the compact ~800 data-point budget. By combining full automation with step-level fidelity, the method bypasses the trade-off between manual curation overhead and brute-force data scaling.
Practical Implications
▶ Watch: Qualitative token analysis and conclusion of the talk (14:00)
For infrastructure teams, model builders, and MLOps engineers, these findings offer a clear roadmap for optimizing distillation pipelines for reasoning models. Generating massive synthetic reasoning datasets from diverse teacher pools is computationally expensive; blindly fine-tuning student models on all correct traces leads to suboptimal performance and wasted compute cycles.
By implementing step-level local scoring algorithms like LALP, deployers can build fully automated data-pruning pipelines that retain only the most pedagogically valuable trajectories. This drastically reduces the required training set size without sacrificing downstream accuracy. Limitations do exist: the quality of local scoring depends heavily on the granularity of step segmentation and the capacity of the student model to accurately evaluate local token probabilities. Nevertheless, adopting local evaluation metrics represents a vital step toward efficient, scalable reasoning model development.
Key Takeaways
- Holistic metrics fall short: Evaluating reasoning data as monolithic units (deduplication or global sequence log-probability) fails to predict student model performance gains.
- Reasoning is compositional: Models solve complex test problems by recombining familiar local steps and transitions rather than memorizing entire long-form trajectories.
- Step-level scoring works: LALP (Local Log Average Probability) evaluates reasoning traces within local context windows, successfully predicting data utility.
- Prioritizing substance over fluff: Local scoring naturally surfaces critical math tokens and logical transitions while ignoring meaningless boilerplate filler.
- Data efficiency unlocked: Automated step-level selection matches the high performance of heavy human-guided curation (e.g., LIMA) using only ~800 data points, avoiding million-token overhead.
About the Speaker(s)
- Hoang Anh Just: Led the project on reasoning data selection; is a student of Ruoxi Jia.
- Ruoxi Jia: Presenting the paper on reasoning data selection on behalf of her student Hoang Anh Just.
Co-authors: Myeongseob Ko.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026