Skip to main content
QUICK REVIEW

[Paper Review] LCNN: Lookup-based Convolutional Neural Network

Hessam Bagherinezhad, Mohammad Rastegari|arXiv (Cornell University)|Nov 20, 2016
Advanced Neural Network ApplicationsComputer Science37 references12 citations
TL;DR

LCNN is a lookup-based convolutional neural network that replaces standard convolutional filters with sparse linear combinations of learned dictionary vectors, enabling fast, compact, and accurate inference and training. It achieves up to 37.6× speedup over AlexNet with 44.3% top-1 accuracy and enables efficient few-shot and few-iteration learning by transferring pre-trained dictionaries across architectures.

ABSTRACT

Porting state of the art deep learning algorithms to resource constrained compute platforms (e.g. VR, AR, wearables) is extremely challenging. We propose a fast, compact, and accurate model for convolutional neural networks that enables efficient learning and inference. We introduce LCNN, a lookup-based convolutional neural network that encodes convolutions by few lookups to a dictionary that is trained to cover the space of weights in CNNs. Training LCNN involves jointly learning a dictionary and a small set of linear combinations. The size of the dictionary naturally traces a spectrum of trade-offs between efficiency and accuracy. Our experimental results on ImageNet challenge show that LCNN can offer 3.2x speedup while achieving 55.1% top-1 accuracy using AlexNet architecture. Our fastest LCNN offers 37.6x speed up over AlexNet while maintaining 44.3% top-1 accuracy. LCNN not only offers dramatic speed ups at inference, but it also enables efficient training. In this paper, we show the benefits of LCNN in few-shot learning and few-iteration learning, two crucial aspects of on-device training of deep learning models.

Motivation & Objective

  • Address the challenge of deploying state-of-the-art deep learning models on resource-constrained platforms like VR, AR, and wearables.
  • Reduce computational and memory overhead in CNNs caused by over-parametrization and weight correlation.
  • Enable efficient on-device training under strict constraints of few examples (few-shot) and few training iterations (few-iteration learning).
  • Develop a model that maintains high accuracy while drastically reducing parameter count and inference time.

Proposed method

  • Replace standard convolutional filters with sparse linear combinations of vectors from a learned dictionary, reducing parameter count and enabling lookup-based computation.
  • Jointly train the dictionary and the sparse reconstruction weights (P tensor) during model optimization.
  • Use dictionary transferability: pre-train dictionaries on larger networks and transfer them to smaller or deeper architectures without retraining.
  • Fix the dictionary during fine-tuning for few-shot learning, reducing the number of trainable parameters to only the sparse reconstruction weights.
  • Leverage the architecture-agnostic nature of dictionaries to enable transfer learning across different network depths and structures.
  • Apply low-precision quantization and compact data structures to further optimize inference efficiency.

Experimental results

Research questions

  • RQ1Can a lookup-based CNN achieve significant speedups in inference while maintaining competitive accuracy on ImageNet?
  • RQ2How effective is LCNN in few-shot learning scenarios where only one or a few examples per class are available?
  • RQ3Can LCNN enable high-accuracy training in very few training iterations, suitable for on-device learning?
  • RQ4To what extent can pre-trained dictionaries be transferred across different network architectures to accelerate training?
  • RQ5Does the joint learning of dictionary and reconstruction weights lead to better parameter efficiency and generalization?

Key findings

  • LCNN achieves a 3.2× speedup over standard AlexNet while maintaining 55.1% top-1 accuracy on ImageNet.
  • The fastest LCNN variant achieves 37.6× speedup over AlexNet while preserving 44.3% top-1 accuracy.
  • In few-shot learning, LCNN improves top-1 accuracy by 6.3% when training with only one example per category.
  • LCNN enables 16.2% higher top-1 accuracy than standard CNN after only 10,000 training iterations when using a transferred dictionary from a shallower network.
  • The number of trainable parameters is reduced by a factor of 14× in fine-tuning by fixing the dictionary and only updating the sparse reconstruction weights.
  • LCNN achieves 5× speedup with 62.2% top-1 accuracy and 29.2× speedup with 51.8% accuracy in ResNet-18, demonstrating strong scalability.

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.