ALPINE: An adaptive language-agnostic pruning method for language models for code
Not on the map. Why?
Abstract (arXiv)
Language models of code have demonstrated state-of-the-art performance across various software engineering and source code analysis tasks. However, their demanding computational resource requirements and consequential environmental footprint remain as significant challenges. This work introduces ALPINE, an adaptive programming language-agnostic pruning technique designed to substantially reduce these models' computational overhead. The proposed method offers a pluggable layer that can be integrated with all Transformer-based models. With ALPINE, input sequences undergo adaptive compression throughout the pipeline, reaching a size up to × 3 less their initial size, resulting in significantly reduced computational load. Our experiments on two software engineering tasks, defect prediction and code clone detection across three language models CodeBERT, GraphCodeBERT and UniXCoder show that ALPINE achieves up to a 50% reduction in FLOPs, a 58.1% decrease in memory footprint, and a 28.1% improvement in throughput on average. This led to a reduction in CO2 by up to 44.85%. Importantly, it achieves the reduction in computation resources while maintaining up to 98.1% of the original predictive performance. These findings highlight the potential of ALPINE in making language models of code more resource-efficient and accessible while preserving their performance, contributing to the overall sustainability of adopting language models in software development. Also, it sheds light on redundant and noisy information in source code analysis corpora, as shown by the substantial sequence compression achieved by ALPINE.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Jul 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systemscited by 1
- 2025From User Interface to Agent Interface: Efficiency Optimization of UI Representations for LLM Agentscited by 0
- 2026Carbon-Taxed Transformers: A Green Compression Pipeline for Overgrown Language Modelscited by 0
- 2026Carbon-Taxed Transformers: A Green Compression Pipeline for Overgrown Language Models28 Apr 2026
- 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systems31 Jan 2026
- 2025From User Interface to Agent Interface: Efficiency Optimization of UI Representations for LLM Agents15 Dec 2025
- 2025Reducing Cost of LLM Agents with Trajectory Reduction28 Sep 2025