@liumengxinfly: Redis creator speaks out on X, saying that those who keep claiming Chinese models are distilled don't understand machine learning at all.
Summary
This article explains the technical principles of knowledge distillation in machine learning, pointing out that merely collecting output dialogues from ChatGPT/Claude cannot achieve effective distillation due to the lack of probability distribution information, and discusses the limitations of using generated data in SFT and pre-training.
View Cached Full Text
Cached at: 06/17/26, 03:46 AM
I saw a post from Redis’s author on X, saying that people who keep insisting Chinese models are just distilled don’t understand machine learning at all.
I used to argue back when people said Chinese models are distilled. But after seeing it so many times, I got tired and stopped bothering. So I decided to just write it down.
Many people throw around the term “distillation” without actually knowing what it means. What they really mean is that if you collect a huge amount of Claude/ChatGPT conversations, your model could somehow become as capable as Claude/ChatGPT — without ever considering the technical feasibility.
Take an image recognition example. Suppose there’s a model that can recognize animals, and I want to distill that knowledge into my own model. If I only feed the student model the input images along with the teacher model’s classification results, that distillation is meaningless. It’s the same as training with labeled samples — in fact, the labels you have might even be more accurate than the teacher’s outputs, so using the teacher’s results could actually reduce accuracy.
If the teacher’s classification results aren’t useful for distillation, then what is? What matters is the weight distribution from the second-to-last layer for each class. For example, if the classification result is “cat,” the previous layer might show probabilities like cat 80%, tiger 5%, leopard 7%, dog 0% … This layer is actually the model’s predicted probability distribution — that’s what the student model should learn. Because it contains much more implicit information than just the final single answer: cats are more similar to leopards than to dogs, which is closer to the true distribution of the real world.
It’s similar in LLMs. LLMs seem to just generate the next token, but they actually generate a probability distribution for the next token. Essentially, an LLM’s parameters are fixed, so with the same input, the output distribution is fixed too. The reason every conversation is different is that during output generation, you don’t always pick the token with the highest probability — you randomly choose one within a certain probability range, which introduces randomness. That’s what parameters like Temperature and Top-k do — they adjust the final probability distribution to increase output diversity.
So collecting vast amounts of Claude/ChatGPT conversation outputs alone cannot achieve strict distillation. Because you can’t obtain the probability distribution information, you can’t make your model converge quickly to what Claude/ChatGPT looks like.
Then what about using these conversation outputs for SFT? After the concept of distillation expanded, some call this “data distillation” as well. Theoretically it’s possible, but SFT is typically used to align language style and preference. It’s generally believed that SFT sacrifices the model’s generalization ability and intelligence, making it more like a specialized model. I personally tend to think this approach cannot improve the model’s core capabilities.
Another possibility is to directly include these conversation outputs as part of the pretraining corpus. Some recent model papers show they already use synthetic data during pretraining. But it’s generally believed that tool-calling and agent capabilities need to be activated through large-scale RL — I’m skeptical how much they could contribute at the pretraining stage. Moreover, pretraining requires more general capabilities; you can’t let too much synthetic data pollute overall data quality. My personal guess is that a small portion of pretraining data may come from Claude/ChatGPT — it’s almost unavoidable, since they’ve become a significant part of the world’s data. But relying on that alone is far from enough to achieve similar coding and agent capabilities.
See — someone casually says “model distillation,” and I have to explain it in such detail. I really don’t want to talk about it anymore.
Similar Articles
@0xcherry: https://x.com/0xcherry/status/2067610347633025281
This article analyzes the reasons behind the performance leap of Zhipu GLM-5.2, suggesting that its 40B activation parameters provide greater effective capacity after accounting for fixed overhead, making RL post-training more effective. It also reviews the history of Chinese AI model development and notes that the large model approach ultimately prevailed.
@Sxy_Cherotich: Recently I've been talking with quite a few model researchers, and a consensus conclusion is: the importance of data is once again highlighted. A while ago I got to know ex-Kimi's @FanqingMengAI, who is doing a startup in the data direction, and invited him to record a podcast. The biggest non-consensus from our conversation is Fanqing's view on the difference between domestic and foreign models...
A podcast about AI model competition, discussing the importance of data, distillation and pre-training innovation, and an interview with Evolvent AI co-founder Meng Fanqing, covering topics such as synthetic data, RSI, and differences in domestic models.
@snowboat84: Have you noticed that the birth of models in AI is actually quite arbitrary? Take language models as an example: first RNN, then LSTM, one day Transformer is said to be effective so everyone switches to it, later it's split into Encoder and Decoder, one moment BERT is all the rage, the next GPT is said to have emergent abilities and Scaling Law. The whole process hardly has any theoretical guidance.
The article discusses the arbitrariness of AI model creation, proposing to draw inspiration from physics models, build a repository of candidate models, and formalize the model selection process.
@vivilinsv: A serial entrepreneur I particularly like and admire, @quxiaoyin Xiaoyin, has been on fire on X recently. She made a very sharp judgment: Chinese open-source models will continue to gain market share, and may even become one of the "worst-case scenarios" for the US AI ecosystem—if Chinese models not only occupy the model layer...
Discusses how Chinese open-source models could become a threat to the US AI ecosystem, and the future competitive landscape between open-source and closed-source models, sparking widespread discussion in the AI community.
@Xx15573208: I've read many articles about Transformers and understand the theory, but when I actually sit down to write code, I have no idea where to start. LLMs-from-scratch is specifically designed to solve this problem: it accompanies the book "Build a Large Language Model" and guides you through implementing GPT from scratch using PyTorch…
LLMs-from-scratch is a GitHub repository that accompanies the book "Build a Large Language Model," providing complete code to implement GPT from scratch with PyTorch, covering the full pipeline including pretraining, fine-tuning, and RLHF. It has gained 93K+ stars and is ideal for developers who want to deeply understand the principles behind large language models.