SpecDrop: Parameter-Free Category-Conditioned Routing for Modular Specialization

Boyao Wang, Zhihan Lei
8/4/2026
cs.LGcs.CLcs.CV
transformer-attentionmoe

Official code: Beryex/SpecDrop (1 star, Python, MIT, PyTorch, last commit 2026-09-27).

Abstract

Mixture-of-experts (MoE) networks pursue specialization through learned routers, gates, and load-balancing losses, yet at matched total-parameter budgets learned routers can underperform equal-weight No-Routing baselines. Is the bottleneck the routing algorithm, or the alignment between training-signal granularity and the target categories?

Show full abstract

We probe the question with SpecDrop, a fixed parameter-free routing scheme: each of $K$ branches receives weight $p_a$ for its assigned category and a small leakage $p_i > 0$ otherwise, merged through a category-independent fixed denominator, with no learned routing parameters and no auxiliary losses; the category label is required at inference. On vision tasks where each image has one superclass label (CIFAR-100 on ResNet-110; ImageNet-1K on ViT-S/16), SpecDrop reaches 79.23% on CIFAR-100 and 79.89% on ImageNet-1K, exceeding parameter-matched baselines that do not use the label (+4.75 over dense on CIFAR-100; +6.53 over the No-Routing+SE control on ImageNet-1K). These gains quantify what category supervision buys when deployed through routing -- not an advantage over label-aware deployments of the baselines: given the same label, masking a dense model's outputs is stronger for accuracy alone (85.2 / 83.7). SpecDrop's contribution is converting the label into trained-in modular structure: 68%/100% branch-category alignment, and masking gains of 0.00 (CIFAR) / +1.06 (ImageNet) -- the output-space restriction is largely internalized during training. On fuzzy partitions, where training units span multiple categories (SlimPajama-6B language modeling with a 30M Transformer; SuperNI instruction tuning over Llama-3.2-1B with LoRA), the routing mechanism reduces to the matched No-Routing controls within seed noise, the null our thesis predicts. Granularity alignment, not algorithm choice, localizes when routing helps. Code: https://github.com/Beryex/SpecDrop

View on arXivView PDF

Code Implementations(1)

Beryex/SpecDropOfficial100%
PyTorchMIT

[NeurIPS 2026] SpecDrop: Parameter-Free Category-Conditioned Routing for Modular Specialization

10Python, ShellAug 4, 20262 months agoMIT
conditional-computationdeep-learninglanguage-modelingloramixture-of-experts+5 more

Similar Papers

Cite this paper

@article{wang2026specdrop,
  title  = {SpecDrop: Parameter-Free Category-Conditioned Routing for Modular Specialization},
  author = {Boyao Wang and Zhihan Lei},
  year   = {2026},
  eprint = {2608.04084},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.04084v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.04084.svg)](https://codeofpaper.com/paper/2608.04084)

Discussion