Skill-Aware Data Selection and Fine-Tuning for Data-Efficient Reasoning Distillation

Lechen Zhang, Yunxiang Zhang, Wei Hu, Lu Wang

TL;DR

This paper introduces a "skill-centric" approach to distill reasoning abilities from large language models (LLMs) into smaller ones, using significantly less training data. By intelligently selecting training examples that target the student model's weaknesses and training it to explicitly break down problems into skills, they achieve better performance with just 1,000 examples compared to random sampling.

What Problem Does This Paper Address?

Large language models (LLMs) have shown impressive reasoning capabilities, but their sheer size and computational cost make them inaccessible for many applications. Distillation, the process of transferring knowledge from a large "teacher" model to a smaller "student" model, is a promising solution. However, traditional distillation methods often require vast amounts of training data, which can be expensive to generate and process. This paper tackles the challenge of making reasoning distillation data-efficient by focusing on how to select the right data, rather than just more data. They observe that human learning is structured and hierarchical, and propose that LLM training could benefit from a similar approach, specifically by focusing on the underlying "skills" a model needs to master.

Methods

The core of this work is a two-pronged "skill-centric" distillation framework:

  1. Skill-based Data Selection: Instead of randomly sampling training examples, this method prioritizes examples that target the student model's weakest skills. This is achieved by:
  2. Skill Tree Attribution: A hierarchical skill tree (like a taxonomy of mathematical concepts) is used to map each problem to its constituent skills. This is done by prompting a powerful LLM (Qwen2.5-32B-Instruct) to recursively identify skills involved in solving a problem.
  3. Skill-based Sampling: The student model is evaluated on its proficiency in each skill. Then, training examples are sampled with probabilities inversely proportional to their skill-specific accuracy. This means problems requiring skills the student struggles with are sampled more frequently.
  4. Skill-aware Fine-tuning: This component enhances the training process by making the model explicitly aware of the skills it's using.
  5. Skill Chain Embedding: The identified sequence of skills required to solve a problem is prepended to the problem's solution in the training data. This encourages the model to "think step-by-step" by first articulating the skill chain before generating the answer.

Datasets

  • Teacher Data Pool: A corpus of 100K unique math QA pairs is used, derived from the OpenMathReasoning dataset. This pool is filtered to ensure ground-truth answers are present and match the predicted answer from a strong teacher model (DeepSeek-R1).
  • Evaluation Benchmarks: The fine-tuned models are evaluated on five diverse competition-style math benchmarks: AMC23, AIME2024, AIME2025, MATH L5, and OlympiadBench.
  • MATH-500: Used for detailed per-skill accuracy analysis.

Key Insights and Ideas

  • Data Quality Over Quantity: The paper strongly suggests that for reasoning distillation, carefully selecting a small, targeted dataset (1,000 examples) is far more effective than using a large, randomly sampled dataset (100K examples). This is a crucial finding for resource-constrained scenarios.
  • Targeting Weaknesses is Key: Focusing training on the specific skills a model struggles with leads to more efficient learning and better overall performance, rather than trying to cover all skills equally or over-sampling skills the model already masters.
  • Explicit Skill Decomposition Matters: Training models to explicitly recognize and articulate the skill chain involved in problem-solving not only improves performance but also enhances interpretability and robustness.
  • Skill Hierarchies are Beneficial: The hierarchical nature of skills, rather than a flat list, is important for effective learning. The paper shows that using the full skill chain is better than just top-level or leaf skills.

Key Results

  • Significant Performance Gains: Using only 1,000 skill-selected training examples, the proposed method achieved average accuracy improvements of +1.6% on Qwen3-4B and +1.4% on Qwen3-8B across five math benchmarks, compared to random sampling.
  • Improved Skill Mastery: Analysis on MATH-500 shows that skill-based sampling flattens the accuracy curve, leading to more balanced mastery across skills by improving weaker ones while preserving strong ones.
  • Robustness: Skill-aware augmentation further enhances robustness and consistency in skill performance.
  • Generalization: The framework shows generalization to different skill tree designs and model families (tested on DeepSeek-R1-Distill-Llama-8B).

Limitations and Future Work

  • Reliance on Pre-defined Skill Trees: The current approach depends on existing skill trees. Future work could explore automatically learned skill hierarchies or variants that better align with student model decompositions.
  • Noisy Skill Evaluation: Per-skill accuracy can be noisy, especially with limited evaluation data. More robust estimation methods (e.g., uncertainty modeling, multi-task validation) could improve sampling stability.
  • Model Scale: The study primarily evaluated two model scales (4B and 8B). Further validation on larger models would be beneficial.
  • Future Directions: The authors suggest exploring more skill tree variants, improving skill evaluation robustness, and testing on larger model scales. They also highlight the potential of skill-centric training as a general framework for improving distillation efficiency and transparency.

Summary updated

BibTeX
@inproceedings{zhang2025skill,
  author = {Lechen Zhang and Yunxiang Zhang and Wei Hu and Lu Wang},
  title = {{Skill-Aware Data Selection and Fine-Tuning for Data-Efficient Reasoning Distillation}},
  booktitle = {MATH-AI @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=FAGQM3I7ag},
}
Figure