Guidelines for the Regularization of Gammas in Batch Normalization for Deep Residual Networks

IF 7.2 4区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Bum Jun Kim, Hyeyeon Choi, Hyeonah Jang, Sang Woo Kim
{"title":"Guidelines for the Regularization of Gammas in Batch Normalization for Deep Residual Networks","authors":"Bum Jun Kim, Hyeyeon Choi, Hyeonah Jang, Sang Woo Kim","doi":"10.1145/3643860","DOIUrl":null,"url":null,"abstract":"<p><i>L</i><sub>2</sub> regularization for weights in neural networks is widely used as a standard training trick. In addition to weights, the use of batch normalization involves an additional trainable parameter <i>γ</i>, which acts as a scaling factor. However, <i>L</i><sub>2</sub> regularization for <i>γ</i> remains an undiscussed mystery and is applied in different ways depending on the library and practitioner. In this paper, we study whether <i>L</i><sub>2</sub> regularization for <i>γ</i> is valid. To explore this issue, we consider two approaches: 1) variance control to make the residual network behave like an identity mapping and 2) stable optimization through the improvement of effective learning rate. Through two analyses, we specify the desirable and undesirable <i>γ</i> to apply <i>L</i><sub>2</sub> regularization and propose four guidelines for managing them. In several experiments, we observed that applying <i>L</i><sub>2</sub> regularization to applicable <i>γ</i> increased 1%–4% classification accuracy, whereas applying <i>L</i><sub>2</sub> regularization to inapplicable <i>γ</i> decreased 1%–3% classification accuracy, which is consistent with our four guidelines. Our proposed guidelines were further validated through various tasks and architectures, including variants of residual networks and transformers.</p>","PeriodicalId":48967,"journal":{"name":"ACM Transactions on Intelligent Systems and Technology","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Intelligent Systems and Technology","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1145/3643860","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

L2 regularization for weights in neural networks is widely used as a standard training trick. In addition to weights, the use of batch normalization involves an additional trainable parameter γ, which acts as a scaling factor. However, L2 regularization for γ remains an undiscussed mystery and is applied in different ways depending on the library and practitioner. In this paper, we study whether L2 regularization for γ is valid. To explore this issue, we consider two approaches: 1) variance control to make the residual network behave like an identity mapping and 2) stable optimization through the improvement of effective learning rate. Through two analyses, we specify the desirable and undesirable γ to apply L2 regularization and propose four guidelines for managing them. In several experiments, we observed that applying L2 regularization to applicable γ increased 1%–4% classification accuracy, whereas applying L2 regularization to inapplicable γ decreased 1%–3% classification accuracy, which is consistent with our four guidelines. Our proposed guidelines were further validated through various tasks and architectures, including variants of residual networks and transformers.

深度残差网络批量归一化中的伽马正则化指南
神经网络中权重的 L2 正则化作为一种标准训练技巧被广泛使用。除了权重之外,批量正则化的使用还涉及到一个额外的可训练参数γ,它是一个缩放因子。然而,γ 的 L2 正则化仍然是一个未被讨论的谜,并且根据库和从业者的不同而有不同的应用方式。在本文中,我们将研究对 γ 进行 L2 正则化是否有效。为了探讨这个问题,我们考虑了两种方法:1) 方差控制,使残差网络表现得像一个身份映射;2) 通过提高有效学习率进行稳定优化。通过这两项分析,我们明确了应用 L2 正则化的理想γ 和不理想γ,并提出了管理它们的四项准则。在多次实验中,我们观察到对适用的γ应用 L2 正则化会提高 1%-4%的分类准确率,而对不适用的γ应用 L2 正则化会降低 1%-3%的分类准确率,这与我们的四条准则是一致的。我们提出的准则通过各种任务和架构(包括残差网络和变压器的变体)得到了进一步验证。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
ACM Transactions on Intelligent Systems and Technology
ACM Transactions on Intelligent Systems and Technology COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE-COMPUTER SCIENCE, INFORMATION SYSTEMS
CiteScore
9.30
自引率
2.00%
发文量
131
期刊介绍: ACM Transactions on Intelligent Systems and Technology is a scholarly journal that publishes the highest quality papers on intelligent systems, applicable algorithms and technology with a multi-disciplinary perspective. An intelligent system is one that uses artificial intelligence (AI) techniques to offer important services (e.g., as a component of a larger system) to allow integrated systems to perceive, reason, learn, and act intelligently in the real world. ACM TIST is published quarterly (six issues a year). Each issue has 8-11 regular papers, with around 20 published journal pages or 10,000 words per paper. Additional references, proofs, graphs or detailed experiment results can be submitted as a separate appendix, while excessively lengthy papers will be rejected automatically. Authors can include online-only appendices for additional content of their published papers and are encouraged to share their code and/or data with other readers.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信