arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.4526cs.CV
收藏

用于像素分类的高效前向和反向传播卷积神经网络

Highly Efficient Forward and Backward Propagation of Convolutional Neural Networks for Pixelwise Classification

The Chinese University of Hong Kong(香港中文大学);University of Electronic Science and Technology of China(电子科技大学)

Hongsheng Li, Rui Zhao, Xiaogang Wang

摘要:

我们提出了高效的算法,用于执行卷积神经网络(CNN)的前向和后向传播图像上的像素分类。对于逐像素分类任务,例如图像分割和目标检测,将周围图像块馈送到CNN中,用于经由前向传播来预测中心像素的类别,并且用于经由后向传播来更新CNN参数。然而,前向和后向传播最初是为整个图像分类设计的。直接将其以逐块扫描的方式应用于逐像素分类是非常低效的,因为周围的像素块有很大的重叠,这导致大量的冗余计算。该算法通过引入新的d-正则稀疏核,消除了卷积和池化中的冗余计算。它生成的结果与逐块扫描的结果完全相同。使用这种内核的卷积和池化操作能够连续访问内存,并且可以在GPU上高效运行。通过在最后一个CNN层将掩模应用于误差图,可以从每个训练图像中选择一部分感兴趣的补丁进行反向传播。它的计算复杂度相对于从图像采样的补丁的数量是恒定的。实验表明,我们提出的算法加快常用的补丁补丁的补丁扫描超过1500倍,在向前和向后传播。加速比随着图像和补丁的大小而增加。

英文摘要:

We present highly efficient algorithms for performing forward and backward propagation of Convolutional Neural Network (CNN) for pixelwise classification on images. For pixelwise classification tasks, such as image segmentation and object detection, surrounding image patches are fed into CNN for predicting the classes of centered pixels via forward propagation and for updating CNN parameters via backward propagation. However, forward and backward propagation was originally designed for whole-image classification. Directly applying it to pixelwise classification in a patch-by-patch scanning manner is extremely inefficient, because surrounding patches of pixels have large overlaps, which lead to a lot of redundant computation. The proposed algorithms eliminate all the redundant computation in convolution and pooling on images by introducing novel d-regularly sparse kernels. It generates exactly the same results as those by patch-by-patch scanning. Convolution and pooling operations with such kernels are able to continuously access memory and can run efficiently on GPUs. A fraction of patches of interest can be chosen from each training image for backward propagation by applying a mask to the error map at the last CNN layer. Its computation complexity is constant with respect to the number of patches sampled from the image. Experiments have shown that our proposed algorithms speed up commonly used patch-by-patch scanning over 1500 times in both forward and backward propagation. The speedup increases with the sizes of images and patches.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