Reproduce “Adaptive Depth Sparse Framework: Similarity-Driven Resource Allocation for Pre-Trained LLMs” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yidu Wu, Xiang Wang, Kejie Zhao, Zhangchi Wang, Qinghai Guo, Xiaoying Tang
Researchers from Southern University of Science and Technology and Huawei Technologies developed AdaDSF, an Adaptive Depth Sparse Framework, which reduces inference computational costs of pre-trained Large Language Models by dynamically allocating token retention ratios based on layer-wise representational transformation similarity. The framework achieved superior efficiency-accuracy trade-offs, showing smaller performance degradation (e.g., -2.6% accuracy degradation on Qwen2.5-0.5B at 0.785x FLOPs) compared to existing depth-sparse methods.
Key insights
- Not all Transformer layers contribute equally to representation transformation; layers with lower input-output hidden state similarity perform greater changes and should retain more tokens.
- Dynamically allocating computational resources (token retention) based on layer-wise representational contribution leads to a better efficiency-accuracy trade-off than fixed schedules.
- Aligning both intermediate hidden states and final output distributions during training is crucial for preserving the behavior of a dense teacher model when applying depth sparsification.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.