KEEP sceglie gli esperti da tenere a ogni richiesta e supera il muro del 50% di potaturaKEEP picks which experts to keep for each request and breaks the 50% pruning wall
Due ricercatori propongono di potare gli esperti di un modello MoE a ogni richiesta, non una volta per tutte. Con metà degli esperti il metodo KEEP mantiene almeno il 99% dell'accuratezza, e con il 75% di potatura il 90-97%.
Two researchers propose pruning the experts of an MoE model for each request, not once for all. With half the experts removed, KEEP keeps at least 99% accuracy, and at 75% pruning it keeps 90-97%.

I modelli mixture of experts hanno molti esperti, ma per ogni token ne usano pochi. Per ridurne la memoria si possono eliminare gli esperti meno utili: è la potatura statica, decisa una volta sola, indipendente dal compito. Maximilian Kleinegger e Dan Alistarh mostrano che questo approccio si blocca intorno al 50% di esperti rimossi, perché il modello diventa specializzato o crolla in accuratezza.
Il loro metodo, KEEP, sceglie gli esperti a ogni richiesta. Nella fase di prefill usa il modello completo, poi un predittore a regressione ridge indica quali esperti servono nella generazione. Con il 50% di potatura mantiene almeno il 99% dell'accuratezza del modello pieno, e con il 75% tra il 90% e il 97%. I metodi statici confrontati perdono da 6 a 8 punti e da 26 a 40. Il metodo vale però solo per una richiesta alla volta.
Mixture-of-experts models have many experts, but use only a few for each token. To cut memory, the least useful experts can be removed: this is static pruning, decided once, independent of the task. Maximilian Kleinegger and Dan Alistarh show that this approach stalls around 50% of experts removed, because the model becomes specialised or collapses in accuracy.
Their method, KEEP, chooses experts for each request. In the prefill phase it uses the full model, then a ridge-regression predictor indicates which experts are needed for generation. With 50% pruning it keeps at least 99% of the full model's accuracy, and with 75% between 90% and 97%. The static methods compared lose 6 to 8 points and 26 to 40. The method, however, applies to one request at a time.
In un modello mixture of experts ogni livello contiene molti esperti, ma per ogni token ne lavorano solo alcuni. Il modello è quindi leggero nel calcolo, ma pesante nella memoria, perché tutti gli esperti devono restare disponibili. Una soluzione è la potatura: si eliminano gli esperti meno usati e si risparmia memoria. Un nuovo paper di Maximilian Kleinegger e Dan Alistarh, comparso su arXiv, mostra un modo di farlo che regge molto meglio.
Il problema della potatura statica sta nel momento della scelta. Si decide una volta, in anticipo, quali esperti tenere, usando un insieme di dati generico. Ma ogni richiesta ha bisogno di esperti diversi: un problema di matematica non attiva gli stessi di una domanda di diritto. Gli autori osservano che oltre il 50% di esperti rimossi i metodi statici diventano specializzati su un solo tipo di compito oppure collassano.
KEEP cambia il momento della decisione. Nella fase di prefill, quando il modello legge il prompt, usa tutti gli esperti e osserva quali vengono attivati. Poi un predittore, addestrato con una regressione ridge, stima da questa traccia quali esperti serviranno durante la generazione. Quelli esclusi non vengono caricati sulla GPU. Per gestire i pesi KEEP usa tre livelli di memoria: GPU, RAM del computer e disco.
I risultati sono misurati su tre modelli: Qwen3.6-35B-A3B, Qwen3.8-Flash-Next e DeepSeek-V4.1-Flash. Con il 50% di potatura KEEP conserva almeno il 99% dell'accuratezza del modello completo, e con il 75% tra il 90% e il 97%. I metodi statici REAP e SlimWise, nelle stesse condizioni, perdono rispettivamente da 6 a 8 punti e da 26 a 40. Il divario si allarga proprio dove la riduzione di memoria è più utile.
Sul fronte della velocità, gli autori riportano un aumento di throughput fino a tre volte rispetto a FreeToken e a llama.cpp. Il guadagno nasce dal fatto che meno esperti da spostare tra disco, RAM e GPU significa meno tempo perso sui trasferimenti. Per chi esegue modelli grandi su una macchina con poca memoria video, è proprio il trasferimento a costituire il collo di bottiglia.
I limiti sono chiari. Il metodo è pensato per una sola richiesta alla volta, mentre un server reale ne serve molte in parallelo e le scelte di esperti si sommerebbero. I modelli provati sono soltanto tre, e le generazioni più lunghe testate arrivano a circa 64.000 token. Resta da vedere se il predittore regge su compiti molto diversi da quelli di verifica. Il risultato, in ogni caso, sposta la discussione: la potatura non va decisa nel modello, ma nella richiesta.
In a mixture-of-experts model each layer holds many experts, but only a few work on each token. The model is therefore light on computation but heavy on memory, because all experts must stay available. One solution is pruning: the least used experts are removed and memory is saved. A new paper by Maximilian Kleinegger and Dan Alistarh, posted on arXiv, shows a way of doing it that holds up much better.
The problem with static pruning lies in the moment of choice. It is decided once, in advance, which experts to keep, using a generic dataset. But each request needs different experts: a maths problem does not activate the same ones as a law question. The authors observe that beyond 50% of experts removed, static methods become specialised on a single type of task or collapse.
KEEP changes the moment of decision. In the prefill phase, when the model reads the prompt, it uses all experts and observes which ones are activated. Then a predictor, trained with ridge regression, estimates from this trace which experts will be needed during generation. The excluded ones are not loaded onto the GPU. To manage the weights KEEP uses three memory tiers: GPU, computer RAM and disk.
The results are measured on three models: Qwen3.6-35B-A3B, Qwen3.8-Flash-Next and DeepSeek-V4.1-Flash. With 50% pruning KEEP retains at least 99% of the full model's accuracy, and with 75% between 90% and 97%. The static methods REAP and SlimWise, under the same conditions, lose 6 to 8 points and 26 to 40 respectively. The gap widens exactly where the memory reduction is most useful.
On speed, the authors report a throughput increase of up to three times against FreeToken and llama.cpp. The gain comes from the fact that fewer experts to move between disk, RAM and GPU means less time lost on transfers. For those running large models on a machine with little video memory, the transfer is precisely the bottleneck.
The limits are clear. The method is designed for a single request at a time, while a real server handles many in parallel and the expert choices would add up. Only three models were tried, and the longest generations tested reach about 64,000 tokens. It remains to be seen whether the predictor holds up on tasks very different from the validation ones. The result, in any case, shifts the discussion: pruning should be decided not in the model, but in the request.
Fonti
- Testata AI Weekly: KEEP breaks the 50% sparsity wall in MoE expert pruning aiweekly.co
- Fonte originale arXiv: KEEP arxiv.org
Articoli rivisti con l’intelligenza artificiale. A cura di Alessandro Patassini.Articles reviewed with artificial intelligence. Edited by Alessandro Patassini.




























