NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FiedlerPrune: Connectivity-Preserving Cross-Layer Pruning for Large Language Models

Zijun Sun, Yanning ShenNeurIPS 2026

TL;DR

Pruning Large Language Models (LLMs) usually forces an uncomfortable choice: fast "layer-wise" methods that break cross-layer information flow, or accurate "end-to-end" methods that burn thousands of GPU hours. FiedlerPrune bridges this divide by modeling consecutive Transformer layers as mathematical graphs and using spectral graph theory to keep the network's structural "highways" intact. It delivers end-to-end pruning quality at layer-wise speeds—shrinking pruning time on a 7B model from over 1,000 GPU hours to less than ten minutes.

What Problem Does This Paper Address?

Modern LLMs are astonishingly capable, but their sheer size makes deploying them expensive. Pruning—deleting redundant weights—shrinks both memory footprint and compute cost. However, existing pruning techniques fall into two extremes:

  1. Layer-wise pruning (like Wanda or SparseGPT) looks at each linear layer in isolation. It’s fast and cheap, but myopic. Deleting weights that look locally unimportant can accidentally sever multi-layer pathways that representations rely on, causing severe accuracy drops at high sparsity.
  2. End-to-end pruning (like MaskLLM) learns which weights to drop by optimizing the whole model’s loss. It preserves cross-layer pathways beautifully, but requires tens to thousands of GPU hours of training, defeating the purpose of cheap compression.

The authors ask: Can we capture cross-layer structural dependencies without paying the massive compute tax of end-to-end training?

Methods

FiedlerPrune treats LLM compression as a graph connectivity problem, combining standard local metrics with a novel global structural score.

Figure 1: Overview of FiedlerPrune. The framework combines intra-layer importance and inter-layer importance derived from a graph formulation of consecutive layers.
  • Standard (Intra-Layer Importance): First, you pick any existing fast layer-wise pruning metric (e.g., Magnitude, Wanda, SparseGPT, or RIA) to score weights locally.
  • Novel (Multipartite Graph Modeling): Next, FiedlerPrune wires consecutive linear transformations inside a Transformer block into weighted multipartite graphs (nodes are hidden representations; edge weights reflect normalized, activation-aware weight magnitudes). Ignoring non-linearities like softmax and ReLU, an attention head ($\mathbf{W}^Q, \mathbf{W}^K, \mathbf{W}^V$) becomes a 4-partite graph, a feed-forward network ($\mathbf{W}_1, \mathbf{W}_2$) becomes a 3-partite graph, and output projections ($\mathbf{W}^O$) become bipartite graphs.
  • Novel (Fiedler Value Perturbation): In spectral graph theory, the Fiedler Value (the second-smallest eigenvalue of the graph’s Laplacian matrix) measures algebraic connectivity—essentially, how well-connected a graph is and how hard it is to chop into isolated islands. Using eigenvalue perturbation theory (and a fast approximation algorithm called LOBPCG), the authors calculate a closed-form score for how much removing any single weight degrades the Fiedler Value: $\mathbf{S}_{st}^{\text{inter}} = \mathbf{A}_{st}(\mathbf{f}_s - \mathbf{f}_t)^2$, where $\mathbf{f}$ is the Fiedler eigenvector.
  • Unified Criterion: Both the local (intra-layer) and structural (inter-layer) scores are normalized into probability distributions and fused via a KL-divergence weighted centroid (essentially a tunable geometric mean) to make the final pruning decision.

Datasets

No new benchmarks are introduced; the authors rely on standard, established datasets:

  • Calibration & Fine-tuning: C4 dataset (128 token segments for calibration; 30,000 tokens for optional post-pruning LoRA recovery).
  • Language Modeling Evaluation: WikiText-2 (and Penn Treebank mentioned in the appendix).
  • Zero-Shot Reasoning: Seven tasks from the EleutherAI LM Evaluation Harness: BoolQ, RTE, HellaSwag, WinoGrande, ARC-Easy, ARC-Challenge, and OpenbookQA.

Key Insights and Ideas

  • Pruning is about pathways, not just parameters: Viewing consecutive matrices as a single multipartite graph reveals structural bottlenecks. A weight might have a modest local impact, yet act as a critical bridge between layers—something the Fiedler vector naturally highlights by measuring node separation $( \mathbf{f}_s - \mathbf{f}_t )^2$.
  • Plug-and-play versatility: Because FiedlerPrune fuses probability distributions at the end, it acts as a universal booster for existing layer-wise pruners (Wanda, RIA, SparseGPT) and works seamlessly on modern architectures, including Mixture-of-Experts (MoE) models.
  • Better masks beat higher bit-widths: When combined with quantization, a better structural mask matters more than numerical precision. A 70%-pruned LLaMA2-7B quantized down to 3-bit with FiedlerPrune outperforms a 16-bit SparseGPT baseline.

Key Results

Tested across OPT, LLaMA, LLaMA-2 (up to 70B), LLaMA-3.2, Qwen3, and OLMoE, FiedlerPrune improves upon every layer-wise baseline across all scales and sparsity levels.

Figure 2: Wikitext-2 perplexity on LLaMA2- 7B pruned by different sparsity ratios.
  • High-Sparsity Resilience: At 70% unstructured sparsity on LLaMA2-13B, adding FiedlerPrune drops RIA's WikiText-2 perplexity from 52.63 to 32.70, and SparseGPT's from 19.78 to 13.29. At 50% sparsity on LLaMA2-7B, zero-shot accuracy with RIA jumps from 59.78% to 62.98% (dense baseline: 64.38%).
  • End-to-End Quality for Pennies: Under hardware-friendly 2:4 semi-structured sparsity, RIA w/ FiedlerPrune achieves 6.80 perplexity on LLaMA2-7B and 5.82 on LLaMA2-13B—virtually tying or beating end-to-end MaskLLM (6.72 and 5.85). Yet FiedlerPrune takes 0.13 and 0.31 GPU hours, compared to MaskLLM’s 1,280 and 2,304 GPU hours.
  • Real-World Deployment: Using NVIDIA's cuSPARSELt for 2:4 sparsity on an A100 GPU, FiedlerPrune delivers a 1.69× overall inference speedup on LLaMA2-13B. Furthermore, lightweight LoRA fine-tuning on 70%-sparse LLaMA2-7B recovers perplexity from 22.87 down to 12.22.

Limitations and Future Work

While the paper does not include a dedicated limitations section, several constraints are evident in the text:

  • Intra-block horizon: Graph construction models consecutive layers within each Transformer sub-module (MHA or FFN) rather than spanning across multiple Transformer blocks globally.
  • Non-linearities are ignored: Activation functions (ReLU, SwiGLU) and Softmax are omitted from the graph adjacency matrices, approximating structural connectivity purely through linear pathways.
  • High-sparsity gap: Without weight updates or post-pruning fine-tuning, a noticeable perplexity gap still remains between aggressively pruned (70–80%) models and dense baselines, especially for smaller parameter counts.

Summary updated

BibTeX
@inproceedings{sun2026fiedlerprune,
  author = {Zijun Sun and Yanning Shen},
  title = {{FiedlerPrune: Connectivity-Preserving Cross-Layer Pruning for Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1bEsw4hL3W},
}
Figure