# Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs

디리클레 사전분포 형상화: 업사이클된 MoE에서 전문가 특화 유도

Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · arXiv · 2025년 10월 1일

- **연구 문제** 업사이클된 희소 MoE의 라우터는 낮은 신뢰도와 약한 전문가 분화를 보여 VLM 성능을 제한합니다.
- **연구 방법** DPSL은 라우터의 토큰별 확률 분포의 경험적 CDF를 Dirichlet 사전분포에서 유도된 목표 Beta CDF에 맞추는 정규화 손실입니다.
- **주요 결과** 보고된 실험에서 DPSL은 Qwen2-1.5B, Phi3-mini, Llama3.2-1B 기반 여러 MoE 구성에서 기존 기준선보다 높은 평균 성능을 보였습니다.

## 업사이클 MoE의 전문가 분화 문제

사전학습된 밀집 모델을 희소 Mixture-of-Experts(MoE)로 바꾸는 업사이클링은 모델 용량을 효율적으로 늘리지만, 전문가 FFN을 동일하게 복제해 초기화하면 전문가들이 서로 비슷해지고 라우터가 이들을 잘 구분하지 못합니다. 이 논문은 이 문제를 VLM(시각-언어 모델) 설정에서 다룹니다. 저자들은 기존 부하 균형 손실이나 z-loss 같은 정규화가 전문가 붕괴를 막는 데는 도움이 되지만, 동일하게 초기화된 전문가로부터 특화를 직접 유도하지는 못한다고 설명합니다. 따라서 질문은 라우터의 확률 분포 자체를 목표 형태로 빚을 수 있는지입니다.

![Figure 1: Sparse upcycling (left) initializes identical experts, yielding homogeneous routing probabil- ities and limited specialization. (right) Our proposed…](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-9a4fffe794eb1e9c4bebe84f0de21bbd.png?thumb=512)

**Figure 1** : Sparse upcycling (left) initializes identical experts, yielding homogeneous routing probabil- ities and limited specialization. (right) Our proposed Dirichlet-Prior Shaping Loss guides routing towards desired distributions fostering balanced and confident selection (via symmetric priors) or targeted, modality-/task-aware specialization (via asymmetric priors).

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## Dirichlet 사전분포 기반 DPSL 손실

제안 방법인 Dirichlet-Prior Shaping Loss(DPSL)는 범주형 확률 벡터가 Dirichlet 분포에서 나온다고 보고, 그 각 성분의 주변분포가 Beta 분포라는 성질을 이용합니다. 배치 안에서 각 범주 k에 대해 토큰별 확률 p\_k의 경험적 CDF를 만들고, 이를 목표 Beta(α\_k, A−α\_k) CDF와 비교합니다. 손실은 Cramér–von Mises 방식의 제곱 차이를 범주 전체에 대해 합산하며, 가중치 λ가 그 강도를 조절합니다. 대칭 사전분포는 균형 잡힌 확률을, 비대칭 사전분포는 특정 범주로의 편향을 유도합니다.

![Figure 2: Dirichlet-Prior Shaping Loss (DPSL) shapes categorical probability distributions from two data sources (S1, S2). Top and middle rows show the empiric…](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-2f2f69d148167ace005227e1e3c77450.png?thumb=512)

**Figure 2** : Dirichlet-Prior Shaping Loss (DPSL) shapes categorical probability distributions from two data sources (S1, S2). Top and middle rows show the empirical (dashed) vs. target (solid) CDFs for each category, at initialization and after convergence, respectively, along with simplex of assignment probabilities. Bottom row presents data histograms of assignment probabilities overlaid with target Beta PDFs, and learning curves showing DPSL minimization during training.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

실험 구현에서 DPSL은 MoE 각 층의 라우터 확률 g(t)\_i를 토큰 단위로 계산하며, 배치 크기 B는 S×T로 정의됩니다. 이 손실은 워밍업 단계의 두 번째 phase에서만 적용되고 최종 미세조정 단계에서는 완화됩니다.

## VLM 벤치마크 비교

