CVLGFeb 27, 2020

RNNPool: Efficient Non-linear Pooling for RAM Constrained Inference

arXiv:2002.11921v257 citationsHas Code
AI Analysis

This addresses memory constraints for deploying vision models on resource-constrained edge devices, representing a novel method rather than an incremental improvement.

The paper tackles the problem of large memory requirements for CNNs on edge devices by introducing RNNPool, a novel pooling operator based on RNNs that efficiently downsamples activation maps, achieving state-of-the-art MAP for face detection on microcontrollers with under 256 KB of RAM while retaining comparable accuracy.

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 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.

Code Implementations4 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes