Manuscript Offprint
arXiv:2610.10854KDFP: A first-principles approach to knowledge distillation in large language models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Knowledge distillation is an established technique for improving the capabilities of small, efficient student models by training them with the representations of larger, more capable teacher models. Much of the recent work in the distillation of large language models (LLMs) has focused on distilling abilities learned during post-training, such as instruction following, chain-of-thought reasoning, and tool usage. This has left a large research gap in general knowledge distillation for LLMs, which is essential for developing efficient and private systems suitable for deployment on edge devices. We take a first-principles approach, evaluating previous lessons from prior works and conducting new explorations to develop a distillation methodology suitable for modern LLMs. We present KDFP, a novel methodology for white-box general knowledge distillation in LLMs. We demonstrate that KDFP outperforms existing methods by 1.6% – 4.9% across 9 benchmarks while increasing training efficiency by up to 99.1% through ephemeral parameter reduction.
1 Introduction
The machine learning landscape has undergone radical changes since knowledge distillation (KD) was introduced by Buciluă et al. (2006) and formulated for neural networks by Hinton et al. (2015). The current era is dominated by the large language models (LLMs) and the transformer architecture (Vaswani et al., 2017), with parameter counts in the hundreds of billions (Meta AI, 2025; Team et al., 2025c; Grattafiori et al., 2024).
Skills such as instruction-following, reasoning, and tool usage have been critical to improving the practical utility of LLMs in applications such as agentic systems. As such, much of the recent work in KD has been focused on distilling these particular abilities (Yang et al., 2024; Zhu et al., 2024; Xu et al., 2024). Comparatively less work has been done to advance general knowledge distillation.
Despite the gap in research activity, it has never been clearer just how important general KD is to the advancement of LLMs. LLMs can be compressed with KD to create highly capable and privacy-preserving on-device systems for resource-constrained platforms such as smartphones and single-board computers. Distilled LLMs small enough to run on a workstation have surpassed other models with 15x as many parameters Team et al. (2025b).
We draw upon the lessons of previous works while also exploring novel formulations to determine how general KD can be improved. We work to unite the findings of previous works such as TED (Liang et al., 2023b) and TinyBERT (Jiao et al., 2020) with what we now know about the science of LLMs from the findings of mechanistic interpretability (Elhage et al., 2021; 2022; Lindsey et al., 2024).
The core contribution of this paper is a novel methodology for general knowledge distillation in transformers, which we refer to as Knowledge Distillation from First Principles (KDFP). We compare KDFP against TED (Liang et al., 2023b)– the most recent work in white-box

Figure 1: Diagram of KDFP. The attention, MLP, and residual outputs are distilled in each block, as well as embeddings and model outputs. A single projection matrix is learned during training to project student activations into the teacher's embedding space.
general KD (Xu et al., 2024; Zhu et al., 2024)– as well as earlier methods previously surpassed by TED. In Section 7.1 we demonstrate that KDFP outperforms existing methods by 1.6% – 4.9% across 9 benchmarks, and Section 8.1 details an efficiency increase of up to 99.1%. In Section 8.2 we leverage an understanding of the internal mechanisms of LLMs to provide a possible explanation for why TED fails to generalize to modern models and evaluations.
Beyond the KDFP itself, we present 4 additional contributions:
-
Section 7.1 demonstrates that previously ignored activations are essential for peak student performance
-
Sections 7.2 and 7.3 illustrate how students may benefit from teachers whose representations are more closely aligned with their own
-
Section 7.4 shows that increasing training data may decrease student performance
-
Section 7 indicates that a target distribution mix of 75% teacher and 25% student outperforms existing divergence formulations
2.1 Knowledge Distillation
Knowledge distillation (KD) was introduced by Buciluă et al. (2006) as a technique for compressing the knowledge of a large, highly capable teacher model into a smaller, more efficient student model. The original formulation worked by generating synthetic data from teachers and using it to train student models for classification.
Later work by Hinton et al. (2015) used a different approach to KD by formulating the problem as distribution matching, where students learn to approximate the output distribution of the teacher. Students were trained using forward Kullback-Leibler (KL) divergence on the output distributions produced by the teacher model.
2.1.1 White-Box vs Black-Box
Black-box KD methods are defined by their sole reliance on inputs and outputs to train student models. This is the only option when the teacher model is proprietary (OpenAI, 2025; Anthropic, 2025; Google, 2025). Black-box methods such as synthetic data generation

