NeuroPrune: A Neuro-inspired Topological Sparse Training Algorithm for Large Language Models
Amit Dhurandhar, Tejaswini Pedapati, Ronny Luss, Soham Dan, Aurelie Lozano, Payel Das, Georgios Kollias
TL;DR
NeuroPrune addresses the computational bottlenecks of training and inference in transformer-based LLMs by enforcing topology-aware sparsity through brain-inspired mechanisms. It combines three sparsification strategies—MLP sparsification with preferential attachment, attention group sparsity, and redundancy-based head pruning mapped to a dominating-set problem—into a model- and task-agnostic dynamic sparse training routine. Across BERT, T5, and OPT on GLUE, summarization, and machine translation, NeuroPrune achieves competitive or superior performance while delivering substantial speedups in training (up to about 10x) and favorable inference-time improvements due to structured sparsity. The work demonstrates the practicality of leveraging network topology in sparsification and points to future avenues for combining with other sparse training methods and extending to pre-training.
Abstract
Transformer-based Language Models have become ubiquitous in Natural Language Processing (NLP) due to their impressive performance on various tasks. However, expensive training as well as inference remains a significant impediment to their widespread applicability. While enforcing sparsity at various levels of the model architecture has found promise in addressing scaling and efficiency issues, there remains a disconnect between how sparsity affects network topology. Inspired by brain neuronal networks, we explore sparsity approaches through the lens of network topology. Specifically, we exploit mechanisms seen in biological networks, such as preferential attachment and redundant synapse pruning, and show that principled, model-agnostic sparsity approaches are performant and efficient across diverse NLP tasks, spanning both classification (such as natural language inference) and generation (summarization, machine translation), despite our sole objective not being optimizing performance. NeuroPrune is competitive with (or sometimes superior to) baselines on performance and can be up to $10$x faster in terms of training time for a given level of sparsity, simultaneously exhibiting measurable improvements in inference time in many cases.
