Abstract
dc:description.abstractBERT achieved great success in Natural Language Processing (NLP). BERT models are computationally expensive due to their model size with hundreds of millions of parameters making them impractical to deploy to resource-constrained hardware platforms such as mobile devices.One way to optimize these complex models is to utilize hardware-aware neural architecture search (NAS). However, hardware-aware NAS needs to incorporate hardware performance metrics, such as energy consumption. Although on-device measurements provide accurate feedback, the overhead is huge. To address this problem, we propose an energy modeling framework on the Hikey 970 ARM big.LITTLE CPU and Mali GPU to predict the inference energy consumption of BERT models. We train energy predictor models on BERT and MobileBERT design space. We evaluate our BERT energy predictor's ability to generalize to the DistilBERT and DynaBERT design spaceCombined with the real accuracy values on the QNLI task, we evaluate our energy model's ability to predict the Pareto-optimal front in the 2D accuracy-energy design space of DynaBERT models. Our model correctly predicts 14 out of the 17 true Pareto-optimal models
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2023
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Chuning
- Advisor dc:contributor.advisor
-
- Meyer, Brett (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
- 1416849029
- Identifier URI
- https://hdl.handle.net/20.500.14905/87857
- Dc Identifier Other
- hyrax:2n49t734f