Spatial redundancy widely exists in visual recognition tasks, i.e., discriminative features in an image or video frame usually correspond to only a subset of pixels, while the remaining regions are irrelevant to the task at hand. Therefore, static models which process all the pixels with an equal amount of computation result in considerable redundancy in terms of time and space consumption. In this paper, we formulate the image recognition problem as a sequential coarse-to-fine feature learning process, mimicking the human visual system. Specifically, the proposed Glance and Focus Network (GFNet) first extracts a quick global representation of the input image at a low resolution scale, and then strategically attends to a series of salient (small) regions to learn finer features. The sequential process naturally facilitates adaptive inference at test time, as it can be terminated once the model is sufficiently confident about its prediction, avoiding further redundant computation. It is worth noting that the problem of locating discriminant regions in our model is formulated as a reinforcement learning task, thus requiring no additional manual annotations other than classification labels. GFNet is general and flexible as it is compatible with any off-the-shelf backbone models (such as MobileNets, EfficientNets and TSM), which can be conveniently deployed as the feature extractor. Extensive experiments on a variety of image classification and video recognition tasks and with various backbone models demonstrate the remarkable efficiency of our method. For example, it reduces the average latency of the highly efficient MobileNet-V3 on an iPhone XS Max by 1.3x without sacrificing accuracy. Code and pre-trained models are available at https://github.com/blackfeather-wang/GFNet-Pytorch.
Download full-text PDF |
Source |
---|---|
http://dx.doi.org/10.1109/TPAMI.2022.3196959 | DOI Listing |
Eur J Prev Cardiol
January 2025
Department of Cardiology, Dupuytren University Hospital, 2, Martin Luther King Ave, 87042 Limoges, France.
Eur J Prev Cardiol
December 2024
Department of Cardiology, Dupuytren University Hospital, 2, Martin Luther King Ave, Limoges 87042, France.
Accid Anal Prev
December 2024
Traffic Engineering and Safety, CSIR-Central Road Research Institute, India.
Driving is a multifaceted activity involving a complex interplay of cognitive, perceptual, and motor skills, demanding continuous attention on the road. In recent years, the increased integration of automation and digitalization technologies in vehicles has improved drivers' convenience and safety. However, the spare attentional capacity available during automation and the prevalence of various infotainment systems in vehicles enable drivers to perform some secondary tasks not related to driving, which may divert their attention away from the road, increasing the chances of accidents.
View Article and Find Full Text PDFEur J Prev Cardiol
December 2024
Department of Cardiology, Dupuytren University Hospital, 2, Martin Luther King Ave, 87042 Limoges, France.
Anesth Analg
December 2024
Department of Public Health Sciences, University of Rochester School of Medicine, Rochester, New York.
Background: Sepsis disproportionately affects marginalized communities. This study aims to evaluate racial and ethnic disparities in failure-to-rescue (FTR) after postoperative sepsis.
Methods: This cross-sectional study used data from the American College of Surgeons National Surgical Quality Improvement Program for patients who underwent inpatient noncardiac surgery between 2018 and 2021.
Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!