Compressing transformer-based semantic parsing models using compositional code embeddings

3Citations
Citations of this article
64Readers
Mendeley users who have this article in their library.

Abstract

The current state-of-the-art task-oriented semantic parsing models use BERT or RoBERTa as pretrained encoders; these models have huge memory footprints. This poses a challenge to their deployment for voice assistants such as Amazon Alexa and Google Assistant on edge devices with limited memory budgets. We propose to learn compositional code embeddings to greatly reduce the sizes of BERT-base and RoBERTa-base. We also apply the technique to DistilBERT, ALBERT-base, and ALBERT-large, three already compressed BERT variants which attain similar state-of-the-art performances on semantic parsing with much smaller model sizes. We observe 95.15% ∼ 98.46% embedding compression rates and 20.47% ∼ 34.22% encoder compression rates, while preserving >97.5% semantic parsing performances. We provide the recipe for training and analyze the trade-off between code embedding sizes and downstream performances.

Cite

CITATION STYLE

APA

Prakash, P., Shashidhar, S. K., Zhao, W., Rongali, S., Khan, H., & Kayser, M. (2020). Compressing transformer-based semantic parsing models using compositional code embeddings. In Findings of the Association for Computational Linguistics Findings of ACL: EMNLP 2020 (pp. 4711–4717). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2020.findings-emnlp.423

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free