atlas

Research map / Large language models / Instruction and fine-tuning

Fine-Tuning Language Models with Collaborative and Semantic Experts

AAAI 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CoE, a two-phase SFT method that trains domain-specific FFN experts (general, math, coding) on LLaMA2-7B and then fuses them into a semantically routed top-2 MoE with a margin routing loss.

Problem

Balancing general knowledge, coding, and math capabilities in LLMs during supervised fine-tuning, where mixing domain data causes capability loss and MoE experts lack interpretable specialization.

Approach

Train FFN-only experts on capability-labeled SFT subsets (labels from GPT-4 prompting), then freeze the experts and combine them into a MoE with a router trained under a margin loss that pushes routing toward the semantically labeled expert.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CoE-3E2A rather than LLaMA2-7B-SFTLLaMA2-7B-Base fine-tuning · GSM8K PoT, 3-shotexecution accuracy: 31.69 -> 44.81Helped
Update all parameters during expert leveraging rather than use FFN-excluded fine-tuning (ablation)CoE-3E2A · MT-Bench Overallscore: 6.37 -> 5.95Hurt
Update all parameters during expert leveraging rather than use FFN-excluded fine-tuning (ablation)CoE-3E2A · AlpacaEvalwin rate: 73.01 -> 70.20Hurt
Update only router modules during expert leveraging rather than use FFN-excluded fine-tuning (ablation)CoE-3E2A · GSM8K PoT, 3-shotexecution accuracy: 44.81 -> 33.43Hurt
Replace trained experts with base-model duplicates (ablation)CoE-3E2A · GSM8K PoT, 3-shotexecution accuracy: 44.81 -> 32.37Hurt
Replace trained experts with base-model duplicates (ablation)CoE-3E2A · AlpacaEvalwin rate: 73.01 -> 67.60Hurt
Match activated parameters with a two-expert MoE instead of using CoE-3E2A (ablation)CoE-3E2A · GSM8K PoT, 3-shotexecution accuracy: 44.81 -> 33.81Hurt
Remove margin routing loss (ablation)CoE-3E2A · MMLUaccuracy: 50.47 -> 50.06Hurt
Remove margin routing loss (ablation)CoE-3E2A · GSM8Kaccuracy: 44.73 -> 41.17Hurt
Remove margin routing loss (ablation)CoE-3E2A · HumanEvalpass rate: 26.22 -> 24.39Hurt

Surprising findings

Limitations

Experimental setup

Datasets: TULU-v2 ShareGPT WizardLM FLAN Open-Orca GPT4-Alpaca Open Assistant 1 CodeAlpaca OSS-Instruct MAmmoTH CoT

Benchmarks: MMLU GSM8K HumanEval MT-Bench AlpacaEval

Metrics: accuracy pass@1 MT-Bench score win rate

Baselines: LLaMA2-7B-SFT Expert-General Expert-Math Expert-Coding MoE-3E2A MoE-2E2A CoE-3E2A-full CoE-3E2A-router

Builds on: Mixture-of-Experts Branch-Train-Mix LLaMA2 Lemur Program-of-Thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy