Adaptive Depth Sparse Framework: Similarity-Driven Resource Allocation for Pre-Trained LLMs
Yidu Wu, Xiang Wang, Kejie Zhao, Zhangchi Wang, Qinghai Guo, Xiaoying Tang
Abstract
Large language models (LLMs) achieve strong generation and reasoning performance, but the Transformer architecture incurs high inference cost. Existing acceleration methods often rely on task-specific fine-tuning or training from scratch, increasing adaptation cost and limiting cross-task usability. We present an Adaptive Depth Sparse Framework (AdaDSF) that converts off-the-shelf pre-trained LLMs into depth-sparse models without full retraining. Our key insight is that layers contribute unequally to representation transformation, characterized by the cosine similarity between layer input and output hidden states. Based on this, AdaDSF assigns layer-wise token retention ratios from similarity statistics, uses a lightweight router to select informative tokens at each layer, and introduces a feature-preserving alignment objective to match intermediate and final representations between sparse and dense models. On GPT-NeoX and Qwen2.5 over language modeling and commonsense reasoning, AdaDSF substantially reduces inference FLOPs while preserving performance close to dense counterparts. Under comparable sparsity, AdaDSF consistently yields smaller accuracy degradation than strong baselines including MoD, D-LLM, and DLO.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- Accepted by ICIC 2026. 12 pages, 2 figures, 4 tables
Related papers
DKnown-Jev-2: Article-Level Answer-Evidence Classification and Efficient Inference with a Pre-trained Language Model
Shared title terminologycs.CLQi Li, Jianjun Xu, Jiu Li et al.
Towards Cultural Bridge by Bahnaric-Vietnamese Translation Using Transfer Learning of Sequence-To-Sequence Pre-training Language Model
Shared title terminologycs.CLDat Minh Tran Phan, Khang Nhat Hoang Vo, Tho Thanh Quan
Biomedical Machine Translation for Low-Resource Arabic-Script Languages via Cross-Lingual Transfer and LoRA Adapter Merging
Shared title terminologycs.CLAbdullah Alabdullah, Arash Eslamighayour, Sarp Harbalioglu et al.
Scaling Native Multimodal Pre-Training From Scratch
Shared title terminologycs.CLHaoyuan Wu, Aoqi Wu, Hai Wang et al.
DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detection
Shared title terminologycs.CLMehmet Batuhan Özdaş, Murat Osmanoğlu
PReSS: An Automated Black-Box Framework for Evaluating Political Stance Stability in LLMs
Shared title terminologycs.CLShariar Kabir, Kevin Esterling, Yue Dong