arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.01088cs.LGcs.AI
收藏

FasterAI:一个用于创建稀疏神经网络的轻量级库

FasterAI: A Lightweight Library for Creating Sparse Neural Networks

University of Mons(蒙斯大学);IP Paris(巴黎理工学院)

Nathan Hubens

摘要:

FasterAI是一个基于PyTorch的库,旨在促进深度神经网络压缩技术的利用,如稀疏化,修剪,知识蒸馏或正则化。该库旨在实现快速实施和实验。更具体地说,压缩技术正在利用fastai和Pytorch Lightning等库的回调系统来带来用户友好的高级API。FasterAI的主要资产是其轻量级,但功能强大,使用简单。事实上,由于它是以非常细粒度的方式开发的,用户可以通过使用不同的参数组合来创建数千个独特的实验。在本文中,我们重点介绍FasterAI的稀疏化功能,它代表了库的核心。在FasterAI中执行神经网络的稀疏化只需要在传统的训练循环中添加一行代码,但允许执行最先进的技术,如彩票假设实验

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