Static Layer Pruning

  • Last Updated 9 August, 2026
  • by David Spuler, Ph.D.

What is Static Layer Pruning?

Static layer pruning is the removal of model layers at model development time. It is far less common that dynamic layer pruning, which depends on the results of layers. Static layer pruning is arguably a misnomer, because it is effectively the same as simply using fewer layers in a model.

Static Layer Pruning: Book Excerpts and Blog Articles

Free online book excerpts with full text chapters online and free PDF downloads, and the Aussie AI blog, including related articles:

  • Layer pruning is a type of structured pruning because it prunes entire layers. More precisely, it is a type of "depth pruning" because it reduces the depth of the stacks of encoders and/or decoders in the Transformer architecture. This technique can sometimes be called "layer compaction". Dynamic layer pruning is also called early exiting if all remaining layers are skipped, or "layer skipping" if only the current layer is skipped. Reducing layers in the decoder is called a "shallow decoder", which has been ... more about Layer pruning »
  • Layer skipping is an LLM inference optimization where some layers of model processing are simply skipped. The input and output of each layer is the same, as a vector of activations, so any layer can be skipped, although this can reduce model accuracy. ... more about Layer skipping »
  • David Spuler, March 2024, Chapter 47. Early Exit and Layer Pruning, in book "Generative AI in C++", https://www.aussieai.com/book/ch47-layer-prune-early-exit
  • David Spuler, March 2024, Generative AI in C++: Coding Transformers and LLMs, https://www.aussieai.com/book/toc PDF: https://www.aussieai.com/pdf/BOOK-Generative-AI-CPP-Spuler-2024.pdf

Research on Static Layer Pruning

Research papers include:

More AI Research Topics

Read more about: