Mixture of Experts (Linear Experts, Softmax Gating)
A mixture of experts splits the feature space softly among several linear regressions (the experts). A gate, a multinomial logistic model of the features, gives each row a weight for each expert, and the prediction is the weighted mixture of the experts' normal distributions. Experts and gate are fitted together by the EM algorithm.
전문가 혼합 모형은 특성 공간을 여러 선형회귀(전문가)에 부드럽게 나눠 맡깁니다. 특성의 다항 로지스틱 모형인 관문이 각 행에 전문가별 가중치를 주고, 예측은 전문가들의 정규분포를 그 가중치로 섞은 것입니다. 전문가와 관문을 EM 알고리즘으로 함께 적합합니다.
Does the relation between the outcome and the features follow different linear rules in different regions of the data?
결과와 특성의 관계가 자료의 영역마다 서로 다른 선형 규칙을 따릅니까?
The method reports each expert's coefficients and residual spread, the gate coefficients that say where each expert applies, and AIC and BIC compared with one ordinary regression.
When to use Mixture of Experts (Linear Experts, Softmax Gating)
- The slope or noise level seems to change across the range of the features.
- You want a piecewise-linear model whose regions are learned from the data.
When to use something else
- Group membership does not depend on the features: use Finite Mixture of Regressions
- You only need a flexible prediction: use Gradient Boosting
Assumptions and requirements
- Within each expert the outcome is normal around a linear function
- The gate is a multinomial logit of the same features
- Enough rows for every expert; several starts guard against local maxima
What the analysis reports
- Expert coefficients and residual SDs
- Gate coefficients and mean gate weights
- Log-likelihood, AIC, BIC and comparison with OLS
- R-squared of the conditional mean
How to report it
A mixture of [value] linear experts with a softmax gate (BIC [value]) was compared with ordinary least squares (BIC [value]); expert residual SDs were [value] and [value].
Related methods
- Finite Mixture of Regressions
- Multiple Linear Regression
- Multinomial Logistic Regression
- Mixture Density Network
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and statsmodels.
독립 계산. SciPy·statsmodels 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Mixture of Experts (Linear Experts, Softmax Gating) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.