Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Park, Seungcheol, Choi, Hojun, Kang, U
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910367477661696
author Park, Seungcheol
Choi, Hojun
Kang, U
author_facet Park, Seungcheol
Choi, Hojun
Kang, U
contents Given a pretrained encoder-based language model, how can we accurately compress it without retraining? Retraining-free structured pruning algorithms are crucial in pretrained language model compression due to their significantly reduced pruning cost and capability to prune large language models. However, existing retraining-free algorithms encounter severe accuracy degradation, as they fail to handle pruning errors, especially at high compression rates. In this paper, we propose K-prune (Knowledge-preserving pruning), an accurate retraining-free structured pruning algorithm for pretrained encoder-based language models. K-prune focuses on preserving the useful knowledge of the pretrained model to minimize pruning errors through a carefully designed iterative pruning process composed of knowledge measurement, knowledge-preserving mask search, and knowledge-preserving weight-tuning. As a result, K-prune shows significant accuracy improvements up to 58.02%p higher F1 score compared to existing retraining-free pruning algorithms under a high compression rate of 80% on the SQuAD benchmark without any retraining process.
format Preprint
id arxiv_https___arxiv_org_abs_2308_03449
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models
Park, Seungcheol
Choi, Hojun
Kang, U
Computation and Language
68T50
I.2.7
Given a pretrained encoder-based language model, how can we accurately compress it without retraining? Retraining-free structured pruning algorithms are crucial in pretrained language model compression due to their significantly reduced pruning cost and capability to prune large language models. However, existing retraining-free algorithms encounter severe accuracy degradation, as they fail to handle pruning errors, especially at high compression rates. In this paper, we propose K-prune (Knowledge-preserving pruning), an accurate retraining-free structured pruning algorithm for pretrained encoder-based language models. K-prune focuses on preserving the useful knowledge of the pretrained model to minimize pruning errors through a carefully designed iterative pruning process composed of knowledge measurement, knowledge-preserving mask search, and knowledge-preserving weight-tuning. As a result, K-prune shows significant accuracy improvements up to 58.02%p higher F1 score compared to existing retraining-free pruning algorithms under a high compression rate of 80% on the SQuAD benchmark without any retraining process.
title Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models
topic Computation and Language
68T50
I.2.7
url https://arxiv.org/abs/2308.03449