Saved in:
Bibliographic Details
Main Authors: Chen, Yuli, Zhang, Shuhao, Meng, Fanshen, Cheng, Bo, Han, Jiale, Tong, Qiang, Liu, Xiulei
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.19520
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910153852321792
author Chen, Yuli
Zhang, Shuhao
Meng, Fanshen
Cheng, Bo
Han, Jiale
Tong, Qiang
Liu, Xiulei
author_facet Chen, Yuli
Zhang, Shuhao
Meng, Fanshen
Cheng, Bo
Han, Jiale
Tong, Qiang
Liu, Xiulei
contents Depth pruning improves the deployment efficiency of large language models (LLMs) by identifying and removing redundant layers. A widely accepted standard for this identification process is to measure the similarity between layers using cosine distance. However, we find that methods relying solely on this one-dimensional heuristic can exhibit unpredictable performance and even catastrophic collapse across different architectures. To address this issue, we propose SimDiff, a novel layer importance criterion that jointly evaluates layers from two orthogonal perspectives: representational similarity and transformation difference. The difference is quantified using two distinct metrics: MSSD, which is sensitive to outliers and identifies layers that make decisive corrections, and MASD, which robustly measures a layer's average contribution. Extensive experiments on multiple models ranging from 0.5B to 13B parameters demonstrate that SimDiff significantly outperforms state-of-the-art baselines across various pruning ratios. Notably, our method retains over 91% of LLaMA2-7B's performance at a 25% pruning ratio and achieves up to a 1.49x inference speedup when pruning 12 layers on LLaMA3.1-8B. We also show that pruned models can be effectively recovered with minimal fine-tuning.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19520
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SimDiff: Depth Pruning via Similarity and Difference
Chen, Yuli
Zhang, Shuhao
Meng, Fanshen
Cheng, Bo
Han, Jiale
Tong, Qiang
Liu, Xiulei
Artificial Intelligence
Depth pruning improves the deployment efficiency of large language models (LLMs) by identifying and removing redundant layers. A widely accepted standard for this identification process is to measure the similarity between layers using cosine distance. However, we find that methods relying solely on this one-dimensional heuristic can exhibit unpredictable performance and even catastrophic collapse across different architectures. To address this issue, we propose SimDiff, a novel layer importance criterion that jointly evaluates layers from two orthogonal perspectives: representational similarity and transformation difference. The difference is quantified using two distinct metrics: MSSD, which is sensitive to outliers and identifies layers that make decisive corrections, and MASD, which robustly measures a layer's average contribution. Extensive experiments on multiple models ranging from 0.5B to 13B parameters demonstrate that SimDiff significantly outperforms state-of-the-art baselines across various pruning ratios. Notably, our method retains over 91% of LLaMA2-7B's performance at a 25% pruning ratio and achieves up to a 1.49x inference speedup when pruning 12 layers on LLaMA3.1-8B. We also show that pruned models can be effectively recovered with minimal fine-tuning.
title SimDiff: Depth Pruning via Similarity and Difference
topic Artificial Intelligence
url https://arxiv.org/abs/2604.19520