Figure 2: Comparison of JS divergence with Forward and Reverse KL divergence matching a Gaussian to a trimodal Gaussian mixture model (GMM).
have proven to be very effective, producing instruction-tuned LLMs such as Vicuna (Zheng et al., 2023), and Alpaca (Taori et al., 2023).
In contrast, white-box KD methods make use of the information-rich internal activations. The traditional KD method proposed by Hinton et al. (2015) only distills output distributions, while recent methods for transformers also distill residual stream activations (Jiao et al., 2020; Liang et al., 2023b).
2.2 Divergence Functions
Divergence functions measure the statistical distance between a true distribution P and its approximation Q. The value of a divergence function is always nonnegative, with zero indicating a perfect match. Divergence functions are preferred over cross-entropy in distillation settings precisely for these properties.
2.2.1 Kullback-Leibler Divergence
Forward KL Divergence Divergence was formulated for use in the distillation of neural networks by Hinton et al. (2015). The equation for forward KL divergence is given by:
From Equation 1 we see that forward KL divergence is minimized in a given region when the value of P is low and Q is high. This results in students exhibiting mean-seeking behavior, with diverse but potentially nonsensical responses (Gu et al., 2024).
Reverse KL Divergence Recent work has explored using reverse KL divergence as an alternative to the forward variant in generative models (Gu et al., 2024; Huszár, 2015; Nowozin et al., 2016; Chen et al., 2017; Lee et al., 2022). The equation for reverse KL divergence is given by:
In contrast to forward, reverse KL divergence is minimized in a region when the value of the approximating distribution Q is low and the true distribution P is high. In practice, reverse KL divergence produces mode-seeking students which may lack diversity, but can be highly specific and accurate (Gu et al., 2024).
2.2.2 Jensen-Shannon Divergence
Though closely related to KL divergence, Jensen-Shannon (JS) divergence has only rarely been applied to KD (Wen et al., 2023). Its equation is given by:
(3) where
JS divergence can be thought of as an average of forward and reverse KL divergence, producing students which can capture more diversity than reverse KL divergence and produce more faithful responses than forward KL divergence.
2.2.3 Generalizing Divergence
Using the mixing intuition from Section 2.2.2, divergence can be generalized using parameter to control the weighting between forward and reverse KL divergence:
where,
This facilitates tuning to balance requirements for response diversity and faithfulness.
2.3 Mechanistic Interpretability
The field of mechanistic interpretability works to build a human-interpretable understanding of LLMs, and has been able to develop some intuition as to how different transformer components contribute to model processing. The residual stream represents the accumulation of model knowledge, and can be thought of as a checkpoint or "best guess" at any point in a transformer. Attention is the only mechanism by which information mixes across positions in the residual stream, and can be understood as a syntactically-informed and context-aware generalized convolution. The multilayer perceptron (MLP), though challenging to cleanly interpret due to superposition (Elhage et al., 2022; Ameisen* et al., 2025; Templeton et al., 2024) can be thought of as the information processing core of the transformer architecture, operating independently on each position in the residual stream (Elhage et al., 2021).
3 Related Work
3.1 Distillation Objective Functions
Distillation objective functions in white-box KD have taken many different forms since the original forward KL divergence implementation from Hinton et al. (2015). Simpler versions of LLM distillation use a multi-objective loss function which combines the soft targets with the true language modeling loss (Xu et al., 2024). The DistilBERT model expanded upon this to also add a cosine embedding loss to encourage representational alignment between the student and teacher, forming a triple-objective (Sanh et al., 2020). The f-Distill framework was designed with modularity to allow comparison between forward KL divergence, reverse KL divergence, JS divergence, and total variance distance (Wen et al., 2023). MiniLLM is a more recent example which used reverse KL divergence as the objective in sequence-based KD for on-policy reinforcement learning in modern multi-billion parameter LLMs (Gu et al., 2024).
3.2 Distilling Internal Activations
The success of distilling internal representations is well-documented, including in deep convolutional networks (Romero et al., 2015) and BERT models (Sun et al., 2019; Jiao et al., 2020; Hou et al., 2020; Liang et al., 2023a; Zuo et al., 2022). Two recent works which distilled activations in each transformer block are TinyBERT (Jiao et al., 2020) and TED (Liang et al., 2023b).
TinyBERT distilled the QK attention matrices of BERT's multi-head attention and the final block outputs into each block of the student model, in addition to the embeddings and the regular CE language modeling loss. While this is an efficient approach to distilling syntactic knowledge, it is not very generalizable. QK distillation is only viable when the student has the same number of attention heads as the teacher.
TED was designed to build upon layer-wise distillation by training filters to remove redundant information from the residual stream. However, the concept of redundant information in transformers was explored only at the scale of a single layer or single neuron in encoder-only models (Durrani et al., 2020; Dalvi et al., 2020; Antverg & Belinkov, 2022). Recent work studying cross-layer superposition with crosscoders and transcoders in modern decoder-only models has demonstrated that such simple notions of redundancy may fail to capture more complex information storage and processing in LLMs (Ameisen* et al., 2025). Although TED demonstrated success on GPT-2 Small (124M parameters) (Radford et al., 2019), it remains to be seen how it scales to modern 1B+ models and benchmarks.
4 Distillation as a Parametrized System
In this work, we take a first-principles approach to developing a new SOTA methodology for knowledge distillation in LLMs. We identify representations- both internal activations and output distributions- as the core units of knowledge which we aim to distill. It naturally follows that we also focus on the divergence and similarity paradigm of KD (Xu et al., 2024), as it is best suited to make use of model internals.
Some recent works such as MiniLLM (Gu et al., 2024) and the f-DISTILL framework (Wen et al., 2023) explore knowledge distillation at the sequence level. While we recognize the demonstrated utility of sequence-level KD, sequence generation is inefficient for full and continual pretraining in modern settings, and thus we focus on token-level KD.
We identify four parameters of a general KD method: student initialization, activation projection, knowledge gap measure, and objective function. A summary of the explorations we conducted for each of these variables is included in Appendix F.
4.1 Student Initialization
Much of the prior work in white-box KD initializes students as shallow versions of the teacher model, with a reduced layer count, but otherwise identical architecture (Xu et al., 2024; Jiao et al., 2020; Liang et al., 2023b; Wen et al., 2023; Sanh et al., 2020). This makes intuitive sense, as the student model is maximally compatible with the teacher, allowing for distillation of attention heads and removing the need to a projection between embedding dimension. However, these works fully pretrain their students to recover from the architectural disruption- an infeasible process in many modern settings. Our exploration found that shallow students performed very poorly with the given training budgets, and thus we do not include results for shallow initialization in Section 7. Details on the poor performance of shallow students can be found in Appendix F.1.
The alternative is a pretrained student, which sacrifices full compatibility for a superior initialization point. The activations of pretrained students are often not in the same embedding space as the teacher, making a projection necessary to measure the knowledge gap. Attention head activations are also incompatible for pretrained student distillation . Unlike shallow students, the initialization point for pretrained students represents a highly capable model, so we include comparisons against the Baseline and finetuned (FT) students in Section 7.
4.2 Activation Projection
In the case where the student and teacher embedding dimensions are different, distilling internal activations requires projecting activations into a shared space to compute loss during training. In prior works, this was done by inserting a trainable matrix to perform a linear projection of the student activations into the teacher's embedding space. We refer to
See Appendix C for further discussion this as an upward-online projection, as the output of the projection is in a higher embedding space than its input, and the projection matrix is learned "online" during training. We explored a variety of projectors and found this formulation to be the best. Details regarding the different projector architectures we experimented with can be found in Appendix E, and our projection exploration is described in Appendices F.1 and F.2.
4.3 Knowledge Gap Measure
Knowledge distillation can be set up as a problem of distribution-matching between student and teacher outputs. This intuitively leads to the use of forward KL divergence as the loss measure, as it sets the teacher outputs as the target distribution, and a loss value of 0 indicates a perfect match between the teacher and student. Recent works such as MiniLLM (Gu et al., 2024) and f-DISTILL (Wen et al., 2023) have explored using different measures, including reverse KL divergence, citing the disadvantages of mean-seeking behavior in generative tasks.
Instead of using a strict forward or reverse setting, we explored a range of target distribution mixing ratios to empirically determine the best divergence measure. Our exploration of the parametrized divergence from Equation 4 is detailed in Appendix F.3.
4.4 Objective Function
A KD objective function should contain all of the important and useful signals from the teacher intended to be replicated by the student. The most obvious signal is the output distribution, since it indicates the output as well as a summary of the model's comprehension, as indicated by other high-probability predictions. Since it can be difficult to train a student from the output alone, previous works have included internal activations- such as residual outputs- at different points throughout the model. These can intuitively be thought of as checkpoints in model processing. Motivated by the findings of mechanistic interpretability, we explored new formulations of the objective function. Details can be found in Appendix F.4.
5 Methodology
KDFP utilizes a pretrained student initialization. Activations are projected with an upward-online projector. It uses a divergence parameter of 0.25, corresponding to a 75% teacher, 25% student mixing ratio for the target distribution. Given N blocks in a student model, KDFP maps N linearly-spaced blocks from the teacher model to the student. KDFP distills the outputs of the attention, MLP, and residual stream at every block in the student, as well as the output distribution and ground truth (i.e. cross-entropy) loss. All objective components are weighted equally ( ).
5.1 Comparisons to Other Distillation Methods
We compare the KDFP methodology against the traditional KD formulation from Hinton et al. (2015), layer-wise distillation (LWD) , and TED (Liang et al., 2023b) in the context of the four parameters outlined in Section 4.
We use pretrained initialization for all students. Traditional KD, LWD, and TED use forward KL divergence as the measure of the knowledge gap. Traditional KD does not distill internal activations, so no projection is necessary. TED performs a projection in its task-aware filters to produce outputs in the teacher's embedding space (i.e. an upward projection). LWD follows an identical approach to KDFP, using a single upward-online projector, except that LWD only distills the residual.
Unlike Liang et al. (2023b) we do not train a projector for each layer, making our LWD variant less expressive than the one previously beaten by TED in Liang et al. (2023b)
| Feature | Traditional KD | LWD | TED | KDFP (Ours) |
|---|---|---|---|---|
| Internal Distill. | No | Yes | Yes | Yes |
| Projection | None | Up-Online | Up (Task Filters) | Up-Online |
| Projector Count | N/A | Single | Per-layer | Single |
| Objectives | CE, Div | CE, Div, MSE | CE, Div, MSE | CE, Div, MSE |
| Divergence | Forward KL | Forward KL | Forward KL | Param. Div. () |
Table 1: Comparison of distillation methodologies
All of these methods utilize cross-entropy (CE) loss on the labels and a divergence loss. Nothing else is added for traditional KD. LWD includes the mean squared error (MSE) loss on the residual activations. TED follows a multi-stage training process. In the warmup stage, filters are trained for the teacher and student using CE. In the distillation phase, TED replaces the raw residual outputs of LWD with the outputs of the task-aware filters. A summary of the comparison of distillation methods illustrated in Table 1.
6 Experiments
We evaluate KDFP in the continual pretraining setting, with the standard LLM task of causal language modeling. In Section 7.1, we use teachers which have not been finetuned on the dataset to reflect the setting where budget or resource constraints may not allow for teacher finetuning. Analysis of the impact of teacher finetuning is presented in Section 7.2. As discussed in Section 4.1, Baseline and FT represent clear thresholds that all KD methods are expected to surpass.
Models We evaluate KDFP using Pythia 2.8B and 1.4B (Biderman et al., 2023) for the teacher and student models, respectively. All Pythia models are the deduped variants.
Datasets We conduct all of our training using data from FineWeb Edu (Penedo et al., 2024). It is a recent, high-quality dataset designed as an LLM pretraining corpus. Using a subset of a new, high-quality dataset in a continual pretraining scenario is an efficient approach to producing a more capable model with a far lower cost than fully pretraining a new model with the entire new dataset.
We train both teachers and students on 100M tokens with a sequence length of 2048- the full context for the Pythia models. TED requires a warmup stage for the teacher and student filters. We train the filters for 25M tokens to replicate the 1:4 filter-to-distillation training data ratio from Liang et al. (2023b).
Evaluation We evaluate each student across 9 common modern benchmarks (Xu et al., 2024; Zhu et al., 2024; Team et al., 2025b; Grattafiori et al., 2024), all zero-shot: accuracy on BoolQ (Clark et al., 2019), MMLU (Hendrycks et al., 2021), and WinoGrande (WG) (Sakaguchi et al., 2019); normalized accuracy on ARC-Easy and ARC-Challenge (Clark et al., 2018), PIQA (Bisk et al., 2019), and SciQ (Johannes Welbl, 2017); F1 score on DROP (Dua et al., 2019); and exact match on TriviaQA (TQA) (Joshi et al., 2017). We present ARC as the sum of ARC-Challenge and ARC-Easy due to space constraints. We ran our benchmarks using EleutherAI's LM Evaluation Harness (Gao et al., 2024).
We use the 2-layer MLP filters for the best zero-shot performance (Liang et al., 2023b)
Common modern student sizes are in the 1B - 7B range. Model selection was influenced by resource constraints and the ability to scale within the same model family. See Section 8.3 for further discussion.
| Method | ARC | BoolQ | DROP | MMLU | PIQA | SciQ | TQA | WG | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| Baseline | 0.8469 | 0.5771 | 0.0280 | 0.2361 | 0.7187 | 0.773 | 0.0760 | 0.5572 | 0.4236 |
| FT | 0.8170 | 0.6110 | 0.0425 | 0.7144 | 0.785 | 0.0244 | 0.4227 | ||
| KD | 0.8326 | 0.5936 | 0.0367 | 0.2319 | 0.785 | 0.0388 | 0.5675 | 0.4232 | |
| LWD | 0.8432 | 0.6235 | 0.2316 | 0.7203 | 0.785 | 0.0636 | 0.5485 | 0.4291 | |
| TED | 0.8063 | 0.6125 | 0.0247 | 0.2294 | 0.7040 | 0.765 | 0.0378 | 0.5588 | 0.4154 |
| KDFP | 0.8542 | 0.6291 | 0.0463 | 0.2395 | 0.7182 | 0.798 | 0.0762 | 0.5612 | 0.4358 |
Table 2: Main results. 100M tokens of data and 2.8B parameter teacher without finetuning.
7 Results
7.1 Main Results
From Table 2 it is clear that TED does not scale well to modern models and evaluations, degrading the performance of the Baseline student. By training for an additional 0.03% of the pretraining token budget, KDFP boosts average performance across all 9 benchmarks by nearly 5% relative to TED, and 2.9% relative to the Baseline. The results from KDFP here represent the peak average score observed in all of our experiments (0.4358), indicating a clear advantage across a diversity of tasks.
7.2 Teacher Finetuning
In Table 3a we evaluate KDFP with a teacher finetuned on the dataset (FineWeb Edu) prior to distillation. LWD saw notable gains, though still falls behind the peak average score by 1.3%. KDFP is again the top performer, though we find that the peak average score here dropped by ~1%, indicating that finetuned teachers do not necessarily benefit students. We hypothesize that the distribution drift from finetuning may make it more challenging for the student to learn the teacher's representations, with KDFP suffering relative to LWD due to its increased number of distilled activations.
7.3 Teacher Scaling
In Table 3b we analyze how scaling up the teacher to Pythia 6.9B affects student performance. Notably, the only architectural difference between Pythia 2.8B and 6.9B is the embedding dimension . Similar to finetuning the teacher, using larger teachers largely did not help students. KDFP again performed best with TED showing a very small improvement, but performance dropped of 1.3% relative to the peak average score. While the embedding dimension of Pythia 2.8B is only 25% larger than the student, 6.9B is fully double (4096 vs. 2048), making it difficult for students to learn from teacher representations.
7.4 Data Scaling
In Table 3c we evaluate KDFP with a 5x increase in data (500M tokens). The filter warmup stages for TED were increased to 125M tokens to maintain the same data ratio. We again see a peak performance drop, falling 2.1% behind the peak average score. Though LWD performs best and FT improves, KDFP in Section 7.1 outperforms all of these with an 80% reduction in training cost.
8 Discussion
8.1 Training Efficiency
Once of the strengths of KDFP is its efficiency. KDFP significantly reduces the number of ephemeral parameters trained as part of the distillation relative to TED. With Pythia 2.8B
Attention head dimension is technically larger, but only because the embeddings are larger.
| Method | Avg. Score |
|---|---|
| KD | 0.4232 |
| LWD | 0.4303 |
| TED | 0.4140 |
| KDFP | 0.4316 |
(a) Finetuned 2.8B Teacher
| Method | Avg. Score |
|---|---|
| KD | 0.4232 |
| LWD | 0.4284 |
| TED | 0.4165 |
| KDFP | 0.4303 |
(b) 6.9B Teacher
| Method | Avg. Score |
|---|---|
| FT | 0.4263 |
| KD | 0.4207 |
| LWD | 0.4266 |
| TED | 0.4154 |
| KDFP | 0.4264 |
(c) 5x Data
Table 3: Analyses of KDFP. Table 3a shows finetuning the teacher prior to distillation. Table 3b shows scaling the teacher from 2.8B to 6.9B parameters. Table 3c shows scaling the training data to 500M tokens. Italics indicate an improvement over the Main Results (Table 2). Full results for these experiments are provided in Appendix B.
and 1.4B only 5.2M temporary parameters are trained (i.e. the projector), while nearly 600M temporary parameters are trained by TED (i.e. the filters). Even with such relatively small models, KDFP reduces training requirements by over half a billion parameters. Although KDFP utilizes more activations than other methods, these activations are already computed as part of the forward pass. Thus, the only increase in compute comes from storing and computing losses on activations.
KDFP makes better use of information which is already available from small, unmodified teachers and doesn't require long, expensive training schedules. KDFP is not only successful with an efficient setup, our results indicate that this is preferred. Given the option between more and less efficient options, KDFP appears to thrive with efficiency. We leave it to future work to test the limits of efficiency in KDFP.
8.2 Explaining TED Performance
Recent work in mechanistic interpretability has shown that LLMs likely store their knowledge across layers (Elhage et al., 2022; Lindsey et al., 2025; 2024; Ameisen* et al., 2025). We hypothesize that TED's attempt to capture and filter out redundant information may actually be disrupting the information processing. Additionally, training with filters along the residual stream and then removing them for inference likely also introduces disruption. All of the experiments in Section 7 indicate that TED degrades performance below the Baseline pretrained student. This serves as an indicator that our hypothesis may be correct, and future work may further investigate.
8.3 Limitations
Continual vs. Full Pretraining Due to resource constraints, we are unable to test KDFP in the full pretraining setting and thus we only evaluate it in continual pretraining. Even though the student models we train are considered small at less than 2B parameters, it is still infeasible for us to pretrain models of this size with the resources at our disposal. We leave the evaluation of KDFP in the full pretraining setting to future work by those with sufficient computational resources.
Implementation Challenges Our implementation of KDFP utilizes the TransformerLens library (Nanda & Bloom, 2022), which standardizes internal activation extraction but does not fully support multi-GPU setups. This limited our experiments to models which could be trained on a single GPU. While small, our 1.4B student is comparable in parameter count to the 1.8B parameter Gemini Nano-1 (Team et al., 2025a), a model commercially deployed on edge devices. For those who require multi-GPU support or models not currently supported by TransformerLens, activation extraction with HuggingFace's transformers library (Wolf et al., 2019) is still feasible, but not standardized.
The performance of our Pythia 1.4B students is not directly comparable to Nano-1, as Nano-1 is 4-bit quantized.
9 Conclusion
We introduced KDFP, a new method for distilling LLMs, and demonstrated its superior performance and efficiency relative to comparable methods. KDFP demonstrates that more fully utilizing the information available in transformers produces more capable students, and that a target distribution ratio of 75% teacher, 25% student outperforms existing methods. We found that less data and teacher–student alignment may be beneficial for distillation, as KDFP requires only 100M tokens of training with a small, unmodified, teacher for peak performance. KDFP is an example of how better understanding the science of LLMs can lead to practical improvements.
References
Dimitris Achlioptas. Database-friendly random projections: Johnson-Lindenstrauss with binary coins. Journal of Computer and System Sciences, 66(4):671–687, June 2003. ISSN 0022-0000. doi: 10.1016/S0022-0000(03)00025-4. URL https://www.sciencedirect.com/science/article/pii/S0022000003000254.
Authors Emmanuel Ameisen*, Jack Lindsey*, Adam Pearce*, Wes Gurnee*, Nicholas L. Turner*, Brian Chen*, Craig Citro*, David Abrahams, Shan Carter, Basil Hosmer, Jonathan Marcus, Michael Sklar, Adly Templeton, Trenton Bricken, Callum McDougall, Hoagy Cunningham, Thomas Henighan, Adam Jermyn, Andy Jones, Andrew Persic, Zhenyi Qi, T. Ben Thompson, Sam Zimmerman, Kelley Rivoire, Thomas Conerly, Chris Olah, and Joshua Batson*† Affiliations Anthropic Published March 27. Circuit Tracing: Revealing Computational Graphs in Language Models, March 2025. URL https://transformer-circuits.pub/2025/attribution-graphs/methods.html.
Anthropic. Get started with Claude: Quickstart, 2025. URL https://platform.claude.com/docs/en/get-started. Published: Claude Developer Platform Documentation.
Omer Antverg and Yonatan Belinkov. On the Pitfalls of Analyzing Individual Neurons in Language Models, 2022. URL https://arxiv.org/abs/2110.07483. _eprint: 2110.07483.
Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, and others. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning, pp. 2397–2430. PMLR, 2023.
Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: Reasoning about Physical Commonsense in Natural Language, 2019. URL https://arxiv.org/abs/1911.11641. _eprint: 1911.11641.
Cristian Buciluă, Rich Caruana, and Alexandru Niculescu-Mizil. Model compression. In Proceedings of the 12th ACM SIGKDD international conference on Knowledge discovery and data mining, KDD '06, pp. 535–541, New York, NY, USA, August 2006. Association for Computing Machinery. ISBN 978-1-59593-339-3. doi: 10.1145/1150402.1150464. URL https://dl.acm.org/doi/10.1145/1150402.1150464.
Liqun Chen, Shuyang Dai, Yunchen Pu, Chunyuan Li, Qinliang Su, and Lawrence Carin. Symmetric Variational Autoencoder and Connections to Adversarial Learning, 2017. URL https://arxiv.org/abs/1709.01846. _eprint: 1709.01846.
Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questions. In NAACL, 2019.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge. arXiv:1803.05457v1, 2018.
Fahim Dalvi, Hassan Sajjad, Nadir Durrani, and Yonatan Belinkov. Analyzing Redundancy in Pretrained Transformer Models, 2020. URL https://arxiv.org/abs/2004.04010. _eprint: 2004.04010.
Dheeru Dua, Yizhong Wang, Pradeep Dasigi, Gabriel Stanovsky, Sameer Singh, and Matt Gardner. DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphs, April 2019. URL http://arxiv.org/abs/1903.00161. arXiv:1903.00161 [cs] version: 2.
Nadir Durrani, Hassan Sajjad, Fahim Dalvi, and Yonatan Belinkov. Analyzing Individual Neurons in Pre-trained Language Models. In Bonnie Webber, Trevor Cohn, Yulan He, and Yang Liu (eds.), Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4865–4880, Online, November 2020. Association for
Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.395. URL https://aclanthology.org/2020.emnlp-main.395/.
Nelson Elhage, Neel Nanda, Catherine Olsson, Tom Henighan, Nicholas Joseph, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, and others. A mathematical framework for transformer circuits. Transformer Circuits Thread, 1(1):12, 2021.
Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. Toy Models of Superposition, September 2022. URL http://arxiv.org/abs/2209.10652. arXiv:2209.10652.
Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac'h, Haonan Li, Kyle McDonell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. The Language Model Evaluation Harness, July 2024. URL https://zenodo.org/records/12608602. Version Number: v0.4.3.
Google. Gemini API Reference, 2025. URL https://ai.google.dev/api. Published: Google AI for Developers.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, Arun Rao, Aston Zhang, Aurelien Rodriguez, Austen Gregerson, Ava Spataru, Baptiste Roziere, Bethany Biron, Binh Tang, Bobbie Chern, Charlotte Caucheteux, Chaya Nayak, Chloe Bi, Chris Marra, Chris McConnell, Christian Keller, Christophe Touret, Chunyang Wu, Corinne Wong, Cristian Canton Ferrer, Cyrus Nikolaidis, Damien Allonsius, Daniel Song, Danielle Pintz, Danny Livshits, Danny Wyatt, David Esiobu, Dhruv Choudhary, Dhruv Mahajan, Diego Garcia-Olano, Diego Perino, Dieuwke Hupkes, Egor Lakomkin, Ehab AlBadawy, Elina Lobanova, Emily Dinan, Eric Michael Smith, Filip Radenovic, Francisco Guzmán, Frank Zhang, Gabriel Synnaeve, Gabrielle Lee, Georgia Lewis Anderson, Govind Thattai, Graeme Nail, Gregoire Mialon, Guan Pang, Guillem Cucurell, Hailey Nguyen, Hannah Korevaar, Hu Xu, Hugo Touvron, Iliyan Zarov, Imanol Arrieta Ibarra, Isabel Kloumann, Ishan Misra, Ivan Evtimov, Jack Zhang, Jade Copet, Jaewon Lee, Jan Geffert, Jana Vranes, Jason Park, Jay Mahadeokar, Jeet Shah, Jelmer van der Linde, Jennifer Billock, Jenny Hong, Jenya Lee, Jeremy Fu, Jianfeng Chi, Jianyu Huang, Jiawen Liu, Jie Wang, Jiecao Yu, Joanna Bitton, Joe Spisak, Jongsoo Park, Joseph Rocca, Joshua Johnstun, Joshua Saxe, Junteng Jia, Kalyan Vasuden Alwala, Karthik Prasad, Kartikeya Upasani, Kate Plawiak, Ke Li, Kenneth Heafield, Kevin Stone, Khalid El-Arini, Krithika Iyer, Kshitiz Malik, Kuenley Chiu, Kunal Bhalla, Kushal Lakhotia, Lauren Rantala-Yeary, Laurens van der Maaten, Lawrence Chen, Liang Tan, Liz Jenkins, Louis Martin, Lovish Madaan, Lubo Malo, Lukas Blecher, Lukas Landzaat, Luke de Oliveira, Madeline Muzzi, Mahesh Pasupuleti, Mannat Singh, Manohar Paluri, Marcin Kardas, Maria Tsimpoukelli, Mathew Oldham, Mathieu Rita, Maya Pavlova, Melanie Kambadur, Mike Lewis, Min Si, Mitesh Kumar Singh, Mona Hassan, Naman Goyal, Narjes Torabi, Nikolay Bashlykov, Nikolay Bogoychev, Niladri Chatterji, Ning Zhang, Olivier Duchenne, Onur Çelebi, Patrick Alrassy, Pengchuan Zhang, Pengwei Li, Petar Vasic, Peter Weng, Prajjwal Bhargava, Pratik Dubal, Praveen Krishnan, Punit Singh Koura, Puxin Xu, Qing He, Qingxiao Dong, Ragavan Srinivasan, Raj Ganapathy, Ramon Calderer, Ricardo Silveira Cabral, Robert Stojnic, Roberta Raileanu, Rohan Maheswari, Rohit Girdhar, Rohit Patel, Romain Sauvestre, Ronnie Polidoro, Roshan Sumbaly, Ross Taylor, Ruan Silva, Rui Hou, Rui Wang, Saghar Hosseini, Sahana Chennabasappa, Sanjay Singh, Sean Bell, Seohyun Sonia Kim, Sergey Edunov, Shaoliang Nie, Sharan Narang, Sharath Raparthy, Sheng Shen, Shengye Wan, Shruti Bhosale, Shun Zhang, Simon Vandenhende, Soumya Batra, Spencer Whitman, Sten Sootla, Stephane Collot, Suchin Gururangan, Sydney Borodinsky, Tamar Herman, Tara Fowler, Tarek Sheasha, Thomas Georgiou, Thomas Scialom, Tobias Speckbacher, Todor Mihaylov, Tong Xiao, Ujjwal Karn, Vedanuj Goswami,
Vibhor Gupta, Vignesh Ramanathan, Viktor Kerkez, Vincent Gonguet, Virginie Do, Vish Vogeti, Vítor Albiero, Vladan Petrovic, Weiwei Chu, Wenhan Xiong, Wenyin Fu, Whitney Meers, Xavier Martinet, Xiaodong Wang, Xiaofang Wang, Xiaoqing Ellen Tan, Xide Xia, Xinfeng Xie, Xuchao Jia, Xuewei Wang, Yaelle Goldschlag, Yashesh Gaur, Yasmine Babaei, Yi Wen, Yiwen Song, Yuchen Zhang, Yue Li, Yuning Mao, Zacharie Delpierre Coudert, Zheng Yan, Zhengxing Chen, Zoe Papakipos, Aaditya Singh, Aayushi Srivastava, Abha Jain, Adam Kelsey, Adam Shajnfeld, Adithya Gangidi, Adolfo Victoria, Ahuva Goldstand, Ajay Menon, Ajay Sharma, Alex Boesenberg, Alexei Baevski, Allie Feinstein, Amanda Kallet, Amit Sangani, Amos Teo, Anam Yunus, Andrei Lupu, Andres Alvarado, Andrew Caples, Andrew Gu, Andrew Ho, Andrew Poulton, Andrew Ryan, Ankit Ramchandani, Annie Dong, Annie Franco, Anuj Goyal, Aparajita Saraf, Arkabandhu Chowdhury, Ashley Gabriel, Ashwin Bharambe, Assaf Eisenman, Azadeh Yazdan, Beau James, Ben Maurer, Benjamin Leonhardi, Bernie Huang, Beth Loyd, Beto De Paola, Bhargavi Paranjape, Bing Liu, Bo Wu, Boyu Ni, Braden Hancock, Bram Wasti, Brandon Spence, Brani Stojkovic, Brian Gamido, Britt Montalvo, Carl Parker, Carly Burton, Catalina Mejia, Ce Liu, Changhan Wang, Changkyu Kim, Chao Zhou, Chester Hu, Ching-Hsiang Chu, Chris Cai, Chris Tindal, Christoph Feichtenhofer, Cynthia Gao, Damon Civin, Dana Beaty, Daniel Kreymer, Daniel Li, David Adkins, David Xu, Davide Testuggine, Delia David, Devi Parikh, Diana Liskovich, Didem Foss, Dingkang Wang, Duc Le, Dustin Holland, Edward Dowling, Eissa Jamil, Elaine Montgomery, Eleonora Presani, Emily Hahn, Emily Wood, Eric-Tuan Le, Erik Brinkman, Esteban Arcaute, Evan Dunbar, Evan Smothers, Fei Sun, Felix Kreuk, Feng Tian, Filippos Kokkinos, Firat Ozgenel, Francesco Caggioni, Frank Kanayet, Frank Seide, Gabriela Medina Florez, Gabriella Schwarz, Gada Badeer, Georgia Swee, Gil Halpern, Grant Herman, Grigory Sizov, Guangyi, Zhang, Guna Lakshminarayanan, Hakan Inan, Hamid Shojanazeri, Han Zou, Hannah Wang, Hanwen Zha, Haroun Habeeb, Harrison Rudolph, Helen Suk, Henry Aspegren, Hunter Goldman, Hongyuan Zhan, Ibrahim Damlaj, Igor Molybog, Igor Tufanov, Ilias Leontiadis, Irina-Elena Veliche, Itai Gat, Jake Weissman, James Geboski, James Kohli, Janice Lam, Japhet Asher, Jean-Baptiste Gaya, Jeff Marcus, Jeff Tang, Jennifer Chan, Jenny Zhen, Jeremy Reizenstein, Jeremy Teboul, Jessica Zhong, Jian Jin, Jingyi Yang, Joe Cummings, Jon Carvill, Jon Shepard, Jonathan McPhie, Jonathan Torres, Josh Ginsburg, Junjie Wang, Kai Wu, Kam Hou U, Karan Saxena, Kartikay Khandelwal, Katayoun Zand, Kathy Matosich, Kaushik Veeraraghavan, Kelly Michelena, Keqian Li, Kiran Jagadeesh, Kun Huang, Kunal Chawla, Kyle Huang, Lailin Chen, Lakshya Garg, Lavender A, Leandro Silva, Lee Bell, Lei Zhang, Liangpeng Guo, Licheng Yu, Liron Moshkovich, Luca Wehrstedt, Madian Khabsa, Manav Avalani, Manish Bhatt, Martynas Mankus, Matan Hasson, Matthew Lennie, Matthias Reso, Maxim Groshev, Maxim Naumov, Maya Lathi, Meghan Keneally, Miao Liu, Michael L. Seltzer, Michal Valko, Michelle Restrepo, Mihir Patel, Mik Vyatskov, Mikayel Samvelyan, Mike Clark, Mike Macey, Mike Wang, Miquel Jubert Hermoso, Mo Metanat, Mohammad Rastegari, Munish Bansal, Nandhini Santhanam, Natascha Parks, Natasha White, Navyata Bawa, Nayan Singhal, Nick Egebo, Nicolas Usunier, Nikhil Mehta, Nikolay Pavlovich Laptev, Ning Dong, Norman Cheng, Oleg Chernoguz, Olivia Hart, Omkar Salpekar, Ozlem Kalinli, Parkin Kent, Parth Parekh, Paul Saab, Pavan Balaji, Pedro Rittner, Philip Bontrager, Pierre Roux, Piotr Dollar, Polina Zvyagina, Prashant Ratanchandani, British Yuvraj, Qian Liang, Rachad Alao, Rachel Rodriguez, Rafi Ayub, Raghotham Murthy, Raghu Nayani, Rahul Mitra, Rangaprabhu Parthasarathy, Raymond Li, Rebekkah Hogan, Robin Battey, Rocky Wang, Russ Howes, Ruty Rinott, Sachin Mehta, Sachin Siby, Sai Jayesh Bondu, Samyak Datta, Sara Chugh, Sara Hunt, Sargun Dhillon, Sasha Sidorov, Satadru Pan, Saurabh Mahajan, Saurabh Verma, Seiji Yamamoto, Sharadh Ramaswamy, Shaun Lindsay, Shaun Lindsay, Sheng Feng, Shenghao Lin, Shengxin Cindy Zha, Shishir Patil, Shiva Shankar, Shuqiang Zhang, Shuqiang Zhang, Sinong Wang, Sneha Agarwal, Soji Sajuyigbe, Soumith Chintala, Stephanie Max, Stephen Chen, Steve Kehoe, Steve Satterfield, Sudarshan Govindaprasad, Sumit Gupta, Summer Deng, Sungmin Cho, Sunny Virk, Suraj Subramanian, Sy Choudhury, Sydney Goldman, Tal Remez, Tamar Glaser, Tamara Best, Thilo Koehler, Thomas Robinson, Tianhe Li, Tianjun Zhang, Tim Matthews, Timothy Chou, Tzook Shaked, Varun Vontimitta, Victoria Ajayi, Victoria Montanez, Vijai Mohan, Vinay Satish Kumar, Vishal Mangla, Vlad Ionescu, Vlad Poenaru, Vlad Tiberiu Mihailescu, Vladimir Ivanov, Wei Li, Wenchen Wang, Wenwen Jiang, Wes Bouaziz, Will Constable, Xiaocheng Tang, Xiaojian Wu, Xiaolan Wang, Xilun Wu, Xinbo Gao, Yaniv
Kleinman, Yanjun Chen, Ye Hu, Ye Jia, Ye Qi, Yenda Li, Yilin Zhang, Ying Zhang, Yossi Adi, Youngjin Nam, Yu, Wang, Yu Zhao, Yuchen Hao, Yundi Qian, Yunlu Li, Yuzi He, Zach Rait, Zachary DeVito, Zef Rosnbrick, Zhaoduo Wen, Zhenyu Yang, Zhiwei Zhao, and Zhiyu Ma. The Llama 3 Herd of Models, November 2024. URL http://arxiv.org/abs/2407.21783. arXiv:2407.21783 [cs].
Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. MiniLLM: Knowledge Distillation of Large Language Models. International Conference on Representation Learning, 2024:32694–32717, May 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/8ac015d409635f196f9e3e9dcfb9a94e-Abstract-Conference.html.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring Massive Multitask Language Understanding. Proceedings of the International Conference on Learning Representations (ICLR), 2021.
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the Knowledge in a Neural Network, March 2015. URL http://arxiv.org/abs/1503.02531. arXiv:1503.02531 [stat].
Lu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang, Xiao Chen, and Qun Liu. DynaBERT: Dynamic BERT with Adaptive Width and Depth, 2020. URL https://arxiv.org/abs/2004.04037. _eprint: 2004.04037.
Ferenc Huszár. How (not) to Train your Generative Model: Scheduled Sampling, Likelihood, Adversary?, November 2015. URL https://arxiv.org/abs/1511.05101v1.
Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu. TinyBERT: Distilling BERT for Natural Language Understanding, 2020. URL https://arxiv.org/abs/1909.10351. _eprint: 1909.10351.
Matt Gardner Johannes Welbl, Nelson F. Liu. Crowdsourcing Multiple Choice Science Questions. In arXiv:1707.06209v1, 2017.
Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension, May 2017. URL http://arxiv.org/abs/1705.03551. arXiv:1705.03551 [cs].
Hyoje Lee, Yeachan Park, Hyun Seo, and Myungjoo Kang. Self-Knowledge Distillation via Dropout, 2022. URL https://arxiv.org/abs/2208.05642. _eprint: 2208.05642.
Chen Liang, Haoming Jiang, Zheng Li, Xianfeng Tang, Bin Yin, and Tuo Zhao. Homodistil: Homotopic task-agnostic distillation of pre-trained transformers. arXiv preprint arXiv:2302.09632, 2023a.
Chen Liang, Simiao Zuo, Qingru Zhang, Pengcheng He, Weizhu Chen, and Tuo Zhao. Less is more: task-aware layer-wise distillation for language model compression. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of ICML'23, pp. 20852–20867, Honolulu, Hawaii, USA, July 2023b. JMLR.org.
Jack Lindsey, Adly Templeton, Josiah Marcus, Tom Conerly, Joshua Batson, and Christopher Olah. Sparse Crosscoders for Cross-Layer Features and Model Diffing. Transformer Circuits Thread, 2024. URL https://transformer-circuits.pub/2024/crosscoders/index.html.
Jack Lindsey, Wes Gurnee, Emmanuel Ameisen, Brian Chen, Adam Pearce, Nicholas L. Turner, Craig Citro, David Abrahams, Shan Carter, Basil Hosmer, Jonathan Marcus, Michael Sklar, Adly Templeton, Trenton Bricken, Callum McDougall, Hoagy Cunningham, Thomas Henighan, Adam Jermyn, Andy Jones, Andrew Persic, Zhenyi Qi, T. Ben Thompson, Sam Zimmerman, Kelley Rivoire, Thomas Conerly, Chris Olah, and Joshua Batson. On the Biology of a Large Language Model. Transformer Circuits Thread, 2025. URL https://transformer-circuits.pub/2025/attribution-graphs/biology.html.
Meta AI. The Llama 4 herd: The beginning of a new era of natively multimodal AI innovation, April 2025. URL https://ai.meta.com/blog/llama-4-multimodal-intelligence/.
Neel Nanda and Joseph Bloom. TransformerLens, 2022. URL https://github.com/TransformerLensOrg/TransformerLens.
Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-GAN: Training Generative Neural Samplers using Variational Divergence Minimization, 2016. URL https://arxiv.org/abs/1606.00709. _eprint: 1606.00709.
Catherine Olsson, Nelson Elhage, Neel Nanda, Nicholas Joseph, Nova DasSarma, Tom Henighan, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Scott Johnston, Andy Jones, Jackson Kernion, Liane Lovitt, Kamal Ndousse, Dario Amodei, Tom Brown, Jack Clark, Jared Kaplan, Sam McCandlish, and Chris Olah. In-context Learning and Induction Heads, September 2022. URL http://arxiv.org/abs/2209.11895. arXiv:2209.11895.
OpenAI. Text generation, 2025. URL https://platform.openai.com/docs/guides/text.Published: OpenAI Platform Documentation.
Guilherme Penedo, Hynek Kydlíček, Loubna Ben allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, and Thomas Wolf. The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale, October 2024. URL http://arxiv.org/abs/2406.17557. arXiv:2406.17557 [cs].
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models are Unsupervised Multitask Learners. 2019.
Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. FitNets: Hints for Thin Deep Nets, 2015. URL https://arxiv.org/abs/1412.6550. _eprint: 1412.6550.
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. WinoGrande: An Adversarial Winograd Schema Challenge at Scale, 2019. URL https://arxiv.org/abs/1907.10641. _eprint: 1907.10641.
Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter, March 2020. URL http://arxiv.org/abs/1910.01108. arXiv:1910.01108 [cs].
Siqi Sun, Yu Cheng, Zhe Gan, and Jingjing Liu. Patient Knowledge Distillation for BERT Model Compression, 2019. URL https://arxiv.org/abs/1908.09355. _eprint: 1908.09355.
Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. Alpaca: A strong, replicable instruction-following model. Stanford Center for Research on Foundation Models. https://crfm.stanford.edu/2023/03/13/alpaca.html, 3(6):7, 2023.
Gemini Team, Rohan Anil, Sebastian Borgeaud, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M. Dai, Anja Hauth, Katie Millican, David Silver, Melvin Johnson, Ioannis Antonoglou, Julian Schrittwieser, Amelia Glaese, Jilin Chen, Emily Pitler, Timothy Lillicrap, Angeliki Lazaridou, Orhan Firat, James Molloy, Michael Isard, Paul R. Barham, Tom Hennigan, Benjamin Lee, Fabio Viola, Malcolm Reynolds, Yuanzhong Xu, Ryan Doherty, Eli Collins, Clemens Meyer, Eliza Rutherford, Erica Moreira, Kareem Ayoub, Megha Goel, Jack Krawczyk, Cosmo Du, Ed Chi, Heng-Tze Cheng, Eric Ni, Purvi Shah, Patrick Kane, Betty Chan, Manaal Faruqui, Aliaksei Severyn, Hanzhao Lin, YaGuang Li, Yong Cheng, Abe Ittycheriah, Mahdis Mahdieh, Mia Chen, Pei Sun, Dustin Tran, Sumit Bagri, Balaji Lakshminarayanan, Jeremiah Liu, Andras Orban, Fabian Güra, Hao Zhou, Xinying Song, Aurelien Boffy, Harish Ganapathy, Steven Zheng, HyunJeong Choe, Ágoston Weisz, Tao Zhu, Yifeng Lu, Siddharth Gopal, Jarrod Kahn, Maciej Kula, Jeff Pitman, Rushin Shah, Emanuel Taropa, Majd Al Merey, Martin Baeuml, Zhifeng Chen, Laurent El Shafey, Yujing Zhang, Olcan Sercinoglu, George Tucker, Enrique Piqueras, Maxim Krikun, Iain Barr, Nikolay Savinov, Ivo Danihelka, Becca Roelofs, Anaïs White,
Anders Andreassen, Tamara von Glehn, Lakshman Yagati, Mehran Kazemi, Lucas Gonzalez, Misha Khalman, Jakub Sygnowski, Alexandre Frechette, Charlotte Smith, Laura Culp, Lev Proleev, Yi Luan, Xi Chen, James Lottes, Nathan Schucher, Federico Lebron, Alban Rrustemi, Natalie Clay, Phil Crone, Tomas Kocisky, Jeffrey Zhao, Bartek Perz, Dian Yu, Heidi Howard, Adam Bloniarz, Jack W. Rae, Han Lu, Laurent Sifre, Marcello Maggioni, Fred Alcober, Dan Garrette, Megan Barnes, Shantanu Thakoor, Jacob Austin, Gabriel Barth-Maron, William Wong, Rishabh Joshi, Rahma Chaabouni, Deeni Fatiha, Arun Ahuja, Gaurav Singh Tomar, Evan Senter, Martin Chadwick, Ilya Kornakov, Nithya Attaluri, Iñaki Iturrate, Ruibo Liu, Yunxuan Li, Sarah Cogan, Jeremy Chen, Chao Jia, Chenjie Gu, Qiao Zhang, Jordan Grimstad, Ale Jakse Hartman, Xavier Garcia, Thanumalayan Sankaranarayana Pillai, Jacob Devlin, Michael Laskin, Diego de Las Casas, Dasha Valter, Connie Tao, Lorenzo Blanco, Adrià Puigdomènech Badia, David Reitter, Mianna Chen, Jenny Brennan, Clara Rivera, Sergey Brin, Shariq Iqbal, Gabriela Surita, Jane Labanowski, Abhi Rao, Stephanie Winkler, Emilio Parisotto, Yiming Gu, Kate Olszewska, Ravi Addanki, Antoine Miech, Annie Louis, Denis Teplyashin, Geoff Brown, Elliot Catt, Jan Balaguer, Jackie Xiang, Pidong Wang, Zoe Ashwood, Anton Briukhov, Albert Webson, Sanjay Gana-pathy, Smit Sanghavi, Ajay Kannan, Ming-Wei Chang, Axel Stjerngren, Josip Djolonga, Yuting Sun, Ankur Bapna, Matthew Aitchison, Pedram Pejman, Henryk Michalewski, Tianhe Yu, Cindy Wang, Juliette Love, Junwhan Ahn, Dawn Bloxwich, Kehang Han, Peter Humphreys, Thibault Sellam, James Bradbury, Varun Godbole, Sina Samangooei, Bogdan Damoc, Alex Kaskasoli, Sébastien M. R. Arnold, Vijay Vasudevan, Shubham Agrawal, Jason Riesa, Dmitry Lepikhin, Richard Tanburn, Srivatsan Srinivasan, Hyeontaek Lim, Sarah Hodkinson, Pranav Shyam, Johan Ferret, Steven Hand, Ankush Garg, Tom Le Paine, Jian Li, Yujia Li, Minh Giang, Alexander Neitz, Zaheer Abbas, Sarah York, Machel Reid, Elizabeth Cole, Aakanksha Chowdhery, Dipanjan Das, Dominika Rogozińska, Vitaliy Nikolaev, Pablo Sprechmann, Zachary Nado, Lukas Zilka, Flavien Prost, Luheng He, Marianne Monteiro, Gaurav Mishra, Chris Welty, Josh Newlan, Dawei Jia, Miltiadis Allamanis, Clara Huiyi Hu, Raoul de Liedekerke, Justin Gilmer, Carl Saroufim, Shruti Rijhwani, Shaobo Hou, Disha Shrivastava, Anirudh Baddepudi, Alex Goldin, Adnan Ozturel, Albin Cassirer, Yunhan Xu, Daniel Sohn, Devendra Sachan, Reinald Kim Amplayo, Craig Swanson, Dessie Petrova, Shashi Narayan, Arthur Guez, Siddhartha Brahma, Jessica Landon, Miteyan Patel, Ruizhe Zhao, Kevin Villela, Luyu Wang, Wenhao Jia, Matthew Rahtz, Mai Giménez, Legg Yeung, James Keeling, Petko Georgiev, Diana Mincu, Boxi Wu, Salem Haykal, Rachel Saputro, Kiran Vodrahalli, James Qin, Zeynep Cankara, Abhanshu Sharma, Nick Fernando, Will Hawkins, Behnam Neyshabur, Solomon Kim, Adrian Hutter, Priyanka Agrawal, Alex Castro-Ros, George van den Driessche, Tao Wang, Fan Yang, Shuo-yiin Chang, Paul Komarek, Ross McIlroy, Mario Lučić, Guodong Zhang, Wael Farhan, Michael Sharman, Paul Natsev, Paul Michel, Yamini Bansal, Siyuan Qiao, Kris Cao, Siamak Shakeri, Christina Butterfield, Justin Chung, Paul Kishan Rubenstein, Shivani Agrawal, Arthur Mensch, Kedar Soparkar, Karel Lenc, Timothy Chung, Aedan Pope, Loren Maggiore, Jackie Kay, Priya Jhakra, Shibo Wang, Joshua Maynez, Mary Phuong, Taylor Tobin, Andrea Tacchetti, Maja Trebacz, Kevin Robinson, Yash Katariya, Sebastian Riedel, Paige Bailey, Kefan Xiao, Nimesh Ghelani, Lora Aroyo, Ambrose Slone, Neil Houlsby, Xuehan Xiong, Zhen Yang, Elena Gribovskaya, Jonas Adler, Mateo Wirth, Lisa Lee, Music Li, Thais Kagohara, Jay Pavagadhi, Sophie Bridgers, Anna Bortsova, Sanjay Ghemawat, Zafarali Ahmed, Tianqi Liu, Richard Powell, Vijay Bolina, Mariko Linuma, Polina Zablotskaia, James Besley, Da-Woon Chung, Timothy Dozat, Ramona Comanescu, Xiance Si, Jeremy Greer, Guolong Su, Martin Polacek, Raphaël Lopez Kaufman, Simon Tokumine, Hexiang Hu, Elena Buchatskaya, Yingjie Miao, Mohamed Elhawaty, Aditya Siddhant, Nenad Tomasev, Jinwei Xing, Christina Greer, Helen Miller, Shereen Ashraf, Aurko Roy, Zizhao Zhang, Ada Ma, Angelos Filos, Milos Besta, Rory Blevins, Ted Klimenko, Chih-Kuan Yeh, Soravit Changpinyo, Jiaqi Mu, Oscar Chang, Mantas Pajarskas, Carrie Muir, Vered Cohen, Charline Le Lan, Krishna Haridasan, Amit Marathe, Steven Hansen, Sholto Douglas, Rajkumar Samuel, Mingqiu Wang, Sophia Austin, Chang Lan, Jiepu Jiang, Justin Chiu, Jaime Alonso Lorenzo, Lars Lowe Sjölund, Sébastien Cevey, Zach Gleicher, Thi Avrahami, Anudhyan Boral, Hansa Srinivasan, Vittorio Selo, Rhys May, Konstantinos Aisopos, Léonard Hussenot, Livio Baldini Soares, Kate Baumli, Michael B. Chang, Adrià Recasens, Ben Caine, Alexander Pritzel, Filip Pavetic, Fabio Pardo, Anita Gergely, Justin Frye, Vinay Ramasesh, Dan Horgan, Kartikeya Badola, Nora Kassner,
Subhrajit Roy, Ethan Dyer, Víctor Campos Campos, Alex Tomala, Yunhao Tang, Dalia El Badawy, Elspeth White, Basil Mustafa, Oran Lang, Abhishek Jindal, Sharad Vikram, Zhitao Gong, Sergi Caelles, Ross Hemsley, Gregory Thornton, Fangxiaoyu Feng, Wojciech Stokowiec, Ce Zheng, Phoebe Thacker, Çağlar Ünlü, Zhishuai Zhang, Mohammad Saleh, James Svensson, Max Bileschi, Piyush Patil, Ankesh Anand, Roman Ring, Katerina Tsihlas, Arpi Vezer, Marco Selvi, Toby Shevlane, Mikel Rodriguez, Tom Kwiatkowski, Samira Daruki, Keran Rong, Allan Dafoe, Nicholas FitzGerald, Keren Gu-Lemberg, Mina Khan, Lisa Anne Hendricks, Marie Pellat, Vladimir Feinberg, James Cobon-Kerr, Tara Sainath, Maribeth Rauh, Sayed Hadi Hashemi, Richard Ives, Yana Hasson, Eric Noland, Yuan Cao, Nathan Byrd, Le Hou, Qingze Wang, Thibault Sottiaux, Michela Paganini, Jean-Baptiste Lespiau, Alexandre Moufarek, Samer Hassan, Kaushik Shivakumar, Joost van Amersfoort, Amol Mandhane, Pratik Joshi, Anirudh Goyal, Matthew Tung, Andrew Brock, Hannah Sheahan, Vedant Misra, Cheng Li, Nemanja Rakićević, Mostafa Dehghani, Fangyu Liu, Sid Mittal, Junhyuk Oh, Seb Noury, Eren Sezener, Fantine Huot, Matthew Lamm, Nicola De Cao, Charlie Chen, Sidharth Mudgal, Romina Stella, Kevin Brooks, Gautam Vasudevan, Chenxi Liu, Mainak Chain, Nivedita Melinkeri, Aaron Cohen, Venus Wang, Kristie Seymore, Sergey Zubkov, Rahul Goel, Summer Yue, Sai Krishnakumaran, Brian Albert, Nate Hurley, Motoki Sano, Anhad Mohananey, Jonah Joughin, Egor Filonov, Tomasz Kepa, Yomna Eldawy, Jiawern Lim, Rahul Rishi, Shirin Badiezadegan, Taylor Bos, Jerry Chang, Sanil Jain, Sri Gayatri Sundara Padmanabhan, Subha Puttagunta, Kalpesh Krishna, Leslie Baker, Norbert Kalb, Vamsi Bedapudi, Adam Kurzrok, Shuntong Lei, Anthony Yu, Oren Litvin, Xiang Zhou, Zhichun Wu, Sam Sobell, Andrea Siciliano, Alan Papir, Robby Neale, Jonas Bragagnolo, Tej Toor, Tina Chen, Valentin Anklin, Feiran Wang, Richie Feng, Milad Gholami, Kevin Ling, Lijuan Liu, Jules Walter, Hamid Moghaddam, Arun Kishore, Jakub Adamek, Tyler Mercado, Jonathan Mallinson, Siddhinita Wandekar, Stephen Cagle, Eran Ofek, Guillermo Garrido, Clemens Lombriser, Maksim Mukha, Botu Sun, Hafeezul Rahman Mohammad, Josip Matak, Yadi Qian, Vikas Peswani, Pawel Janus, Quan Yuan, Leif Schelin, Oana David, Ankur Garg, Yifan He, Oleksii Duzhyi, Anton Algmyr, Timothée Lottaz, Qi Li, Vikas Yadav, Luyao Xu, Alex Chinien, Rakesh Shivanna, Aleksandr Chuklin, Josie Li, Carrie Spadine, Travis Wolfe, Kareem Mohamed, Subhabrata Das, Zihang Dai, Kyle He, Daniel von Dincklage, Shyam Upadhyay, Akanksha Maurya, Luyan Chi, Sebastian Krause, Khalid Salama, Pam G. Rabinovitch, Pavan Kumar Reddy M, Aarush Selvan, Mikhail Dektiarev, Golnaz Ghiasi, Erdem Guven, Himanshu Gupta, Boyi Liu, Deepak Sharma, Idan Heimlich Shtacher, Shachi Paul, Oscar Akerlund, François-Xavier Aubet, Terry Huang, Chen Zhu, Eric Zhu, Elico Teixeira, Matthew Fritze, Francesco Bertolini, Liana-Eleonora Marinescu, Martin Bölle, Dominik Paulus, Khyatti Gupta, Tejasi Latkar, Max Chang, Jason Sanders, Roopa Wilson, Xuewei Wu, Yi-Xuan Tan, Lam Nguyen Thiet, Tulsee Doshi, Sid Lall, Swaroop Mishra, Wanming Chen, Thang Luong, Seth Benjamin, Jasmine Lee, Ewa Andrejczuk, Dominik Rabiej, Vipul Ranjan, Krzysztof Styrc, Pengcheng Yin, Jon Simon, Malcolm Rose Harriott, Mudit Bansal, Alexei Robsky, Geoff Bacon, David Greene, Daniil Mirylenka, Chen Zhou, Obaid Sarvana, Abhimanyu Goyal, Samuel Andermatt, Patrick Siegler, Ben Horn, Assaf Israel, Francesco Pongetti, Chih-Wei "Louis" Chen, Marco Selvatici, Pedro Silva, Kathie Wang, Jackson Tolins, Kelvin Guu, Roey Yogev, Xiaochen Cai, Alessandro Agostini, Maulik Shah, Hung Nguyen, Noah Ó Donnaile, Sébastien Pereira, Linda Friso, Adam Stambler, Adam Kurzrok, Chenkai Kuang, Yan Romanikhin, Mark Geller, Z. J. Yan, Kane Jang, Cheng-Chun Lee, Wojciech Fica, Eric Malmi, Qijun Tan, Dan Banica, Daniel Balle, Ryan Pham, Yanping Huang, Diana Avram, Hongzhi Shi, Jasjot Singh, Chris Hidey, Niharika Ahuja, Pranab Saxena, Dan Dooley, Srividya Pranavi Potharaju, Eileen O'Neill, Anand Gokulchandran, Ryan Foley, Kai Zhao, Mike Dusenberry, Yuan Liu, Pulkit Mehta, Ragha Kotikalapudi, Chalice Safranek-Shrader, Andrew Goodman, Joshua Kessinger, Eran Globen, Prateek Kolhar, Chris Gorgolewski, Ali Ibrahim, Yang Song, Ali Eichenbaum, Thomas Brovelli, Sahitya Potluri, Preethi Lahoti, Cip Baetu, Ali Ghorbani, Charles Chen, Andy Crawford, Shalini Pal, Mukund Sridhar, Petru Gurita, Asier Mujika, Igor Petrovski, Pierre-Louis Cedoz, Chenmei Li, Shiyuan Chen, Niccolò Dal Santo, Siddharth Goyal, Jitesh Punjabi, Karthik Kappaganthu, Chester Kwak, Pallavi LV, Sarmishta Velury, Himadri Choudhury, Jamie Hall, Premal Shah, Ricardo Figueira, Matt Thomas, Minjie Lu, Ting Zhou, Chintu Kumar, Thomas Jurdi, Sharat Chikkerur, Yenai Ma, Adams Yu, Soo Kwak, Victor Åhdel,
Sujeevan Rajayogam, Travis Choma, Fei Liu, Aditya Barua, Colin Ji, Ji Ho Park, Vincent Hellendoorn, Alex Bailey, Taylan Bilal, Huanjie Zhou, Mehrdad Khatir, Charles Sutton, Wojciech Rzadkowski, Fiona Macintosh, Roopali Vij, Konstantin Shagin, Paul Medina, Chen Liang, Jinjing Zhou, Pararth Shah, Yingying Bi, Attila Dankovics, Shipra Banga, Sabine Lehmann, Marissa Bredesen, Zifan Lin, John Eric Hoffmann, Jonathan Lai, Raynald Chung, Kai Yang, Nihal Balani, Arthur Bražinskas, Andrei Sozanschi, Matthew Hayes, Héctor Fernández Alcalde, Peter Makarov, Will Chen, Antonio Stella, Liselotte Snijders, Michael Mandl, Ante Kärrman, Paweł Nowak, Xinyi Wu, Alex Dyck, Krishnan Vaidyanathan, Raghavender R, Jessica Mallet, Mitch Rudominer, Eric Johnston, Sushil Mittal, Akhil Udathu, Janara Christensen, Vishal Verma, Zach Irving, Andreas Santucci, Gamaleldin Elsayed, Elnaz Davoodi, Marin Georgiev, Ian Tenney, Nan Hua, Geoffrey Cideron, Edouard Leurent, Mahmoud Alnahlawi, Ionut Georgescu, Nan Wei, Ivy Zheng, Dylan Scandinaro, Heinrich Jiang, Jasper Snoek, Mukund Sundararajan, Xuezhi Wang, Zack Ontiveros, Itay Karo, Jeremy Cole, Vinu Rajashekhar, Lara Tumeh, Eyal Ben-David, Rishub Jain, Jonathan Uesato, Romina Datta, Oskar Bunyan, Shimu Wu, John Zhang, Piotr Stanczyk, Ye Zhang, David Steiner, Subhajit Naskar, Michael Azzam, Matthew Johnson, Adam Paszke, Chung-Cheng Chiu, Jaume Sanchez Elias, Afroz Mohiuddin, Faizan Muhammad, Jin Miao, Andrew Lee, Nino Vieillard, Jane Park, Jiageng Zhang, Jeff Stanway, Drew Garmon, Abhijit Karmarkar, Zhe Dong, Jong Lee, Aviral Kumar, Luowei Zhou, Jonathan Evens, William Isaac, Geoffrey Irving, Edward Loper, Michael Fink, Isha Arkatkar, Nanxin Chen, Izhak Shafran, Ivan Petrychenko, Zhe Chen, Johnson Jia, Anselm Levskaya, Zhenkai Zhu, Peter Grabowski, Yu Mao, Alberto Magni, Kaisheng Yao, Javier Snaider, Norman Casagrande, Evan Palmer, Paul Suganthan, Alfonso Castaño, Irene Giannoumis, Wooyeol Kim, Mikołaj Rybiński, Ashwin Sreevatsa, Jennifer Prendki, David Soergel, Adrian Goedeckemeyer, Willi Gierke, Mohsen Jafari, Meenu Gaba, Jeremy Wiesner, Diana Gage Wright, Yawen Wei, Harsha Vashisht, Yana Kulizhskaya, Jay Hoover, Maigo Le, Lu Li, Chimezie Iwuanyanwu, Lu Liu, Kevin Ramirez, Andrey Khorlin, Albert Cui, Tian LIN, Marcus Wu, Ricardo Aguilar, Keith Pallo, Abhishek Chakladar, Ginger Perng, Elena Allica Abellan, Mingyang Zhang, Ishita Dasgupta, Nate Kushman, Ivo Penchev, Alena Repina, Xihui Wu, Tom van der Weide, Priya Ponnapalli, Caroline Kaplan, Jiri Simsa, Shuangfeng Li, Olivier Dousse, Fan Yang, Jeff Piper, Nathan Ie, Rama Pasumarthi, Nathan Lintz, Anitha Vijayakumar, Daniel Andor, Pedro Valenzuela, Minnie Lui, Cosmin Paduraru, Daiyi Peng, Katherine Lee, Shuyuan Zhang, Somer Greene, Duc Dung Nguyen, Paula Kurylowicz, Cassidy Hardin, Lucas Dixon, Lili Janzer, Kiam Choo, Ziqiang Feng, Biao Zhang, Achintya Singhal, Dayou Du, Dan McKinnon, Natasha Antropova, Tolga Bolukbasi, Orgad Keller, David Reid, Daniel Finchelstein, Maria Abi Raad, Remi Crocker, Peter Hawkins, Robert Dadashi, Colin Gaffney, Ken Franko, Anna Bulanova, Rémi Leblond, Shirley Chung, Harry Askham, Luis C. Cobo, Kelvin Xu, Felix Fischer, Jun Xu, Christina Sorokin, Chris Alberti, Chu-Cheng Lin, Colin Evans, Alek Dimitriev, Hannah Forbes, Dylan Banarse, Zora Tung, Mark Omernick, Colton Bishop, Rachel Sterneck, Rohan Jain, Jiawei Xia, Ehsan Amid, Francesco Piccinno, Xingyu Wang, Praseem Banzal, Daniel J. Mankowitz, Alex Polozov, Victoria Krakovna, Sasha Brown, MohammadHossein Bateni, Dennis Duan, Vlad Firoiu, Meghana Thotakuri, Tom Natan, Matthieu Geist, Ser tan Girgin, Hui Li, Jiayu Ye, Ofir Roval, Reiko Tojo, Michael Kwong, James Lee-Thorp, Christopher Yew, Danila Sinopalnikov, Sabela Ramos, John Mellor, Abhishek Sharma, Kathy Wu, David Miller, Nicolas Sonnerat, Denis Vnukov, Rory Greig, Jennifer Beattie, Emily Caveness, Libin Bai, Julian Eisenschlos, Alex Korchemniy, Tomy Tsai, Mimi Jasarevic, Weize Kong, Phuong Dao, Zeyu Zheng, Frederick Liu, Fan Yang, Rui Zhu, Tian Huey Teh, Jason Sanmiya, Evgeny Gladchenko, Nejc Trdin, Daniel Toyama, Evan Rosen, Sasan Tavakkol, Linting Xue, Chen Elkind, Oliver Woodman, John Carpenter, George Papamakarios, Rupert Kemp, Sushant Kafle, Tanya Grunina, Rishika Sinha, Alice Talbert, Diane Wu, Denese Owusu-Afriyie, Cosmo Du, Chloe Thornton, Jordi Pont-Tuset, Pradyumna Narayana, Jing Li, Saaber Fatehi, John Wieting, Omar Ajmeri, Benigno Uria, Yeongil Ko, Laura Knight, Amélie Héliou, Ning Niu, Shane Gu, Chenxi Pang, Yeqing Li, Nir Levine, Ariel Stolovich, Rebeca Santamaria-Fernandez, Sonam Goenka, Wenny Yustalim, Robin Strudel, Ali Elqursh, Charlie Deck, Hyo Lee, Zonglin Li, Kyle Levin, Raphael Hoffmann, Dan Holtmann-Rice, Olivier Bachem, Sho Arora, Christy Koh, Soheil Hassas Yeganeh, Siim Pöder, Mukarram Tariq, Yanhua Sun, Lucian Ionita, Mojtaba Seyedhosseini, Pouya Tafti, Zhiyu Liu, Anmol Gulati, Jasmine Liu, Xinyu Ye,
Bart Chrzaszcz, Lily Wang, Nikhil Sethi, Tianrun Li, Ben Brown, Shreya Singh, Wei Fan, Aaron Parisi, Joe Stanton, Vinod Koverkathu, Christopher A. Choquette-Choo, Yunjie Li, T. J. Lu, Abe Ittycheriah, Prakash Shroff, Mani Varadarajan, Sanaz Bahargam, Rob Willoughby, David Gaddy, Guillaume Desjardins, Marco Cornero, Brona Robenek, Bhavishya Mittal, Ben Albrecht, Ashish Shenoy, Fedor Moiseev, Henrik Jacobsson, Alireza Ghaffarkhah, Morgane Rivière, Alanna Walton, Clément Crepy, Alicia Parrish, Zongwei Zhou, Clement Farabet, Carey Radebaugh, Praveen Srinivasan, Claudia van der Salm, Andreas Fidjeland, Salvatore Scellato, Eri Latorre-Chimoto, Hanna Klimczak-Plucińska, David Bridson, Dario de Cesare, Tom Hudson, Piermaria Mendolicchio, Lexi Walker, Alex Morris, Matthew Mauger, Alexey Guseynov, Alison Reid, Seth Odoom, Lucia Loher, Victor Cotruta, Madhavi Yenugula, Dominik Grewe, Anastasia Petrushkina, Tom Duerig, Antonio Sanchez, Steve Yadlowsky, Amy Shen, Amir Globerson, Lynette Webb, Sahil Dua, Dong Li, Surya Bhupatiraju, Dan Hurt, Haroon Qureshi, Ananth Agarwal, Tomer Shani, Matan Eyal, Anuj Khare, Shreyas Rammohan Belle, Lei Wang, Chetan Tekur, Mihir Sanjay Kale, Jinliang Wei, Ruoxin Sang, Brennan Saeta, Tyler Liechty, Yi Sun, Yao Zhao, Stephan Lee, Pandu Nayak, Doug Fritz, Manish Reddy Vuyyuru, John Aslanides, Nidhi Vyas, Martin Wicke, Xiao Ma, Evgenii Eltyshev, Nina Martin, Hardie Cate, James Manyika, Keyvan Amiri, Yelin Kim, Xi Xiong, Kai Kang, Florian Luisier, Nilesh Tripuraneni, David Madras, Mandy Guo, Austin Waters, Oliver Wang, Joshua Ainslie, Jason Baldridge, Han Zhang, Garima Pruthi, Jakob Bauer, Feng Yang, Riham Mansour, Jason Gelman, Yang Xu, George Polovets, Ji Liu, Honglong Cai, Warren Chen, XiangHai Sheng, Emily Xue, Sherjil Ozair, Christof Angermueller, Xiaowei Li, Anoop Sinha, Weiren Wang, Julia Wiesinger, Emmanouil Koukoumidis, Yuan Tian, Anand Iyer, Madhu Gurumurthy, Mark Goldenson, Parashar Shah, M. K. Blake, Hongkun Yu, Anthony Urbanowicz, Jennimaria Palomaki, Chrisantha Fernando, Ken Durden, Harsh Mehta, Nikola Momchev, Elahe Rahimtoroghi, Maria Georgaki, Amit Raul, Sebastian Ruder, Morgan Redshaw, Jinhyuk Lee, Denny Zhou, Komal Jalan, Dinghua Li, Blake Hechtman, Parker Schuh, Milad Nasr, Kieran Milan, Vladimir Mikulik, Juliana Franco, Tim Green, Nam Nguyen, Joe Kelley, Aroma Mahendru, Andrea Hu, Joshua Howland, Ben Vargas, Jeffrey Hui, Kshitij Bansal, Vikram Rao, Rakesh Ghiya, Emma Wang, Ke Ye, Jean Michel Sarr, Melanie Moranski Preston, Madeleine Elish, Steve Li, Aakash Kaku, Jigar Gupta, Ice Pasupat, Da-Cheng Juan, Milan Someswar, Tejvi M, Xinyun Chen, Aida Amini, Alex Fabrikant, Eric Chu, Xuanyi Dong, Amruta Muthal, Senaka Buthpitiya, Sarthak Jauhari, Nan Hua, Urvashi Khandelwal, Ayal Hitron, Jie Ren, Larissa Rinaldi, Shahar Drath, Avigail Dabush, Nan-Jiang Jiang, Harshal Godhia, Uli Sachs, Anthony Chen, Yicheng Fan, Hagai Taitelbaum, Hila Noga, Zhuyun Dai, James Wang, Chen Liang, Jenny Hamer, Chun-Sung Ferng, Chenel Elkind, Aviel Atias, Paulina Lee, Vít Listik, Mathias Carlen, Jan van de Kerkhof, Marcin Pikus, Krunoslav Zaher, Paul Müller, Sasha Zykova, Richard Stefanec, Vitaly Gatsko, Christoph Hirnschall, Ashwin Sethi, Xingyu Federico Xu, Chetan Ahuja, Beth Tsai, Anca Stefanoiu, Bo Feng, Keshav Dhandhania, Manish Katyal, Akshay Gupta, Atharva Parulekar, Divya Pitta, Jing Zhao, Vivaan Bhatia, Yashodha Bhavnani, Omar Alhadlaq, Xiaolin Li, Peter Danenberg, Dennis Tu, Alex Pine, Vera Filippova, Abhipso Ghosh, Ben Limonchik, Bhargava Urala, Chaitanya Krishna Lanka, Derik Clive, Yi Sun, Edward Li, Hao Wu, Kevin Hongtongsak, Ianna Li, Kalind Thakkar, Kuanysh Omarov, Kushal Majmundar, Michael Alverson, Michael Kucharski, Mohak Patel, Mudit Jain, Maksim Zabelin, Paolo Pelagatti, Rohan Kohli, Saurabh Kumar, Joseph Kim, Swetha Sankar, Vineet Shah, Lakshmi Ramachandruni, Xiangkai Zeng, Ben Bariach, Laura Weidinger, Tu Vu, Alek Andreev, Antoine He, Kevin Hui, Sheleem Kashem, Amar Subramanya, Sissie Hsiao, Demis Hassabis, Koray Kavukcuoglu, Adam Sadovsky, Quoc Le, Trevor Strohman, Yonghui Wu, Slav Petrov, Jeffrey Dean, and Oriol Vinyals. Gemini: A Family of Highly Capable Multimodal Models, May 2025a. URL http://arxiv.org/abs/2312.11805. arXiv:2312.11805 [cs].
Gemma Team, Aishwarya Kamath, Johan Ferret, Shreya Pathak, Nino Vieillard, Ramona Merhej, Sarah Perrin, Tatiana Matejovicova, Alexandre Ramé, Morgane Rivière, Louis Rouillard, Thomas Mesnard, Geoffrey Cideron, Jean-bastien Grill, Sabela Ramos, Edouard Yvinec, Michelle Casbon, Etienne Pot, Ivo Penchev, Gaël Liu, Francesco Visin, Kathleen Kenealy, Lucas Beyer, Xiaohai Zhai, Anton Tsitsulin, Robert Busa-Fekete, Alex Feng, Noveen Sachdeva, Benjamin Coleman, Yi Gao, Basil Mustafa, Iain Barr, Emilio Parisotto, David Tian, Matan Eyal, Colin Cherry, Jan-Thorsten Peter, Danila Sinopalnikov, Surya
Bhupatiraju, Rishabh Agarwal, Mehran Kazemi, Dan Malkin, Ravin Kumar, David Villar, Idan Brusilovsky, Jiaming Luo, Andreas Steiner, Abe Friesen, Abhanshu Sharma, Abheesht Sharma, Adi Mayrav Gilady, Adrian Goedeckemeyer, Alaa Saade, Alex Feng, Alexander Kolesnikov, Alexei Bendebury, Alvin Abdagic, Amit Vadi, András György, André Susano Pinto, Anil Das, Ankur Bapna, Antoine Miech, Antoine Yang, Antonia Paterson, Ashish Shenoy, Ayan Chakrabarti, Bilal Piot, Bo Wu, Bobak Shahriari, Bryce Petrini, Charlie Chen, Charline Le Lan, Christopher A. Choquette-Choo, C. J. Carey, Cormac Brick, Daniel Deutsch, Danielle Eisenbud, Dee Cattle, Derek Cheng, Dimitris Paparas, Divyashree Shivakumar Sreepathihalli, Doug Reid, Dustin Tran, Dustin Zelle, Eric Noland, Erwin Huizenga, Eugene Kharitonov, Frederick Liu, Gagik Amirkhanyan, Glenn Cameron, Hadi Hashemi, Hanna Klimczak-Plucińska, Harman Singh, Harsh Mehta, Harshal Tushar Lehri, Hussein Hazimeh, Ian Ballantyne, Idan Szpektor, Ivan Nardini, Jean Pouget-Abadie, Jetha Chan, Joe Stanton, John Wieting, Jonathan Lai, Jordi Orbay, Joseph Fernandez, Josh Newlan, Ju-yeong Ji, Jyotinder Singh, Kat Black, Kathy Yu, Kevin Hui, Kiran Vodrahalli, Klaus Greff, Linhai Qiu, Marcella Valentine, Marina Coelho, Marvin Ritter, Matt Hoffman, Matthew Watson, Mayank Chaturvedi, Michael Moynihan, Min Ma, Nabila Babar, Natasha Noy, Nathan Byrd, Nick Roy, Nikola Momchev, Nilay Chauhan, Noveen Sachdeva, Oskar Bunyan, Pankil Botarda, Paul Caron, Paul Kishan Rubenstein, Phil Culliton, Philipp Schmid, Pier Giuseppe Sessa, Pingmei Xu, Piotr Stanczyk, Pouya Tafti, Rakesh Shivanna, Renjie Wu, Renke Pan, Reza Rokni, Rob Willoughby, Rohith Vallu, Ryan Mullins, Sammy Jerome, Sara Smoot, Sertan Girgin, Shariq Iqbal, Shashir Reddy, Shruti Sheth, Siim Pöder, Sijal Bhatnagar, Sindhu Raghuram Panyam, Sivan Eiger, Susan Zhang, Tianqi Liu, Trevor Yacovone, Tyler Liechty, Uday Kalra, Utku Evci, Vedant Misra, Vincent Roseberry, Vlad Feinberg, Vlad Kolesnikov, Woohyun Han, Woosuk Kwon, Xi Chen, Yinlam Chow, Yuvein Zhu, Zichuan Wei, Zoltan Egyed, Victor Cotruta, Minh Giang, Phoebe Kirk, Anand Rao, Kat Black, Nabila Babar, Jessica Lo, Erica Moreira, Luiz Gustavo Martins, Omar Sanseviero, Lucas Gonzalez, Zach Gleicher, Tris Warkentin, Vahab Mirrokni, Evan Senter, Eli Collins, Joelle Barral, Zoubin Ghahramani, Raia Hadsell, Yossi Matias, D. Sculley, Slav Petrov, Noah Fiedel, Noam Shazeer, Oriol Vinyals, Jeff Dean, Demis Hassabis, Koray Kavukcuoglu, Clement Farabet, Elena Buchatskaya, Jean-Baptiste Alayrac, Rohan Anil, Dmitry, Lepikhin, Sebastian Borgeaud, Olivier Bachem, Armand Joulin, Alek Andreev, Cassidy Hardin, Robert Dadashi, and Léonard Hussenot. Gemma 3 Technical Report, March 2025b. URL http://arxiv.org/abs/2503.19786. arXiv:2503.19786 [cs].
Kimi Team, Yifan Bai, Yiping Bao, Guanduo Chen, Jiahao Chen, Ningxin Chen, Ruijue Chen, Yanru Chen, Yuankun Chen, Yutian Chen, Zhuofu Chen, Jialei Cui, Hao Ding, Mengnan Dong, Angang Du, Chenzhuang Du, Dikang Du, Yulun Du, Yu Fan, Yichen Feng, Kelin Fu, Bofei Gao, Hongcheng Gao, Peizhong Gao, Tong Gao, Xinran Gu, Longyu Guan, Haiqing Guo, Jianhang Guo, Hao Hu, Xiaoru Hao, Tianhong He, Weiran He, Wenyang He, Chao Hong, Yangyang Hu, Zhenxing Hu, Weixiao Huang, Zhiqi Huang, Zihao Huang, Tao Jiang, Zhejun Jiang, Xinyi Jin, Yongsheng Kang, Guokun Lai, Cheng Li, Fang Li, Haoyang Li, Ming Li, Wentao Li, Yanhao Li, Yiwei Li, Zhaowei Li, Zheming Li, Hongzhan Lin, Xiaohan Lin, Zongyu Lin, Chengyin Liu, Chenyu Liu, Hongzhang Liu, Jingyuan Liu, Junqi Liu, Liang Liu, Shaowei Liu, T. Y. Liu, Tianwei Liu, Weizhou Liu, Yangyang Liu, Yibo Liu, Yiping Liu, Yue Liu, Zhengying Liu, Enzhe Lu, Lijun Lu, Shengling Ma, Xinyu Ma, Yingwei Ma, Shaoguang Mao, Jie Mei, Xin Men, Yibo Miao, Siyuan Pan, Yebo Peng, Ruoyu Qin, Bowen Qu, Zeyu Shang, Lidong Shi, Shengyuan Shi, Feifan Song, Jianlin Su, Zhengyuan Su, Xinjie Sun, Flood Sung, Heyi Tang, Jiawen Tao, Qifeng Teng, Chensi Wang, Dinglu Wang, Feng Wang, Haiming Wang, Jianzhou Wang, Jiaxing Wang, Jinhong Wang, Shengjie Wang, Shuyi Wang, Yao Wang, Yejie Wang, Yiqin Wang, Yuxin Wang, Yuzhi Wang, Zhaoji Wang, Zhengtao Wang, Zhexu Wang, Chu Wei, Qianqian Wei, Wenhao Wu, Xingzhe Wu, Yuxin Wu, Chenjun Xiao, Xiaotong Xie, Weimin Xiong, Boyu Xu, Jing Xu, Jinjing Xu, L. H. Xu, Lin Xu, Suting Xu, Weixin Xu, Xinran Xu, Yangchuan Xu, Ziyao Xu, Junjie Yan, Yuzi Yan, Xiaofei Yang, Ying Yang, Zhen Yang, Zhilin Yang, Zonghan Yang, Haotian Yao, Xingcheng Yao, Wenjie Ye, Zhuorui Ye, Bohong Yin, Longhui Yu, Enming Yuan, Hongbang Yuan, Mengjie Yuan, Haobing Zhan, Dehao Zhang, Hao Zhang, Wanlu Zhang, Xiaobin Zhang, Yangkun Zhang, Yizhi Zhang, Yongting Zhang, Yu Zhang, Yutao Zhang, Yutong Zhang, Zheng Zhang, Haotian Zhao,
Yikai Zhao, Huabin Zheng, Shaojie Zheng, Jianren Zhou, Xinyu Zhou, Zaida Zhou, Zhen Zhu, Weiyu Zhuang, and Xinxing Zu. Kimi K2: Open Agentic Intelligence, July 2025c. URL http://arxiv.org/abs/2507.20534. arXiv:2507.20534 [cs].
Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, Hoagy Cunningham, Nicholas L Turner, Callum McDougall, Monte MacDiarmid, C. Daniel Freeman, Theodore R. Sumers, Edward Rees, Joshua Batson, Adam Jermyn, Shan Carter, Chris Olah, and Tom Henighan. Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet. Transformer Circuits Thread, 2024. URL https://transformer-circuits.pub/2024/scaling-monosemanticity/index.html.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is All you Need. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html.
Kevin Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small, November 2022. URL http://arxiv.org/abs/2211.00593. arXiv:2211.00593 [cs].
Yuqiao Wen, Zichao Li, Wenyu Du, and Lili Mou. f-Divergence Minimization for Sequence-Level Knowledge Distillation. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 10817–10834, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.605. URL https://aclanthology.org/2023.acl-long.605/.
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. HuggingFace's Transformers: State-of-the-art Natural Language Processing, October 2019. URL https://arxiv.org/abs/1910.03771v5.
Xiaohan Xu, Ming Li, Chongyang Tao, Tao Shen, Reynold Cheng, Jinyang Li, Can Xu, Dacheng Tao, and Tianyi Zhou. A Survey on Knowledge Distillation of Large Language Models, October 2024. URL http://arxiv.org/abs/2402.13116. arXiv:2402.13116 [cs].
Chuanpeng Yang, Yao Zhu, Wang Lu, Yidong Wang, Qian Chen, Chenlong Gao, Bingjie Yan, and Yiqiang Chen. Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Application. ACM Trans. Intell. Syst. Technol., October 2024. ISSN 2157-6904. doi: 10.1145/3699518. URL https://dl.acm.org/doi/10.1145/3699518. Just Accepted.
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a Machine Really Finish Your Sentence?, 2019. URL https://arxiv.org/abs/1905.07830. _eprint: 1905.07830.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena, December 2023. URL http://arxiv.org/abs/2306.05685. arXiv:2306.05685 [cs].
Xunyu Zhu, Jian Li, Yong Liu, Can Ma, and Weiping Wang. A Survey on Model Compression for Large Language Models, 2024. URL https://arxiv.org/abs/2308.07633.
Simiao Zuo, Qingru Zhang, Chen Liang, Pengcheng He, Tuo Zhao, and Weizhu Chen. MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptation, 2022. URL https://arxiv.org/abs/2204.07675. _eprint: 2204.07675.
A Disclosure of LLM Use
We used LLMs to help generate the LaTeX code for tables and TikZ figures, citations for the developer APIs referenced in Section 2.1.1, and Python code for the divergence comparison plot in Figure 2.
B Extended Analysis Results
| Method | ARC | BoolQ | DROP | MMLU | PIQA | SciQ | TQA | WG | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| KD | |||||||||
| LWD | |||||||||
| TED | |||||||||
| KDFP |
Table 4: Results from finetuning teacher prior to distillation. Baseline and FT results are the same as in the Main Results in Table 2, as there is no distillation. Italics indicate improvement over distillation without a finetuned teacher.
| Method | ARC | BoolQ | DROP | MMLU | PIQA | SciQ | TQA | WG | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| KD | |||||||||
| LWD | |||||||||
| TED | |||||||||
| KDFP |
Table 5: Full results for the analysis of Pythia 6.9B as the teacher in the experiments in Section 7.3. Italics indicate an improvement over the 2.8B parameter teacher in the Main Results in Table 2.
| Method | ARC | BoolQ | DROP | MMLU | PIQA | SciQ | TQA | WG | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| FT | |||||||||
| KD | |||||||||
| LWD | |||||||||
| TED | |||||||||
| KDFP |
Table 6: Full results for the data scaling analysis experiments in Section 7.4. Italics indicate an improvement over the 100M token trainig budget in the Main Results in Table 2.
C Incompatibility of Pretrained Student Attention Heads
The specialization of attention heads presents an additional challenge for the distillation of pretrained students (Wang et al., 2022; Olsson et al., 2022; Elhage et al., 2021). Since different attention heads autonomously specialize to perform different tasks (Wang et al., 2022; Olsson et al., 2022; Elhage et al., 2021), it is very difficult to guarantee that attention heads are meaningfully distilled from the teacher to the student. While tools such as crosscoders (Lindsey et al., 2024) may be capable of creating such a mapping, we leave it to future work and do not distill attention head activations.
D JS Divergence Implementation
As is common in many KD methodologies, we employ a temperature-controlled softening of the output distributions with parameter , where returns the true predictions.
(Hinton et al., 2015; Jiao et al., 2020; Liang et al., 2023b; Xu et al., 2024). We use the softmax function to compute the probability distribution from the raw logits.
However, as shown in Equations 1 and 4, we must compute the log probabilities, which can be numerically unstable if the softmax and log are applied sequentially. Instead, we use the log-sum-exp trick implemented in PyTorch's torch.nn.functional.log_softmax to directly compute the log probabilities, then exponentiate to recover the raw probabilities.
Additionally, we exclude masked positions in the sequence from the loss calculation to ensure that loss is computed only over valid tokens. The final scalar loss is derived by averaging the element-wise JS divergence strictly over the count of unmasked tokens and scaled by to produce the final gradient, preventing masking and sequence padding from diluting the loss and accounting for the distribution softening.
E Projection Matrices
One of the critical challenges in distilling the internals of LLMs across models with different embedding dimensions is that a transformation is required to put the student and teacher activations into the same space for comparison. Traditionally, this has been done by adding a projection matrix P to perform a linear transformation from the student space into the teacher space, which is learned during distillation (Liang et al., 2023b; Jiao et al., 2020).
Interestingly, this method of projection has not been tested against any alternatives. In fact, we did not find a single alternative to this projection formulation in our literature review. We hypothesize that learning a projection during training may dilute the knowledge being transferred from teacher to student. The loss is computed in a shared space, but updates must propagate through the projector before it reaches the student in this formulation. It is possible that the projection matrix may absorb some of the knowledge that is intended to be transferred to the student, only to be discarded after training. Additionally, this method does not consider projection in the opposite direction (i.e. projecting the teacher activations into the student space). We refer to the teacher-to-student direction as downward and the reverse as upward, to reflect the change in embedding dimension size.
We present a suite of projection formulations to compare the traditional approach alongside previously unexplored formulations, varying in their construction, training, and direction of projection.
E.1 Online
The online projection matrices formed using the existing method of learning the weights during distillation. Although simple to implement, it does not necessarily train students to learn representations which align with those of the teacher. Since the alignment inside of the loss computation is a product of the projection matrix, it is possible that online projector captures the necessary alignment knowledge instead of propagating that knowledge into the student model.
E.2 Offline
We use the term offline projector to refer to projection matrices trained separately prior to distillation, then inserted and frozen as the student is trained. Offline projectors are trained as fully linear autoencoders on activations obtained from the student and teacher models.
We use the terms projection matrix and projector interchangeably

