---
title: "SliceGPT — paper by Ashkboos et al. (2024)"
description: "SliceGPT compresses pretrained transformers by rotating and narrowing their hidden representations so that inference uses smaller dense matrices."
canonical: "https://research.elamur.ai/free/en/papers/ashkboos-2024-slicegpt-compress-large-language-models/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ashkboos-2024-slicegpt-compress-large-language-models/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / SliceGPT: Compress Large Language Models by Deleting Rows and Columns

# SliceGPT: Compress Large Language Models by Deleting Rows and Columns

Paper · 2024 · Saleh Ashkboos, Maximilian L. Croci, Marcelo Gennari do Nascimento et al.

**Authors:** [Saleh Ashkboos](https://md.research.elamur.ai/free/en/authors/saleh-ashkboos/), [Maximilian L. Croci](https://md.research.elamur.ai/free/en/authors/maximilian-l-croci/), Marcelo Gennari do Nascimento, [Torsten Hoefler](https://md.research.elamur.ai/free/en/authors/torsten-hoefler/) and [James Hensman](https://md.research.elamur.ai/free/en/authors/james-hensman/) · **Year:** 2024 · **Venue:** arXiv:2401.15024 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[Cited by **127** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/ashkboos-2024-slicegpt-compress-large-language-models/cited-by/) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2401.15024)
- [arXiv 2401.15024](https://arxiv.org/abs/2401.15024)

## Summary

A pretrained [large language model](https://md.research.elamur.ai/free/en/concepts/large-language-models/) can require several GPUs just to generate a response. Pruning can reduce the number of weights used in prediction, but a matrix with many zero entries still has its original dimensions. Taking advantage of those zeros can require specialized storage and computation. SliceGPT makes the matrices themselves smaller. It narrows the representation carried between the blocks of a [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) so that existing dense matrix operations have less work to do.

The authors show that a transformer with suitable normalization can express its intermediate signals in different coordinates and still produce the same scores for the next token. SliceGPT uses that freedom to put the directions most prominent in a sample of activations first. It then drops the remaining directions by removing the corresponding rows or columns from weight matrices. Changing coordinates preserves the original computation. Dropping coordinates is the step that can change predictions. The pruning procedure uses sample sequences to choose the coordinates and can run without further training. The paper also tests optional recovery [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) after slicing.

At 25% slicing, the paper’s conclusion reports that OPT 66B, Llama-70B and Phi-2 retain 99%, 96% and 87% of their respective dense versions’ average zero-shot task performance before recovery. Here, zero-shot performance means accuracy on tasks attempted without worked examples at evaluation time. Recovery raises the reported retention for Llama-70B and Phi-2 to 99% and 90%, respectively. SliceGPT also compares favorably with SparseGPT’s 2:4 pattern on WikiText-2 at the moderate slicing levels tested. The outcome depends on the architecture, the amount removed and the data used to select the retained directions.

The narrower network also changes what fits on a GPU. For Llama-70B, the paper reports that the inference cost falls to 66% of the dense configuration on 40GB A100 GPUs and to 64% on 24GB RTX6000 GPUs, with fewer devices in both configurations. Its throughput tests show that further slicing can make larger batches feasible, although the more aggressive settings also weaken language prediction. The underlying contribution is a way to find dimensions that can be removed from an already trained network and turn that removal into a smaller computation.

## Deep dive: SliceGPT: Compress Large Language Models by Deleting Rows and Columns

SliceGPT compresses pretrained transformers by rotating and narrowing their hidden representations so that inference uses smaller dense matrices. · about 37 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why zeros can leave the hard part of deployment in place

In the deployment setting the authors describe, the expensive training run has already happened. The practical question is how to reuse the resulting system when its weights and computations are too large for the intended hardware. An autoregressive transformer generates text by repeatedly using the sequence available so far to score possible continuations. The cost of executing the network therefore matters at each generation step. The memory required to hold it can also determine how many GPUs are needed before any generation can begin.

The paper places this problem within [compression of efficient language systems](https://md.research.elamur.ai/free/en/topics/efficient-models/). It distinguishes distillation, tensor decomposition, pruning and quantization. Distillation uses a trained system to guide the training of a compact one. Tensor decomposition, including low-rank factorization, represents a weight computation through smaller factors. Quantization reduces the precision used to represent values. Pruning removes selected parameters or structures. SliceGPT is a pruning method because the reduced network physically omits parts of the original computation after a change of coordinates.

A conventional pruning rule can set individual weights to zero and adjust surviving weights to compensate. Whether the resulting operation runs faster depends on how those zeros are arranged. If each row has zeros in different positions, the implementation needs some way to identify which values to skip. The activation matrix that enters the multiplication can still contain all its original columns. The network may have fewer non-zero weights while continuing to move a full-width signal from block to block.

A regular pattern makes skipping arithmetic more predictable. The paper illustrates this with 2:4 sparsity, where a group of four weight entries has two zeros. The format constrains the choice of weights that can survive, and its efficient execution depends on support for that layout. The activation presented to the operation still has its usual width. SliceGPT’s diagram presents a different possibility. If the useful part of a signal can be concentrated in a subset of directions, the weight matrix and the signal can both lose the dimensions they would otherwise spend on the discarded directions.

This distinction matters when comparing compression methods. The count of surviving weights describes one property of a representation. Storage for the weights and their layout, the dimensions of intermediate activations, and the speed of the operations describe other properties. A dense matrix with smaller dimensions uses every entry it stores. Whether it saves more time than a larger matrix with a special pattern of zeros is a question about the workload and the implementation, as well as the pruning ratio.

#### What earlier methods tried to preserve

The simplest comparison in the paper’s account is magnitude pruning. It ranks weights by size and zeros the smallest. A small individual weight is easy to identify, but its magnitude by itself supplies limited information about the change to the output once many weights are removed. The authors cite work showing that this rule degrades large pretrained transformers substantially. They also test a related baseline that removes whole rows or columns using their norms. This establishes a direct comparison for the choice of coordinates, which matters even when the eventual deletion has the right shape for dense execution.

Optimal Brain Surgeon uses a more elaborate criterion. It seeks removals with a small effect on the loss and uses an inverse Hessian to compensate by modifying the remaining weights. The Hessian describes how the curvature of the loss relates changes in parameters to changes in the objective. Storing and calculating its inverse is costly. WoodFisher approximates the inverse, while Optimal Brain Compression applies the calculation separately by layer. At the scale considered here, even the weight matrix for one layer can contain more than 10⁸ parameters, the scale the authors give when discussing the difficulty of carrying these approaches over.

[GPTQ](https://md.research.elamur.ai/free/en/papers/frantar-2022-gptq-accurate-post-training-quantization/) addresses a related scaling problem for quantization. It processes weights column by column and compensates by adjusting columns still awaiting conversion. [SparseGPT](https://md.research.elamur.ai/free/en/papers/frantar-2023-sparsegpt-massive-language-models-accurately/) uses the same general strategy for pruning and can produce both irregular and semi-structured sparsity. The paper also discusses an approach that uses only diagonal information from the Hessian. Semi-structured formats offer a practical route to faster multiplications under appropriate hardware support, although imposing the format can degrade predictive quality. [Work on accelerating sparse neural networks](https://md.research.elamur.ai/free/en/papers/mishra-2021-accelerating-sparse-deep-neural-networks/)

Low-rank approximation starts from a different representation of a weight matrix. It inserts a smaller inner dimension between factors whose product approximates the original matrix. The authors point out that, for the square-matrix comparison they describe, that dimension has to be smaller than half the original width for the factors to save parameters. They also describe fine-tuning as a usual subsequent step in this line of compression work. SliceGPT seeks a smaller signal to pass between operations. Its edited input or output projection is a single reduced matrix, while a separate basis transition may be needed on the residual path. [Compacter](https://md.research.elamur.ai/free/en/papers/mahabadi-2021-compacter-efficient-low-rank-hypercomplex/)

The closest structural precedent in the paper comes from pruning channels and filters in convolutional networks. Some approaches add regularization during training or fine-tuning to create structures that can be removed. The authors identify ThiNet and related channel-pruning work as especially close because they also manipulate linear operations between layers. Those precedents combine the structural changes with more training. The paper notes that the networks discussed there are substantially smaller than the largest transformers it targets. A procedure that repeats training while searching for useful regularization settings presents a different cost at that scale.

Structured pruning of language transformers was already being attempted. LLM-Pruner removes connected structures and trains the remaining network further to recover performance. LLM Surgeon interleaves pruning and recovery fine-tuning. SliceGPT asks how much can be achieved through a change of basis and a single pruning procedure, then treats recovery training as an additional experiment. This separates the quality of the subspace selected by the pruning algorithm from improvements that require training on more data. [LLM-Pruner](https://md.research.elamur.ai/free/en/papers/ma-2023-llm-pruner-structural-pruning-large/)

### The method, step by step

#### Find the width that runs through the network

A transformer represents each token position with a row of numbers. An embedding lookup supplies the initial rows. An attention block mixes information using projections derived from those rows. A feed-forward network, or FFN, applies another transformation to the representation. A residual connection carries a block’s incoming signal around the block and adds it to the block’s output. A language-modeling head finally produces logits, the scores used to predict a token. SliceGPT changes the width of the residual representation that these operations read and write. [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/)

The distinction between a block’s interface and its internal computation is important. Attention first forms queries, keys and values, then performs the attention operation and projects its result back to the residual width. An FFN first projects the input to its internal representation, transforms that representation, then projects the result back. Slicing the residual width changes the dimension that goes into the first projection and comes out of the last. It does not rely on rotating the queries, keys and values independently, nor on an elementwise activation having any special symmetry.

The paper uses a sequence matrix whose shape is written as follows.

```
shape(X) = N × D
```

Here, X is the signal matrix at an interface, and shape gives its row and column counts. N is the sequence length, so each of the N rows belongs to a token position. D is the original embedding width, so each row has D coordinates. The multiplication sign separates the dimensions of the matrix.

The authors bring the attention and feed-forward cases under the same notation. They group the input projections conceptually and put the internal operation between an input matrix and an output matrix.

```
Z = σ(X Wᵢₙ + bᵢₙ) Wₒᵤₜ + bₒᵤₜ
```

Here, Z is the transformation the block contributes to the residual sum. X is the signal supplied to the block, Wᵢₙ is the input projection or concatenation of input projections, and Wₒᵤₜ is the output projection. The input and output biases are bᵢₙ and bₒᵤₜ, with the addition understood to apply to every token row when a bias is present. The function σ is the operation between the projections. It has a different meaning for attention and for an FFN.

For attention, the input matrix groups the key, query and value projections, and σ includes the operation on the resulting attention heads and their combination. For an ordinary multilayer perceptron, σ can be an elementwise transformation. For a gated FFN, the paper groups the separate input projections in the same way. One branch passes through an activation, and its values multiply those from the other branch element by element. That interaction sits inside σ. Because the first projection can undo the change of coordinates before σ sees its input, the same argument applies to these distinct operations.

From pretrained transformer to sliced dense network The steps in order.

#### Separate normalization from the learned affine terms

The key obstacle is what happens between linear blocks. If a coordinate change were immediately followed by its inverse, the two matrices would cancel. In the transformer, a normalization operation can sit between the point where a block writes the signal and the point where the next block reads it. SliceGPT exploits the part of normalization that depends only on the vector’s length.

The paper uses RMSNorm as notation for dividing each row by its Euclidean norm. That convention makes a fixed factor explicit when the authors describe LayerNorm. LayerNorm first subtracts the mean of the coordinates within a token row, then normalizes it and applies learned scales and offsets. The following matrix expresses the mean subtraction as a linear operation.

```
M = I − (1/D) 𝟙𝟙ᵀ
```

Here, M is the D-by-D centering matrix, I is the identity of that size, and D is the width of the row being centered. The symbol 𝟙 is a column of D ones, and ᵀ turns it into a row for the outer product. The factor 1/D converts the summed coordinates into their mean. Right-multiplying a token row by M subtracts that mean from each coordinate.

```
LayerNorm(X) = RMSNorm(X M) diag(α) √D + 𝟙ₙ βᵀ
```

Here, LayerNorm is the full operation on the signal matrix X, and M centers its rows. RMSNorm divides each centered row by its Euclidean norm under the paper’s convention. The learned scale vector α supplies the diagonal entries of diag(α), which scales the resulting columns. The factor √D accounts for the relation between dividing by the norm and dividing by the standard deviation of the centered coordinates. The vector β gives the learned offset. The symbol 𝟙ₙ denotes a column of ones with one entry per sequence position, and multiplication by βᵀ repeats the offset as a row across the sequence. [Layer Normalization](https://md.research.elamur.ai/free/en/papers/ba-2016-layer-normalization/)

For a network that uses LayerNorm, the authors fold these linear and affine terms into the surrounding projections. Mean subtraction can move backward onto the matrices that write the signal. A block’s output matrix is post-multiplied by M, and the embeddings are centered as well. A residual sum can be centered in this way because centering a sum is equivalent to adding centered terms. The scales can move forward into the projection that next consumes the normalized signal. This applies to the final projection into token scores as well as to the attention and FFN inputs.

An offset on the normalized input contributes a constant after the next linear projection and can be handled with its bias. A bias that writes into the residual signal belongs on the output side of the conversion, where centering applies to it along with the projected signal. The paper’s architectural diagrams omit biases, so the visible matrices illustrate the principal changes. In the resulting formulation, the operation left between the absorbed affine terms is the norm-based division needed for the invariance argument. A network whose RMSNorm implementation includes learned scale parameters likewise needs the scale treated separately from this division.

This conversion is a rearrangement of the original full-width calculation. It does not choose coordinates or remove any weights yet. Its purpose is to leave a normalization between block interfaces whose behavior is easy to track when those interfaces are expressed in a different basis.

#### Rotate the full-width signal without changing the prediction

An orthogonal matrix describes a change between orthonormal coordinates. Its transpose undoes the change. Since the Euclidean length of a vector is the same in either coordinate system, the division in RMSNorm can occur on either side of this change.

```
QᵀQ = QQᵀ = I
```

Here, Q is a square orthogonal matrix of width D, Qᵀ is its transpose, and I is the identity of the same size. The products express that multiplying by Q and then its transpose reverses the transformation, in either order.

```
‖Qx‖ = √(xᵀ Qᵀ Q x) = √(xᵀ x) = ‖x‖
```

Here, x is a column vector, and xᵀ is the corresponding row. Q is the orthogonal transformation and Qᵀ its transpose. The double bars denote Euclidean length, and the square roots take the length from its squared value. For a token row, the same reasoning applies to right multiplication by Q.

```
RMSNorm(Xₗ Q) Qᵀ = RMSNorm(Xₗ)
```

Here, Xₗ is the signal after block ℓ and before the intervening normalization. Q rotates its rows and Qᵀ reverses that rotation. RMSNorm acts row by row. Each row is divided by the same length on both sides of the equation, which allows the rotation to pass through the normalization.

Start with one shared Q for the whole residual stream. An embedding row can be rotated in advance. At the next block, an edited input projection undoes the rotation and therefore supplies the original values to the nonlinear operation. An edited output projection expresses the block’s contribution in the rotated coordinates. The skip connection is already carrying a rotated vector, so it can add the two terms directly. This repeats until the head, whose edited input projection removes the rotation and gives the original logits.

The weight edits make this argument concrete. The tilde in the following expressions marks a parameter of the rotated full-width network.

```
W̃ₑₘᵦ = Wₑₘᵦ Q
```

Here, Wₑₘᵦ is the original embedding matrix and W̃ₑₘᵦ is its edited form. Q acts on the columns, so looking up any row now returns its coordinates in the rotated representation.

```
W̃ᵢₙ^(ℓ) = Qᵀ Wᵢₙ^(ℓ)
```

Here, Wᵢₙ^(ℓ) is the original input projection at block ℓ and W̃ᵢₙ^(ℓ) its edited form. Qᵀ acts on the rows of this weight matrix. Multiplying the rotated input by this edited matrix cancels the input’s Q before the block’s internal operation.

```
W̃ₒᵤₜ^(ℓ) = Wₒᵤₜ^(ℓ) Q
```

Here, Wₒᵤₜ^(ℓ) is the original output projection at block ℓ and W̃ₒᵤₜ^(ℓ) the rotated version. Q acts on the columns so the block’s projected output arrives in the same coordinates as the residual path.

```
b̃ₒᵤₜ^(ℓ) = Qᵀ bₒᵤₜ^(ℓ)
```

Here, bₒᵤₜ^(ℓ) is the output bias at block ℓ in column-vector form, and b̃ₒᵤₜ^(ℓ) is its new representation. The transpose Qᵀ changes the column vector in the way that right multiplication by Q changes its row form. Input biases can be copied because by the time they are added, the input projection has already canceled the rotation.

```
W̃ₕₑₐ𝒹 = Qᵀ Wₕₑₐ𝒹
```

Here, Wₕₑₐ𝒹 is the original matrix that turns the last hidden signal into token logits. W̃ₕₑₐ𝒹 is the edited matrix, and Qᵀ cancels the rotation at its input. The head bias is copied because the resulting scores remain in the original output coordinates.

The proof follows the token representations from the embedding to the head. The invariant being maintained is that the rotated network’s residual signal equals the original signal expressed in the new basis. Normalization preserves this relation. The nonlinear operation sees the same input as before, and the residual sum maintains the relation because both terms use the same basis. The head closes the argument by calculating the original scores. The proof concerns the full-width change of coordinates. The subsequent decision to retain fewer directions calls for an empirical evaluation of prediction quality.

#### Give each boundary its own basis

One rotation can be applied throughout the network, but the authors found that the dominant directions of the activations differed from block to block. A direction that accounts for a large part of the signal at one boundary may be less prominent at another. SliceGPT therefore permits distinct bases at successive boundaries. Each input projection cancels the basis that reaches it, and each output projection writes in the basis chosen for its destination.

This creates a problem on the skip path. The block output can be expressed in the outgoing basis by changing its output weights. The carried input still uses the incoming basis. Adding their coordinates directly would combine numbers that describe different directions. A basis transition on the skip connection brings the carried input into the outgoing coordinates first.

```
Rₗ = Qₗ₋₁ᵀ Qₗ
```

Here, Rₗ is the residual-path transformation for block ℓ. The matrix Qₗ₋₁ is the orthogonal basis for the incoming signal, and its transpose reverses the corresponding rotation. Qₗ expresses the result in the basis for the outgoing signal. The subscripts identify successive block boundaries.

The transition matrix can be formed in advance. Applying it to the incoming residual signal is a new operation during the forward pass. That distinguishes it from the changes folded into projections which the network already performs. Before slicing, the transition is D by D. After slicing, it maps the retained dimensions on the incoming side to the retained dimensions on the outgoing side. This extra multiplication is part of the price of choosing the subspace separately at each boundary.

#### Learn the directions from calibration data

The full-width reparameterization allows any orthogonal basis. Compression depends on finding one with a useful ordering of directions. The authors use principal component analysis, or PCA, on activations. They pass calibration sequences through the network after converting LayerNorm where needed, collect the normalized signals at a boundary, and find the directions that account for the largest part of those signals. They use the transformed network’s output when proceeding to calculate the bases for later layers.

```
Cₗ = ∑ᵢ Xₗ,ᵢᵀ Xₗ,ᵢ
```

Here, Cₗ is the accumulated matrix for boundary ℓ. The index i ranges over calibration sequences, and Xₗ,ᵢ contains the token rows output by the corresponding RMSNorm operation for sequence i. The superscript ᵀ transposes that matrix, and ∑ᵢ adds the resulting contribution from each sequence. The product produces a square matrix in the hidden coordinates. The authors call this a covariance calculation. Its displayed form accumulates second moments directly, with no additional subtraction of a calibration-set mean in the formula.

The eigenvectors give an orthogonal set of directions for these second moments. The eigenvalue associated with a direction gives its contribution to the accumulated squared signal along that direction. Sorting the eigenvectors by decreasing eigenvalue gives Qₗ its column order. A sharp decline in eigenvalues means that a relatively small leading part of the basis captures much of the observed signal. A flatter spectrum means that keeping a similarly sized subspace leaves more of the signal outside it.

PCA makes deletions possible that would have been hard to identify by looking only at the original columns. A dominant direction can combine several original coordinates. Once that direction occupies a single coordinate of the rotated signal, it can be retained as a unit. The source of the ordering is the behavior of the network on the calibration inputs, which can reveal how coordinates vary together. Ranking existing rows or columns by their weight norms does not consider those combinations.

The calibration sequences come from training data, with experiments using WikiText-2 and Alpaca. For the main WikiText-2 perplexity comparison, the stated calibration size is 1024 sequences and their length is 2048. These examples are used for activation measurement during slicing. The PCA calculation does not require targets for gradient updates, and the pruning procedure can end without recovery training. Where the authors do perform recovery, they specify it separately from the construction of the bases. [WikiText-2](https://md.research.elamur.ai/free/en/papers/merity-2016-pointer-sentinel-mixture-models/)

The implementation uses Hugging Face Transformers and PyTorch. It calculates eigenvectors in double precision for the main experiments. For the basis computation on Llama-70B, the setup describes roughly 3.5 hours on a single H100 with 80GB of memory. The scripting and architectural edits are part of the authors’ TransformerCompression code. Their precision comparison tests the consequences of performing the eigendecomposition in single precision. [Hugging Face Transformers](https://md.research.elamur.ai/free/en/papers/wolf-2020-transformers-state-art-natural-language/) · [PyTorch](https://md.research.elamur.ai/free/en/papers/paszke-2019-pytorch-imperative-style-high-performance/)

#### Turn the subspace into smaller matrices

The last operation is to choose how many of the sorted directions to retain. The mathematical description uses a deletion matrix whose columns select positions in the rotated basis. It is convenient to distinguish the selection matrix S from the original width D.

```
Z = X Q S
```

Here, X contains the full-width signal rows, Q has the principal directions as columns, and S consists of the columns of the identity that select the retained directions. S has as many rows as the original width D and as many columns as the retained width. Z is the representation of the rows in just the selected coordinates. Choosing the leading directions according to the eigenvalues keeps the part of the calibration signal with the greatest squared energy for that width.

```
X̂ = Z Sᵀ Qᵀ
```

Here, X̂ is the approximate reconstruction in the original coordinates, and Z contains the reduced coordinates. Sᵀ puts the retained values back in their selected positions and supplies zeros for discarded ones. Qᵀ returns the representation to the original basis. Reconstruction explains the effect of the approximation. The edited network can operate on Z directly.

```
‖X − X̂‖²
```

Here, X is the original matrix of signal rows, X̂ is its reconstruction, and the squared norm sums squared reconstruction errors over the matrix entries. With the leading principal directions retained, the map given by Q and S minimizes this error for the chosen width. The optimality statement concerns the activation matrix used in the calculation. An equal-width subspace selected by a different criterion could have different effects on the eventual token predictions.

The implementation absorbs selection into the projections that now write and read the rotated coordinates. On the writer side, keeping selected coordinates means keeping the matching columns of the output projection and of the rotated embedding matrix. On the reader side, the omitted coordinates no longer need rows in the input projection or the final head. A transition on the residual path must lose the discarded dimensions on both sides. The output biases are narrowed wherever they write to the smaller residual stream. The resulting network avoids materializing full-width activations at the affected interfaces.

A matrix with a skipped group of entries can still accept the same number of input coordinates as the original. In SliceGPT, a deleted coordinate disappears throughout the relevant interface. This means less data at that boundary as well as a smaller weight multiplication. The internal attention or feed-forward calculation still uses its own projections. Slicing the residual width is thus a targeted way to change the boundaries of those computations, and its cost and accuracy depend on what those boundaries carry.

In a separate set of runs, the paper applies LoRA after slicing. LoRA supplies trainable low-rank updates, allowing recovery training with a smaller set of trainable parameters than a full fine-tune. The recovery runs use roughly 1k sequences for systems sliced using WikiText-2 and 5k for those sliced using Alpaca. The stated LoRA rank is 32, its alpha is 10, and the recovery sequence length is 1024. The other settings follow the defaults of the Hugging Face PEFT package. These runs ask how much of the loss from the narrower architecture is recoverable with additional data and optimization. [LoRA](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/)

### Experiments and results

#### WikiText-2 tests the effect on next-token prediction

The experiments address predictive quality and execution cost separately. The authors use OPT and Llama for the language prediction experiments and add Phi-2 in the zero-shot comparisons. They omit OPT 175B because, in their account, smaller Llama variants already outperform it. The dense version of each tested system serves as a quality reference for the corresponding sliced version. SparseGPT with 2:4 sparsity is the main comparison with a different pruning algorithm. [OPT](https://md.research.elamur.ai/free/en/papers/zhang-2022-opt-open-pre-trained-transformer/) · [Llama 2](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-2-open-foundation-fine/)

The WikiText-2 metric is perplexity. It reflects the probabilities given to the observed tokens as the network predicts the next token from its context. Lower perplexity means the observed text received better predictions by that measure. Calibration uses training data from WikiText-2 for the main version of this experiment, and the reported perplexity assesses held-out prediction. The main comparison uses 1024 calibration sequences, each of length 2048. The WikiText-2 calculation can detect loss of probability assigned across many tokens even when a multiple-choice benchmark answer remains the same.

The authors first tried a baseline that deleted original columns or rows with small norms. WikiText-2 perplexity climbed into the 1000s after the removal of only a few columns. This motivated the choice of SparseGPT for the main comparison, where there was a more informative tradeoff to study. The failed run is also evidence that whole-dimension deletion depends on the representation in which it is done. A way to rank original columns can be computationally easy yet leave the signal poorly suited to this type of compression.

At 25% slicing, SliceGPT has lower WikiText-2 perplexity than SparseGPT 2:4 for every tested Llama size in the main comparison. For OPT, at 30% slicing it is ahead of SparseGPT 2:4 at every tested size except OPT 2.7B. The authors also observe that larger tested variants are more tolerant of slicing, and that OPT tends to retain its performance more readily than Llama. These comparisons are between specific pruning settings. The pattern 2:4 fixes how many weights are zeroed within each group, while the SliceGPT setting specifies deletion along the rotated signal width.

At 50% slicing, the throughput discussion reports poorer WikiText-2 perplexity than SparseGPT 2:4. Moderate and aggressive slicing therefore answer different questions. At the moderate setting the method can preserve more predictive quality under the comparison made in the paper. At the aggressive setting it substantially reduces the size of the computation, with a clear cost on held-out prediction. The paper provides an execution characterization at that setting as well, so the throughput gains can be read alongside the deterioration in perplexity.

#### Zero-shot accuracy and recovery after slicing

The benchmark suite includes PIQA, WinoGrande and HellaSwag. It also includes the easy and challenge variants of ARC, called ARC-e and ARC-c in the paper. The LM Evaluation Harness runs the tasks with its default settings. The principal figures report mean accuracy over the suite. This pools results from different tasks, while the appendix separates them by task and by the use of WikiText-2 or Alpaca for calibration. It also distinguishes sliced runs from runs that add recovery. [PIQA](https://md.research.elamur.ai/free/en/papers/bisk-2019-piqa-reasoning-about-physical-commonsense/) · [WinoGrande](https://md.research.elamur.ai/free/en/papers/sakaguchi-2019-winogrande-adversarial-winograd-schema-challenge/) · [ARC](https://md.research.elamur.ai/free/en/papers/clark-2018-think-have-solved-question-answering/)

The calibration comparison shows a tendency similar to the perplexity tests. Under slicing, the tested OPT variants generally give up less of their zero-shot accuracy than the Llama variants, and the larger variants in each family tend to lose less. The sliced Phi-2 results are comparable with those of the sliced Llama-7B variants in the paper’s description. At 30% slicing, the authors describe the loss for OPT 66B as a few percentage points on the tasks. In reporting retention at 25% slicing, the conclusion gives 99% for OPT 66B, 96% for Llama-70B and 87% for Phi-2 before recovery. Each percentage refers to the corresponding dense system’s mean performance, rather than the proportion of questions answered correctly.

Accuracy retained at 25% slicing without recovery on the zero-shot suite OPT retains the most of its dense accuracy and Phi-2 retains the least.

**The numbers**

| System or setting | dense mean accuracy retained % |
| --- | --- |
| SliceGPT on OPT 66B (this paper) | 99 |
| SliceGPT on Llama-70B | 96 |
| SliceGPT on Phi-2 | 87 |

The optional training runs improve the results unevenly. For Llama-70B at 30% slicing, the mean accuracy after Alpaca recovery is 74.3%, compared with 76.6% for the dense system. The sliced and recovered configuration has roughly 51.6B parameters. This is a comparison of absolute mean accuracies, whereas the retention values in the conclusion express sliced accuracy relative to a dense reference. At 25% slicing the reported relative retention for Llama-70B after recovery is 99%.

Llama-70B mean zero-shot accuracy after slicing and Alpaca recovery The recovered SliceGPT configuration approaches the dense reference on the task suite.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Dense Llama-70B | 76.6 |
| SliceGPT at 30% with recovery (this paper) | 74.3 |

For Phi-2, the paper reports 65.2% mean accuracy after 25% slicing and recovery, compared with 72.2% in the dense configuration. The corresponding parameter counts are approximately 2.2B and 2.8B. The authors give the recovered accuracy as 90.3% of dense performance in this comparison and summarize it as 90% in the conclusion. The same investigation found little recovery for Phi-2 using WikiText-2 and a recovery of several percentage points using Alpaca. The authors attribute the difference to Alpaca’s greater similarity to what the downstream tasks ask of the network.

The recovery figures use each named dataset for both calibration and fine-tuning in its respective condition. The WikiText-2 and Alpaca recovery runs also have different numbers of sequences. The observed gain therefore characterizes each recipe as a whole. The comparison establishes that the recovery conditions associated with Alpaca were more effective in those experiments. It leaves open how much of that advantage comes from calibration, training content or the larger recovery sample.

An extensive search for effective recovery settings on OPT did not yield an improvement according to the paper’s recovery figure. OPT 66B’s strong accuracy retention at moderate slicing is consequently a result of the pruning procedure itself in the reported comparison. The Llama and Phi-2 recovery numbers involve a different procedure, even when the nominal slicing level is the same. Reporting both stages makes it possible to see when the measured performance belongs to a one-shot compression run and when it includes further optimization.

#### More tokens per second, or less time for one token

The H100 throughput experiment asks how many tokens a configuration can process when it can take advantage of batching. The authors use 80GB H100 GPUs and sequences of length 128. They double the batch size until memory runs out or throughput begins to decline. Each configuration can therefore reach its own workable batch size. A narrower network can benefit from cheaper computation per token and from accommodating more concurrent inputs. The experiment measures the combination under the paper’s batch search.

With 25% slicing, the reported throughput improvement reaches 1.55× relative to the dense reference. At 50% slicing, the two largest variants in that experiment fit on one GPU where their dense versions use two. The paper gives throughput multipliers of 3.13× and 1.87× and reports 6.26× and 3.75× when expressing throughput for a fixed number of GPUs. The fixed-device comparison captures the consequence of fitting independent work onto the available hardware. It answers a different question from the latency of an individual request.

For the 13B variants, the paper observes a smaller benefit from increasing the batch size on these H100s because the dense weights already occupy relatively little device memory in that setting. The authors expect the memory advantage could matter more for such variants on smaller devices. The H100 measurements show that the effect of extra free memory depends on whether memory was constraining the batch size in the first place. The larger improvement at 50% slicing also comes with the weaker WikiText-2 result already noted.

The single-request test uses Quadro RTX6000 GPUs with 24GB of memory or A100 GPUs with 40GB. The workload generates a sequence of length 128 at batch size 1. The authors report average time in milliseconds per generated token, how many GPUs each configuration uses, and total device time in GPUms. The last quantity captures the fact that two configurations with similar per-token wall time can occupy different numbers of accelerators.

At 25% slicing, the reported per-token speedup for the largest variants is 16-17% on RTX6000s and 11-13% on A100s. For Llama-70B, the dense and compressed A100 deployments use 4 and 3 GPUs, respectively. The corresponding RTX6000 deployments use 7 and 5. The conclusion reports inference cost at 66% of the dense A100 setup and 64% of the dense RTX6000 setup. The RTX6000 discussion also separately gives 1764 GPUms for dense Llama-70B and 1075 GPUms for the compressed configuration. The measurements refer to generation under the authors’ deployment setup.

RTX6000 device time per generated Llama-70B token at batch size 1 SliceGPT uses less aggregate GPU time per token than the dense configuration.

**The numbers**

| System or setting | GPUms |
| --- | --- |
| Dense Llama-70B | 1764 |
| SliceGPT on Llama-70B (this paper) | 1075 |

The authors evaluate SparseGPT 2:4 with a different timing experiment because an end-to-end run for their baseline was unavailable. They reproduce layer matrix sizes on an 80 GB A100 and use CuSparseLT 0.5 for sparse multiplications. They run the corresponding dense and reduced dense operations in PyTorch. The sequence length for this experiment is 2048, and they report median times over 10³ attempts. The comparison includes the distinct projections in a layer, whose shapes depend on its architecture.

For larger Llama variants, the authors report similar multiplication speedups for 25% SliceGPT and SparseGPT 2:4, with the WikiText-2 advantage going to SliceGPT. For larger OPT variants, they report a slight timing advantage for SliceGPT as well as the perplexity advantage. SparseGPT 2:4 does better on multiplication speed for smaller variants in the timing comparison, while their perplexity is worse than with the corresponding SliceGPT configuration. These are timings of selected operations. The single-request experiment measures a larger part of the actual generation workload, including the other work that has to happen for each new token.

The paper describes slicing runs on a single GPU as taking 1 to 3 hours and reports 1 to 5 hours total when recovery is included. It also gives the separate setup figure of roughly 3.5 hours for computing the Llama-70B bases. These are the paper’s reported timing descriptions, without a common breakdown that reconciles them for that case. The cost experiment’s Alpaca setting uses 30% slicing, 1024 calibration sequences for Llama and 2048 for Phi-2, with sequence length 2048 for calibration. This is a one-time preparation cost and is reported separately from the cost of each subsequent inference run.

### What the ablations show

#### Choosing the amount and length of calibration data

The most direct calibration ablation uses OPT 6.7B and Llama-7B at 25% slicing. Measured on WikiText-2 perplexity, it varies the quantity of training text used to estimate the directions. The authors find that calibration sets of at least 128 samples are reasonable for the two systems in this experiment. They then compare a smaller 128-sequence setting with the main setting across more sizes and report degradation when the calibration set is reduced at the same length of 2048. The threshold indicates where useful calibration begins in the ablation. The larger comparison shows that there can still be value in using more sequences.

Varying sequence length changes how much text reaches the PCA calculation even when the number of sampled examples stays fixed. The appendix explains the relationship in terms of the number of token representations available for estimation.

```
number of token vectors = N B
```

Here, N is the calibration sequence length and B is the number of sequences. The product N B counts the row vectors contributed when each sequence supplies N token positions.

The tested lengths range from 128 to 4096. Longer sequences can improve WikiText-2 perplexity after slicing. The ablation gives a practical reason for the main choice of 1024 sequences at length 2048. It also shows that the sequence count alone is an incomplete description of the calibration budget. Each token supplies a row that can influence the estimated directions. The experiment does not establish that extra sequences and extra positions within a sequence are interchangeable, since the context from which the rows arise changes with sequence length.

These comparisons test the data requirement of a procedure that can run without gradient-based training. More calibration can improve the estimate of which directions the network uses on the sampled inputs. The reconstruction criterion still depends on the signals that those inputs elicit. A well-estimated subspace for one calibration corpus can therefore favor different directions from one fitted to another kind of input. The recovery experiment reinforces the importance of dataset choice, although its simultaneous changes to calibration and training leave several explanations open.

#### Checking precision and inspecting the spectra

The precision comparison reruns the PCA step with FP32 eigenvector calculation in PyTorch. Its table uses 128 calibration sequences at length 2048 and reports WikiText-2 perplexity for OPT and Llama. The authors observe that single-precision calculation can affect the resulting quality, particularly for larger systems. They use double precision for the main eigendecompositions. This finding concerns the construction of the projection: a numerical choice during compression can alter what is kept even when the smaller runtime calculation is implemented in the same way.

The appendix also compares the eigenvalue spectra of MLP inputs in OPT 6.7B and Llama-7B using 64 samples. The spectra are shown on a logarithmic scale after dividing by their maximum. The Llama example has a tighter spread across eigenvalues. That gives a plausible explanation for why a fixed-width retained subspace works better in the tested OPT example. When the eigenvalues differ sharply, the bottom directions contribute relatively little to the calibration signal. A tighter spread makes the cutoff less decisive.

The comparison supports an activation-based account of the difference between these two similarly sized systems. It does not isolate architecture or training as the cause of their different spectra. It also concerns variance or squared activation energy, which is what the PCA calculation measures. A useful direction for a downstream task could have relatively low energy on the sampled text. The empirical perplexity and accuracy measurements are therefore needed to interpret what the spectral patterns mean for compression.

The paper observes faster eigenvalue decay in earlier layers in both examples, with the first Llama layer as the stated exception. This motivates a test of whether the network should allocate its remaining width unevenly. Regions with sharper spectral decay might give up more coordinates for a given fraction of discarded activation energy. Regions with a flatter spectrum might require a larger retained width to reach the same local target.

#### Giving each layer a different amount of width

The usual slicing runs impose a common retained width, while permitting the principal directions to differ by boundary. In the variable-width experiment the authors instead set a fraction of total variance to discard in each PCA calculation. This changes the number of coordinates deleted according to the local spectrum. They run three target-variance settings per system to obtain a reduction close to 25% overall. The stated calibration budget is 128 sequences with the maximum sequence length for the respective system.

The outcome depends on the family. Variable slicing improves WikiText-2 perplexity for OPT and hurts it for Llama relative to the comparison in the appendix. The evidence thus supports adapting widths for the tested OPT configurations. It also shows that the same rule cannot be carried over based only on the observation that spectra vary across depth. The distribution of eigenvalues tells the procedure how much of the observed signal it is discarding at one point. It offers no guarantee that similar fractions have similar effects when many such deletions interact along the forward path.

This contrast separates two design choices in SliceGPT. A block-specific basis decides which directions a boundary will retain. A block-specific width decides how many it will retain. The first is part of the method because the dominant directions are not aligned across blocks. The variable-width comparison tests an additional policy for allocating compression. Its mixed outcome matters because a rule that describes local reconstruction well can still allocate width poorly for the network’s final predictions.

### Limitations

#### Limits the authors identify

The paper’s conclusion notes that smaller dense systems perform better than systems with 13B parameters or fewer pruned to comparable sizes. The option of starting with a larger pretrained network and slicing it down is therefore especially compelling in the ranges where the paper shows good retention and fewer required devices. Where a suitably small dense system is already available, the authors’ own comparison identifies a regime in which that system can offer better predictive quality at a similar size.

The authors also say that their compressed networks retain more parameters than those pruned with SparseGPT. SliceGPT’s execution advantage comes from working with narrower activations and dense matrices without sparsity metadata. A comparison based on non-zero weights alone therefore misses advantages of the smaller shape. Conversely, the gains from the smaller shape do not establish a better result on every measure of compression. The authors suggest that combining approaches could exploit their different strengths, and identify quantization and other structural pruning as possible complements. [SmoothQuant](https://md.research.elamur.ai/free/en/papers/xiao-2022-smoothquant-accurate-efficient-post-training/) · [LLM.int8()](https://md.research.elamur.ai/free/en/papers/dettmers-2022-llm-int8-8-bit-matrix/)

The paper identifies the choice of Q as an area that could improve. PCA is a tractable rule for a given set of signals and a chosen width, while the desired outcome is good language prediction after all the changes have been applied. The authors’ numerical precision results show one dependency in fitting Q, and the variance-target results show that the use of spectral information for width allocation has different effects across families. The unproductive search for recovery settings on OPT also limits the reach of the proposed recovery recipe.

The inference tests have a stated deployment limitation. The Hugging Face setup lacks continuous batching and model sharding of the kind that could improve serving efficiency. The authors note that these changes could improve the dense configuration more in GPUms terms than the sliced configuration. The reported device requirements and costs describe the tested setup. They demonstrate a realized gain there, with room for both the absolute times and the relative gains to change in a different serving system.

#### Limits of the comparisons and the mathematical result

The invariance proof covers a particular architectural property. RMSNorm, after any learned affine parts have been handled, commutes with an orthogonal basis change. Linear projections can absorb the resulting changes where the residual stream enters or leaves a block. The proof applies through attention and feed-forward nonlinearities because their inputs are restored before those operations. It leaves open whether architectures with different intervening operations admit an equivalent reparameterization or an equally efficient implementation.

Exactness also stops at the deletion step. PCA minimizes squared reconstruction error for the activations used to choose the basis. The quantity optimized is neither final-token perplexity nor task accuracy. The paper’s evaluations justify the empirical retention claims for the studied settings. They cannot extend that guarantee to inputs whose important directions are uncommon in calibration, or to evaluation tasks that place weight on distinctions that contributed little to the sampled activation energy. This gap between the objective and the end use is particularly visible when compression is increased enough to produce large throughput gains at the cost of perplexity.

The zero-shot experiments pool task accuracy from a particular set of benchmarks. A high fraction of dense mean accuracy can coexist with unequal changes across tasks. The appendix’s per-task tables address variation within the chosen suite. The experiments leave questions about coverage outside it, including how the same slicing levels affect broader behaviors that the benchmark score does not measure. The Phi-2 comparison also shows why the baseline accuracy and the distinction between pre- and post-recovery matter when interpreting a retention figure.

The comparison with SparseGPT depends on the metric and the workload. The language prediction experiment compares held-out perplexity. The isolated timing experiment compares selected layer multiplications on a different workload from end-to-end generation. The full generation timing compares sliced and dense configurations. Taken together, these show why smaller dense matrices can save time, but they do not establish the end-to-end latency difference between SliceGPT and a production system using SparseGPT 2:4. The paper explicitly lacked that baseline at the time of the experiments.

Finally, the nominal slicing setting describes the dimensions selected for removal. Parameter counts and GPU requirements depend on the architecture and on which matrices touch those dimensions. The residual transition also adds a computation. The paper reports concrete parameter counts for some recovered settings and device counts for specific generation setups. These measurements are the appropriate basis for deployment comparisons. The slicing setting indicates what the procedure did to the representation, without serving as a direct conversion into any of those resource metrics.

### What came after

#### Changing coordinates and changing precision

The closest conceptual connection among the citing works is QuaRot. Its stated target is outlier-free 4-bit inference in a rotated representation. SliceGPT selects directions in order to delete some of them. QuaRot’s title connects rotation to the numerical range of the values that will be represented at low precision. The shared question is whether a different set of coordinates can make an approximate computation more effective. The property the coordinates are chosen to support differs because quantization changes the representation of values, whereas slicing removes directions from the computation. [QuaRot](https://md.research.elamur.ai/free/en/papers/ashkboos-2024-quarot-outlier-free-4-bit/)

FLAT-LLM is another citing work whose stated method acts on activation space. It describes a fine-grained low-rank transformation for compression. The connection to SliceGPT is the choice to look at the space occupied by activations as a place to find compression opportunities. SliceGPT’s main construction uses orthogonal bases at block boundaries and an ordered cutoff. The description of FLAT-LLM identifies the scale and low-rank character of its transformation. It does not establish that it uses the same PCA ordering or the same residual transformation. [FLAT-LLM](https://md.research.elamur.ai/free/en/papers/tian-2026-flat-llm-fine-grained-low/)

Beyond Uniform SVD frames another related problem as optimization across columns and modules. Its stated focus is on making different choices at different scales within a decomposition. SliceGPT already illustrates one reason uniform allocation is a question worth testing, since changing the amount of slicing by layer helps one tested family and hurts another. The later work’s title identifies a different allocation problem in singular value decomposition. The connection lies in where the compression budget is spent, while the underlying operations remain those identified by the respective papers. [Beyond Uniform SVD](https://md.research.elamur.ai/free/en/papers/xv-2026-beyond-uniform-svd-dual-level/)

#### Choosing what structure to remove

ShortGPT and The Unreasonable Ineffectiveness of the Deeper Layers examine redundancy at the scale of whole layers. SliceGPT narrows the representation between blocks and leaves the sequence of blocks in place. Layer removal asks whether an entire transformation can be dispensed with. TELL-TALE gives the same broad choice a task-aware framing by placing task efficiency and layer elimination together. That connects to an open question in SliceGPT’s use of general calibration signals, namely how strongly the retained structure should depend on which tasks the compressed system must perform. [ShortGPT](https://md.research.elamur.ai/free/en/papers/men-2024-shortgpt-layers-large-language-models/) · [The Unreasonable Ineffectiveness of the Deeper Layers](https://md.research.elamur.ai/free/en/papers/gromov-2024-unreasonable-ineffectiveness-deeper-layers/) · [TELL-TALE](https://md.research.elamur.ai/free/en/papers/naim-2026-tell-tale-task-efficient-llms/)

The work on iterative structured pruning with multi-domain calibration puts repeated compression decisions and the breadth of calibration data in the foreground. This is a direct point of comparison with SliceGPT’s dependence on measured activations and its one-shot framing. GRASPrune identifies global gating and a structured pruning budget as its central choices. A global budget shifts attention to how the candidate changes across the network should be coordinated, a question that SliceGPT approaches in a limited form through its variable-width test. The titles support these connections without establishing how either method uses SliceGPT’s rotation. [Iterative Structured Pruning with Multi-Domain Calibration](https://md.research.elamur.ai/free/en/papers/wu-2026-iterative-structured-pruning-large-language/) · [GRASPrune](https://md.research.elamur.ai/free/en/papers/wang-2026-grasprune-global-gating-budgeted-structured/)

PDTrim targets pruning for deployments that separate prefill from decoding. Prefill concerns processing the existing input, while decoding concerns producing subsequent tokens. SliceGPT measures both batch throughput and the cost of sequential generation, leaving a distinction between computations that may be bottlenecked in different ways. The stated direction of PDTrim is to make the pruning target specific to a deployment organized around those inference phases. [PDTrim](https://md.research.elamur.ai/free/en/papers/zhang-2026-pdtrim-targeted-pruning-prefill-decode/)

Work on adaptive dynamic activation takes sparsity in a direction where the active computation depends on the input. The stated criterion in *Sparse Brains are Also Adaptive Brains* is cognitive load. Analytical FFN-to-MoE Restructuring instead uses activation patterns to frame a conversion of feed-forward blocks into a mixture of experts. COMPEL places pruning and compensation within that expert-based architecture and explicitly considers the distribution across expert layers. These citing works all concern which computation should remain available or active. Their named units of intervention differ from the fixed, narrowed residual representation that SliceGPT constructs. [Sparse Brains are Also Adaptive Brains](https://md.research.elamur.ai/free/en/papers/yang-2026-sparse-brains-are-also-adaptive/) · [Analytical FFN-to-MoE Restructuring](https://md.research.elamur.ai/free/en/papers/pei-2026-analytical-ffn-moe-restructuring-activation/) · [COMPEL](https://md.research.elamur.ai/free/en/papers/yoon-2026-compel-compensated-mixture-experts-pruning/)

#### Connecting compression to training and other objectives

Minitron explicitly combines pruning with distillation. Its framing puts the production of a smaller system and the transfer of performance into a common workflow. SliceGPT shows why those stages are useful to report separately. Its compressed network is usable immediately after slicing, and the LoRA runs then test the improvement possible through additional training. Puzzle combines distillation with neural architecture search for inference. Its stated objective puts the choice of architecture itself alongside the effort to preserve a pretrained system’s capabilities. [Minitron](https://md.research.elamur.ai/free/en/papers/sreenivas-2024-llm-pruning-distillation-practice-minitron/) · [Puzzle](https://md.research.elamur.ai/free/en/papers/bercovich-2024-puzzle-distillation-based-nas-inference/)

Neural Parameter Search frames the problem around slimmer fine-tuned systems and transfer. That places adaptation, which SliceGPT investigates as optional recovery, nearer the center of the compression objective. EfficientLLM puts pruning awareness into pretraining and describes automatically designed compact architectures. This moves the point of intervention earlier than SliceGPT, whose rotations and deletions are applied to pretrained weights. Both directions connect compression to the question of when to decide which structure the finished system should use. [Neural Parameter Search](https://md.research.elamur.ai/free/en/papers/du-2025-neural-parameter-search-slimmer-fine/) · [EfficientLLM](https://md.research.elamur.ai/free/en/papers/xing-2026-efficientllm-unified-pruning-aware-pretraining/)

The study of brittleness in safety alignment asks what pruning and low-rank modifications can change about a behavior outside SliceGPT’s quality measures. That is a different evaluation target from mean zero-shot accuracy or WikiText-2 perplexity. PibE-MPP identifies masking performance as the role of its plug-in, while LLEOT frames its work around privacy in offsite tuning and a change to the loss landscape. Their citation of SliceGPT places the paper in their context. Their stated subjects alone leave open which, if any, of its specific operations are used. [Assessing the Brittleness of Safety Alignment](https://md.research.elamur.ai/free/en/papers/wei-2024-assessing-brittleness-safety-alignment-pruning/) · [PibE-MPP](https://md.research.elamur.ai/free/en/papers/wang-2026-pibe-mpp-play-it-ear/) · [LLEOT](https://md.research.elamur.ai/free/en/papers/zhong-2026-lleot-privacy-enhancing-offsite-tuning/)

The three citing surveys put the paper in complementary areas. The compression survey concerns the family of techniques that includes pruning, quantization and decomposition. The efficient-inference survey frames the question in terms of running a system, where removing a dimension can matter differently from zeroing weights. The survey of small language systems gives compression a wider context that includes applications, collaboration with large systems and trustworthiness. These connections reflect the range of questions SliceGPT brings together. An exact reparameterization gives the authors freedom over the coordinates, while measured activations and execution costs determine whether exercising that freedom produces a useful smaller network. [Survey on Model Compression](https://md.research.elamur.ai/free/en/papers/zhu-2024-survey-model-compression-large-language/) · [Survey on Efficient Inference](https://md.research.elamur.ai/free/en/papers/zhou-2024-survey-efficient-inference-large-language/) · [Comprehensive Survey of Small Language Models](https://md.research.elamur.ai/free/en/papers/wang-2024-comprehensive-survey-small-language-models/)

## Cite

Cite as Saleh Ashkboos, Maximilian L. Croci, Marcelo Gennari do Nascimento, Torsten Hoefler and James Hensman. 2024. SliceGPT: Compress Large Language Models by Deleting Rows and Columns. arXiv:2401.15024.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2401.15024](https://doi.org/10.48550/arxiv.2401.15024) · [arXiv 2401.15024](https://arxiv.org/abs/2401.15024)

```bibtex
@misc{ashkboos2024slicegpt,
  title = {{SliceGPT: Compress Large Language Models by Deleting Rows and Columns}},
  author = {Saleh Ashkboos, Maximilian L. Croci, Marcelo Gennari do Nascimento, Torsten Hoefler and James Hensman},
  year = {2024},
  doi = {10.48550/arxiv.2401.15024},
  eprint = {2401.15024},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2401.15024}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
