TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/RNNPool: Efficient Non-linear Pooling for RAM Constrained ...

RNNPool: Efficient Non-linear Pooling for RAM Constrained Inference

Oindrila Saha, Aditya Kusupati, Harsha Vardhan Simhadri, Manik Varma, Prateek Jain

2020-02-27NeurIPS 2020 12Image ClassificationFace Detection
PaperPDFCodeCodeCode(official)Code

Abstract

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.

Results

TaskDatasetMetricValueModel
Facial Recognition and ModellingWIDER Face (Medium)AP0.89RNNPool-Face-C
Facial Recognition and ModellingWIDER Face (Hard)AP0.7RNNPool-Face-C
Face DetectionWIDER Face (Medium)AP0.89RNNPool-Face-C
Face DetectionWIDER Face (Hard)AP0.7RNNPool-Face-C
Face ReconstructionWIDER Face (Medium)AP0.89RNNPool-Face-C
Face ReconstructionWIDER Face (Hard)AP0.7RNNPool-Face-C
3DWIDER Face (Medium)AP0.89RNNPool-Face-C
3DWIDER Face (Hard)AP0.7RNNPool-Face-C
3D Face ModellingWIDER Face (Medium)AP0.89RNNPool-Face-C
3D Face ModellingWIDER Face (Hard)AP0.7RNNPool-Face-C
3D Face ReconstructionWIDER Face (Medium)AP0.89RNNPool-Face-C
3D Face ReconstructionWIDER Face (Hard)AP0.7RNNPool-Face-C

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14FedGSCA: Medical Federated Learning with Global Sample Selector and Client Adaptive Adjuster under Label Noise2025-07-13