# Poster 28062

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28062

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, I'm Yixian from the Conversational AI Group at Tsinghua University. I'm glad to present our work, Mini-PRM, which was done in collaboration with WeChat AI at Tencent. This work explores a new paradigm for knowledge distillation in pre-training, one that is efficient, effective, and flexible to use.
With the development of large language models, there is a clear trend towards increasing compact models. The performance of small language models have been improving exponentially over time. This is because inference computation is becoming increasingly important for scaling language models, especially in recent applications such as reinforcement learning or test time scaling.
This has inspired researchers to train smaller and more compact models. A classic approach to train smaller models is knowledge distillation, which transfers the knowledge of a large teacher model to a smaller student model. Recently, there are three commonly used KD methods for building language models. However, these methods for language models focuses only on the SFT stage.
How to perform KD during pre-training, which is a critical stage for acquiring versatile knowledge, remains largely underexplored. For the pre-training stage, one major challenge is that the additional training cost introduced by KD methods must be carefully considered when we align the training time computation across different.
k -dim methods. Some approaches perform similarly to or even worse than conventional pre-training without k-dim. Although methods like sequence k-dim do not introduce additional training time overhead, the data generated by the teacher model tends to lose diversity and difficulty, both of which are crucial for effective pre-training.
Additionally, conventional KD methods usually require matching the tokenizations of teacher and student models, making it difficult to distill knowledge across different model families, for example from Lama to Mamba. So in our work, we propose the mini-PLM framework to address these challenges. Mini-PLM introduces a new approach to KD.
Leveraging the teacher model's knowledge to select pre-training data for the student model, this ensures that the selected corpus contains the knowledge from the teacher model. This process, which we call different sampling, is followed by pre-training the student model on the refined data. For different sampling, we aim to select instances that the large model has learned well but the small model has not yet mastered.
This difference can be effectively measured by comparing their log probabilities. Instances with larger differences have higher learnability. By employing different sampling, mini-PLM effectively addresses the three key issues of KD in pre-training. First, since different sampling is performed offline, no additional training overhead is introduced.
Second, as the student model is involved in data refinement, the data retains its diversity and difficulty. Finally, because the method operates solely on data, it can seamlessly support KD across different model architectures. Our experiments demonstrate that MiniPLM achieves more than two times computational savings in pre-training language models.
Its performance constantly surpasses that of vanilla KD baseline and pre-training without KD. Moreover, it successfully enables KD from a llama model to a member model. So in summary, we propose mini PLM, a new paradigm for knowledge distillation in pre-training. Refining data using the teacher model's knowledge provides a fresh.
perspective on classical knowledge distillation methods. Through our experiments, we empirically verify that mini-PLM is efficient, effective, and flexible. That's all of my presentation. Thank you for listening.
