Skip to main content
AI NETWORK NEWS:AI
← Back to Top Stories

How Black-Box Distillation Works

This piece overviews how black-box distillation works in practice to inform proposed legislation and ongoing policy debates around adversarial distillation. We consider how adversarial distillation from proprietary U.S. models may have occurred at each step of the process and highlight areas of uncertainty around the methods Chinese labs employed. We also consider the potential impact of that distillation on China’s AI development.

How Black-Box Distillation Works This piece overviews how black-box distillation works in practice to inform proposed legislation and ongoing policy debates around adversarial distillation. We consider how adversarial distillation from proprietary U.S. models may have occurred at each step of the process and highlight areas of uncertainty around the methods Chinese labs employed. We also consider the potential impact of that distillation on China’s AI development. The post How Black-Box Distillation Works appeared first on Center for Security and Emerging Technology.

This piece overviews how black-box distillation works in practice to inform proposed legislation and ongoing policy debates around adversarial distillation. We consider how adversarial distillation from proprietary U.S. models may have occurred at each step of the process and highlight areas of uncertainty around the methods Chinese labs employed. We also consider the potential impact of that distillation on China’s AI development.

Introduction

If you asked Claude Mythos one hundred thousand questions about cybersecurity, would learning the answers make you better at hacking? Would doing so make another AI model better at hacking? Using those questions and answers to train an AI model is a form of black-box distillation—a technique that improves a weaker “student” model by using a stronger “teacher” model’s outputs as a source for training. “Black-box” means the teacher model is closed-source, so it can only be prompted online using a web or software interface. Conversely, white-box distillation uses additional information about the teacher model’s internal processes, requires access to its weights, and is outside the scope of this explainer.1

Black-box distillation (herein referred to as distillation) is a common technique used by AI developers and researchers.2 It has traditionally been used to compress knowledge and capabilities into smaller student models to reduce their compute and memory overhead. Now it is increasingly also used to elicit synthetic data and transfer capabilities from teacher models to students regardless of their size.  

This piece overviews how black-box distillation works in practice to inform proposed legislation and ongoing policy debates surrounding U.S.-China AI competition. We consider how adversarial distillation from proprietary U.S. models may have occurred at each step of the process. We also highlight areas of uncertainty around the methods Chinese labs employed and the impact that distillation had on their AI development. This technical understanding is the foundation for assessing the benefits that Chinese labs may achieve from distillation, the feasibility of defenses against it, whether claims of theft are warranted, and the potential for policy intervention.

Key Takeaways

In overviewing the distillation process, we highlight four key takeaways regarding Chinese labs’ adversarial distillation campaigns: 

  1. Chinese labs do distill from proprietary U.S. models. Their objective is to transfer knowledge and capabilities from U.S. proprietary models that they access through third-parties while obfuscating their origin.
  2. A lack of public information regarding the model inputs (i.e., seeds and steering strategies) used for adversarial distillation makes it difficult to determine whether some techniques to detect adversarial distillation are promising. 
  3. The amount of synthetic data that Chinese labs produce using U.S. models is significant and represents a sizable fraction of the data used to post-train some Chinese models. However, the quantity is still ambiguous and requires context, also making it difficult to develop and evaluate possible defenses.3 Anthropic, OpenAI, and Google do not (but should) specify how many tokens were generated by their models during the distillation campaigns. 
  4. It is difficult to determine how much Chinese labs rely on adversarial distillation to improve their AI models. This is due to a lack of visibility into the final step of the distillation process, where student models are trained on the synthetic data produced by U.S. models. To help address this issue, U.S. labs should be more transparent about their internal research into the impact of distillation on student models.

The Line Between Nefarious and Benign

Distillation was relatively uncontroversial until early 2025, when OpenAI initially accused DeepSeek of breaking their terms of service by distilling from ChatGPT.4 Since then, several Chinese AI labs have been accused of “adversarially” distilling the capabilities of American models in ways that break terms of service.5 A U.S. government joint cybersecurity advisory echoed these accusations in September 2026, stating that Chinese labs are “conducting systematic extraction of proprietary functionalities and capabilities of U.S. AI companies’ models through industrial-scale knowledge distillation campaigns.”6 Moreover, U.S. companies such as SpaceXAI have distilled from other closed-source American models, further emphasizing the commonality of the technique and its legal ambiguity.7 These accusations have triggered a flurry of legislative proposals and debates over the threat of adversarial distillation; how much it benefits Chinese labs; whether it should be considered illicit or just a terms of service infringement; and what impact it may have on AI competition, security, and intellectual property protection.8

