Skip to main content
QUICK REVIEW

[Paper Review] DyVEDeep: Dynamic Variable Effort Deep Neural Networks

Sanjay Ganapathy, Swagath Venkataramani|arXiv (Cornell University)|Apr 4, 2017
Advanced Neural Network ApplicationsComputer Science1 references5 citations
TL;DR

DyVEDeep proposes a dynamic, input-aware approach to reduce inference computation in deep neural networks by varying computational effort based on input difficulty. It uses three effort knobs—sparsity-based pruning, feature-level approximation, and layer-wise skipping—to achieve 2.1×–2.6× fewer scalar operations and 1.8×–2.3× faster inference with <0.5% accuracy loss across CIFAR-10 and ImageNet benchmarks.

ABSTRACT

Deep Neural Networks (DNNs) have advanced the state-of-the-art in a variety of machine learning tasks and are deployed in increasing numbers of products and services. However, the computational requirements of training and evaluating large-scale DNNs are growing at a much faster pace than the capabilities of the underlying hardware platforms that they are executed upon. In this work, we propose Dynamic Variable Effort Deep Neural Networks (DyVEDeep) to reduce the computational requirements of DNNs during inference. Previous efforts propose specialized hardware implementations for DNNs, statically prune the network, or compress the weights. Complementary to these approaches, DyVEDeep is a dynamic approach that exploits the heterogeneity in the inputs to DNNs to improve their compute efficiency with comparable classification accuracy. DyVEDeep equips DNNs with dynamic effort mechanisms that, in the course of processing an input, identify how critical a group of computations are to classify the input. DyVEDeep dynamically focuses its compute effort only on the critical computa- tions, while skipping or approximating the rest. We propose 3 effort knobs that operate at different levels of granularity viz. neuron, feature and layer levels. We build DyVEDeep versions for 5 popular image recognition benchmarks - one for CIFAR-10 and four for ImageNet (AlexNet, OverFeat and VGG-16, weight-compressed AlexNet). Across all benchmarks, DyVEDeep achieves 2.1x-2.6x reduction in the number of scalar operations, which translates to 1.8x-2.3x performance improvement over a Caffe-based implementation, with &lt; 0.5% loss in accuracy.

Motivation & Objective

  • Address the growing computational burden of deep neural network (DNN) inference, especially on resource-constrained devices.
  • Overcome the inefficiency of static DNNs that apply uniform computation across all inputs, regardless of input difficulty.
  • Leverage input heterogeneity—where some inputs are easier to classify than others—to dynamically allocate computational effort only where needed.
  • Maintain high classification accuracy while significantly reducing scalar operations and inference time through adaptive computation.
  • Develop a software-based, runtime-efficient mechanism that integrates seamlessly with existing DNN frameworks like Caffe.

Proposed method

  • Introduce three dynamic effort knobs operating at different granularities: neuron-level (SPET), feature-level (SFMA), and layer-level (SDSS) to reduce computation.
  • SPET identifies and skips neurons with low activation variance, assuming they contribute minimally to classification.
  • SFMA approximates feature maps with low spatial variance, reducing computation in less informative image regions.
  • SDSS selectively skips entire layers based on input-dependent confidence in early prediction, reducing deeper layer computation.
  • Integrate the effort knobs at inference time using runtime decision logic that evaluates input characteristics before computation.
  • Apply normalization and thresholding (e.g., DelAct_thresh) to balance approximation accuracy and computational savings.

Experimental results

Research questions

  • RQ1Can dynamic computation allocation based on input-specific difficulty improve DNN inference efficiency without sacrificing accuracy?
  • RQ2How effective are different granularities of computation reduction (neuron, feature, layer) in reducing scalar operations across diverse DNN architectures?
  • RQ3What is the runtime overhead of integrating dynamic effort mechanisms into standard DNN inference pipelines?
  • RQ4To what extent can input heterogeneity be exploited to skip or approximate computations in DNNs without degrading classification performance?
  • RQ5How do the proposed effort knobs compare in contribution to overall compute savings across different network layers and datasets?

Key findings

  • DyVEDeep achieves 2.1× to 2.6× reduction in scalar operations across five benchmarks, including CIFAR-10 and ImageNet variants (AlexNet, VGG-16, etc.).
  • Runtime performance improves by 1.8× to 2.3× over a Caffe-based baseline implementation, with minimal accuracy loss (<0.5%).
  • The SDSS knob contributes the most to savings (31% of total operations), followed by SPET (19%) and SFMA (7%).
  • Greater efficiency gains are observed in deeper convolutional layers (up to 2.6× speedup) due to higher activation variance and sparsity.
  • The effort map visualization confirms that DyVEDeep focuses computation on regions of interest in images, correlating with high-activation features.
  • Runtime overhead of the dynamic knobs is only 5% of baseline inference time, indicating strong practical feasibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.