When we compress a large language model, we usually focus on the "what": can the smaller model produce the same answers as the original? However, as models become foundations for further learning, a new problem emerges. A compressed model might mimic the original's outputs perfectly at a single point in time, yet fail miserably when we try to fine-tune it on new data.
The reason is that traditional compression methods—like pruning or SVD—often destroy the model's training dynamics. They preserve the static weights but break the "gradient flow," the mathematical path the model takes during optimization. Recent research suggests that for a compressed model to be truly useful, it must preserve the Neural Tangent Kernel (NTK), effectively acting as a "dynamical surrogate" for its larger counterpart.
The Problem with Static Compression
Standard compression techniques are primarily designed for inference. They minimize the distance between the student and teacher outputs. However, as noted by Hsi-Che Lin and colleagues in their work on EMLoC, these methods often fail to preserve the specific optimization trajectory of the original high-capacity system.
If the compressed model’s gradient flow differs significantly from the original, it loses its "learning DNA." When you try to fine-tune this model, the updates don't propagate the same way they would in the full-sized version. This makes it difficult to learn the task-specific nuances that the original model could have captured easily.
Preserving the Learning Blueprint via NTK
To solve this, researchers like Tianxin Wei, Zeming Guo, and Jingrui He propose a shift in focus: instead of just matching outputs, we should approximate the Neural Tangent Kernel (NTK).
The NTK is a mathematical object that describes how a neural network evolves during gradient descent. If two models have the same NTK, they will follow the same path when trained on the same data. In NTK-approximating MLP Fusion, the authors demonstrate that by preserving this kernel, a compressed model can maintain the learning efficiency of its larger counterpart.
MLP Fusion: Clustering and Scaling
The practical implementation of this idea, known as MLP Fusion, treats the Multi-Layer Perceptron (MLP) modules of a transformer as bundles of "sub-MLPs." Instead of deleting neurons (pruning), the method uses k-means clustering to identify groups of neurons that perform similar functions.
The intuition works like this:
- Identify Similar Neurons: Group neurons that contribute similarly to the model's internal representations.
- Fuse and Scale: Merge these clusters into single neurons.
- Gradient Alignment: Crucially, the authors apply a diagonal scaling matrix proportional to the cluster sizes.
This scaling matrix is the "secret sauce." It ensures that the "push" exerted by a single fused neuron during a gradient update is equivalent to the combined "push" of all the original neurons in that cluster. As Mengting Ai and Tianxin Wei show in MLP Fusion: Towards Efficient Fine-tuning of Dense and Mixture-of-Experts Language Models, this alignment allows the lightweight model to learn at a similar rate and quality as the uncompressed architecture, even in complex Mixture-of-Experts (MoE) setups.
The Dynamical Lottery Ticket Hypothesis
This empirical success is supported by a deeper theoretical foundation. Hong-Yi Wang, Tomaso Poggio, and Isaac L. Chuang have developed a universal compression theory that leverages permutation symmetry.
They argue for a "Dynamical Lottery Ticket Hypothesis." While the original Lottery Ticket Hypothesis suggested that large networks contain small subnetworks that can reach the same final accuracy, the dynamical version proves that we can find compressed systems that perfectly preserve the entire mathematical path of the optimization process. By exploiting the fact that neurons are often interchangeable (permutation symmetry), they prove that a system of $d$ objects can be compressed into just $\text{polylog } d$ objects while maintaining the same learning dynamics.
Practical Implications for Fine-tuning
This shift from "static" to "dynamical" compression enables training that was previously impossible on consumer hardware. For example, Hsi-Che Lin and the EMLoC team use a lightweight "emulator" to represent a massive model. By applying a LoRA-based correction to the learned weights, they can fine-tune a 38B parameter model on a single 24GB GPU—a task that usually requires four times that memory.
By ensuring that the compressed surrogate "feels" the gradients the same way the full model would, these techniques bridge the gap between high-capacity performance and low-resource efficiency. The reader should take away that compression is no longer just about making models smaller; it is about making them smaller without losing their ability to learn.