The Five Steps of Black-Box Distillation

Black-box distillation is a technique that improves a weaker AI model (student) by using a stronger AI model’s (teacher’s) outputs as a source for training. The process involves five steps: (1) define the objective of the distillation and select the student and teacher models, (2) collect seed data that will be inputted into the teacher, (3) steer the teacher toward desired outputs, (4) elicit synthetic data from the steered teacher by prompting it with seed data, and (5) train the student on the synthetic data through various techniques.9 Figure 1 below overviews this process, and the following subsections detail each step.

Figure 1: The Process of Black-Box Distillation

A visualization of the process of black-box distillation.
Source: CSET Illustration

Step One: Define Objective and Select Models

Define the objective, select the student model to be improved, and select the teacher model(s) from which to distill. Distillers should initially determine what capabilities are to be distilled and whether the objective is to compress capabilities into a smaller student or transfer them into a student regardless of its size. These differing objectives can influence which student models are selected. Most published research compresses capabilities from large teachers (e.g., ChatGPT) into much smaller and less capable students (e.g., Llama-2-13B).10

Distillers must have access to the student model’s weights. Teacher models, on the other hand, only need to respond to prompts. The teacher is often accessed over the internet through paid accounts that allow automated programs to connect to the models in structured ways.11

Adversarial Distillation (Objectives, Teachers, and Students)

The objective of Chinese adversarial distillation is to transfer knowledge and capabilities from U.S. proprietary models while obfuscating their origin, which they do by accessing U.S. models through third parties.12 Their objective is not compression; Chinese student models have hundreds of billions or trillions of parameters (e.g., DeepSeek’s R1 model has more than 670 billion parameters), which are far larger than the student models typically used in published research as well as larger than some of the teacher models from which they are accused of distilling (e.g., GPT-4o). Moreover, Chinese labs likely have the talent and resources to develop capable pre-trained base models independently, although these models are less capable than frontier models developed in the U.S. Therefore, the objective of their distillation is to further improve their models during post-training.

Step Two: Collect Seed Data

Collect “seed” data for the teacher model to build upon. Seed data is information that is inputted into a teacher model, and it is representative of the capability (e.g., agentic tool use), domain (e.g., coding), or behavior (e.g., instruction following) the student will learn. Merely instructing a teacher model to generate certain types of data can yield poor outputs, so providing seed data helps guide the teacher toward generating relevant and higher quality outputs. Seeds can come from a variety of sources, including existing benchmarks, demonstrations of tasks, custom prompts, or the outputs of the student model itself. In general, the better the seeds fed to the teacher (in terms of depth, diversity, and relevance to a particular task or domain), the better the elicited knowledge will likely be.

Figure 2: Collect Seed Data

Two boxes: one box lists sources of seed data and the other box lists what makes good seed data.
Source: CSET Illustration

In the published research we reviewed, seeds ranged from as few as 175 human-curated instruction-output pairs to as many as 210 thousand examples of math problems pulled from several datasets.13 Seed datasets were typically sourced from public benchmarks and pre-existing datasets, likely because those are readily available. Creating large seed datasets from scratch can be time-consuming and expensive. 

Adversarial Distillation (Seeds)

U.S. companies’ ability to detect adversarial distillation can be influenced by the type and quantity of seed data used by Chinese labs. On the one hand, if distillers use pre-existing datasets as seeds, then it is more feasible for U.S. companies to build classifiers that are trained to detect those particular seeds. On the other hand, detection can be more challenging if Chinese labs use custom seeds or collect exchanges (i.e., input-output pairs) from third-party users. For example, DeepSeek and Moonshot AI were accused of rerouting their users’ traffic to Claude instead of their own models, which means that custom prompts (provided by their unwitting users) were used as seeds.14 The extent that Chinese labs use custom or third-party seeds is unclear.

If Chinese labs use large amounts of seed data across many prompts, this activity is more likely to be detectable because it will look less like normal AI usage—although this depends on the types of seeds used and whether they are customized to blend in with normal usage. The scale of some Chinese adversarial distillation campaigns may be akin to experiments identified in the literature while others appear much larger. For example, Google claimed Gemini was seeded with about one hundred thousand prompts, while Anthropic claimed Moonshot AI used Claude in over 23 million exchanges.15 However, the amount of seed data is unclear for either case because the companies did not disclose the number of input tokens per prompt or exchange.16