DPSL은 Qwen2-1.5B, Phi3-mini 3.8B, Llama3.2-1B 백본을 사용하는 LLaVA 설정에서 Sparse Upcycling, Drop-Upcycling, load-balancing loss, z-loss, DeepSeek balancing과 비교되었습니다. 평가는 TextVQA, GQA, MM-Vet, MME, VizWiz, MMBench 등에서 이루어졌으며, 평균 정확도에서 MME-P와 MME-C는 각각 2000과 800으로 정규화되었습니다. Qwen2-1.5B 2in4 설정에서 DPSL의 평균은 38.17로 밀집 모델의 36.60보다 높습니다.

![Table 1: Downstream task performance comparison of upcycled VLM MoEs methods across various backbone LLMs and MoE configurations. Highest accuracy is marked in…](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-fb13c12cf8303153295b57130ae774f9.png?thumb=512)

**Table 1** : Downstream task performance comparison of upcycled VLM MoEs methods across various backbone LLMs and MoE configurations. Highest accuracy is marked in bold, 2nd best is underlined. We also report the average accuracy; for MME-P and MME-C, the scores were normalized over the maximal possible scores (2000 and 800, respectively).

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

저자들은 DPSL이 모든 모델과 2in4·8in16 구성에서 가장 높은 평균을 보인다고 보고합니다. 반면 표준 Sparse Upcycling은 정규화 없이 최소한의 향상만 보이며 일부 경우 밀집 기준선보다 낮습니다. 기준선 중 DeepSeek balancing과 Drop-Upcycling은 강한 편이지만 모델과 구성에 따라 결과가 달라집니다.

## 특화 전략과 하이퍼파라미터 결과

모달리티 특화 실험은 Llama3.2-1B 2in4 설정에서 수행되었습니다. 수동 모달리티 특화는 평균 34.65로 가장 낮고, 모달리티 사전분포를 쓴 DPSL은 36.18로 대칭 DPSL의 35.92보다 약간 높습니다. 과제 특화 BTX는 35.31이며, 과제 사전분포 DPSL은 35.35로 밀집 기준선 34.19를 넘지만 대칭 DPSL보다 낮게 보고됩니다.

![Table 2: Performance comparison of modality- and task-specific expert specialization strategies on Llama3.2-1B (2in4) performance](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-8b1eb26304836f89d1ecd2687eadf632.png?thumb=512)

**Table 2** : Performance comparison of modality- and task-specific expert specialization strategies on Llama3.2-1B (2in4) performance.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 6: The impact of the Dirichlet prior parameter α on Llama3.2-1B (2in4) performance in the modality specialized setting](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-b2c22221de767f54749d9ef26da9fc1c.png?thumb=512)

**Table 6** : The impact of the Dirichlet prior parameter α on Llama3.2-1B (2in4) performance in the modality specialized setting.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

하이퍼파라미터 분석에서 Llama3.2-1B는 α=0.75에서 최적이며 Qwen2-1.5B는 넓은 α 범위에서 상대적으로 안정적입니다. 정규화 가중치 λ는 0.01에서 최고 결과를 보여 기본값으로 쓰였습니다. 이 α와 λ 선택은 해당 백본과 실험 설정에서 얻은 값입니다.

![Table 4: The impact of the Dirichlet prior parameterαon Llama3.2-1B (2in4) performance](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-50137c37ab5df6e1a1a99bd30404b197.png?thumb=512)

**Table 4** : The impact of the Dirichlet prior parameterαon Llama3.2-1B (2in4) performance.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

![Table 5: The impact of the Dirichlet prior parameterαon Qwen2-1.5B (8in16) performance](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-46b5bae555781b8a60f251f6fae883fa.png?thumb=512)

**Table 5** : The impact of the Dirichlet prior parameterαon Qwen2-1.5B (8in16) performance.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

![Table 7: The impact of the loss regularization weight parameter λ on Llama3.2-1B (2in4) perfor- mance](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-d34269419a239844bc83ed6bbf1c18e0.png?thumb=512)

**Table 7** : The impact of the loss regularization weight parameter λ on Llama3.2-1B (2in4) perfor- mance.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

## 라우터 분포와 부하 균형

