Processing Megapixel Images with Deep Attention-Sampling Models
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). First posted on arXiv 3 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 8; 2023: 6; 2024: 5; 2025: 2.
29 papers.
Sort:
By area:
- 2023Artificial Intelligence for Digital and Computational Pathologycited by 108
- 2021Differentiable Patch Selection for Image Recognitioncited by 68
- 2021Multi-task Learning with Attention for End-to-end Autonomous Drivingcited by 49
- 2022Differentiable Zooming for Multiple Instance Learning on Whole-Slide Imagescited by 43
- 2022Glance and Focus Networks for Dynamic Visual Recognitioncited by 41
- 2022Vision Transformer with Attentive Pooling for Robust Facial Expression Recognitioncited by 35
- 2021Learning to Downsample for Segmentation of Ultra-High Resolution Imagescited by 19
- 2021Hard-Attention for Scalable Image Classificationcited by 18
- 2021Efficient Classification of Very Large Images with Tiny Objectscited by 17
- 2022Iterative Patch Selection for High-Resolution Image Recognitioncited by 14
- 2021A Probabilistic Hard Attention Model For Sequentially Observed Scenescited by 12
- 2022SALISA: Saliency-based Input Sampling for Efficient Video Object Detectioncited by 12
17 more
- 2022Consistency driven Sequential Transformers Attention Model for Partially Observable Scenescited by 11
- 2021Resolution-Based Distillation for Efficient Histology Image Classificationcited by 10
- 2023Dual Attention Model with Reinforcement Learning for Classification of Histology Whole-Slide Imagescited by 5
- 2024GQHAN: A Grover-inspired Quantum Hard Attention Networkcited by 5
- 2025No More Sliding Window: Efficient 3D Medical Image Segmentation with Differentiable Top-k Patch Samplingcited by 5
- 2025LookWhere? Efficient Visual Recognition by Learning Where to Look and What to See from Self-Supervisioncited by 5
- 2023Efficient subtyping of ovarian cancer histopathology whole slide images using active sampling in multiple instance learningcited by 3
- 2022HistoPerm: A Permutation-Based View Generation Approach for Improving Histopathologic Feature Representation Learningcited by 2
- 2023Patch Gradient Descent: Training Neural Networks on Very Large Imagescited by 2
- 2023Scalable and Equitable Math Problem Solving Strategy Prediction in Big Educational Datacited by 1
- 2024mTREE: Multi-Level Text-Guided Representation End-to-End Learning for Whole Slide Image Analysiscited by 1
- 2021Interpretable and Interactive Deep Multiple Instance Learning for Dental Caries Classification in Bitewing X-rayscited by 0
- 2022High-Fidelity Visual Structural Inspections through Transformers and Learnable Resizerscited by 0
- 2023Learning to Perceive in Deep Model-Free Reinforcement Learningcited by 0
- 2024Mastery Guided Non-parametric Clustering to Scale-up Strategy Predictioncited by 0
- 2024Resource Efficient Perception for Vision Systemscited by 0
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classificationcited by 0
- 2025LookWhere? Efficient Visual Recognition by Learning Where to Look and What to See from Self-Supervision23 May 2025
- 2025No More Sliding Window: Efficient 3D Medical Image Segmentation with Differentiable Top-k Patch Sampling18 Jan 2025
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classification15 Dec 2024
- 2024mTREE: Multi-Level Text-Guided Representation End-to-End Learning for Whole Slide Image Analysis28 May 2024
- 2024Resource Efficient Perception for Vision Systems12 May 2024
- 2024GQHAN: A Grover-inspired Quantum Hard Attention Network25 Jan 2024
- 2024Mastery Guided Non-parametric Clustering to Scale-up Strategy Prediction4 Jan 2024
- 2023Artificial Intelligence for Digital and Computational Pathology13 Dec 2023
- 2023Scalable and Equitable Math Problem Solving Strategy Prediction in Big Educational Data7 Aug 2023
- 2023Dual Attention Model with Reinforcement Learning for Classification of Histology Whole-Slide Images19 Feb 2023
- 2023Efficient subtyping of ovarian cancer histopathology whole slide images using active sampling in multiple instance learning17 Feb 2023
- 2023Patch Gradient Descent: Training Neural Networks on Very Large Images31 Jan 2023
17 more
- 2023Learning to Perceive in Deep Model-Free Reinforcement Learning10 Jan 2023
- 2022Vision Transformer with Attentive Pooling for Robust Facial Expression Recognition11 Dec 2022
- 2022Iterative Patch Selection for High-Resolution Image Recognition24 Oct 2022
- 2022High-Fidelity Visual Structural Inspections through Transformers and Learnable Resizers21 Oct 2022
- 2022HistoPerm: A Permutation-Based View Generation Approach for Improving Histopathologic Feature Representation Learning13 Sep 2022
- 2022Differentiable Zooming for Multiple Instance Learning on Whole-Slide Images26 Apr 2022
- 2022SALISA: Saliency-based Input Sampling for Efficient Video Object Detection5 Apr 2022
- 2022Consistency driven Sequential Transformers Attention Model for Partially Observable Scenes1 Apr 2022
- 2022Glance and Focus Networks for Dynamic Visual Recognition9 Jan 2022
- 2021Interpretable and Interactive Deep Multiple Instance Learning for Dental Caries Classification in Bitewing X-rays17 Dec 2021
- 2021A Probabilistic Hard Attention Model For Sequentially Observed Scenes15 Nov 2021
- 2021Learning to Downsample for Segmentation of Ultra-High Resolution Images22 Sep 2021
- 2021Efficient Classification of Very Large Images with Tiny Objects4 Jun 2021
- 2021Multi-task Learning with Attention for End-to-end Autonomous Driving21 Apr 2021
- 2021Differentiable Patch Selection for Image Recognition7 Apr 2021
- 2021Hard-Attention for Scalable Image Classification20 Feb 2021
- 2021Resolution-Based Distillation for Efficient Histology Image Classification11 Jan 2021
- 2023Artificial Intelligence for Digital and Computational Pathologycited by 108
- 2021Differentiable Patch Selection for Image Recognitioncited by 68
- 2022Differentiable Zooming for Multiple Instance Learning on Whole-Slide Imagescited by 43
- 2022Glance and Focus Networks for Dynamic Visual Recognitioncited by 41
- 2022Vision Transformer with Attentive Pooling for Robust Facial Expression Recognitioncited by 35
- 2021Learning to Downsample for Segmentation of Ultra-High Resolution Imagescited by 19
- 2021Hard-Attention for Scalable Image Classificationcited by 18
- 2021Efficient Classification of Very Large Images with Tiny Objectscited by 17
- 2022Iterative Patch Selection for High-Resolution Image Recognitioncited by 14
- 2021A Probabilistic Hard Attention Model For Sequentially Observed Scenescited by 12
- 2022SALISA: Saliency-based Input Sampling for Efficient Video Object Detectioncited by 12
- 2022Consistency driven Sequential Transformers Attention Model for Partially Observable Scenescited by 11
12 most cited of 28 All 28 (JSON)
- 2025LookWhere? Efficient Visual Recognition by Learning Where to Look and What to See from Self-Supervision23 May 2025
- 2025No More Sliding Window: Efficient 3D Medical Image Segmentation with Differentiable Top-k Patch Sampling18 Jan 2025
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classification15 Dec 2024
- 2024mTREE: Multi-Level Text-Guided Representation End-to-End Learning for Whole Slide Image Analysis28 May 2024
- 2024Resource Efficient Perception for Vision Systems12 May 2024
- 2024GQHAN: A Grover-inspired Quantum Hard Attention Network25 Jan 2024
- 2024Mastery Guided Non-parametric Clustering to Scale-up Strategy Prediction4 Jan 2024
- 2023Artificial Intelligence for Digital and Computational Pathology13 Dec 2023
- 2023Scalable and Equitable Math Problem Solving Strategy Prediction in Big Educational Data7 Aug 2023
- 2023Dual Attention Model with Reinforcement Learning for Classification of Histology Whole-Slide Images19 Feb 2023
- 2023Efficient subtyping of ovarian cancer histopathology whole slide images using active sampling in multiple instance learning17 Feb 2023
- 2023Patch Gradient Descent: Training Neural Networks on Very Large Images31 Jan 2023
12 newest of 28 All 28 (JSON)