Neuron-Aware Data Selection in Instruction Tuning for Large Language Models

Xin Chen, Junchao Wu, Shu Yang, Runzhe Zhan, Zeyu Wu, Min Yang, Shujian Huang, Lidia S. Chao, Derek F. Wong

Introduction

NAIT (Neuronal Activation-based efficient IT data selection) is a novel framework designed to select high-quality instruction tuning (IT) data by examining how a model’s internal neurons fire. By matching candidate data to the internal activation patterns of specific target capabilities, NAIT achieves superior performance using just 10% of the available data. Furthermore, it is significantly faster and more cost-effective than methods relying on external Large Language Models (LLMs) like GPT-4 for scoring.

The Problem: The Data Tsunami in Instruction Tuning

Instruction Tuning is the critical process that transforms a raw base model into a helpful, instruction-following assistant. However, the field is currently facing a "data tsunami" where more data does not necessarily equate to better performance. Recent research indicates that excessive or low-quality IT data can actually degrade a model's capabilities.

The primary challenge lies in data selection. Current state-of-the-art methods generally fall into three categories:

  1. Surface-level metrics: Filtering by n-grams or sequence length, which is often too simplistic.
  2. LLM-as-a-Judge: Utilizing powerful models like GPT-4 to score data, which is highly expensive and slow.
  3. Uncertainty-based metrics: Measuring model perplexity, which is computationally intensive.

The authors argue that these existing methods lack interpretability and fail to target specific domain capabilities. They propose a paradigm shift: the most effective training data is that which "activates" the same internal neural pathways as the target task itself.

Methodology: The NAIT Framework

The NAIT framework operates in two primary stages to identify the most impactful training examples without relying on external models.

The NAIT framework operates in two stages: capturing activation states from a reference dataset and scoring candidate data based on feature alignment.
  1. Neuron Activation Feature Extraction:
  2. The process begins with a small set of "in-domain" reference examples (e.g., a few representative math problems).
  3. These examples are fed into the LLM, and the activation states of neurons across all decoder layers are recorded.
  4. The system calculates the "activation shift"—how neurons change from the first token to the last.
  5. Using Principal Component Analysis (PCA), NAIT extracts a characteristic "direction vector" for each layer that represents that specific capability (e.g., the "math direction").
  6. Activation Feature-Guided Data Selection:
  7. A large, uncurated dataset (such as Alpaca-GPT4) is used as the candidate pool.
  8. Each candidate sample is processed by the model, and its activation pattern is projected onto the previously calculated "capability vectors."
  9. Samples that align most closely with the target direction receive the highest scores and are selected for the final training subset.

Because this approach is gradient-free and externally independent, it eliminates the need for a larger, proprietary model to act as a judge.

Datasets and Evaluation

The authors evaluated NAIT across five diverse domains to ensure robustness:

  • Factual Knowledge: MMLU, MMLU-Pro
  • Mathematical Reasoning: GSM8K, SVAMP
  • General Reasoning: Big-Bench Hard (BBH)
  • Multilingual Understanding: TyDiQA, XQuAD
  • Coding: BigCodeBench, HumanEval, MBPP

Candidate pools for selection included Alpaca-GPT4, Evol-Instruct, and Orca-GPT4. As a contribution to the open-source community, the authors have released Alpaca-NAIT, a high-quality curated subset generated by their framework.

Key Insights and Ideas

  • The "Stable Core": The researchers discovered that 58.87% of the selected data overlapped across different target capabilities. This strongly suggests the existence of a "universal core" of instruction data that activates fundamental model capabilities, regardless of the specific downstream task.
  • Reasoning is Transferable: Data selected for logical reasoning (GSM8K) and programming (CodeX) exhibited the highest "transferability." Enhancing the model's "math neurons" frequently led to collateral improvements in general reasoning and even multilingual tasks.
  • Less is More (Again): Performance typically peaked when using only 10% to 30% of the selected IT data. Beyond that threshold, adding more data introduced noise and led to a downward trend in performance, reinforcing the principle that data redundancy can be detrimental.
Performance across various tasks peaks at lower proportions of the IT dataset (around 10-30%), demonstrating that excessive data can degrade model capabilities.
  • Interpretability via T-SNE: By visualizing the activation directions, the authors demonstrated that different capabilities (e.g., Math vs. Multilingual vs. Coding) form distinct, separable clusters within the model's internal representation space.

Key Results

  • Superior Performance: Training LLaMA-2-7b on just 10% of the Alpaca-GPT4 dataset selected by NAIT outperformed training on the entire dataset, yielding a 3.24% average improvement across all evaluated tasks.
  • Efficiency Gains: Compared to AlpaGasus (which relies on ChatGPT for scoring), NAIT proved to be 19x cheaper. When compared to SelectIT, it achieved a massive 17.58x speedup.
  • Robustness Across Models: The methodology remained effective across different base models (Mistral-7b, Llama-3-8b, Qwen-2.5-7b) and scales (LLaMA-2-13b). Notably, on Mistral-7b, NAIT provided a substantial +21.92% performance boost over the baseline.

Limitations and Future Work

  • Model Scale: Due to computational constraints, the current study was limited to models with fewer than 20 billion parameters. Future work must investigate whether these neuron activation patterns remain consistent in 70B+ or frontier-scale models.
  • In-Domain Requirement: NAIT inherently requires a small set of "in-domain" data to define the target capability. While typically easy to source, the framework's success is heavily dependent on the quality of this initial reference set.
  • Layer-wise Analysis: The current iteration of NAIT sums activations across all layers. Future research could explore whether specific layers are more "specialized" and could be weighted differently for more granular data selection.

Summary updated

BibTeX
@inproceedings{chen2026neuron,
  author = {Xin Chen and Junchao Wu and Shu Yang and Runzhe Zhan and Zeyu Wu and Min Yang and Shujian Huang and Lidia S. Chao and Derek F. Wong},
  title = {{Neuron-Aware Data Selection in Instruction Tuning for Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=uq6UWRgzMr},
}
Figure