Nerva: a Truly Sparse Implementation of Neural Networks
<|reference_start|>Nerva: a Truly Sparse Implementation of Neural Networks: We introduce Nerva, a fast neural network library under development in C++. It supports sparsity by using the sparse matrix operations of Intel's Math Kernel Library (MKL), which eliminates the need for binary masks. We show that Nerva significantly decreases training time and memory usage while reaching equivalent accuracy to PyTorch. We run static sparse experiments with an MLP on CIFAR-10. On high sparsity levels like $99\%$, the runtime is reduced by a factor of $4\times$ compared to a PyTorch model using masks. Similar to other popular frameworks such as PyTorch and Keras, Nerva offers a Python interface for users to work with.<|reference_end|>
@article{wesselink2024nerva:,
    title={Nerva: a Truly Sparse Implementation of Neural Networks},
    author={Wieger Wesselink, Bram Grooten, Qiao Xiao, Cassio de Campos, Mykola
  Pechenizkiy},
    journal={arXiv preprint arXiv:2407.17437},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.17437},
    primaryClass={cs.LG}
}