arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.16169cs.LGcs.AIcs.ITmath.ITmath.OC
收藏

LOFT:通过过滤器训练查找彩票

LOFT: Finding Lottery Tickets through Filter-wise Training

Rice University(莱斯大学)

Qihan Wang, Chen Dun, Fangshuo Liao, Chris Jermaine, Anastasios Kyrillidis

摘要:

彩票假说(Lottery Ticket Hypothesis,LTH)的最新研究表明,在大型神经网络中存在“\textit{winning tickets} ".这些票代表完整模型的“稀疏”版本,可以独立训练,以达到与完整模型相当的准确性。然而,找到中奖彩票需要人们对大型模型进行\emph{pretrain}至少多个时期,这可能是一项繁重的任务,特别是当原始神经网络变得更大时。在本文中,我们将探索如何有效地识别这种中奖彩票的出现,并使用这种观察来设计有效的预训练算法。为了清楚地说明,我们的重点是卷积神经网络(CNN)。为了识别好的过滤器,我们提出了一种新的过滤器距离度量,以及代表模型收敛。正如我们的理论所指示的,我们的滤波器分析的行为与神经网络学习动力学的最新发现一致。出于这些观察,我们提出了\emph{LOttery ticket through Filter-wise Training}算法,被称为\textsc{LoFT}。\textsc{LoFT}是一种模型并行预训练算法,它通过过滤器对卷积层进行分区,以在分布式设置中独立地训练它们,从而降低预训练期间的内存和通信成本。实验表明,\textsc{LoFT} $i)$能保存和发现好的彩票,而$ii)$则能节省大量的计算和通信,并保持与其他预训练方法相当甚至更好的准确性。

英文摘要:

Recent work on the Lottery Ticket Hypothesis (LTH) shows that there exist ``\textit{winning tickets}'' in large neural networks. These tickets represent ``sparse'' versions of the full model that can be trained independently to achieve comparable accuracy with respect to the full model. However, finding the winning tickets requires one to \emph{pretrain} the large model for at least a number of epochs, which can be a burdensome task, especially when the original neural network gets larger. In this paper, we explore how one can efficiently identify the emergence of such winning tickets, and use this observation to design efficient pretraining algorithms. For clarity of exposition, our focus is on convolutional neural networks (CNNs). To identify good filters, we propose a novel filter distance metric that well-represents the model convergence. As our theory dictates, our filter analysis behaves consistently with recent findings of neural network learning dynamics. Motivated by these observations, we present the \emph{LOttery ticket through Filter-wise Training} algorithm, dubbed as \textsc{LoFT}. \textsc{LoFT} is a model-parallel pretraining algorithm that partitions convolutional layers by filters to train them independently in a distributed setting, resulting in reduced memory and communication costs during pretraining. Experiments show that \textsc{LoFT} $i)$ preserves and finds good lottery tickets, while $ii)$ it achieves non-trivial computation and communication savings, and maintains comparable or even better accuracy than other pretraining methods.

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

↑