Beyond Adjacent Layers: Graph-Guided Layer Fusion for Compressing Large Language Models
Not on the map. Why?
Abstract (arXiv)
Existing depth-compression methods for large language models (LLMs) score layers individually or group only adjacent or contiguous layers, implicitly assuming that functional redundancy is local. We test this assumption by computing full pairwise Centered Kernel Alignment (CKA) similarity matrices for thirteen LLMs from six architecture families (1.6B-14B parameters). Non-adjacent layers have 3.6-15.9x more high-similarity pairs than adjacent ones, a structure that prior similarity-based layer merging has not systematically exploited. We propose Fusion via Community Mining (FCM), which builds the full L x L similarity graph, uses spectral community detection to find clusters of functionally equivalent layers, keeps the highest-Block-Influence layer in each cluster, and applies LoRA recovery; a pre-specified rule computed only on calibration data chooses between cosine and CKA similarity. At 2x compression, FCM lowers mean perplexity below ShortGPT on twelve of thirteen models, significantly on ten (Welch's t-test with Holm-Bonferroni correction; up to 50% on Qwen3-4B), with Mistral-7B the only loss (+13.4%). Against FlattenGPT, SWM, and DeltaLLM under matched calibration and recovery, FCM gives the best perplexity on ten of thirteen models (mean rank 1.15), and it also outperforms MKA on three anchor models. FCM matches or exceeds ShortGPT on 15 of 20 zero-shot reasoning cells and also improves MMLU, LAMBADA, HumanEval pass@1, and free-form generation quality. The 2x-compressed Qwen2.5-7B has 46% fewer parameters, 42% lower peak VRAM, and 84% higher decode throughput on a single A100. Spectral grouping outperforms Fisher contiguous segmentation by 41% and uniform partitioning by 51%, and FCM's advantage grows beyond a 2x crossover up to 3x and persists at the 14B scale. Code: https://github.com/Usama1002/fcm-layer-fusion
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 37 references that are in the map. First posted on arXiv 10 Oct 2026.
Builds on
30 of 37 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2025Qwen3 Technical Reportcited by 8,820
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
18 more
- 2019Similarity of Neural Network Representations Revisitedcited by 1,755
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
- 2018From Louvain to Leiden: guaranteeing well-connected communitiescited by 385
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 385
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
- 2024Stable LM 2 1.6B Technical Reportcited by 90
- 2025The Curse of Depth in Large Language Modelscited by 62
- 2024Streamlining Redundant Layers to Compress Large Language Modelscited by 35
- 2024SGLP: A Similarity Guided Fast Layer Partition Pruning for Compressing Large Deep Modelscited by 25
- 2024Pruning via Merging: Compressing LLMs via Manifold Alignment Based Layer Mergingcited by 19
- 2025Sliding-Window Merging for Compacting Patch-Redundant Layers in LLMscited by 9
- 2024GRASP: Replace Redundant Layers with Adaptive Singular Parameters for Efficient Model Compressioncited by 5
- 2025DeltaLLM: Compress LLMs with Low-Rank Deltas between Shared Weightscited by 3
- 2026FlattenGPT: Depth Compression for Transformer with Layer Flatteningcited by 2
Built on by
Not cited yet.