Finedeep: Mitigating Sparse Activation in Dense LLMs via Multi-Layer Fine-Grained Experts
Leiyu Pan, Zhenpeng Su, Minxuan Lv, Yizhe Xiong, Xiangwen Zhang, Zijia Lin, Hui Chen, Jungong Han, Guiguang Ding, Cheng Luo, Di Zhang, Kun Gai, Deyi Xiong
TL;DR
Finedeep addresses sparse activation in dense LLMs by partitioning FFNs into fine-grained experts arranged across multiple sub-layers, and by routing contributions with an output-guided sigmoid mechanism. The approach preserves parameter count while effectively increasing activation utilization, achieves perplexity and benchmark improvements across model scales, and demonstrates that a balanced depth-width configuration yields optimal performance. Key innovations include MK FFN partitioning, multi-layer expert arrangements, and sigmoid-based routing with RMSNorm residuals, along with an NSAR-based confirmation of reduced sparsity. The results suggest practical benefits for dense transformer deployment by expanding representational capacity without a parameter explosion, with implications for scalable, high-performing language models.
Abstract
Large language models have demonstrated exceptional performance across a wide range of tasks. However, dense models usually suffer from sparse activation, where many activation values tend towards zero (i.e., being inactivated). We argue that this could restrict the efficient exploration of model representation space. To mitigate this issue, we propose Finedeep, a deep-layered fine-grained expert architecture for dense models. Our framework partitions the feed-forward neural network layers of traditional dense models into small experts, arranges them across multiple sub-layers. A novel routing mechanism is proposed to determine each expert's contribution. We conduct extensive experiments across various model sizes, demonstrating that our approach significantly outperforms traditional dense architectures in terms of perplexity and benchmark performance while maintaining a comparable number of parameters and floating-point operations. Moreover, we find that Finedeep achieves optimal results when balancing depth and width, specifically by adjusting the number of expert sub-layers and the number of experts per sub-layer. Empirical results confirm that Finedeep effectively alleviates sparse activation and efficiently utilizes representation capacity in dense models.
