mlsanityData to 7 Oct 2026

Mastering Text, Code and Math Simultaneously via Fusing Highly Specialized Language Models

arXiv 2403.08281 ↗First posted 13 Mar 2024cs.CL cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Underlying data distributions of natural language, programming code, and mathematical symbols vary vastly, presenting a complex challenge for large language models (LLMs) that strive to achieve high performance across all three domains simultaneously. Achieving a very high level of proficiency for an LLM within a specific domain often requires extensive training with relevant corpora, which is typically accompanied by a sacrifice in performance in other domains. In this paper, we propose to fuse models that are already highly-specialized directly. The proposed fusing framework, UltraFuser, consists of three distinct specialists that are already sufficiently trained on language, coding, and mathematics. A token-level gating mechanism is introduced to blend the specialists' outputs. A two-stage training strategy accompanied by balanced sampling is designed to ensure stability. To effectively train the fused model, we further construct a high-quality supervised instruction tuning dataset, UltraChat 2, which includes text, code, and mathematical content. This dataset comprises approximately 300,000 instructions and covers a wide range of topics in each domain. Experiments show that our model could simultaneously achieve mastery of the three crucial domains.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 58 of its 69 references that are in the map. First posted on arXiv 13 Mar 2024.

Builds on

58 of 69 references.

References · 58

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  10. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  11. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  12. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
38 more
  1. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  2. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  3. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  4. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  6. 2024Mixtral of Expertscited by 1,785
  7. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  8. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  9. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  10. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  11. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  12. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
  13. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  14. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
  15. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Modelscited by 834
  16. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
  17. 2023StarCoder: may the source be with you!cited by 790
  18. 2021Scaling Vision with Sparse Mixture of Expertscited by 740
  19. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  20. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  21. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
  22. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  23. 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
  24. 2022Mixture-of-Experts with Expert Choice Routingcited by 611
  25. 2023Textbooks Are All You Needcited by 561
  26. 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 550
  27. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  28. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
  29. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
  30. 2022Unified Scaling Laws for Routed Language Modelscited by 249
  31. 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 207
  32. 2022Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Expertscited by 202
  33. 2023SantaCoder: don't reach for the stars!cited by 169
  34. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
  35. 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 112
  36. 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
  37. 2024Knowledge Fusion of Large Language Modelscited by 110
  38. 2021Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inferencecited by 96

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 4; 2025: 3.

7 papers.