Unmasking the Hidden Fairness, Bias, and Safety Costs of Compression with Mixture-of-Expert Models

Elizabeth Szentmiklossy, Mike Lasby, Qiangqiang Mao, Shaina Raza, Yani IoannouAI4GOOD @ ICML 2026

This study, titled "Unmasking the Hidden Fairness, Bias, and Safety Costs of Compression with Mixture-of-Expert Models," provides a critical look at how the "dieting" process for large AI models—compression—can inadvertently alter their ethical behavior.

TL;DR

While compressing Mixture-of-Expert (MoE) models is essential for efficient deployment, it comes with a hidden "fairness tax." This paper reveals that Expert Compression (EC) methods—which prune or merge entire experts—are significantly more disruptive to model safety and bias than standard quantization, and that "improving" fairness scores during compression can often be a misleading artifact of model degradation.

What Problem Does This Paper Address?

Large Language Models (LLMs) are massive, and Mixture-of-Expert (MoE) architectures are the current state-of-the-art for scaling them. MoEs use a "router" to send tokens to only a few "experts" at a time, allowing for huge parameter counts with manageable compute costs. However, to run these on consumer hardware or at scale, we must compress them using techniques like quantization (reducing numerical precision) or pruning (removing weights).

While we know compression affects general performance, we don't fully understand how it shifts Fairness, Bias, and Safety (FBS) in MoEs. Does removing an expert also remove the model's "moral compass"? Does the data used to calibrate the compression process bake in new biases? This paper fills that gap by systematically testing how different compression "regimes" impact the ethical profile of modern MoEs.

Methods

The researchers compared three main categories of compression applied to the expert modules of two MoE backbones (Qwen3-30B and ERNIE-4.5):

  1. Weight Quantization: Reducing precision (e.g., from 16-bit to 4-bit or 8-bit) using methods like AWQ, GPTQ, and Dynamic FP8.
  2. Weight Sparsity: Zeroing out individual weights within experts using WANDA and SparseGPT.
  3. Expert Compression (EC): This is the most "macro" intervention. They tested HC-SMoE (which merges functionally similar experts) and REAP (which prunes experts with low functional contribution).

Crucially, they introduced a safety-data ablation framework. They varied the proportion of safety-aligned data (0%, 11.8%, and 100%) used during the calibration phase of these compression algorithms to see if a "safer" calibration diet leads to a safer compressed model.

Datasets

  • Calibration: Samples from the tulu3-mixture, including safety subsets like WildGuardMix, WildJailbreak, and CoCoNot.
  • Evaluation (The FBS Suite):
    • Social Bias: CrowS-Pairs and StereoSet.
  • Demographic Bias: BBQ (Bias Benchmark for QA).
  • Safety & Refusal: AdvBench (correctly refusing harmful prompts) and XSTest (measuring "over-refusal" of harmless prompts).
  • Capability Anchor: BBQ Accuracy (to ensure the model hasn't just become "dumb").

Key Insights and Ideas

  • Expert Compression is High-Risk: Unlike quantization, which is relatively stable, Expert Compression (EC) triggers severe regressions in fairness and safety. Merging experts (HC-SMoE) was found to be much more unstable than pruning them (REAP).
  • The "Mirage" of Fairness: A surprising finding was that some compressed models showed lower bias scores on benchmarks like BBQ. However, this wasn't a genuine improvement; it was often a side effect of capability collapse. If a model becomes too degraded to answer correctly, its bias score might look "better" simply because it is failing uniformly.
  • Safety Data is Not a Silver Bullet: Increasing safety data during calibration can help a model refuse harmful instructions (AdvBench), but it often fails to restore broader fairness or general capabilities. In some cases, 100% safety data actually increased demographic bias.
  • Non-Monotonic Shifts: Fairness doesn't degrade linearly with compression. A model compressed by 50% might actually perform better on a specific fairness metric than one compressed by 25%, making post-compression auditing essential for every specific configuration.

Key Results

  • HC-SMoE vs. REAP: On Qwen, at 0% safety data, HC-SMoE tanked BBQ Accuracy to 0.411 (from a 0.698 baseline), while REAP held at 0.516.
  • Quantization Stability: Quantization (AWQ/GPTQ) remained the most "neutral" intervention, staying closest to the dense baseline across most metrics.
  • Generation Drift: The researchers used cross-NLL (Negative Log-Likelihood) to measure how much the compressed model's output drifted from the original. They found that even when benchmark scores looked stable, the actual "behavioral drift" in generated text was often substantial, especially under "sampled" generation (higher temperature).

Limitations and Future Work

The study is limited to two specific MoE families (Qwen and ERNIE). The authors note that their analysis is descriptive, not mechanistic—they observed that the behavior changed, but they didn't look "under the hood" at how the router's internal logic shifted.

Future work should investigate whether these patterns hold across more diverse architectures and whether we can develop "fairness-aware" compression algorithms that specifically protect the experts responsible for safety and alignment.

Reference: Szentmiklossy, E., et al. (2026). Unmasking the Hidden Fairness, Bias, and Safety Costs of Compression with Mixture-of-Expert Models. Accepted to the Trustworthy AI for Good workshop at ICML 2026.

Summary updated

BibTeX
@inproceedings{szentmiklossy2026unmasking,
  author = {Elizabeth Szentmiklossy and Mike Lasby and Qiangqiang Mao and Shaina Raza and Yani Ioannou},
  title = {{Unmasking the Hidden Fairness, Bias, and Safety Costs of Compression with Mixture-of-Expert Models}},
  booktitle = {AI4GOOD @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=CUsaaA5jik},
}
Figure