혼합 전문가 네트워크를 위한 범용 게이트 네트워크
Towards a Universal Gating Network for Mixtures of Experts
Towards a Universal Gating Network for Mixtures of Experts
@misc{kang2020towards,
title = {Towards a Universal Gating Network for Mixtures of Experts},
author = {Chen Wen Kang and Chua Meng Hong and Tomas Maul},
year = {2020},
eprint = {2011.01613},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2011.01613}
}
Kang, C. W., Hong, C. M., & Maul, T. (2020). Towards a Universal Gating Network for Mixtures of Experts [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.01613
KANG CW, HONG CM, MAUL T. Towards a Universal Gating Network for Mixtures of Experts[EB/OL]. (2020-11-03)[2026-11-29]. https://arxiv.org/abs/2011.01613.
초록
여러 신경망의 지식 결합 및 집합은 보통 전문가 혼합 (mixture of experts) 형태로 관찰된다. 그러나 이러한 결합은 주로 동일한 작업으로 훈련된 네트워크를 사용하여 이루어지며, 특히 데이터 없는 (data-free) 환경에서 이질적 사전 훈련된 네트워크의 결합에 대한 언급은 거의 없다. 본 논문은 단순 출력 로짓 통계 활용부터 전문화된 게이트 네트워크 훈련에 이르기까지, 이질적 신경망의 결합을 위한 여러 데이터 없는 방법을 제안한다. 게이트 네트워크는 전문가 활성화의 특성에 따라 특정 입력이 특정 네트워크에 속하는지 여부를 결정한다. 실험 결과, 게이트 네트워크 (보편적 게이트 접근법 포함) 가 가장 정확한 접근법임을 확인하였으며, 이는 데이터 없는 환경에서 이질적 전문가 혼합을 위한 실용적인 단계임을 나타낸다. 본 프로젝트의 코드는 https://github.com/cwkang1998/network-merging 에 호스팅되어 있다.
The combination and aggregation of knowledge from multiple neural networks can be commonly seen in the form of mixtures of experts. However, such combinations are usually done using networks trained on the same tasks, with little mention of the combination of heterogeneous pre-trained networks, especially in the data-free regime. This paper proposes multiple data-free methods for the combination of heterogeneous neural networks, ranging from the utilization of simple output logit statistics, to training specialized gating networks. The gating networks decide whether specific inputs belong to specific networks based on the nature of the expert activations generated. The experiments revealed that the gating networks, including the universal gating approach, constituted the most accurate approach, and therefore represent a pragmatic step towards applications with heterogeneous mixtures of experts in a data-free regime. The code for this project is hosted on github at https://github.com/cwkang1998/network-merging.