Pith. sign in

REVIEW 1 cited by

Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts Conversion

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2310.04361 v4 pith:5XMUBKD3 submitted 2023-10-06 cs.LG

classification cs.LG
keywords activationsparsitymixture-of-expertscomputationalconversioncostdensedynamic-
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Transformer models can face practical limitations due to their high computational requirements. At the same time, such models exhibit significant activation sparsity, which can be leveraged to reduce the inference cost by converting parts of the network into equivalent Mixture-of-Experts (MoE) layers. Despite the crucial role played by activation sparsity, its impact on this process remains unexplored. We demonstrate that the efficiency of the conversion can be significantly enhanced by a proper regularization of the activation sparsity of the base model. Moreover, motivated by the high variance of the number of activated neurons for different inputs, we introduce a more effective dynamic-$k$ expert selection rule that adjusts the number of executed experts on a per-token basis. To achieve further savings, we extend this approach to multi-head attention projections. Finally, we develop an efficient implementation that translates these computational savings into actual wall-clock speedup. The proposed method, Dense to Dynamic-$k$ Mixture-of-Experts (D2DMoE), outperforms existing approaches on common NLP and vision tasks, reducing inference cost by up to 60% without significantly impacting performance.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Transforming Vision Transformer: Towards Efficient Multi-Task Asynchronous Learning

    cs.CV 2025-01 conditional novelty 4.0 of 10

    EMTAL turns pretrained ViT feed-forward networks into low-rank LoRA-tuned experts, stabilizes converged tasks with an EMA-logit distillation loss, and merges everything back into the original network for fast inference.

Pith tools