重み更新スキップ:人工神経ネットワークのトレーニング時間の削減
Weight Update Skipping: Reducing Training Time for Artificial Neural Networks
Weight Update Skipping: Reducing Training Time for Artificial Neural Networks
@misc{safayenikoo2020weight,
title = {Weight Update Skipping: Reducing Training Time for Artificial Neural Networks},
author = {Pooneh Safayenikoo and Ismail Akturk},
year = {2020},
eprint = {2012.02792},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2012.02792}
}
Safayenikoo, P., & Akturk, I. (2020). Weight Update Skipping: Reducing Training Time for Artificial Neural Networks [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.02792
SAFAYENIKOO P, AKTURK I. Weight Update Skipping: Reducing Training Time for Artificial Neural Networks[EB/OL]. (2020-12-05)[2026-11-29]. https://arxiv.org/abs/2012.02792.
要旨
人工神経ネットワーク(ANN)は、機械学習(ML)における最先端の技術として知られており、認識、分類、セグメンテーションといったデータ集約型アプリケーションにおいて卓越した結果を達成している。これらのネットワークは、各層に多数のフィルタを持つ深層の畳み込み層または全接続層を主に使用しており、競争力のある精度を得るためには大量のデータと調整可能なハイパーパラメータが必要となる。その結果、ANN のスケーリングにおいて、トレーニングコスト(特にトレーニング時間)が制限要因となる。本稿では、精度の改善が時間的変動を示し、変動が微小な場合には重みの更新をスキップできるという観察結果を活用した新しい ANN トレーニング手法を提案する。そのような時間窓中は、ネットワークが引き続き学習し過学習を回避するためにバイアスの更新を継続するが、重み(およびその時間のかかる計算)の更新を選択的にスキップする。このトレーニング手法は、著しく低い計算コストで実質的に同等の精度を達成し、結果としてトレーニング時間を短縮する。本稿では、重みの更新に関する 2 つの手法を提案し、CIFAR データセット上で AlexNet, VGG-11, VGG-16, ResNet-18 の 4 つの最先端モデルを用いて評価した。平均して、提案した 2 つの手法(WUS および WUS+LR)は、ベースラインと比較して CIFAR-10 でそれぞれ 54% および 50%、CIFAR-100 でそれぞれ 43% および 35% のトレーニング時間削減を実現した。
Artificial Neural Networks (ANNs) are known as state-of-the-art techniques in Machine Learning (ML) and have achieved outstanding results in data-intensive applications, such as recognition, classification, and segmentation. These networks mostly use deep layers of convolution or fully connected layers with many filters in each layer, demanding a large amount of data and tunable hyperparameters to achieve competitive accuracy. As a result, storage, communication, and computational costs of training (in particular training time) become limiting factors to scale them up. In this paper, we propose a new training methodology for ANNs that exploits the observation of improvement of accuracy shows temporal variations which allow us to skip updating weights when the variation is minuscule. During such time windows, we keep updating bias which ensures the network still trains and avoids overfitting; however, we selectively skip updating weights (and their time-consuming computations). Such a training approach virtually achieves the same accuracy with considerably less computational cost, thus lower training time. We propose two methods for updating weights and evaluate them by analyzing four state-of-the-art models, AlexNet, VGG-11, VGG-16, ResNet-18 on CIFAR datasets. On average, our two proposed methods called WUS and WUS+LR reduced the training time (compared to the baseline) by 54%, and 50%, respectively on CIFAR-10; and 43% and 35% on CIFAR-100, respectively.