U.S. companies have generally not disclosed the type or sources of seed data that Chinese labs used during distillation, and they are ambiguous about the quantity. For example, Anthropic stated that the “volume, structure, and focus of the prompts were distinct from normal usage patterns” and that they targeted capabilities such as “agentic reasoning, tool use, and coding.”17 The U.S. government joint cybersecurity advisory stated that Chinese labs “extracted billions of tokens” from U.S. models, but it says nothing about the type or quantity of input tokens used as seeds.18 This lack of information makes it challenging to assess how reliably adversarial distillation can be detected with classifiers that are trained to detect known seed data.  

Step Three: Steer the Teacher

Steer the teacher model to generate outputs related to a desired capability, domain, or behavior (i.e., instruct the teacher what to do with the seed data). For example, to improve a student in math, the teacher may be steered to reason about seeded math questions step-by-step; to improve a student’s ability to answer scientific questions, the teacher may be steered toward generating science quizzes that are similar to seed examples. In practice, this steering can involve detailed instructions and templates, and it can be inputted into the teacher through prompts before or alongside the seed data in step four.

There are four general steering strategies to guide the teacher model’s behavior as well as one strategy that does not explicitly guide the teacher (see footnotes for examples): 

  1. Label the seeds to make them more detailed and substantive. This can look like instructing the teacher to label a list of seed questions with answers or chains-of-thought rationales for how it arrived at the answers.19
  2. Expand on the seeds by generating data that are similar. This can look like expanding on a set of math questions by instructing the teacher to make harder versions of each question.20
  3. Create data that is loosely based on the seeds, which are used as a reference point for a broad topic. This can look like providing the teacher model with Wikipedia pages about biology and instructing it to generate questions, answers, and instructions related to it.21
  4. Provide feedback on the student model’s outputs (which are used as the seeds). This can look like the teacher grading the student’s outputs or judging how the student works through a problem. In practice, distillers often use the feedback to train a third model called a discriminator or reward model.22
  5. Collect exchanges with the teacher model as a source for synthetic training data. In this case, distillers do not explicitly steer the teacher, rather, they collect users’ prompts and the teacher model’s responses.23 This process includes collecting exchanges from third-party users in which the distillers do not directly interact with the teacher.

Adversarial Distillation (Steering Strategies)

U.S. companies’ ability to detect adversarial distillation can be influenced by the steering strategies used by Chinese labs. Moreover, when attempting to steer proprietary models that have built-in guardrails (e.g., hidden internal reasoning), Chinese labs seek to jailbreak those guardrails to elicit more data. This serves as an additional indicator of distillation. 

U.S. companies have provided some general information about how Chinese labs steer their models, much of which involves eliciting a teacher’s chain-of-thought reasoning. For example, Anthropic’s Claude model was steered to “articulate the internal reasoning behind a completed response and write it out step by step” (labeling), to generate “censorship-safe alternatives to politically sensitive queries” (expansion), as well as to “function as a reward model for reinforcement learning” (feedback).24 As Anthropic improved their detection methods, they saw Chinese distillers employ new techniques to avoid detection. Specifically, an unidentified Chinese lab submitted over twelve thousand requests, “each using a different technique to test which would extract Claude’s reasoning.” This highlights the importance of steering strategies in distillation detection as well as the attacker-defender dynamic that emerges from improved detection mechanisms and improved methods to obfuscate adversarial distillation attempts.25

However, beyond attempts to elicit internal reasoning, details about the steering strategies are limited and U.S. companies have generally not specified how their models were steered. Because there is limited public information on the seeds and steering strategies used by Chinese labs, it is difficult to speculate whether the activity could be detected using classifiers. Furthermore, it may be harder to detect adversarial steering in instances that do not involve attempted jailbreaks because the prompts are more likely to appear as legitimate AI usage. Ultimately, it is unclear the extent to which U.S. labs have detected distillation by identifying these attempted jailbreaks, but the emphasis on jailbreaks in public reporting suggests that they play a significant role. 

Step Four: Generate or Collect Synthetic Data

Generate synthetic data (i.e., outputs) from the steered teacher model by systematically inputting the seed data or collect users’ exchanges with the teacher model. In the former method, the teacher is guided by the steering instructions and augments or builds upon the seed data provided in the prompts. The goal is to elicit information latent in the teacher model by generating synthetic data that is larger in volume, higher in quality, or richer in diversity than the initial seed. In the case of feedback, the teacher grades the student model’s outputs as part of a reinforcement learning pipeline. This is often done at a scale that makes manual prompting impractical, which is why programmatic access is a key enabler for distillation.26 

