READING NOTE:LCNN: Lookup-based Convolutional Neural Network

TITLE: LCNN: Lookup-based Convolutional Neural Network

AUTHOR: Hessam Bagherinezhad, Mohammad Rastegari, Ali Farhadi

ASSOCIATION: University of Washington, Allen Institute for AI

FROM: arXiv:1611.06473

CONTRIBUTIONS

LCNN, a lookup-based convolutional neural network is introduced that encodes convolutions by few lookups to a dictionary that is trained to cover the space of weights in CNNs.

METHOD

The main idea of the work is decoding the weights of the convolutional layer using a dictionary D  and two tensors, I  and C  , like the following figure illustrated.

where k  is the size of the dictionary D  , m  is the size of input channel. The weight tensor can be constructed by the linear combination of S  words in dictionary D  as follows:

W [:,r,c] = t=1 S C [t,r,c] D [I [t,r,c] ,:] r,c 

where S  is the size of number of components in the linear combinations. Then the convolution can be computed fast using a shared dictionary. we can convolve the input with all of the dictionary vectors, and then compute the output according to I  and C  . Since the dictionary D  is shared among all weight filters in a layer, we can precompute the convolution between the input tensor X  and all the dictionary vectors. Given S  which is defined as:

S [i,:,:] =XD [i,:] 1ik 

the convolution operation can be computed as

XW=SP 

where P  can be expressed by I  and C :

P j,r,c ={C t,r,c  0 t:I t,r,c =jotherwise  

The idea can be illustrated in the following figure:

thus the the dictionary and the lookup parameters can be trained jointly.

ADVANTAGES

  1. It speeds up inference.
  2. Few-shot learning. The shared dictionary in LCNN allows a neural network to learn from very few training examples on novel categories
  3. LCNN needs fewer iteration to train.

DISADVANTAGES

  1. Performance is hurt because of the estimation of the weights
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值