---
title: "Mixture-of-Experts (MoE) (KO)"
source: "https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)"
wiki: "systems-analysis.info/int"
article: "Mixture-of-Experts_(MoE)_(KO)"
language: "ko"
categories:
  - "Category:Korean"
  - "Category:Large language models"
  - "Category:Machine learning"
revision_id: 4459
wiki_created_at: 2026-09-06T23:35:27Z
wiki_modified_at: 2026-09-06T23:35:27Z
downloaded_at: 2026-09-07T23:02:46Z
---

# Mixture-of-Experts (MoE) (KO)

**Mixture-of-Experts (MoE)** (영어로 «전문가 혼합»을 의미) — 조건부 연산 원리와 *«분할 정복»* 패러다임에 기반한 신경망 아키텍처이다. 모든 파라미터가 각 입력 신호 처리에 동원되는 단일 단일체적(«밀집») 모델 대신, MoE 아키텍처는 작업을 분해하여 «전문가»라 불리는 특화된 하위 네트워크의 부분 집합에 위임한다. 특수 구성 요소인 라우터 네트워크(gating network 또는 라우터)가 각 입력 token을 처리할 전문가를 동적으로 결정한다<sup>[\[1\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-nvidia-moe-1)[\[2\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-arxiv-bigdata-moe-2)</sup>.

이 접근 방식은 추론 단계에서의 연산 비용(FLOPs)을 훨씬 작은 밀집 모델 수준으로 유지하면서도 엄청난 수의 파라미터(수천억 또는 수조)를 갖는 모델을 만들 수 있게 해준다<sup>[\[3\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-llmstudio-moe-3)</sup>. 이 덕분에 MoE는 현대 대형 언어 모델(LLM) 확장을 위한 핵심 기술이 되었으며, Mixtral 8x7B, Grok-1, 그리고 널리 알려진 바에 따르면 GPT-4와 같은 최첨단 시스템에서 활용되고 있다<sup>[\[1\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-nvidia-moe-1)</sup>.

## 핵심 원리: 조건부 연산과 희소성

MoE의 근본적인 메커니즘은 **조건부 연산**(conditional computation)이다. 모든 token 처리 시 모든 파라미터가 활성화되는 밀집 모델과 달리, MoE 모델은 입력 데이터에 따라 파라미터의 일부만 활성화한다. 이 과정은 **활성화 희소성**(sparsity in activation)을 유발하며, 이것이 전통적인 아키텍처와의 가장 큰 차이점이다<sup>[\[4\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-friendli-serving-moe-4)</sup>.

이러한 접근 방식을 통해:

- **모델 용량 확장:** 전체 파라미터 수(따라서 모델의 «지식»)를 연산 부하의 비례적 증가 없이 크게 늘릴 수 있다.
- **효율성 향상:** 모델이 각 token당 더 적은 연산을 수행하여, 고정된 연산 예산 하에서 더 빠른 추론과 학습 비용 절감을 실현한다<sup>[\[5\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-zilliz-moe-5)</sup>.

따라서 MoE는 병목을 연산 능력에서 **메모리 요구량(VRAM)**으로 이동시키는데, 이는 매 순간 일부만 사용되더라도 모든 전문가의 파라미터가 메모리에 로드되어 있어야 하기 때문이다<sup>[\[6\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-moe-vs-dense-llms-6)</sup>.

## MoE 아키텍처의 구성 요소

### 1. 전문가 하위 네트워크 (Experts)

전문가는 일반적으로 독립적인 신경망이다. transformer 아키텍처의 맥락에서 MoE 레이어는 보통 밀집 완전 연결 블록(Feed-Forward Networks, FFN)을 대체하며, 각 전문가 자체가 FFN이다<sup>[\[1\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-nvidia-moe-1)</sup>. 학습 과정에서 각 전문가는 특정 분야에서 «전문성»을 발전시킬 수 있는데, 예를 들어 하나는 구문론에, 다른 하나는 특정 지식 분야의 사실에, 또 다른 하나는 특정 언어나 문체에 특화될 수 있다<sup>[\[7\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-ve3-understanding-moe-7)</sup>.

### 2. 관리 네트워크 (Gating Network / Router)

라우터 네트워크는 지능적인 작업 분배를 수행하는 소규모이지만 매우 중요한 구성 요소이다. 각 입력 token에 대해 라우터는 점수(가중치)를 계산하여 어떤 전문가가 처리에 가장 적합한지 결정한다. 라우팅 결정은 동적이며 문맥에 의존적이다<sup>[\[8\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-huggingface-moe-8)</sup>.

가장 일반적인 전략은 **Top-K 라우팅**으로, token 처리를 위해 가장 높은 점수를 가진 **K**개의 전문가가 선택된다. K 값은 보통 작으며(예: 1 또는 2), 이것이 희소성을 보장한다.

### 3. 출력 데이터 결합

선택된 K개의 전문가가 token을 처리한 후, 각각의 출력이 결합되어 MoE 레이어의 최종 결과를 형성한다. 일반적으로 이는 가중 합산 방식으로 이루어지며, 가중치는 라우터가 생성한 정규화된 점수이다<sup>[\[1\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-nvidia-moe-1)</sup>.

## MoE의 발전

MoE 개념은 1991년 Robert Jacobs, Geoffrey Hinton, Michael Jordan의 논문 «지역 전문가의 적응적 혼합»에서 처음 제안되었다<sup>[\[3\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-llmstudio-moe-3)</sup>. 그러나 연산 제약과 학습의 복잡성으로 인해 딥러닝 시대 이전까지는 널리 보급되지 못했다.

전환점은 transformer 아키텍처의 등장과 함께 찾아왔다. 2010~2015년의 조건부 연산 관련 연구(Yoshua Bengio 등)가 이론적 기반을 마련했으며, Shazeer 등(2017)의 연구는 MoE를 1,370억 파라미터 LSTM 모델로 확장할 수 있음을 증명했다<sup>[\[8\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-huggingface-moe-8)</sup>.

MoE의 현대적 부흥은 단순하지만 효과적인 Top-1 라우팅을 사용하여 1.6조 파라미터까지 확장한 Google의 **Switch Transformer**(2021)와 연관된다<sup>[\[9\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-9)</sup>. 2023년 Mistral AI의 오픈 모델 **Mixtral 8x7B**의 성공은 MoE를 고성능 LLM 구축을 위한 주요 아키텍처 중 하나로 최종적으로 확립시켰다<sup>[\[1\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-nvidia-moe-1)</sup>.

## 과제와 최적화 방법

### 부하 균형

MoE의 핵심 문제 중 하나는 **부하 불균형**으로, 라우터가 지속적으로 동일한 «인기 있는» 전문가를 선택하고 다른 전문가들은 활용이 부족한 상태에 놓이는 현상이다. 이는 비효율적인 학습과 «전문가 붕괴»로 이어진다.

- **보조 손실 함수 (Auxiliary Loss):** token의 불균등 분배에 «페널티»를 기본 손실 함수에 추가하는 전통적인 방법이다. 균형 잡기에는 도움이 되지만, 이 방법은 «방해 그래디언트»를 도입하여 전반적인 성능을 저하시킬 수 있다<sup>[\[10\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-loss-free-balancing-10)</sup>.
- **손실 없는 균형 (Loss-Free Balancing):** 기본 학습 작업에 간섭하지 않고 더 균형 잡힌 결정을 내리도록 라우터 점수에 동적으로 편향(bias)을 적용하는 최신 접근 방식이다<sup>[\[11\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-loss-free-balancing-gopubby-11)</sup>.
- **전문가 선택 라우팅 (Expert Choice Routing):** token이 전문가를 선택하는 것이 아니라 각 전문가가 배치에서 \`top-k\`개의 token을 선택하는 대안적 접근 방식이다. 완벽한 균형을 보장하지만 구현이 더 복잡할 수 있다<sup>[\[1\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-nvidia-moe-1)</sup>.

### Fine-tuning과 Quantization

- **Fine-tuning:** 역사적으로 MoE 모델은 많은 파라미터 수로 인해 과적합 경향이 있었다. 이 문제를 완화하기 위해 «전문가 dropout»과 같은 방법이 사용된다<sup>[\[12\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-switch-transformers-paper-12)</sup>.
- **Quantization:** 모델 크기 축소와 추론 가속을 위해 가중치의 수치 정밀도를 낮추는 방법이다. MoE에서는 전문가 간 불균형으로 인해 이것이 복잡한 과제이다. **MoEQuant**과 같은 방법은 각 전문가에 대한 균형 잡힌 보정을 기반으로 한 해결책을 제안한다<sup>[\[13\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-13)</sup>.

### 시스템 최적화

MoE의 효율적인 배포는 다음을 포함하는 전체적인 시스템 접근 방식을 필요로 한다:

- **병렬 처리 전략:** **전문가 병렬 처리**(서로 다른 GPU에 전문가 분산), 모델 병렬 처리 및 데이터 병렬 처리<sup>[\[14\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-14)</sup>.
- **특화된 커널 (Kernels):** 희소 연산을 위한 행렬 곱셈을 최적화하는 Mixtral용 **Megablocks**와 같은 예시<sup>[\[15\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-15)</sup>.
- **하드웨어 공동 설계 (Hardware Co-design):** MoE 워크로드에 특별히 최적화된 하드웨어 솔루션 개발.

## 주요 MoE 모델

<table class="wikitable" style="width:100%;">
<caption>주요 MoE 아키텍처 비교</caption>
<colgroup>
<col style="width: 16%" />
<col style="width: 16%" />
<col style="width: 16%" />
<col style="width: 16%" />
<col style="width: 16%" />
<col style="width: 16%" />
</colgroup>
<thead>
<tr class="header">
<th>모델</th>
<th>개발사</th>
<th>전체 파라미터 수</th>
<th>활성<br />
파라미터</th>
<th>전문가 수</th>
<th>선택되는<br />
전문가 수 (k)</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Switch Transformer C-2048</td>
<td>Google</td>
<td>1.6조</td>
<td>전문가 크기에 따라 상이</td>
<td>2048</td>
<td>1</td>
</tr>
<tr class="even">
<td>Mixtral 8x7B</td>
<td>Mistral AI</td>
<td>~470억</td>
<td>~130억</td>
<td>8</td>
<td>2</td>
</tr>
<tr class="odd">
<td>Grok-1</td>
<td>xAI</td>
<td>3,140억</td>
<td>860억</td>
<td>8</td>
<td>2</td>
</tr>
<tr class="even">
<td>GPT-4 (추정)</td>
<td>OpenAI</td>
<td>&gt;1조</td>
<td>-</td>
<td>16 (추정)</td>
<td>2 (추정)</td>
</tr>
<tr class="odd">
<td>Qwen 2 MoE</td>
<td>Alibaba</td>
<td>570억~900억</td>
<td>140억</td>
<td>64</td>
<td>4 또는 8</td>
</tr>
<tr class="even">
<td>DeepSeekMoE 16B</td>
<td>DeepSeek-AI</td>
<td>164억</td>
<td>~28억</td>
<td>64 (2개 활성)</td>
<td>2 (6개 중)<sup><a href="https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-16">[16]</a></sup></td>
</tr>
</tbody>
</table>

주요 MoE 아키텍처 비교

## 다양한 분야에서의 응용

MoE는 LLM의 맥락에서 가장 잘 알려져 있지만, 그 응용은 자연어 처리에 국한되지 않는다:

- 시계열 예측: Time-MoE 모델은 예측 모델 사전 학습을 위한 확장 가능한 아키텍처를 제시한다<sup>[\[17\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-17)</sup>.
- 취약점 탐지: MoEVD는 MoE를 활용하여 취약점 탐지 작업을 CWE 유형별 분류로 분해하며, 각 전문가가 자신의 유형에 특화된다<sup>[\[18\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-18)</sup>.
- 블록체인 기술과의 통합: MoE는 스마트 계약 최적화 및 사기 탐지에서 응용되며, 전문가들이 다양한 거래 패턴을 분석한다<sup>[\[19\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-19)</sup>.
- 멀티모달 모델: MoE는 서로 다른 모달리티(텍스트, 이미지, 오디오)에 특화된 전문가를 결합하여 더욱 범용적인 시스템을 만드는 데 사용된다<sup>[\[20\]](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_note-arxiv-llama-moe-20)</sup>.

## 각주

1.  <span id="cite_note-nvidia-moe-1">↑ <sup>[1.0](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-nvidia-moe_1-0)</sup> <sup>[1.1](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-nvidia-moe_1-1)</sup> <sup>[1.2](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-nvidia-moe_1-2)</sup> <sup>[1.3](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-nvidia-moe_1-3)</sup> <sup>[1.4](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-nvidia-moe_1-4)</sup> <sup>[1.5](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-nvidia-moe_1-5)</sup> «Applying Mixture of Experts in LLM Architectures». *NVIDIA Technical Blog*. <a href="https://developer.nvidia.com/blog/applying-mixture-of-experts-in-llm-architectures/" class="external autonumber" rel="nofollow">[1]</a></span>
2.  <span id="cite_note-arxiv-bigdata-moe-2">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-arxiv-bigdata-moe_2-0) «Mixture of Experts (MoE): A Big Data Perspective». *arXiv*. <a href="https://arxiv.org/html/2501.16352v1" class="external autonumber" rel="nofollow">[2]</a></span>
3.  <span id="cite_note-llmstudio-moe-3">↑ <sup>[3.0](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-llmstudio-moe_3-0)</sup> <sup>[3.1](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-llmstudio-moe_3-1)</sup> «Mixture-of-Experts (MoE): что это такое и как работает». *LLM Studio*. <a href="https://llmstudio.ru/blog/mixture-of-experts-moe" class="external autonumber" rel="nofollow">[3]</a></span>
4.  <span id="cite_note-friendli-serving-moe-4">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-friendli-serving-moe_4-0) «Serving Mixtral MoE Model». *Friendli.ai Blog*. <a href="https://friendli.ai/blog/serving-mixtral-moe-model" class="external autonumber" rel="nofollow">[4]</a></span>
5.  <span id="cite_note-zilliz-moe-5">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-zilliz-moe_5-0) «What is Mixture of Experts (MoE)? How it Works and Use Cases». *Zilliz Learn*. <a href="https://zilliz.com/learn/what-is-mixture-of-experts" class="external autonumber" rel="nofollow">[5]</a></span>
6.  <span id="cite_note-moe-vs-dense-llms-6">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-moe-vs-dense-llms_6-0) «Mixture of Experts (MoE) vs Dense LLMs». *Maximilian Schwarzmüller's Blog*. <a href="https://maximilian-schwarzmueller.com/articles/understanding-mixture-of-experts-moe-llms/" class="external autonumber" rel="nofollow">[6]</a></span>
7.  <span id="cite_note-ve3-understanding-moe-7">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-ve3-understanding-moe_7-0) «Understanding Mixture of Experts in Deep Learning». *VE3*. <a href="https://www.ve3.global/understanding-mixture-of-experts-in-deep-learning/" class="external autonumber" rel="nofollow">[7]</a></span>
8.  <span id="cite_note-huggingface-moe-8">↑ <sup>[8.0](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-huggingface-moe_8-0)</sup> <sup>[8.1](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-huggingface-moe_8-1)</sup> «Mixture of Experts Explained». *Hugging Face Blog*. <a href="https://huggingface.co/blog/moe" class="external autonumber" rel="nofollow">[8]</a></span>
9.  <span id="cite_note-9">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-9) «Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity». *arXiv*. <a href="https://arxiv.org/abs/2101.03961" class="external autonumber" rel="nofollow">[9]</a></span>
10. <span id="cite_note-loss-free-balancing-10">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-loss-free-balancing_10-0) «Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts». *OpenReview*. <a href="https://openreview.net/forum?id=y1iU5czYpE" class="external autonumber" rel="nofollow">[10]</a></span>
11. <span id="cite_note-loss-free-balancing-gopubby-11">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-loss-free-balancing-gopubby_11-0) «DeepSeek-V3 Explained: 3. Auxiliary-Loss-Free Load-Balancing». *gopubby.com*. <a href="https://ai.gopubby.com/deepseek-v3-explained-3-auxiliary-loss-free-load-balancing-4beeb734ab1f" class="external autonumber" rel="nofollow">[11]</a></span>
12. <span id="cite_note-switch-transformers-paper-12">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-switch-transformers-paper_12-0) «Switch Transformers: Scaling to Trillion Parameter Models with...». *cse.ust.hk*. <a href="https://home.cse.ust.hk/~cktang/csit6000s/Password_Only/lec16-csit.pdf" class="external autonumber" rel="nofollow">[12]</a></span>
13. <span id="cite_note-13">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-13) «MoEQuant: Enhancing Quantization for Mixture-of-Experts...». *arXiv*. <a href="https://arxiv.org/abs/2505.03804" class="external autonumber" rel="nofollow">[13]</a></span>
14. <span id="cite_note-14">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-14) «A Survey of Mixture of Experts Models: Architectures and Applications in Business and Finance». *Preprints.org*. <a href="https://www.preprints.org/manuscript/202505.1603/v1" class="external autonumber" rel="nofollow">[14]</a></span>
15. <span id="cite_note-15">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-15) «Mixtral of Experts». *arXiv*. <a href="https://arxiv.org/abs/2401.04088" class="external autonumber" rel="nofollow">[15]</a></span>
16. <span id="cite_note-16">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-16) «A Survey on Inference Optimization Techniques for Mixture of Experts Models». *arXiv*. <a href="https://arxiv.org/html/2412.14219v2" class="external autonumber" rel="nofollow">[16]</a></span>
17. <span id="cite_note-17">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-17) «Time-MoE: A Scalable and Unified Framework for Pre-training Time Series Foundation Models». *arXiv*. <a href="https://arxiv.org/abs/2409.16040" class="external autonumber" rel="nofollow">[17]</a></span>
18. <span id="cite_note-18">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-18) «MoEVD: A Mixture of Experts-based Framework for Vulnerability Detection». *Semantic Scholar*. <a href="https://www.semanticscholar.org/paper/3ad556dece0c1dd075004c4b45beeb7142a045c2" class="external autonumber" rel="nofollow">[18]</a></span>
19. <span id="cite_note-19">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-19) «What a Decentralized Mixture-of-Experts (MoE) Is and How It Works». *Gate.io Learn*. <a href="https://www.gate.com/ru/learn/articles/what-a-decentralized-mixture-of-experts-mo-e-is-and-how-it-works/5073" class="external autonumber" rel="nofollow">[19]</a></span>
20. <span id="cite_note-arxiv-llama-moe-20">[↑](https://systems-analysis.info/int/Mixture-of-Experts_(MoE)_(KO)#cite_ref-arxiv-llama-moe_20-0) «LLaMA-MoE: Building Mixture-of-Experts from Open-source LLMs». *arXiv*. <a href="https://arxiv.org/abs/2406.16554" class="external autonumber" rel="nofollow">[20]</a></span>
