Skip to main content
QUICK REVIEW

[Paper Review] FixyNN: Efficient Hardware for Mobile Computer Vision via Transfer Learning

Paul N. Whatmough, Chuteng Zhou|arXiv (Cornell University)|Feb 27, 2019
Advanced Neural Network ApplicationsComputer Science51 references37 citations
TL;DR

FixyNN proposes a two-part CNN architecture with a fixed-weight feature extractor (FFE) and a programmable back-end, enabling transfer learning-based vision models on mobile hardware with high energy efficiency.

ABSTRACT

The computational demands of computer vision tasks based on state-of-the-art Convolutional Neural Network (CNN) image classification far exceed the energy budgets of mobile devices. This paper proposes FixyNN, which consists of a fixed-weight feature extractor that generates ubiquitous CNN features, and a conventional programmable CNN accelerator which processes a dataset-specific CNN. Image classification models for FixyNN are trained end-to-end via transfer learning, with the common feature extractor representing the transfered part, and the programmable part being learnt on the target dataset. Experimental results demonstrate FixyNN hardware can achieve very high energy efficiencies up to 26.6 TOPS/W ($4.81 imes$ better than iso-area programmable accelerator). Over a suite of six datasets we trained models via transfer learning with an accuracy loss of $<1\%$ resulting in up to 11.2 TOPS/W - nearly $2 imes$ more efficient than a conventional programmable CNN accelerator of the same area.

Motivation & Objective

  • Reduce energy and latency for mobile CNN inference by splitting the model into a fixed front-end feature extractor and a dataset-specific back-end.
  • Demonstrate that a fixed front-end can achieve higher throughput and energy efficiency than fully programmable accelerators under iso-area constraints.
  • Show that transfer learning can preserve accuracy while reusing a common FFE across diverse vision tasks.

Proposed method

  • Design of a fixed-weight feature extractor (FFE) accelerator that performs native, fully-parallel convolutions with fixed weights to maximize throughput and minimize energy.
  • Use Line Buffers and shift-register based buffering to enable fully-pipelined, fixed-weight CNN layers without large activation storage.
  • Develop DeepFreeze, an open-source tool-flow that auto-generates Verilog HDL for fixed-weight CNN hardware from TensorFlow models.
  • Train a common FFE (based on MobileNet) on ImageNet and transfer to multiple target datasets via end-to-end transfer learning, keeping the front-end fixed while fine-tuning the back-end.

Experimental results

Research questions

  • RQ1How much energy and performance gain can be achieved by fixing a portion of the CNN front-end across multiple datasets?
  • RQ2What is the accuracy impact of fixing the FFE on diverse datasets when applying transfer learning?
  • RQ3What is the trade-off between fixed-layer count in the FFE and programmable back-end capacity under iso-area constraints?

Key findings

  • FFE delivers substantially higher throughput and energy efficiency than a programmable accelerator across layers (average gains of 8.3x in TOPS and 68.5x in TOPS/W for MobileNet-0.25 layers).
  • Under area constraints, fixing more layers increases throughput and energy efficiency, with up to 2.55x throughput and 5.84x energy efficiency gains at iso-area for MobileNet-0.25 with suitable NVDLA configurations.
  • Transfer learning with a fixed feature extractor maintains accuracy within <2% for CIFAR-100, CIFAR-10, SVHN, and Flowers102, while requiring fewer fixed parameters than a fully-fixed network.
  • For larger MobileNet-1.00, FixyNN shows benefits at area budgets >3 mm^2, achieving ~1.28x energy efficiency improvement at 4 mm^2 when fixing the first 4 layers.

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.