arXiv:2608.22820cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22820

Fairness-Aware Mixture-of-Experts via Subgroup Reweighting and Gate Regularization

Sunhee Hwang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sunhee Hwang

Dongyang Mirae University

Seoul, Republic of Korea

sunheehwang@dongyang.ac.kr

Abstract—Deep learning models often produce performance disparities across demographic groups, due to the training data imbalance with respect to sensitive attributes such as gender or age. To address this problem, existing work has explored fair representation learning, data re-sampling, and adversarial training, which can be broadly categorized into two main approaches. Single-stage methods typically learn a shared representation for fairness, but often struggle to handle heterogeneous subgroup distributions. Two-stage methods learn representations separately from the final prediction task, which can lead to misalignment between fairness objectives and downstream predictions. We identify routing-induced bias, a failure mode in which subgroup imbalance drives the gating network to route subgroups onto a few experts, and propose an end-to-end Mixture-of-Experts (MoE) framework that corrects it. Specifically, we apply subgroup reweighting to correct data imbalance, and introduce gate entropy regularization to prevent routing from collapsing onto subgroup attributes, keeping expert utilization both balanced and interpretable. Beyond improving fairness, the routing distribution offers an interpretable view of how subgroups are allocated across experts. Experimental results demonstrate that the proposed approach improves fairness while maintaining competitive predictive performance.

Index Terms—fairness, mixture-of-experts, equalized odds, routing-induced bias, bias mitigation

I. INTRODUCTION

Deep neural networks have achieved remarkable success across a wide range of visual recognition tasks. In high-stakes applications such as face analysis, however, their predictions are increasingly required to be not only accurate but also fair across demographic groups defined by sensitive attributes such as gender or age [1]-[3]. In practice, this requirement is often violated: models tend to perform substantially better on some groups than others. A key reason is that when a target label is statistically correlated with a sensitive attribute in the training data, the model can minimize its loss by exploiting this shortcut rather than learning the true decision rule. As a result, the learned representation entangles the target with the sensitive attribute, and the resulting accuracy gap across groups manifests as unfairness at inference time.

A main challenge is that such bias originates not from the model architecture alone, but from the structure of the training data itself. Real-world datasets are rarely balanced: certain combinations of target label and sensitive attribute—for example, a positive label paired with an underrepresented group—appear far less frequently than others. During training, the model is exposed to the majority subgroups far more frequently and optimizes predominantly for them, while underrepresented subgroups receive little gradient signal and are effectively underfit. This imbalance therefore produces disparities not at the level of individual attributes, but across their intersections (y,s)(y, s), where the scarcest subgroups suffer the largest performance drops [4], [5].

Existing approaches mitigate bias through representation learning, disentanglement, or data-level interventions [6]–[11]. However, many rely on decoupled or multi-stage pipelines, in which fair representation learning is performed separately from the downstream prediction task. Such formulations do not fully optimize fairness in an end-to-end manner. This can lead to suboptimal alignment between representation learning and the final prediction objective.

Several methods adopt single-stage training that jointly optimizes task performance and fairness [12]–[14]. However, these approaches typically rely on a shared representation space. This makes it difficult to capture heterogeneous subgroup characteristics while maintaining both fairness and accuracy. As a result, a trade-off between bias mitigation and predictive performance is often observed.

These limitations point to a deeper need: a model that can process heterogeneous subgroups through separate computational pathways rather than a single shared representation. Mixture-of-Experts (MoE) provides exactly this capability through its expert routing mechanism. However, we find that MoE introduces a new and previously underexplored failure mode: under subgroup imbalance, the gating network—optimized predominantly on majority subgroups—correlates its routing decisions with sensitive attributes, concentrating each subgroup onto a few experts and leaving others underutilized. We term this routing-induced bias. Crucially, this failure is specific to conditional routing and is therefore invisible to existing fairness methods built on a single shared representation. To address it, we propose FAMoE, a fairness-aware MoE framework that diagnoses and corrects routing-induced bias end-to-end. The source code is available at https://github.com/sunhee-hwang/FAMoE. Our main contributions are summarized as follows:

• We identify routing-induced bias as a previously underexplored failure mode in Mixture-of-Experts models, in which subgroup imbalance drives the gating network to correlate routing decisions with sensitive attributes, yielding skewed expert utilization.

  • We propose FAMoE, which corrects routing-induced bias end-to-end by combining subgroup reweighting with a gate entropy regularization that, unlike its conventional use for load balancing, here keeps routing interpretable by preventing experts from being monopolized by specific subgroups.

  • We show that the routing distribution serves as an interpretable diagnostic of subgroup-level behavior, revealing how fairness is achieved an inspectability absent in monolithic representation-based methods.

  • We demonstrate consistent improvements in the fairness-accuracy trade-off across multiple target and sensitive attribute settings on CelebA, alongside more balanced expert utilization.