arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.11424cs.LGcs.AI
收藏

基于超参数的神经网络内存消耗分析

Analysis of memory consumption by neural networks based on hyperparameters

Indian Institute of Technology, Tirupati(印度理工学院蒂鲁帕蒂分校)

Mahendran N

摘要:

深度学习模型在多个领域中进行训练和部署。深度学习模型的使用量不断增加,这对深度学习模型计算时消耗的内存使用量发出了警告。用于减少存储器消耗的现有方法(如模型压缩)、硬件改变是特定的。我们提出了一个通用的内存消耗分析,同时训练深度学习模型与用于训练的超参数进行比较。超参数包括学习率、批量大小、隐层数和层深等决定了模型的性能、模型的精度。我们假设优化器和隐藏层的类型为已知值。超参数的变化和隐藏层的数量是该方法中考虑的变量。为了更好地理解计算成本,本文提出的分析研究了内存消耗相对于超参数的变化作为主要焦点。这导致在训练过程中,当超参数集改变时,内存消耗变化的一般分析。

英文摘要:

Deep learning models are trained and deployed in multiple domains. Increasing usage of deep learning models alarms the usage of memory consumed while computation by deep learning models. Existing approaches for reducing memory consumption like model compression, hardware changes are specific. We propose a generic analysis of memory consumption while training deep learning models in comparison with hyperparameters used for training. Hyperparameters which includes the learning rate, batchsize, number of hidden layers and depth of layers decide the model performance, accuracy of the model. We assume the optimizers and type of hidden layers as a known values. The change in hyperparamaters and the number of hidden layers are the variables considered in this proposed approach. For better understanding of the computation cost, this proposed analysis studies the change in memory consumption with respect to hyperparameters as main focus. This results in general analysis of memory consumption changes during training when set of hyperparameters are altered.

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

↑