Thesis icon

Thesis

Accelerating convolutional neural networks through enhanced designs

Abstract:

Although convolutional neural network (CNN) models have revolutionized and pushed the boundaries of computer vision, they often suffer from high memory and power costs due to the substantial amount of computation performed. The goal of this thesis is to provide algorithms, heuristics, and insights into accelerating CNNs.


The main method explored in this thesis is that of quantization. Normally neural networks use the standard IEEE 32-bit floating point format. However, due to the significant redundancy of these models, often only a fourth of the bitwidth is necessary, and in many cases this can be pushed down to even 2 or 1 bit. We present three papers exploring this idea. Our first paper, DSConv, proposes a channel-wise block floating point (BFP) format for tensor manipulation, which allows the bulk of the tensor computation to be performed using the low-cost high-throughput integer multiplications. This is achieved by sharing an exponent value across a group of mantissas, allowing the model to still have a wide representation power whilst avoiding floating point operations. Our second paper, NUQ, proposes an algorithm to find the optimal bitwidth of each layer of a CNN. It is expected that some layers need higher precision than others, and to avoid bottlenecks on compression, it is necessary to find the lowest bitwidth for each layer without losing overall accuracy. Our third paper, HyperBFP, focuses on expanding DSConv to the case of performing training and backpropagation in low precision. Quantizing gradients is more challenging than quantizing weights and activations in general, since it requires higher precision to work. Our approach is to extend the channel-wise BFP format to two dimensions in order to avoid having to requantize transposed convolutions in the backpropagation step.


A downside to new quantization schemes is that they rely on specifically designed hardware, such as field programmable gate arrays (FPGAs) and ASICs in order to accelerate the neural network. However, a significant proportion of edge devices do not have support for these state-of-the-art compression methods. In our fourth paper, we explore algorithms to compress and accelerate CNN models to run specifically on commodity hardware and current neural network accelerators. We propose a pipeline in which three compression stages are performed interleaved by recovering the accuracy using knowledge distillation. We show that by keeping the accuracy always close to the original model through knowledge distillation, we are able to achieve more than 5× speedup on commonly used superresolution networks without suffering significant perception loss.

Actions

Access Document

Authors

More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Engineering Science
Oxford college:
Christ Church
Role:
Author

Contributors

Institution:
University of Oxford
Division:
MPLS
Department:
Engineering Science
Oxford college:
St Catherine's College
Role:
Contributor, Supervisor
Institution:
University of Oxford
Division:
MPLS
Department:
Engineering Science
Oxford college:
St Catherine's College
Role:
Examiner
Institution:
University of Würzburg
Role:
Examiner


Omnitek More from this funder
Funding agency for:
Gennari do Nascimento, M
Grant:
57790
Programme:
Russel Studentship Agreement


DOI:
Type of award:
DPhil
Level of award:
Doctoral
Awarding institution:
University of Oxford


Language:
English
Deposit date:
2025-02-17
ARK identifier:

Terms of use


Views and Downloads

Views and downloads will return soon






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP