McGill University
Optimization of neural networks by reducing floating- point precision of weights during training
Abstract
dc:description.abstractDeep learning is an iterative process with many tunable parameters. Repeated and long running executions benefit from optimizations that improve learning and testing performance, both in terms of time and power consumption. A popular approach to optimization focuses on faster learning by clipping weight values to a range (quantization) and converting them to fixed point precision. Quantization, however, results in significant loss of accuracy and requires further optimization to reach performance of full precision models, or use other resources, such as a lookup table to compensate for the information loss. In this work we focus on reducing precision more within the spirit of the native IEEE 754 standard for the representation of float values. We propose a hierarchy of approaches that reduce the number of mantissa bits of a neural network weights based on the actual values at the end of every batch of training, as simulated through a manual mantissa reduction. At a coarse level we experiment with this approach applied to an entire learning network, extending the approach to a level-by-level precision adjustment to better adapt to the internal precision needs of different layers. We further propose a novel fine-grain approach, applying precision adjustment to groups of individual weights, dynamically clustered into "buckets", each having different precision. The approach performs almost as good as a full precision network in terms of training accuracy, but allowing for reduced space requirements, and a significantly lower prediction time
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2021
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Dutta, Dipanjan
- Advisor dc:contributor.advisor
-
- Verbrugge, Clark (Supervisor)
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- OCLC
- 1257388790
- Identifier URI
- https://hdl.handle.net/20.500.14905/127010
- Dc Identifier Other
- hyrax:vm40xx75t