Figure 3: Distillation of internal activations between a student and teacher transformer with an upward projection. The output of the residual stream after student Block ( ) is passed through a projection matrix . This maps the student’s smaller embedding dimension ( ) into the teacher’s latent space ( ) so that it can be directly compared against the target teacher activation ( ) from Block .

Figure 4: The fully linear autoencoder architecture for an upward offline projector. The student activations serve as the input and are reconstructed as via linear weights and . The intermediate latent representation is explicitly trained to match the teacher activations . The total objective is a convex combination of the reconstruction loss and the latent alignment loss .
We train the offline projectors using a combination of a reconstruction loss on the output, and an alignment loss on the hidden representations, . The parameter is used to tune the weighting of the alignment loss.
Our motivation for the offline approach is this: if the model activations fall into a particular subspace of the full embedding space, then an autoencoder trained on simple reconstruction would not be able to account for this. Thus, the additional loss on the latent representations of the autoencoder serve to align the generated latent representations with actual collected representations. We collected activations from 10M tokens of the FineWeb Edu dataset (Penedo et al., 2024) for Pythia 2.8b deduped (teacher) and Pythia 1.4b deduped (student). We train each individual offline projectors using activations at resid_post, attn_out, and mlp_out hook points at every layer of the student model, and at linearly spaced layers of the teacher model such that a one-to-one mapping exists between selected student and teacher layers. We experimented with latent alignment parameters of 0 (no alignment loss), 0.25, 0.5, 0.75, and 1 (no reconstruction loss).
E.3 Randomized
The randomized projection matrix is created using the binary coin formulation from Achlioptas (2003) and frozen during training. The theoretical guarantees regarding preservation of distances between points only hold in the downward projection (i.e. projecting teacher activations into the student space). In support of our effort to conduct a thorough empirical evaluation, we run experiments on upward randomized projections, despite the lack of theoretical motivation.
F Exploration Process
The KDFP methodology was finalized as the culmination of a multi-stage exploration. In all stages, we use Pythia 2.8b deduped as the teacher, Pythia 1.4b as the pretrained student base model, 10m tokens of FineWeb Edu to train the offline projectors, 100m tokens of FineWeb Edu to train the students, and enforce reproducibility with a seed of 3. An input sequence length of 2048 was used for the entirety of the exploration, as this is the maximum context size for Pythia models (Biderman et al., 2023). We evaluate each configuration on HellaSwag accuracy, using 0-shot evaluations unless otherwise specified below (Zellers et al., 2019). Since our exploration is essentially a parametrized system, the results in the main body of the paper do not include performance on HellaSwag so as not to introduce bias into the results.
We conducted 5 stages of exploration:
-
Basic Exploration
-
Search for Offline Projector Alignment
-
Search for Divergence Parameter
-
Search for Objective Function
-
Final Validation
F.1 Stage 1: Basic Exploration
We ran both pretrained and shallow student configurations with all projector variants in each direction. All objectives utilized a balanced objective (i.e. equal weighting across all available components) with true JS divergence ( ). Offline projectors were trained