라우터 출력 분포 분석에서 기존 정규화 방법들은 4개 전문가 설정에서 라우터 점수를 0.25 근처에 뾰족하게 모은 반면, DPSL의 라우팅 점수는 더 넓고 다양하게 분포합니다. 이는 DPSL이 확률 범위를 더 많이 사용함을 보여 주는 관찰입니다. 부하 분석은 전문가 부하의 Coefficient of Variation으로 측정되었으며, DPSL은 명시적 부하 균형 항이 없어도 여러 층에서 낮은 CoV를 보입니다. 저자들은 대칭 사전분포가 균형 잡힌 부하를 유도한다고 해석합니다. 다만 기준선들도 심각한 불균형을 보이지 않았으므로 이 결과는 부하 붕괴 방지의 우위를 직접 증명하지 않습니다.

![Figure 3: Router output distributions for three experts in an upcycled MoE with top-1 routing. Each panel shows the simplex of routing probabilities under (a)…](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-e7800adbf1c3a360c4072b0870cb9b94.png?thumb=512)

**Figure 3** : Router output distributions for three experts in an upcycled MoE with top-1 routing. Each panel shows the simplex of routing probabilities under (a) no regularization, (b) z-loss, (c) load-balancing loss, and (d) Dirichlet-Prior Shaping Loss (symmetric prior).

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 8: Coefficient of Variation of expert loads for Llama3.2-1B (2in4) model. Lower values indicate more balanced utilization](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-afef2095a644077cf2c0c3f88be24a54.png?thumb=512)

**Table 8** : Coefficient of Variation of expert loads for Llama3.2-1B (2in4) model. Lower values indicate more balanced utilization.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

![Figure 6: Routing score distributions at layer 12 of an upcycled Llama3.2-1B model (4-expert, top-2 routing). Each column represents a different upcycling/regu…](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8/figures/figure-e54dc18b3ed848003fce4451a7e239ec.png?thumb=512)

**Figure 6** : Routing score distributions at layer 12 of an upcycled Llama3.2-1B model (4-expert, top-2 routing). Each column represents a different upcycling/regularization method, and each row displays the distribution for one of the four experts under that method.

