LGAIJul 3, 2022

FasterAI: A Lightweight Library for Creating Sparse Neural Networks

arXiv:2207.01088v11 citationsh-index: 4
Originality Synthesis-oriented
AI Analysis

This library addresses the need for easier experimentation with neural network compression for researchers and practitioners, though it is incremental as it builds on existing tools like fastai and PyTorch Lightning.

The authors introduced FasterAI, a PyTorch-based library designed to simplify the implementation of neural network compression techniques like sparsification, enabling users to perform state-of-the-art methods such as Lottery Ticket Hypothesis experiments with minimal code changes.

FasterAI is a PyTorch-based library, aiming to facilitate the utilization of deep neural networks compression techniques such as sparsification, pruning, knowledge distillation, or regularization. The library is built with the purpose of enabling quick implementation and experimentation. More particularly, compression techniques are leveraging Callback systems of libraries such as fastai and Pytorch Lightning to bring a user-friendly and high-level API. The main asset of FasterAI is its lightweight, yet powerful, simplicity of use. Indeed, because it was developed in a very granular way, users can create thousands of unique experiments by using different combinations of parameters. In this paper, we focus on the sparsifying capabilities of FasterAI, which represents the core of the library. Performing sparsification of a neural network in FasterAI only requires a single additional line of code in the traditional training loop, yet allows to perform state-of-the-art techniques such as Lottery Ticket Hypothesis experiments

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes