Need a Small Specialized Language Model? Plan Early!
Not on the map. Why?
Abstract (arXiv)
Large language models are versatile tools but are not suitable for small inference budgets. Small models have more efficient inference, but their lower capacity means that their performance can be good only if one limits their scope to a specialized domain. This paper explores how to get good specialized small language models using a large, generic, pretraining set and a limited amount of specialized data. We consider two scenarios, depending on whether (i) one can afford pretraining a model for each specialization task, or (ii) one wants to cheaply adapt a single pretrained model for each task. In the first scenario, we propose an effective solution based on importance sampling: we resample the pretraining set to imitate the specialization data and train a small model on it. In the second scenario, we propose a novel architecture, projected networks (PN). PN is a large network whose parameters can be linearly projected into a small network for specialization. For both scenarios, we demonstrate the empirical effectiveness of our solutions across various domains, training set sizes, and training budgets.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 26 of its 39 references that are in the map. First posted on arXiv 2 Feb 2024.
Builds on
26 of 39 references.
References · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2016HyperNetworkscited by 1,003
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
14 more
- 2021A Survey of Data Augmentation Approaches for NLPcited by 408
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2023Data Selection for Language Models via Importance Resamplingcited by 322
- 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 278
- 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
- 2022Unified Scaling Laws for Routed Language Modelscited by 249
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
- 2017Hard Mixtures of Experts for Large Scale Weakly Supervised Visioncited by 67
- 2018Denoising Neural Machine Translation Training with Trusted Data and Online Data Selectioncited by 43
- 2022Alexa Teacher Model: Pretraining and Distilling Multi-Billion-Parameter Encoders for Natural Language Understanding Systemscited by 15
- 2021The Trade-offs of Domain Adaptation for Neural Language Modelscited by 14
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 1.
4 papers.
- 2024CoGenesis: A Framework Collaborating Large and Small Language Models for Secure Context-Aware Instruction Followingcited by 32
- 2024Dynamic Gradient Alignment for Online Data Mixingcited by 10
- 2025Kastor: Fine-tuned Small Language Models for Shape-based Active Relation Extractioncited by 0
- 2026DLT-Corpus: A Large-Scale Text Collection for the Distributed Ledger Technology Domaincited by 0
- 2026DLT-Corpus: A Large-Scale Text Collection for the Distributed Ledger Technology Domain25 Feb 2026
- 2025Kastor: Fine-tuned Small Language Models for Shape-based Active Relation Extraction5 Nov 2025
- 2024Dynamic Gradient Alignment for Online Data Mixing3 Oct 2024
- 2024CoGenesis: A Framework Collaborating Large and Small Language Models for Secure Context-Aware Instruction Following5 Mar 2024