Scaling Laws for Task-Specific LLM Distillation

Lavinia Ghita, Dhruv Desai, Ioana Boier
6/23/2026
cs.AIcs.CE
distillation

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) achieve strong performance across a growing range of domains, yet their scale poses deployment challenges in applications where latency and cost constraints are critical. This paper derives empirical scaling laws for domain-specific LLM compression, quantifying how in-domain and general knowledge performance scale with dataset size, compression ratio, supervision format, and iterative pruning schedule.

Show full abstract

Using quantitative finance as our application domain, we compare logit-based and LoRA-based distillation under iterative structural pruning, introducing a blended chain-of-thought supervision loss that stabilizes KL-divergence distillation over reasoning traces. In-domain task quality degrades predictably under compression while general-knowledge benchmarks collapse well before the same point; supervision format is the key driver of this tradeoff, with chain-of-thought supervision actively recovering general knowledge that pruning erases. We release the headline dataset FinHeadlineMix, scaling law results, and practical recommendations to provide a reusable framework for domain-specific compression decisions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ghita2026scaling,
  title  = {Scaling Laws for Task-Specific LLM Distillation},
  author = {Lavinia Ghita and Dhruv Desai and Ioana Boier},
  year   = {2026},
  eprint = {2606.24747},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.24747v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.24747.svg)](https://codeofpaper.com/paper/2606.24747)

Discussion