Processing Megapixel Images with Deep Attention-Sampling Models

Subscribers:
284,000
Published on ● Video Link: https://www.youtube.com/watch?v=H6Qiegq_36c



Duration: 17:12
3,288 views
158


Current CNNs have to downsample large images before processing them, which can lose a lot of detail information. This paper proposes attention sampling, which learns to selectively process parts of any large image in full resolution, while discarding uninteresting bits. This leads to enormous gains in speed and memory consumption.

https://arxiv.org/abs/1905.03711

Abstract:
Existing deep architectures cannot operate on very large signals such as megapixel images due to computational and memory constraints. To tackle this limitation, we propose a fully differentiable end-to-end trainable model that samples and processes only a fraction of the full resolution input image. The locations to process are sampled from an attention distribution computed from a low resolution view of the input. We refer to our method as attention sampling and it can process images of several megapixels with a standard single GPU setup. We show that sampling from the attention distribution results in an unbiased estimator of the full model with minimal variance, and we derive an unbiased estimator of the gradient that we use to train our model end-to-end with a normal SGD procedure. This new method is evaluated on three classification tasks, where we show that it allows to reduce computation and memory footprint by an order of magnitude for the same accuracy as classical architectures. We also show the consistency of the sampling that indeed focuses on informative parts of the input images.

Authors: Angelos Katharopoulos, François Fleuret







Tags:
machine learning
deep learning
research
attention
attention sampling
attention model
attention distribution
megapixel images
large images
artificial intelligence
megapixel mnist
street sign dataset
monte carlo
speed
memory
cnn
convolutional neural networks
limited resources
ai
image recognition
image classifier