RNNPool: Efficient Non-linear Pooling for RAM Constrained Inference

被引:0
|
作者
Saha, Oindrila [1 ]
Kusupati, Aditya [2 ]
Simhadri, Harsha Vardhan [1 ]
Varma, Manik [1 ]
Jain, Prateek [1 ]
机构
[1] Microsoft Res India, Bangalore, Karnataka, India
[2] Univ Washington, Seattle, WA USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Standard Convolutional Neural Networks (CNNs) designed for computer vision tasks tend to have large intermediate activation maps. These require large working memory and are thus unsuitable for deployment on resource-constrained devices typically used for inference on the edge. Aggressively downsampling the images via pooling or strided convolutions can address the problem but leads to a significant decrease in accuracy due to gross aggregation of the feature map by standard pooling operators. In this paper, we introduce RNNPool, a novel pooling operator based on Recurrent Neural Networks (RNNs), that efficiently aggregates features over large patches of an image and rapidly downsamples activation maps. Empirical evaluation indicates that an RNNPool layer can effectively replace multiple blocks in a variety of architectures such as MobileNets, DenseNet when applied to standard vision tasks like image classification and face detection. That is, RNNPool can significantly decrease computational complexity and peak memory usage for inference while retaining comparable accuracy. We use RNNPool with the standard S3FD [50] architecture to construct a face detection method that achieves state-of-the-art MAP for tiny ARM Cortex-M4 class microcontrollers with under 256 KB of RAM. Code is released at https://github.com/Microsoft/EdgeML.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] An Efficient Piecewise Linear Approximation of Non-linear Operations for Transformer Inference
    Lu, Haodong
    Mei, Qichang
    Wang, Kun
    [J]. 2023 IEEE 31ST ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, FCCM, 2023, : 206 - 206
  • [2] AN EFFICIENT ALGORITHM FOR SOLVING CONSTRAINED NON-LINEAR PROGRAMMING-PROBLEMS
    FEIRING, BR
    PHILLIPS, DT
    [J]. COMPUTERS & INDUSTRIAL ENGINEERING, 1982, 6 (04) : 293 - 308
  • [3] NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inference
    Yu, Joonsang
    Park, Junki
    Park, Seongmin
    Kim, Minsoo
    Lee, Sihwa
    Lee, Dong Hyun
    Choi, Jungwook
    [J]. PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 577 - 582
  • [4] A non-linear regularized constrained impedance inversion
    Zhang, Hongbing
    Shang, Zuoping
    Yang, Changchun
    [J]. GEOPHYSICAL PROSPECTING, 2007, 55 (06) : 819 - 833
  • [5] An efficient co-swarm particle swarm optimization for non-linear constrained optimization
    Yadav, Anupam
    Deep, Kusum
    [J]. JOURNAL OF COMPUTATIONAL SCIENCE, 2014, 5 (02) : 258 - 268
  • [6] Non-linear global pooling in the discrimination of circular and non-circular shapes
    Schmidtmann, Gunnar
    Kennedy, Graeme J.
    Orbach, Harry S.
    Loffler, Gunter
    [J]. VISION RESEARCH, 2012, 62 : 44 - 56
  • [7] Non-linear Causal Inference using Gaussianity Measures
    Hernandez-Lobato, Daniel
    Morales-Mombiela, Pablo
    Lopez-Paz, David
    Suarez, Alberto
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2016, 17
  • [9] Efficient metacomputing of elliptic linear and non-linear problems
    Barberou, N
    Garbey, M
    Hess, M
    Resch, MM
    Rossi, T
    Toivanen, J
    Tromeur-Dervout, D
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2003, 63 (05) : 564 - 577
  • [10] Efficient approximation for linear and non-linear signal representation
    Bilgehan, Buelent
    [J]. IET SIGNAL PROCESSING, 2015, 9 (03) : 260 - 266