Magnitude Pruning of Large Pretrained Transformer Models with a Mixture Gaussian Prior

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhang, Mingxuan, Sun, Yan, Liang, Faming
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913570356199424
author Zhang, Mingxuan
Sun, Yan
Liang, Faming
author_facet Zhang, Mingxuan
Sun, Yan
Liang, Faming
contents Large pretrained transformer models have revolutionized modern AI applications with their state-of-the-art performance in natural language processing (NLP). However, their substantial parameter count poses challenges for real-world deployment. To address this, researchers often reduce model size by pruning parameters based on their magnitude or sensitivity. Previous research has demonstrated the limitations of magnitude pruning, especially in the context of transfer learning for modern NLP tasks. In this paper, we introduce a new magnitude-based pruning algorithm called mixture Gaussian prior pruning (MGPP), which employs a mixture Gaussian prior for regularization. MGPP prunes non-expressive weights under the guidance of the mixture Gaussian prior, aiming to retain the model's expressive capability. Extensive evaluations across various NLP tasks, including natural language understanding, question answering, and natural language generation, demonstrate the superiority of MGPP over existing pruning methods, particularly in high sparsity settings. Additionally, we provide a theoretical justification for the consistency of the sparse transformer, shedding light on the effectiveness of the proposed pruning method.
format Preprint
id arxiv_https___arxiv_org_abs_2411_00969
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Magnitude Pruning of Large Pretrained Transformer Models with a Mixture Gaussian Prior
Zhang, Mingxuan
Sun, Yan
Liang, Faming
Machine Learning
Large pretrained transformer models have revolutionized modern AI applications with their state-of-the-art performance in natural language processing (NLP). However, their substantial parameter count poses challenges for real-world deployment. To address this, researchers often reduce model size by pruning parameters based on their magnitude or sensitivity. Previous research has demonstrated the limitations of magnitude pruning, especially in the context of transfer learning for modern NLP tasks. In this paper, we introduce a new magnitude-based pruning algorithm called mixture Gaussian prior pruning (MGPP), which employs a mixture Gaussian prior for regularization. MGPP prunes non-expressive weights under the guidance of the mixture Gaussian prior, aiming to retain the model's expressive capability. Extensive evaluations across various NLP tasks, including natural language understanding, question answering, and natural language generation, demonstrate the superiority of MGPP over existing pruning methods, particularly in high sparsity settings. Additionally, we provide a theoretical justification for the consistency of the sparse transformer, shedding light on the effectiveness of the proposed pruning method.
title Magnitude Pruning of Large Pretrained Transformer Models with a Mixture Gaussian Prior
topic Machine Learning
url https://arxiv.org/abs/2411.00969