Figure 5: Shallow student architectures used to be a common choice in KD, as it is maximally compatible with the teacher. However, shallow students require full pretraining, making them infeasible in most modern settings. Selecting a pretrained model for student initialization is the current best practice for continual pretraining.
with an alignment parameter of 0.5. The goal of stage one was primarily to get a feel for how each of the different KD configurations performed with sensible defaults. The two notable findings were that shallow students were far inferior to pretrained, and that projection direction made no difference for offline and randomized projections, and only a very small difference for online. With such poor initial performance from shallow students, we chose not to include them in any further stages of exploration.
| Experiment | Accuracy |
|---|---|
| pretrained-ft | 0.4146 |
| pretrained-no_train | 0.4164 |
| pretrained-kd-down_offline | 0.4167 |
| pretrained-kd-up_offline | 0.4167 |
| pretrained-kd-down_randomized | 0.4167 |
| pretrained-kd-up_randomized | 0.4167 |
| pretrained-kd-down_online | 0.4131 |
| pretrained-kd-up_online | 0.4126 |
| shallow-ft | 0.3016 |
| shallow-no_train | 0.2617 |
| shallow-kd | 0.2590 |
Table 7: Stage 1: Results of the basic exploration
F.2 Stage 2: Search for Offline Projector Alignment
In our experiments exploring the effects of different offline projector alignment parameters, we found that every variant achieved an identical performance of 0.4151 on 0-shot HellaSwag evaluations. This included a full sweep of all alignment parameter values, in both upward and downward projection directions. These experiments were run with a balanced objective and regular JS Divergence ( ).
Given this result, we fixed the alignment parameter to 0, as this simplifies the training of the offline projector by only requiring activations from one of the models. We also chose to fix the offline projector as an upward projection. The upward projection preserves the full fidelity of the teacher activations- which serve as the ground truth in KD- and excluding latent alignment simplifies the training of the offline projector by removing the need for an additional set of model activations. To reduce the search space, we proceeded with upward projections as the selected direction for all projections, and left further evaluation of downward projections to the final stage.
Residual Stream (Output)

