How Much Training Text Can a Teacher Model Save?

After the ten-billion-token run, I had a teacher ready to use. It had the same 50.7M parameters as my other models. Its advantage was how much it had read. I started a fresh student of the same size, gave it English web pages, and let it see the teacher's predictions as it read. If the student had a budget of one billion tokens, how far along the ordinary training curve could it get?

What the teacher can say about one word

Imagine a passage about someone walking into the kitchen and pouring a glass of water. Ordinary training rewards the model for assigning a high probability to the word the author chose. A teacher can also tell the student that "milk" would fit and that thousands of other words would make very little sense. Teaching the student to match those probabilities is called distillation.

I used the v1 model trained on 10B tokens of ordinary FineWeb-Edu text as the teacher. Its weights stayed fixed, and both models used the same tokenizer. The student had two objectives. Predicting the actual text carried 10% of the weight, and matching the teacher's distribution carried 90%. I then tested the student on its own. The table shows bits per byte on the same held-out text. Lower is better.

Tokens read by the student Ordinary training Training with the teacher
300M 1.1331 (mean of repeated runs) 1.0816
1B 1.0609 1.0319
2B 1.0311 1.0152

The middle row gives the clearest answer. After reading 1B tokens, the student reached 1.0319 BPB, close to the 1.0311 that ordinary training reached at 2B. On my six downstream tasks, I found no reliable difference on any individual task between those two models. At 2B the teacher still helped, though by less. From the ordinary training curve, I estimated that it would take about 1.56 times as many tokens to reach the student's score. That estimate measures text consumed. Training time also depends on how much work each token takes.

Could I keep just the teacher's favorite answers?

The teacher gives a probability to each of 8,192 possible tokens. Keeping just its top 16 would save a lot of storage. I tried keeping those probabilities and rescaling them to add up to one. One detail turned out to matter. About 19% of the tokens that actually occurred in the text fell outside the teacher's top 16. Each of those alternatives might look unlikely on its own. Together they accounted for nearly one answer in five.

At 300M tokens, a student trained with the top 16 scored 0.0065 BPB worse than ordinary training. Keeping just the teacher's first choice made the score worse by 0.216. For this teacher and training recipe, the less likely alternatives carried information the student could use.

There were two costs behind the result. The teacher had already read 10B tokens. It also had to make a prediction for every batch during student training, reducing throughput by about 24%. If a teacher is already available, the 1B result shows how much text it can save a student. For my original goal of training a single model from scratch, I would have to count the teacher's training as well. I kept the directly pretrained model as my base. Distillation experiments