XPERT: Expert Knowledge Transfer for Effective Training of Language Models

Chang Liu, boyu shi, Xu Yang, Xin Geng

Training Large Language Models (LLMs) from scratch is an immense undertaking that requires massive computational resources and trillions of tokens. While techniques like knowledge distillation are frequently used to transfer "wisdom" from a large teacher model to a smaller student model, these methods are computationally expensive and often struggle when there is a significant size gap between the two models.

Recent research identifies a missed opportunity in Mixture-of-Experts (MoE) architectures. In an MoE model, knowledge is modularized into distinct "experts." While some experts are highly specialized—firing only for specific topics—a small subset of "common experts" remains consistently active across almost every domain.

This observation raises a compelling question: How can we identify, extract, and adapt this universal expert knowledge to initialize new models of any size?

Enter XPERT, a training-free framework designed to "recycle" generalizable knowledge from pre-trained MoE models to jumpstart the training of new language models. By extracting and consolidating these common experts, XPERT provides a powerful initialization prior that enables models to converge significantly faster and achieve superior performance with a fraction of the pre-training data.

The XPERT Framework

XPERT operates in three entirely training-free stages to extract and adapt knowledge:

  1. Expert Selection: The process begins with an "inference-only" analysis. Researchers run data from diverse domains (such as GitHub, arXiv, and Wikipedia) through a pre-trained MoE model. They identify "common experts" by looking for those with high average activation and high consistency across all domains, as these likely encode fundamental, generalizable language patterns.
  2. Knowledge Consolidation: Simply copying weights is insufficient. XPERT utilizes Tucker Decomposition—a multi-dimensional analogue to Principal Component Analysis—to stack the selected experts into a tensor and extract their shared "core" structure. This filters out noise and idiosyncratic patterns, leaving behind a purified representation of general knowledge.
  3. Parameter-Scale Adaptation: Because the target model (e.g., a 270M dense model) typically has different dimensions than the source MoE (e.g., a 7B model), XPERT employs a structure-preserving resizing method. By applying Singular Value Decomposition (SVD) and importance-guided resampling, the framework shrinks or expands the extracted weights to fit the target architecture without destroying the underlying semantic information.

Experimental Setup

The researchers evaluated XPERT across a wide array of benchmarks, extracting knowledge from source models like OLMoE-7B and DeepSeekMoE-16B. The pre-training phase utilized RedPajama-V2, and the models were tested on:

  • Language Understanding: BoolQ (reasoning), HellaSwag (commonsense), PIQA, WinoGrande, CaseHold (legal), and MedMCQA (medical).
  • Dialogue Generation: Dolly, S-NI, UnNI, SelfInst, and Vicuna.

Key Insights and Results

The results demonstrate that reusing parameters directly for initialization is more effective and stable than attempting to mimic a teacher's output via distillation, especially for smaller student models. Because XPERT avoids the repeated forward passes required by distillation, it is also much cheaper to implement.

Key performance highlights include:

  • Faster Convergence: On the DollyEval dataset, models initialized with XPERT reached the same performance level as "from-scratch" models 2.4x faster.
  • Extreme Data Efficiency: XPERT exhibited remarkable scaling behavior. A model initialized with XPERT and trained on only 2B tokens outperformed a standard model trained on 10B tokens, representing a 5x improvement in data efficiency.
  • Consistent Gains: Across various model scales (from 270M to 570M parameters), XPERT-initialized models consistently outperformed both random initialization and distillation baselines in average accuracy and ROUGE-L scores.
  • Robustness: The method proved robust to different learning rates and layer selection strategies, indicating that the extracted knowledge is fundamentally of high quality.

Furthermore, XPERT introduces a paradigm shift in how we view MoE routing. In MoE research, "load imbalance"—where some experts are utilized far more than others—is typically viewed as a problem to be fixed. XPERT flips this narrative, treating high-usage experts as valuable repositories of universal knowledge. It proves that LLM knowledge is not just a tangled soup of weights; it is structured enough that specific modules can be physically extracted and repurposed.

Limitations and Future Directions

While highly effective, XPERT currently focuses exclusively on the Feed-Forward Network (FFN) layers, as that is where MoE experts reside. The initialization of Attention layers is not addressed and remains random. Additionally, the quality of the transfer is inherently tied to the source MoE model; if the source model lacks knowledge in a specific domain, XPERT cannot extract it.

Looking forward, the authors suggest exploring how this framework could be applied to cross-modal models—such as transferring knowledge from a Vision-Language MoE to a pure Vision model—or even larger-scale "model surgery" where multiple source models are consolidated into a single, highly capable architecture.

Summary updated

BibTeX
@inproceedings{liu2026xpert,
  author = {Chang Liu and boyu shi and Xu Yang and Xin Geng},
  title = {{XPERT: Expert Knowledge Transfer for Effective Training of Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=NXzNyMetWc},
}
Figure