Back to search

McGill University

Towards finding efficient students via blockwise neural architecture search and knowledge distillation

Abstract

dc:description.abstract

Deep learning makes much remarkable progress on natural language processing (NLP) applications. Pre-trained attention-based structures, such as BERT and DistilBERT have shown great success on different general language understanding evaluation (GLUE) tasks. However, these models require huge resources and thus are difficult to be deployed on edge devices. Existing methods compress BERT-like models into impact ones which are usually with fixed structures and not always the best under different constraints. Moreover, most of the compressed models are designed manually, heavily relying on experts. Inspired by Neural Architecture Search (NAS) and knowledge distillation (KD), previous works have explored the potential candidates over the supernet and trained an adaptive student to fit different constraints. Although these existing methods push the limit of the performance of the compact models, each candidate cannot be trained equally. To solve the problem, we propose Differentiable Blockwise Neural Architecture Search (DBNAS), a three-stage search-and-evaluation method to automatically find the student with the best performance under different efficiency constraints. We report results on two compressed models: DBNAS_BERT and DBNAS_DistilBERT supervised by the BERT_BASE and DistilBERT respectively. Overall, compared with the corresponding teacher model, DBNAS_BERT reduces the model size by 90%, while maintaining 95.5% performance, and DBNAS_DistilBERT keeps 96.7% of the performance using 11.2% parameters on the validation set of SST-2 task

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Hang
Advisor dc:contributor.advisor
  • Gross, Warren (Supervisor)

Subjects

dc:subject × 1

Rights

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
1342593180
Dc Identifier Other
hyrax:6108vh43k

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Zhang, Hang. Towards finding efficient students via blockwise neural architecture search and knowledge distillation. McGill University, 2022. https://doi.org/10.82308/38517