In the latter method, users’ exchanges with the teacher model are collected, including exchanges from third-party users where distillers do not directly interact with the teacher. The idea is that many user exchanges elicit useful synthetic data without explicitly seeding or steering the teacher for the purpose of distillation. These exchanges can come from legitimate sources, including exchanges posted on platforms such as Hugging Face or datasets such as LMSYS-Chat that are built for the purpose of improving other models.27 They can also come from illegitimate sources, such as DeepSeek silently re-rerouting its users to Claude to collect exchanges.28

Figure 3: Generate Synthetic Data

A visual showcasing the elements of teacher-generated synthetic data.
Source: CSET Illustration

The amount of synthetic data generated or collected for distillation can vary widely, and it depends on several factors, including the objective of the distillation, the types of knowledge or capabilities to be distilled, and the baseline capabilities of the student. In the literature, the amount of synthetic data used for distillation ranged from as few as one thousand questions with reasoning traces to as many as five million examples.29 In one of the rare cases of distillation pre-training we identified, the teacher generated about 24 billion tokens.30 

Adversarial Distillation (Generate or Collect Synthetic Data)

In terms of quantity, public reporting suggests that Chinese labs use U.S. proprietary models to generate large amounts of synthetic data and collect third-party exchanges. However, the scale is unclear and needs to be considered in the context of how much data legitimate users generate from U.S. models. In terms of quality, proprietary U.S. models are restricted from generating certain kinds of output—including the models’ internal reasoning. However, researchers have identified ways to circumvent those restrictions, and public reporting indicates that Chinese labs have extracted the internal reasoning of U.S. models.

Anthropic, OpenAI, and Google do not specify how many tokens were generated by their models during the distillation campaigns, so the true scale of synthetic data generation is not publicly known. Instead, they provide looser metrics. Anthropic claimed that seven Chinese labs engaged in several distillation campaigns that collectively involved over two hundred million exchanges with Claude.31 Google claimed Gemini was used in one hundred thousand prompts.32 OpenAI has not publicly quantified the scale of adversarial distillation campaigns that use ChatGPT. The maximum tokens potentially generated during adversarial distillation is about 25.6 trillion.33 However, this is likely greatly overstating the scale for three reasons: model outputs vary significantly in length, the U.S. government joint cybersecurity advisory stated that “billions of tokens” (not trillions) were generated, and outputting trillions of tokens could incur significant costs.34

The scale of synthetic data generation should be contextualized. On the one hand, even if we assume Chinese labs use U.S. models to generate hundreds of billions of tokens, this scale is not distinct from industrial AI use. For example, a single employee at Meta used 281 billion tokens, which is potentially as many as two entire adversarial distillation campaigns that Anthropic identified.35 However, this point is not meant to downplay the scale or significance of adversarial distillation; it is only meant to highlight that the scale of generated data is not unprecedented.

On the other hand, the quantity of synthetic data that Chinese labs generate with U.S. models can represent a significant portion of the data used to post-train some Chinese models. Consider the GLM-4.5 model that was released by China’s Z.ai in 2025.36 GLM-4.5 was trained on about 1.1 trillion tokens after pre-training, five hundred billion tokens of which were synthetic reasoning data.37 The same two adversarial distillation campaigns previously mentioned, which some estimated to have generated 150–400 billion tokens in total, represent between 14%–36% of the data used to post-train GLM-4.5 (not including reinforcement learning), which is a sizable fraction that could impact the performance of the model. Moreover, the amount of data distilled from U.S. models represents 30%–80% of the synthetic reasoning tokens that Z.ai used.

U.S. companies restrict the types of outputs that their models provide, but several Chinese labs have circumvented those restrictions. In particular, the internal reasoning of proprietary U.S. models is often fully or partially hidden from the user, so it cannot be readily used for distillation.38 Chinese labs have circumvented these restrictions using known methods, but companies such as Anthropic introduced “new safeguards” that address them.39 Google also identified attempts to “coerce the [Gemini] model into outputting full reasoning processes.” Access to a teacher’s internal reasoning can result in higher quality synthetic data to distill.40 However, it is unclear how much more beneficial internal reasoning is relative to the model’s direct outputs, particularly because internal reasoning can be misleading and unreliable.41

