paper-with-me

홈 › Papers

Understanding the Mixture-of-Experts with Nadaraya-Watson Kernel

2025-09-30 · Chuanyang Zheng, Jiankai Sun, Yihang Gao, Enze Xie, Yuehao Wang, Peihao Wang, Ting Xu, Matthew Chang, Liliang Ren, Jingyao Li, Jing Xiong, Kashif Rasul, Mac Schwager, Anderson Schneider, Zhangyang Wang, Yuriy Nevmyvaka arxiv

Mixture-of-Experts (MoE) has become a cornerstone in recent state-of-the-art large language models (LLMs). Traditionally, MoE relies on $\mathrm{Softmax}$ as the router score function to aggregate expert output, a designed choice that has persisted from the earliest MoE models to modern LLMs, and is now widely regarded as standard practice. However, the necessity of using $\mathrm{Softmax}$ to project router weights into a probability simplex remains an unchallenged assumption rather than a principled design choice. In this work, we first revisit the classical Nadaraya-Watson regression and observe that MoE shares the same mathematical formulation as Nadaraya-Watson regression. Furthermore, we show that both feed-forward neural network (FFN) and MoE can be interpreted as a special case of Nadaraya-Watson regression, where the kernel function corresponds to the input neurons of the output layer. Motivated by these insights, we propose the \textbf{zero-additional-cost} Kernel Inspired Router with Normalization (KERN), an FFN-style router function, as an alternative to $\mathrm{Softmax}$. We demonstrate that this router generalizes both $\mathrm{Sigmoid}$- and $\mathrm{Softmax}$-based routers. \textbf{Based on empirical observations and established practices in FFN implementation, we recommend the use of $\mathrm{ReLU}$ activation and $\ell_2$-normalization in $\mathrm{KERN}$ router function.} Comprehensive experiments in MoE and LLM validate the effectiveness of the proposed FFN-style router function \methodNorm.

📄 PDF Abstract BibTeX arXiv:2509.25913

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Heterogeneous Treatment Effect with Trained Kernels of the Nadaraya-Watson Regression

2022-07-19 · Andrei V. Konstantinov, Stanislav R. Kirpichenko, Lev V. Utkin

A new method for estimating the conditional average treatment effect is proposed in the paper. It is called TNW-CATE (the Trainable Nadaraya-Watson regression for CATE) and based on the assumption that the number of cont…

regressionTransfer Learning

Nadaraya-Watson kernel smoothing as a random energy model

2024-08-07 · Jacob A. Zavatone-Veth, Cengiz Pehlevan

Precise asymptotics have revealed many surprises in high-dimensional regression. These advances, however, have not extended to perhaps the simplest estimator: direct Nadaraya-Watson (NW) kernel smoothing. Here, we descri…

Cubit: Token Mixer with Kernel Ridge Regression

2026-05-07 · Chuanyang Zheng, Jiankai Sun, Yihang Gao, Yuehao Wang 외 arxiv

Since its introduction in 2017, the Transformer has become one of the most widely adopted architectures in modern deep learning. Despite extensive efforts to improve positional encoding, attention mechanisms, and feed-fo…

An Upper Bound of the Bias of Nadaraya-Watson Kernel Regression under Lipschitz Assumptions

2020-01-29 · Samuele Tosatto, Riad Akrour, Jan Peters

The Nadaraya-Watson kernel estimator is among the most popular nonparameteric regression technique thanks to its simplicity. Its asymptotic bias has been studied by Rosenblatt in 1969 and has been reported in a number of…

regressionvalid

Support-Conditioned Flow Matching Is Kernel Smoothing

2026-05-13 · Daniel Matsui Smola arxiv

Generative models are often conditioned on a small set of examples via cross-attention. Under the Gaussian optimal-transport path, we show that the exact velocity field induced by a finite support set is a Nadaraya--Wats…