mlsanityData to 13 Oct 2026

XFT: Unlocking the Power of Code Instruction Tuning by Simply Merging Upcycled Mixture-of-Experts

arXiv 2404.15247 ↗First posted 23 Apr 2024cs.CL cs.AI cs.LGcited by 7

On the map: Mixture-of-experts → MoE large language models

Abstract (arXiv)

We introduce XFT, a simple yet powerful training scheme, by simply merging upcycled Mixture-of-Experts (MoE) to unleash the performance limit of instruction-tuned code Large Language Models (LLMs). While vanilla sparse upcycling fails to improve instruction tuning, XFT introduces a shared expert mechanism with a novel routing weight normalization strategy into sparse upcycling, which significantly boosts instruction tuning. After fine-tuning the upcycled MoE model, XFT introduces a learnable model merging mechanism to compile the upcycled MoE model back to a dense model, achieving upcycled MoE-level performance with only dense-model compute. By applying XFT to a 1.3B model, we create a new state-of-the-art tiny code LLM (<3B) with 67.1 and 64.6 pass@1 on HumanEval and HumanEval+ respectively. With the same data and model architecture, XFT improves supervised fine-tuning (SFT) by 13% on HumanEval+, along with consistent improvements from 2% to 13% on MBPP+, MultiPL-E, and DS-1000, demonstrating its generalizability. XFT is fully orthogonal to existing techniques such as Evol-Instruct and OSS-Instruct, opening a new dimension for improving code instruction tuning. Codes are available at https://github.com/ise-uiuc/xft.

Key facts. Cited by 7 papers in the map (data through 13 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 26 of its 48 references that are in the map. First posted on arXiv 23 Apr 2024.

Builds on

26 of 48 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Models29 Jan
  2. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models11 Jan
  3. 2024Parameter-Efficient Sparsity Crafting from Dense to Mixture-of-Experts for Instruction Tuning on General Tasks5 Jan
  4. 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints9 Dec
  5. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Experts13 Dec
  6. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun
  7. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan

Other references · 19

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,205
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,876
  3. 2020Scaling Laws for Neural Language Modelscited by 6,494
  4. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,765
  5. 2021Program Synthesis with Large Language Modelscited by 3,573
  6. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,044
  7. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,693
  8. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,384
  9. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,362
  10. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,173
  11. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,120
  12. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 731
7 more
  1. 2024TinyLlama: An Open-Source Small Language Modelcited by 611
  2. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 447
  3. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 135
  4. 2023Mixture of Cluster-conditional LoRA Experts for Vision-language Instruction Tuningcited by 106
  5. 2022Revisiting Parameter-Efficient Tuning: Are We Really There Yet?cited by 76
  6. 2022One Student Knows All Experts Know: From Sparse to Densecited by 25
  7. 2023Experts Weights Averaging: A New General Training Scheme for Vision Transformerscited by 12

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 3; 2025: 2; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Upcycling Instruction Tuning from Dense to Mixture-of-Experts via Parameter Merging
  2. 2023Mixture-of-Experts Meets Instruction Tuning:A Winning Combination for Large Language Models
  3. 2024Let the Expert Stick to His Last: Expert-Specialized Fine-Tuning for Sparse Architectural Large Language Models
  4. 2024DolphCoder: Echo-Locating Code Large Language Models with Diverse and Multi-Objective Instruction Tuning
  5. 2026Prism: A Plug-in Reproducible Infrastructure for Scalable Multimodal Continual Instruction Tuning
  6. 2023Instruction Tuning with GPT-4
  7. 2024MAmmoTH2: Scaling Instructions from the Web
  8. 2025SASFT: Sparse Autoencoder-guided Supervised Finetuning to Mitigate Unexpected Code-Switching in LLMs