Residual Stream (Input)
Figure 6: Internal architecture of a transformer block. Each selected hook point acts as a checkpoint on model operations in the model's embedding space. attn_out checks the mixing across the sequence, mlp_out checks the transformation, and resid_post checks the full block operation.
F.3 Stage 3: Search for Divergence Parameter
We experimented with the parametrized JS divergence using , 0.25, 0.5, 0.75, and 1. corresponds to forward KL divergence, to reverse KL divergence, and is the traditional JS divergence. Since the divergence measure is applied only to the output distributions of the teacher and student, we chose to isolate the effects of the divergence parameter by only including the output distributions and the true labels in objective function. Note that the selected projection is irrelevant, as none of the projected activations are included in the objective. We started with 0-shot evaluations but did not find as large of a gap as we hypothesized, and thus also ran 5-shot. We found inconsistency in the top and bottom performing parameters across the two sets of evaluations. We selected as our divergence parameter, as it was the second highest performer in both evaluations.
| β | Accuracy | |
|---|---|---|
| 0-shot | 5-shot | |
| 0.0 | 0.4150 | 0.4132 |
| 0.25 | 0.4151 | 0.4133 |
| 0.5 | 0.4148 | 0.4128 |
| 0.75 | 0.4156 | 0.4128 |
| 1.0 | 0.4147 | 0.4134 |
Table 8: Accuracy on HellaSwag across different divergence parameter values for 0-shot and 5-shot evaluations. Best results are bolded, and the lowest are underlined.
F.4 Stage 4: Search for Objective Function
Given the large search space for possible objective functions which could be formed from the logits and activations we targeted, we had to take measures to make the search feasible. We set the constraint that every objective function is a convex combination of all of the included components, with weights evenly distributed. We also used a two-part approach to reduce the number of combinations of objective components to explore.
F.4.1 Stage 4A: All or Nothing
We first looked at the performance with none of the internal activations distilled (Only Outputs) and with all of them distilled (Balanced). This allowed us to determine whether the maximum additional information from the internals might have introduced a catastrophic amount of noise. Table 9 shows a fairly distinct advantage for the Balanced objective with an online projector over all other configurations. Since each projector performed identically for the Only Outputs objective, we proceeded with only the randomized projector, as it performs identically to the other projectors without requiring training.
| Objective Components | Projection | Accuracy |
| Balanced | Online | 0.4160 |
| Offline | 0.4150 | |
| Randomized | 0.4150 | |
| Only Outputs | Online | 0.4151 |
| Offline | 0.4151 | |
| Randomized | 0.4151 |
Table 9: Stage 4a results, comparing different projections and objective components.
F.4.2 Stage 4B: Marginal Modifications
In the second part of Stage 4, we made marginal modifications to the previous objective configurations. For the Only Outputs objective with the randomized projector, we explored the isolated effects of including one of the groups of hooks (embed, attn_out, mlp_out, resid_post). All four experiments achieved the same performance of 0.4142.
For the Balanced objective with the online projector we took the opposite approach, removing one of hook groups from the original objective. The results in Table 10 demonstrate that the Balanced objective is best, but also that the mlp_out activations seem to be the most important of the included components.
| Objective Components | Accuracy |
|---|---|
| No Resid | 0.4154 |
| No Attn Out | 0.4145 |
| No Embed | 0.4113 |
| No MLP | 0.4040 |
Table 10: Stage 4B subtractive results, removing specific objective components from original Balanced objective.
F.5 Stage 5: Final Validation
At the final stage of our exploration, we revisited the divergence parameter and the projection direction. We did not find the results from the divergence parameter search from Stage 3 exceptionally convincing and thought it was worth exploring further. As mentioned in Section F.2, our exploration proceeded with the upward projection direction. Since the online projection was the only variant with any performance deviation when changing direction and ended up being the best choice to this point, we further explore the downward online projection.
With the pretrained student, online projection, and Balanced objective fixed, we once again ran through a sweep of the divergence parameters. Table 11 shows how our previous value of 0.25 remains the best option.
Finally, we ran a head-to-head comparison with the upward and downward projection directions. Table 12 shows the results indicating that the upward direction performs better. One of the interesting points to note is that the training loss values for upward projections are an order of magnitude higher than those of downward projections. We attribute this to the curse of dimensionality, as the teacher model's embeddings are twice the size of the student's.
| Accuracy | |
|---|---|
| 0.0 | 0.3984 |
| 0.25 | 0.4160 |
| 0.5 | 0.4128 |
| 0.75 | 0.4136 |
| 1.0 | 0.4149 |
Table 11: Stage 5 results revisiting divergence parameter sweep.
| Projection Direction | Accuracy |
|---|---|
| Down | 0.4106 |
| Up | 0.4160 |
Table 12: Stage 5 results revisiting upward vs. downward projection direction.
G Hyperparameters
As part of our explorations, we used Stage 1 to tune the hyperparameters. With so many interdependencies, we ran 25 trials for each of the training configurations, utilizing early stopping to increase efficiency. Interestingly, there was majority consensus on the hyperparameter values across the different configurations, so the remaining exploration stages and all of the presented results utilized the same final hyperparameter values. Table 13 shows the search space for each of the hyperparameters. Table 14 shows the finalized hyperparameters, which were used to train all students except for the TED models. Table 15 shows the final hyperparameters used for training the offline projectors. Table 16 shows the search space and Table 17 shows the final values for both learning rates in our TED implementation.
| Hyperparameter | Minimum | Maximum |
|---|---|---|
| Learning Rate | ||
| Weight Decay | ||
| Temperature | ||
| Max Grad Norm |
Table 13: Hyperparameter Search Space
| Model (Training) | Learning Rate | Weight Decay | Max Grad Norm | Temperature |
|---|---|---|---|---|
| Teacher (FT) | ||||
| Pretrained (FT) | ||||
| Pretrained (KD) | ||||
| Shallow (FT) | ||||
| Shallow (KD) |
Table 14: Final Hyperparameter Settings for Model Training. FT indicates the parameters used for finetuning, and KD indicates the parameters used for all distillation methods.
| Hyperparameter | Value |
|---|---|
| Learning Rate | |
| Weight Decay | |
| Tied Weights | True |
Table 15: Final Hyperparameters for Offline Projectors
| Hyperparameter | Min | Max |
|---|---|---|
| LR (filters) | 1e-4 | 1e-2 |
| LR (distillation) | 1e-6 | 1e-4 |
Table 16: The search space for the hyperparameters in TED. Just as in the rest of our tuning, we searched this space over 25 trials.
| Hyperparameter | Value |
|---|---|
| LR (filters) | 3.9e-4 |
| LR (distillation) | 3.66e-5 |
Table 17: The final hyperparameter settings used for TED training.