An Emulator for Fine-Tuning Large Language Models using Small Language Models

Eric Mitchell, Rafael Rafailov, Archit Sharma, Chelsea Finn, Christopher D. Manning
2/12/2026

Official code: ZHZisZZ/emulated-disalignment (39 stars, last commit 2024-08-02). 1 more implementation below.

Abstract

Widely used language models (LMs) are typically built by scaling up a two-stage training pipeline: a pre-training stage that uses a very large, diverse dataset of text and a fine-tuning (sometimes, 'alignment') stage that uses targeted examples or other specifications of desired behaviors. While it has been hypothesized that knowledge and skills come from pre-training, and fine-tuning mostly filters this knowledge and skillset, this intuition has not been extensively tested. To aid in doing so, we introduce a novel technique for decoupling the knowledge and skills gained in these two stages, enabling a direct answer to the question,"What would happen if we combined the knowledge learned by a large model during pre-training with the knowledge learned by a small model during fine-tuning (or vice versa)?"Using an RL-based framework derived from recent developments in learning from human preferences, we introduce emulated fine-tuning (EFT), a principled and practical method for sampling from a distribution that approximates (or 'emulates') the result of pre-training and fine-tuning at different scales. Our experiments with EFT show that scaling up fine-tuning tends to improve helpfulness, while scaling up pre-training tends to improve factuality. Beyond decoupling scale, we show that EFT enables test-time adjustment of competing behavioral traits like helpfulness and harmlessness without additional training. Finally, a special case of emulated fine-tuning, which we call LM up-scaling, avoids resource-intensive fine-tuning of large pre-trained models by ensembling them with small fine-tuned models, essentially emulating the result of fine-tuning the large pre-trained model. Up-scaling consistently improves helpfulness and factuality of instruction-following models in the Llama, Llama-2, and Falcon families, without additional hyperparameters or training.

View on arXivView PDF

Code Implementations(2)

[ACL'24, Outstanding Paper] Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!

391PythonFeb 22, 20242 years ago
Apache-2.0

An Emulator for Fine-tuning Large Language Models using Small Language Models

111Apr 14, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{mitchell2026emulator,
  title  = {An Emulator for Fine-Tuning Large Language Models using Small Language Models},
  author = {Eric Mitchell and Rafael Rafailov and Archit Sharma and Chelsea Finn and Christopher D. Manning},
  year   = {2026},
  eprint = {2310.12962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.12962},
  journal = {ICLR 2023 2023}
}

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/2310.12962.svg)](https://codeofpaper.com/paper/2310.12962)

Discussion