---
title: "Your Experts Have Partners. There's HOPE for Keeping Them Together"
description: "HOPE (Higher-Order Pruning of Experts) is a second-order expert-pruning method for Mixture-of-Experts LLMs that accounts for pairwise co-activation between experts, where earlier methods score each expert independently."
url: "https://swe.quest/articles/your-experts-have-partners-there-s-hope-for-keeping-them-together-47f1c02a90712734"
canonical: "https://huggingface.co/blog/amazon/higher-order-pruning-experts"
source: "Hugging Face"
published: "2026-11-09"
difficulty: "hard"
kind: "Research"
reading_minutes: 9
tags: ["inference","llms","machine-learning","evals"]
---

# Your Experts Have Partners. There's HOPE for Keeping Them Together

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-11-09, 9 min read, Research. Original: [https://huggingface.co/blog/amazon/higher-order-pruning-experts](https://huggingface.co/blog/amazon/higher-order-pruning-experts)

## Summary

HOPE (Higher-Order Pruning of Experts) is a second-order expert-pruning method for Mixture-of-Experts LLMs that accounts for pairwise co-activation between experts, where earlier methods score each expert independently. It builds an interaction matrix F from gate-weighted output norms over a calibration pass and selects the prune-set by solving a binary quadratic program via continuous relaxation, which takes 1–2 seconds per layer. The diagonal of F recovers REAP's rankings (Spearman 0.988), so HOPE's gains come from the off-diagonal cooperation terms. Across Qwen3.5 and GLM-4.5-Air models, HOPE posts the best average rank and pulls further ahead at 50% pruning, matching the unpruned Qwen3.5-35B on SWE-Bench Pro (42.3 vs 41.8) while REAP drops to 36.2. The authors ship an open-source calibrate/solve/prune tool that outputs standard HuggingFace checkpoints, and they note that gains shrink at 10–20% pruning and that cross-layer interactions are not modeled.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- Mixture-of-Experts routing ([easy posts on Maps & geospatial](https://swe.quest/tags/geospatial.md?difficulty=easy))
- transformer LLM architecture ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- quadratic programming basics
- model pruning

## Keywords

HOPE, Mixture-of-Experts, REAP, Qwen3.5, GLM-4.5-Air, SWE-Bench Pro, Hugging Face Transformers

## Related posts

- [Mixture of Experts (MoEs) in Transformers](https://swe.quest/articles/mixture-of-experts-moes-in-transformers-670e279baa41a80a.md): Hugging Face · 2026-02-26 · Hard · 10 min read · Inference & serving, LLMs, Model training, Performance engineering, Python
  Hugging Face transformers v5 reworks its internals to treat Mixture of Experts models as first-class: a WeightConverter pipeline packs per-expert checkpoint tensors into contiguous runtime tensors with async, lazy materialization, cutting Qwen1.5-110B load time from ~66s to ~21s (10s with tensor parallelism) on an A100.
- [Mixture of Experts Explained](https://swe.quest/articles/mixture-of-experts-explained-5efff8fe17f2e9ca.md): Hugging Face · 2023-12-11 · Hard · 21 min read · LLMs, Model training, Inference & serving, Machine learning
  Mixture of Experts (MoE) transformers replace dense feed-forward layers with sparse expert layers and a learned router that sends each token to only a few experts.
- [Welcome Mixtral - a SOTA Mixture of Experts on Hugging Face](https://swe.quest/articles/welcome-mixtral-a-sota-mixture-of-experts-on-hugging-face-8678082efd21a0bd.md): Hugging Face · 2023-12-11 · Medium · 11 min read · LLMs, Inference & serving, Model training, Machine learning
  Mixtral 8x7B is Mistral's sparse Mixture-of-Experts LLM. It replaces feed-forward layers with MoE layers that route each token to 2 of 8 experts, so it has about 45B total parameters but decodes at roughly the speed of a 12B dense model.
- [Together AI expands fine-tuning service with more models, live metrics, and finer controls](https://swe.quest/articles/together-ai-expands-fine-tuning-service-with-more-models-live-metrics-and-finer-30dc413ddac46c8c.md): Together AI · 2026-09-11 · Medium · 10 min read · Model training, LLMs, ML platforms
  Together Fine-Tuning adds support for new open-weight models (GLM-5.3, Kimi K2.7, Qwen 3.5/3.6/3.8, Gemma 4, DeepSeek-V4-Flash), live per-step metrics via API, CLI and dashboard, and new training controls.
- [Introducing the Open Chain of Thought Leaderboard](https://swe.quest/articles/introducing-the-open-chain-of-thought-leaderboard-6b7ce484cba7687f.md): Hugging Face · 2024-04-23 · Medium · 10 min read · Evaluation, LLMs
  The Open CoT Leaderboard ranks LLMs by the accuracy gain from chain-of-thought prompting (accuracy with CoT minus loglikelihood accuracy without it) rather than by absolute accuracy, which makes it more robust to training-data contamination.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
