FineScope : Precision Pruning for Domain-Specialized Large Language Models Using SAE-Guided Self-Data Cultivation

Chaitali Bhattacharyya, Yeseong KimarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) are typically trained as generalists, mastering a wide array of tasks from creative writing to technical coding. However, this generality imposes a significant computational burden, often requiring massive hardware resources for deployment. In many practical scenarios, a "specialist" model—one optimized for a specific domain like STEM or law—is more desirable, especially if it can run on more modest hardware.

FineScope addresses this by introducing a framework that leverages Sparse Autoencoders (SAEs) to "mine" high-quality, domain-specific data from unlabeled corpora. This curated data guides a precision pruning and fine-tuning process, enabling up to a 35% reduction in model parameters while simultaneously improving performance on specialized tasks.

Methodology

FineScope employs a three-stage pipeline to bridge the gap between data selection and model optimization:

1. SAE-Guided Data Curation

Traditional data selection often relies on surface-level text similarity. FineScope instead utilizes the internal activations of the LLM. By training Sparse Autoencoders (SAEs) as semantic feature extractors, the framework identifies "latent features" the model uses for reasoning. Using a Jacobian sensitivity criterion, the system identifies neurons most responsive to input changes. Starting with as few as 10 seed examples, FineScope can extract highly relevant samples from massive unlabeled datasets like RedPajama.

2. Domain-Aware Structured Pruning

Pruning typically uses general-purpose data to identify redundant parameters, which can inadvertently damage domain-specific "circuits." FineScope uses its curated domain-aligned dataset to calculate the importance of model blocks. This ensures that the components critical to the target domain are preserved during the structural reduction of the model.

3. Teacher-Guided Distillation (TGD)

To recover any performance lost during pruning, the model undergoes a self-distillation process. The original, unpruned "teacher" model guides the smaller "student" model using the curated domain data, ensuring the specialized knowledge is effectively transferred and refined.

Key Results and Insights

The evaluation of FineScope across STEM, Social Sciences, Humanities, Mathematics, and Coding benchmarks reveals several critical findings:

  • Efficiency and Performance: FineScope allows for a 35% parameter reduction while maintaining or exceeding the performance of the original model. In mathematical reasoning, FineScope-tuned models showed an average improvement of 11.50 points over standard pruned baselines.
  • Internal Representations over Raw Text: The model's internal activations, captured via SAEs, provide a significantly stronger signal for data relevance than traditional BERT or Sentence-Transformer scores.
  • Data-Dependent Pruning: The utility of a parameter is context-dependent. By aligning pruning with domain-specific data, FineScope avoids "lobotomizing" the model's specialized capabilities.
Accuracy vs. Model Pruning Ratio across STEM, Social Sciences, and Humanities domains.

As shown in the figure above, FineScope consistently outperforms the SelfInstruct baseline across various pruning ratios. While the baseline performance drops significantly as more parameters are removed, FineScope maintains a much higher accuracy floor, particularly in the 25-35% pruning range.

Discussion and Limitations

While FineScope offers a powerful path toward efficient specialization, some challenges remain. Training SAEs for every model layer introduces computational overhead, though this is mitigated by Top-K activation selection. Additionally, the quality of the final dataset is sensitive to the initial seed examples provided by the user. Future research may explore applying these SAE-guided insights to unstructured pruning for even higher compression ratios.

Conclusion

FineScope demonstrates that high-quality, perfectly aligned data is more valuable than sheer volume. By coupling SAE-based data cultivation with domain-aware pruning, the framework enables the creation of efficient, high-performance specialist models that overcome the limitations of general-purpose LLMs.

Summary updated

BibTeX
@misc{bhattacharyya2025finescope,
  author = {Chaitali Bhattacharyya and Yeseong Kim},
  title = {{FineScope : Precision Pruning for Domain-Specialized Large Language Models Using SAE-Guided Self-Data Cultivation}},
  year = {2025},
  eprint = {2505.00624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.00624},
}
Figure