Saved in:
Bibliographic Details
Main Authors: Xu, Mingxue, Alazraki, Lisa, Mandic, Danilo P.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.04377
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910861503758336
author Xu, Mingxue
Alazraki, Lisa
Mandic, Danilo P.
author_facet Xu, Mingxue
Alazraki, Lisa
Mandic, Danilo P.
contents Pruning assumes a subnetwork exists in the original deep neural network, which can achieve comparative model performance with less computation than the original. However, it is unclear how the model performance varies with the different subnetwork extractions. In this paper, we choose the representation dimension (or embedding dimension, model dimension, the dimension of the residual stream in the relevant literature) as the entry point to this issue. We investigate the linear transformations in the LLM transformer blocks and consider a specific structured pruning approach, SliceGPT, to extract the subnetworks of different representation dimensions. We mechanistically analyse the activation flow during the model forward passes, and find the representation dimension dominates the linear transformations, model predictions, and, finally, the model performance. Explicit analytical relations are given to calculate the pruned model performance (perplexity and accuracy) without actual evaluation, and are empirically validated with Llama-3-8B-Instruct and Phi-3-mini-4k-Instruct.
format Preprint
id arxiv_https___arxiv_org_abs_2503_04377
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle How can representation dimension dominate structurally pruned LLMs?
Xu, Mingxue
Alazraki, Lisa
Mandic, Danilo P.
Machine Learning
Pruning assumes a subnetwork exists in the original deep neural network, which can achieve comparative model performance with less computation than the original. However, it is unclear how the model performance varies with the different subnetwork extractions. In this paper, we choose the representation dimension (or embedding dimension, model dimension, the dimension of the residual stream in the relevant literature) as the entry point to this issue. We investigate the linear transformations in the LLM transformer blocks and consider a specific structured pruning approach, SliceGPT, to extract the subnetworks of different representation dimensions. We mechanistically analyse the activation flow during the model forward passes, and find the representation dimension dominates the linear transformations, model predictions, and, finally, the model performance. Explicit analytical relations are given to calculate the pruned model performance (perplexity and accuracy) without actual evaluation, and are empirically validated with Llama-3-8B-Instruct and Phi-3-mini-4k-Instruct.
title How can representation dimension dominate structurally pruned LLMs?
topic Machine Learning
url https://arxiv.org/abs/2503.04377