mlsanityData to 14 Oct 2026

MoL for LLMs: Dual-Loss Optimization to Enhance Domain Expertise While Preserving General Capabilities

arXiv 2505.12043 ↗First posted 17 May 2025cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Although large language models (LLMs) perform well in general tasks, domain-specific applications suffer from hallucinations and accuracy limitations. Continual Pre-Training (CPT) approaches encounter two key issues: (1) domain-biased data degrades general language skills, and (2) improper corpus-mixture ratios limit effective adaptation. To address these, we propose a novel framework, Mixture of Losses (MoL), which decouples optimization objectives for domain-specific and general corpora. Specifically, cross-entropy (CE) loss is applied to domain-corpus to ensure knowledge acquisition, while Kullback-Leibler (KL) divergence aligns general-corpus training with the base model's foundational capabilities. This dual-loss architecture preserves universal skills while enhancing domain expertise, avoiding catastrophic forgetting. Empirically, we validate that a 1:1 domain-to-general corpus ratio optimally balances training and overfitting without the need for extensive tuning or resource-intensive experiments. Furthermore, our experiments demonstrate significant performance gains compared to traditional CPT approaches, which often suffer from degradation in general language capabilities; our model achieves 27.9% higher accuracy on the Math-500 benchmark in the non-think reasoning mode, and an impressive 83.3% improvement on the challenging AIME25 subset in the think mode, underscoring the effectiveness of our approach.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 28 of its 38 references that are in the map. First posted on arXiv 17 May 2025.

Builds on

28 of 38 references.

References · 28

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  6. 2023Let's Verify Step by Stepcited by 3,789
  7. 2021Program Synthesis with Large Language Modelscited by 3,637
  8. 2016Learning without Forgettingcited by 2,496
  9. 2022Large Language Models Encode Clinical Knowledgecited by 1,830
  10. 2020Knowledge Distillation: A Surveycited by 1,603
  11. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  12. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
16 more
  1. 2019When Does Label Smoothing Help?cited by 988
  2. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  3. 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 346
  4. 2024HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMscited by 265
  5. 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 231
  6. 2025Light-R1: Curriculum SFT, DPO and RL for Long COT from Scratch and Beyondcited by 175
  7. 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
  8. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
  9. 2023Towards Geospatial Foundation Models via Continual Pretrainingcited by 109
  10. 2024Towards Building Multilingual Language Model for Medicinecited by 92
  11. 2022Continual Pre-Training Mitigates Forgetting in Language and Visioncited by 83
  12. 2018Recommendations with Negative Feedback via Pairwise Deep Reinforcement Learningcited by 71
  13. 2024A Preliminary Study of o1 in Medicine: Are We Closer to an AI Doctor?cited by 33
  14. 2020LightPAFF: A Two-Stage Distillation Framework for Pre-training and Fine-tuningcited by 25
  15. 2024The harms of class imbalance corrections for machine learning based prediction models: a simulation studycited by 10
  16. 2024Balancing the Scales: A Comprehensive Study on Tackling Class Imbalance in Binary Classificationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.