[원문](https://arxiv.org/abs/2510.01185v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough · Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

## 한계와 적용 범위

저자들은 주요 한계로 여러 시드를 백본, 세분화 수준, 사전분포의 전체 조합에서 수행하지 못한 점을 제시합니다. 이는 업사이클 MoE 학습 비용 때문입니다. 또한 Drop-Upcycling은 권장 드롭 비율 50%에서 불안정성과 학습 정지를 보여 재초기화 비율을 조정해 보고되었습니다. DPSL의 계산 오버헤드는 표준 손실 함수 대비 약 10–15%로 보고됩니다. 따라서 결과는 보고된 백본과 구성, 워밍업 단계 적용 조건에서 읽어야 하며, 다른 데이터나 과제로 일반화하려면 추가 검증이 필요합니다.

## 논문 정보

- **저자**: Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 10월 1일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 10월 1일
- **버전**: v1
- **arXiv**: 2510.01185
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2510.01185v1) · [원문 PDF ↗](https://arxiv.org/pdf/2510.01185v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Upcycling pre-trained dense models into sparse Mixture-of-Experts (MoEs) efficiently increases model capacity but often suffers from poor expert specialization due to naive weight replication. Our analysis reveals that upcycled MoEs, even with conventional regularization, exhibit low-confidence, weakly differentiated routing, hindering performance. We introduce Dirichlet-Prior Shaping Loss (DPSL), a novel router regularization technique that directly shapes routing probability distributions by matching expert assignments to a target Dirichlet prior. DPSL offers fine-grained control over expert balance and specialization, and enables encoding of inductive biases such as encouraging experts to focus on specific modalities or tasks, without requiring manual intervention; notably, DPSL is a general tool applicable to any module that outputs categorical probability distributions, extending its utility beyond MoE training. Experiments on upcycled MoE vision-language models (with Qwen2, Phi3, Llama3.2 LLM backbones) show DPSL consistently outperforms upcycling strategies and regularization techniques across standard vision-language benchmarks, addressing the critical issue of poor specialization and fostering more adaptive, higher-performing models.

## 원문 인용

Leyla Mirvakhabova, Babak Ehteshami Bejnordi, Gaurav Kumar, Hanxue Liang, Wanru Zhao, Paul Whatmough (2025). Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs. arXiv:2510.01185v1. https://arxiv.org/abs/2510.01185v1

**BibTeX**

```
@misc{mirvakhabova2025dirichlet,
  title = {{Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs}},
  author = {Leyla Mirvakhabova and Babak Ehteshami Bejnordi and Gaurav Kumar and Hanxue Liang and Wanru Zhao and Paul Whatmough},
  year = {2025},
  eprint = {2510.01185},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.01185v1}
}
```

## 이 논문의 용어

- [Mixture-of-Experts](https://refivu.com/terms/2e4496944f4c-mixture-of-experts)
- [GQA](https://refivu.com/terms/912d41ed8914-gqa)
- [Dirichlet distribution](https://refivu.com/terms/db596a38b354-dirichlet-distribution)
- [MMBench](https://refivu.com/terms/1688e568c3b8-mmbench)
- [TextVQA](https://refivu.com/terms/522fd646e388-textvqa)
- [Beta distribution](https://refivu.com/terms/f7f6436bd494-beta-distribution)
- [coefficient of variation](https://refivu.com/terms/4b2e1522bab8-coefficient-of-variation)
- [MM-Vet](https://refivu.com/terms/29020655ef08-mm-vet)
- [Shared Experts](https://refivu.com/terms/e30d652dc982-shared-experts)
- [VizWiz](https://refivu.com/terms/ffbfe6a784db-vizwiz)
- [Qwen2-1.5B](https://refivu.com/terms/da4a6c2a5d02-qwen2-1-5b)

## 다른 논문 해설

- [Rethinking Thinking Tokens: LLMs as Improvement Operators](https://refivu.com/papers/311f969a-0893-4159-8d5e-ab320c2460f2-rethinking-thinking-tokens-llms-as-improvement-operators.md)
- [NorMuon: Making Muon more efficient and scalable](https://refivu.com/papers/350de3a2-cf61-41a3-b49f-62f33c8bf1de-normuon-making-muon-more-efficient-and-scalable.md)
- [Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d-invariance-makes-llm-unlearning-resilient-even-to.md)
- [Detecting and Filtering Unsafe Training Data via Data Attribution with Denoised Representation](https://refivu.com/papers/19b0f506-6f9d-4b56-afe9-93df054de350-detecting-and-filtering-unsafe-training-data-via-data.md)
- [h1: Bootstrapping LLMs to Reason over Longer Horizons via Reinforcement Learning](https://refivu.com/papers/647b6b77-64d1-4597-a263-33cd7128dae7-h1-bootstrapping-llms-to-reason-over-longer-horizons.md)
- [Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Models](https://refivu.com/papers/262ed432-5b97-462f-a0f1-44ba3791e072-efficient-parallel-samplers-for-recurrent-depth-models-and.md)
- [Controlled Generation with Equivariant Variational Flow Matching](https://refivu.com/papers/f7a0ae68-e9e4-4a46-a6a4-4799a6790c6f-controlled-generation-with-equivariant-variational-flow.md)
- [Fully Heteroscedastic Count Regression with Deep Double Poisson Networks](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7-fully-heteroscedastic-count-regression-with-deep-double.md)
- [TopInG: Topologically Interpretable Graph Learning via Persistent Rationale Filtration](https://refivu.com/papers/62e7617c-071a-4787-8fe7-3a1a838e533a-toping-topologically-interpretable-graph-learning-via.md)
- [Exponential Family Variational Flow Matching for Tabular Data Generation](https://refivu.com/papers/50f71a00-76bc-4982-b4dc-ac829f6ecc4b-exponential-family-variational-flow-matching-for-tabular.md)
- [CauchyNet: Compact and Data-Efficient Learning using Holomorphic Activation Functions](https://refivu.com/papers/4a1f76c6-dfc7-4204-a0c6-234f217002c6-cauchynet-compact-and-data-efficient-learning-using.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8-dirichlet-prior-shaping-guiding-expert-specialization-in)
