Algebraic Representations for Faster Predictions in Convolutional Neural Networks

Johnny Joyce, Jan Verschelde
{"title":"Algebraic Representations for Faster Predictions in Convolutional Neural Networks","authors":"Johnny Joyce, Jan Verschelde","doi":"arxiv-2408.07815","DOIUrl":null,"url":null,"abstract":"Convolutional neural networks (CNNs) are a popular choice of model for tasks\nin computer vision. When CNNs are made with many layers, resulting in a deep\nneural network, skip connections may be added to create an easier gradient\noptimization problem while retaining model expressiveness. In this paper, we\nshow that arbitrarily complex, trained, linear CNNs with skip connections can\nbe simplified into a single-layer model, resulting in greatly reduced\ncomputational requirements during prediction time. We also present a method for\ntraining nonlinear models with skip connections that are gradually removed\nthroughout training, giving the benefits of skip connections without requiring\ncomputational overhead during during prediction time. These results are\ndemonstrated with practical examples on Residual Networks (ResNet)\narchitecture.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"7 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Symbolic Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.07815","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Convolutional neural networks (CNNs) are a popular choice of model for tasks in computer vision. When CNNs are made with many layers, resulting in a deep neural network, skip connections may be added to create an easier gradient optimization problem while retaining model expressiveness. In this paper, we show that arbitrarily complex, trained, linear CNNs with skip connections can be simplified into a single-layer model, resulting in greatly reduced computational requirements during prediction time. We also present a method for training nonlinear models with skip connections that are gradually removed throughout training, giving the benefits of skip connections without requiring computational overhead during during prediction time. These results are demonstrated with practical examples on Residual Networks (ResNet) architecture.
用代数表示法加快卷积神经网络的预测速度
卷积神经网络(CNN)是计算机视觉任务中常用的模型选择。当卷积神经网络有很多层时,就会形成深度神经网络,这时可以添加跳转连接,从而在保持模型表现力的同时,更容易解决梯度优化问题。在本文中,我们展示了可以将任意复杂、训练有素、带有跳转连接的线性 CNN 简化为单层模型,从而大大降低预测时的计算要求。我们还提出了一种训练带有跳接的非线性模型的方法,这些跳接在整个训练过程中被逐渐移除,从而在预测过程中无需计算开销即可获得跳接的优势。这些结果通过残差网络(ResNet)架构上的实际例子进行了演示。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信