Class-Aware Caching for Convolutional Neural Networks

Many computer vision based mobile applications, ranging from simple children's games to complex, safety-critical applications use convolutional neural networks (CNNs) to provide accurate image recognition of both still images and live video streams. Current state-of-the-art CNNs, however, are very computationally complex and not well suited to real-time mobile computation, where computing resources are severely limited. Current work to improve the latency of CNNs on mobile devices include model compression, caching, as well as CNNs designed specifically for mobile use (e.g. MobileNet). All of these approaches, however, suffer from significantly reduced accuracy. In this paper we introduce a class-aware caching scheme for CNNs that provides fast, high-quality image recognition while not sacrificing accuracy. During offline computation, our system learns the most valuable filters for each class of a dataset through our proposed innovative filter ranking algorithm. At inference time we quickly determine the top-5 most likely classifications of an input image using an LSH, which is very fast but not as accurate as a CNN. Then, using the filter rankings we compute the valuable filters for the top-5 predicted classes while re-using previous computations for any others. This allows the CNN to maintain flexibility, and robustness which are often lost with model compression or mobile-based CNNs, while still providing significant latency reduction. Our evaluation shows that we can achieve latency reduction of up to 30 % while providing a similar level of accuracy.

Authors

Institutions

Publication Details

Published
2025-01-10
DOI
https://doi.org/10.1109/ccnc54725.2025.10976059
Primary Topic
Caching and Content Delivery
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Class-Aware Caching for Convolutional Neural Networks

James Mariani, Li Xiao
Caching and Content Delivery
article

Class-Aware Caching for Convolutional Neural Networks

James Mariani, Li Xiao
article en

Abstract

Many computer vision based mobile applications, ranging from simple children's games to complex, safety-critical applications use convolutional neural networks (CNNs) to provide accurate image recognition of both still images and live video streams. Current state-of-the-art CNNs, however, are very computationally complex and not well suited to real-time mobile computation, where computing resources are severely limited. Current work to improve the latency of CNNs on mobile devices include model compression, caching, as well as CNNs designed specifically for mobile use (e.g. MobileNet). All of these approaches, however, suffer from significantly reduced accuracy. In this paper we introduce a class-aware caching scheme for CNNs that provides fast, high-quality image recognition while not sacrificing accuracy. During offline computation, our system learns the most valuable filters for each class of a dataset through our proposed innovative filter ranking algorithm. At inference time we quickly determine the top-5 most likely classifications of an input image using an LSH, which is very fast but not as accurate as a CNN. Then, using the filter rankings we compute the valuable filters for the top-5 predicted classes while re-using previous computations for any others. This allows the CNN to maintain flexibility, and robustness which are often lost with model compression or mobile-based CNNs, while still providing significant latency reduction. Our evaluation shows that we can achieve latency reduction of up to 30 % while providing a similar level of accuracy.

Michigan State University (US)
National Science Foundation
Openalex Percentile: Top 91%
Caching and Content Delivery
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Class-Aware Caching for Convolutional Neural Networks — James Mariani, Li Xiao · (2025) | TGRS Research Map | TGRS