Anytime Dense Prediction with Confidence Adaptivity
Not on the map. Why?
Abstract (arXiv)
Anytime inference requires a model to make a progression of predictions which might be halted at any time. Prior research on anytime visual recognition has mostly focused on image classification. We propose the first unified and end-to-end approach for anytime dense prediction. A cascade of "exits" is attached to the model to make multiple predictions. We redesign the exits to account for the depth and spatial resolution of the features for each exit. To reduce total computation, and make full use of prior predictions, we develop a novel spatially adaptive approach to avoid further computation on regions where early predictions are already sufficiently confident. Our full method, named anytime dense prediction with confidence (ADP-C), achieves the same level of final accuracy as the base model, and meanwhile significantly reduces total computation. We evaluate our method on Cityscapes semantic segmentation and MPII human pose estimation: ADP-C enables anytime inference without sacrificing accuracy while also reducing the total FLOPs of its base models by 44.4% and 59.1%. We compare with anytime inference by deep equilibrium networks and feature-based stochastic sampling, showing that ADP-C dominates both across the accuracy-computation curve. Our code is available at https://github.com/liuzhuang13/anytime .
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 41 of its 55 references that are in the map. First posted on arXiv 1 Apr 2021.
Builds on
41 of 55 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
29 more
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 20194D Spatio-Temporal ConvNets: Minkowski Convolutional Neural Networkscited by 1,201
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2018Rethinking the Value of Network Pruningcited by 595
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
- 2019PointRend: Image Segmentation as Renderingcited by 439
- 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 328
- 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
- 2017Submanifold Sparse Convolutional Networkscited by 223
- 2017BlockDrop: Dynamic Inference Paths in Residual Networkscited by 185
- 2020The Hardware Lotterycited by 160
- 2020Multiscale Deep Equilibrium Modelscited by 149
- 2017Convolutional Networks with Adaptive Inference Graphscited by 147
- 2016Spatially Adaptive Computation Time for Residual Networkscited by 118
- 2019Dynamic Convolutions: Exploiting Spatial Sparsity for Faster Inferencecited by 91
- 2019Fast Sparse ConvNetscited by 86
- 2017More is Less: A More Complicated Network with Less Inference Complexitycited by 66
- 2017Dynamic Deep Neural Networks: Optimizing Accuracy-Efficiency Trade-offs by Selective Executioncited by 59
- 2018Anytime Stereo Image Depth Estimation on Mobile Devicescited by 54
- 2017Not All Pixels Are Equal: Difficulty-aware Semantic Segmentation via Deep Layer Cascadecited by 53
- 2018SBNet: Sparse Blocks Network for Fast Inferencecited by 53
- 2020Spatially Adaptive Inference with Stochastic Feature Sampling and Interpolationcited by 51
- 2017Deciding How to Decide: Dynamic Routing in Artificial Neural Networkscited by 33
- 2018Resource Aware Person Re-identification across Multiple Resolutionscited by 21
- 2019Thanks for Nothing: Predicting Zero-Valued Activations with Lightweight Convolutional Neural Networkscited by 6
- 2016Impatient DNNs - Deep Neural Networks with Dynamic Time Budgetscited by 4
- 2016Learning Dynamic Hierarchical Models for Anytime Scene Labelingcited by 2
Built on by
Citing papers per year: 2022: 4; 2023: 4; 2024: 8; 2025: 2.
18 papers.
Sort:
By area:
- 2023LightGlue: Local Feature Matching at Light Speedcited by 583
- 2022Confident Adaptive Language Modelingcited by 297
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 242
- 2025AI Flow: Perspectives, Scenarios, and Approachescited by 44
- 2023UMC: A Unified Bandwidth-efficient and Multi-resolution based Collaborative Perception Frameworkcited by 29
- 2024Fast yet Safe: Early-Exiting with Risk Controlcited by 27
- 2024Accelerating Inference in Large Language Models with a Unified Layer Skipping Strategycited by 17
- 2023Towards Anytime Classification in Early-Exit Architectures by Enforcing Conditional Monotonicitycited by 16
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMscited by 14
- 2023Adaptive Deep Neural Network Inference Optimization with EENetcited by 9
- 2022StereoVoxelNet: Real-Time Obstacle Detection Based on Occupancy Voxels from a Stereo Camera Using Deep Neural Networkscited by 6
- 2022Class Based Thresholding in Early Exit Semantic Segmentation Networkscited by 5
6 more
- 2024Securing Multi-turn Conversational Language Models From Distributed Backdoor Triggerscited by 5
- 2022Understanding the Robustness of Multi-Exit Models under Common Corruptionscited by 4
- 2024Progressive Confident Masking Attention Network for Audio-Visual Segmentationcited by 1
- 2024ElastiFormer: Learned Redundancy Reduction in Transformer via Self-Distillationcited by 1
- 2024Cascading Refinement Video Denoising with Uncertainty Adaptivitycited by 0
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routingcited by 0
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMs10 Jul 2025
- 2025AI Flow: Perspectives, Scenarios, and Approaches14 Jun 2025
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routing16 Dec 2024
- 2024ElastiFormer: Learned Redundancy Reduction in Transformer via Self-Distillation22 Nov 2024
- 2024Cascading Refinement Video Denoising with Uncertainty Adaptivity5 Aug 2024
- 2024Securing Multi-turn Conversational Language Models From Distributed Backdoor Triggers4 Jul 2024
- 2024Progressive Confident Masking Attention Network for Audio-Visual Segmentation4 Jun 2024
- 2024Fast yet Safe: Early-Exiting with Risk Control31 May 2024
- 2024Accelerating Inference in Large Language Models with a Unified Layer Skipping Strategy10 Apr 2024
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language models2 Apr 2024
- 2023LightGlue: Local Feature Matching at Light Speed23 Jun 2023
- 2023Towards Anytime Classification in Early-Exit Architectures by Enforcing Conditional Monotonicity5 Jun 2023
6 more
- 2023UMC: A Unified Bandwidth-efficient and Multi-resolution based Collaborative Perception Framework22 Mar 2023
- 2023Adaptive Deep Neural Network Inference Optimization with EENet15 Jan 2023
- 2022Understanding the Robustness of Multi-Exit Models under Common Corruptions3 Dec 2022
- 2022Class Based Thresholding in Early Exit Semantic Segmentation Networks27 Oct 2022
- 2022StereoVoxelNet: Real-Time Obstacle Detection Based on Occupancy Voxels from a Stereo Camera Using Deep Neural Networks18 Sep 2022
- 2022Confident Adaptive Language Modeling14 Jul 2022
- 2022Confident Adaptive Language Modelingcited by 297
- 2024Fast yet Safe: Early-Exiting with Risk Controlcited by 27
- 2023Towards Anytime Classification in Early-Exit Architectures by Enforcing Conditional Monotonicitycited by 16
- 2023Adaptive Deep Neural Network Inference Optimization with EENetcited by 9
- 2022Class Based Thresholding in Early Exit Semantic Segmentation Networkscited by 5
- 2022Understanding the Robustness of Multi-Exit Models under Common Corruptionscited by 4
- 2024Fast yet Safe: Early-Exiting with Risk Control31 May 2024
- 2023Towards Anytime Classification in Early-Exit Architectures by Enforcing Conditional Monotonicity5 Jun 2023
- 2023Adaptive Deep Neural Network Inference Optimization with EENet15 Jan 2023
- 2022Understanding the Robustness of Multi-Exit Models under Common Corruptions3 Dec 2022
- 2022Class Based Thresholding in Early Exit Semantic Segmentation Networks27 Oct 2022
- 2022Confident Adaptive Language Modeling14 Jul 2022
- 2023LightGlue: Local Feature Matching at Light Speedcited by 583
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 242
- 2025AI Flow: Perspectives, Scenarios, and Approachescited by 44
- 2023UMC: A Unified Bandwidth-efficient and Multi-resolution based Collaborative Perception Frameworkcited by 29
- 2024Accelerating Inference in Large Language Models with a Unified Layer Skipping Strategycited by 17
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMscited by 14
- 2022StereoVoxelNet: Real-Time Obstacle Detection Based on Occupancy Voxels from a Stereo Camera Using Deep Neural Networkscited by 6
- 2024Progressive Confident Masking Attention Network for Audio-Visual Segmentationcited by 1
- 2024Cascading Refinement Video Denoising with Uncertainty Adaptivitycited by 0
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routingcited by 0
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMs10 Jul 2025
- 2025AI Flow: Perspectives, Scenarios, and Approaches14 Jun 2025
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routing16 Dec 2024
- 2024Cascading Refinement Video Denoising with Uncertainty Adaptivity5 Aug 2024
- 2024Progressive Confident Masking Attention Network for Audio-Visual Segmentation4 Jun 2024
- 2024Accelerating Inference in Large Language Models with a Unified Layer Skipping Strategy10 Apr 2024
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language models2 Apr 2024
- 2023LightGlue: Local Feature Matching at Light Speed23 Jun 2023
- 2023UMC: A Unified Bandwidth-efficient and Multi-resolution based Collaborative Perception Framework22 Mar 2023
- 2022StereoVoxelNet: Real-Time Obstacle Detection Based on Occupancy Voxels from a Stereo Camera Using Deep Neural Networks18 Sep 2022