Step Five: Train the Student 

The final step of distillation is to train the student model on the outputs of the teacher in one of two different ways. If the teacher labels, expands upon, or creates data based on the seeds or if user exchanges are collected without explicit seeding and steering, then the resulting synthetic data is likely used to directly train the student via supervised fine-tuning (i.e., off-policy distillation). If the teacher provides feedback on the student’s outputs, then the generated synthetic data is likely used to train a separate discriminator or reward model, which is then used to actively train the student as part of a reinforcement learning or on-policy distillation pipeline.42

Student training can occur at different stages of the development pipeline, but it is most commonly used to post-train models that were already pre-trained through other methods.43 While there are some instances of using distillation for pre-training, such as Microsoft’s Phi models, it is likely uncommon in the literature because the large amount of teacher-generated pre-training data can be expensive to produce relative to the costs of using standard pre-training data collection methods.44

Adversarial Distillation (Train the Student)

The ways that Chinese labs access, interact with, and elicit data from proprietary U.S. models indicates that they distill. Moreover, while China’s Commerce Ministry called the accusations “groundless,” it also emphasized that distillation is a “neutral technical means, and model companies around the world, including U.S. businesses, are using it,” which could be interpreted as a loose admission that Chinese labs distill.45 

That being said, U.S. companies do not have visibility into the final step of the distillation process, where the student models are actually trained on the synthetic data produced by U.S. teacher models. This lack of visibility and information raises two key points.  

First, Chinese labs generate and collect large quantities of synthetic data from U.S. teacher models, but U.S. companies do not know how much of that data is used for distillation. While U.S. companies have no visibility into Chinese labs’ student model training, their public reporting appears to assume that all synthetic data generated is used for distillation, which may overstate the scale. This assumption is echoed in the U.S. government joint cybersecurity advisory, which stated that “the sheer scale of these campaigns and their sophistication indicate that distillation is not a supplement to [Chinese] companies’ AI model development, but the critical core of it.” The point is not whether or not all of the data is used for distillation, rather it is that U.S. entities are concluding that distillation is a major driver of Chinese AI development based on the assumption that all (or most) of the synthetic data is used for distillation. 

For context, Chinese labs may filter the synthetic data for a variety of reasons, including to omit low quality, repetitive, or irrelevant data. We do not know if Chinese labs filter the data, but it has been identified in the literature as a common practice: in one case, researchers collected 59 thousand questions that were labeled by the teacher, which was subsequently filtered down (based on quality, difficulty, and diversity) to only one thousand questions that were used to train the student.46

Second, we do not know how beneficial adversarial distillation is for Chinese labs.47 U.S. AI companies see the interactions and exchanges with their models, but they lack visibility into the uplift that Chinese models achieve through distillation. The volume of exchanges with U.S. models suggests some degree of uplift, but it is unclear whether that uplift forms the core of Chinese labs’ AI development, only covers the last mile of capabilities, or lies somewhere in between. Anthropic stated that their own internal research “found that distillation can deliver significant uplift…using fewer exchanges than those harvested in the [adversarial] campaigns.” However, this research is not public.48 Anthropic and other U.S. companies should publicize research to help clarify the uplift from distillation, as well as its strategic implications.

The (unknown) degree of uplift that Chinese models achieve through distillation has strategic implications. If distillation is a core driver of Chinese AI development, then successfully defending against it could significantly constrain Chinese labs. On the other hand, if distillation is not a core driver, then defenses against it could be considered a peripheral issue that will not significantly impact U.S.-China AI competition. 

Conclusion

This piece overviews how black-box distillation works in practice, providing a grounded technical understanding of the process to inform policymakers and ongoing policy debates around adversarial distillation. But there remain several key open questions: Is adversarial distillation a story of free-riding on the capabilities of proprietary American models, or does it only provide marginal uplift for Chinese labs that have the talent and resources to develop capable models independently? Is it feasible to detect and defend against distillation at scale, or will distillation remain an inherent feature of the AI landscape as long as frontier proprietary models are accessible online? Is distillation considered theft or industrial espionage that warrants government intervention, or is it a mere terms-of-service violation that American companies should address on their own? 

This piece does not resolve these debates, but it should leave the reader armed with a better understanding of how black-box distillation works, where Chinese adversarial campaigns fit along the distillation process, where there is uncertainty, and which steps may or may not allow for intervention.

  • policy
  • emilytavenner
  • blackbox
  • distillation