Pith. Sign in

RECORD

ALPINE: An adaptive language-agnostic pruning method for language models for code

Software Engineering · Submitted 4 Jul 2024

abstract compiled · 2026-09-23 · no language-model review

The authors' main claim 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.

how it is stated · hedged possibility 0.62 read the record →

Comment (0) Read on arXiv ↗
Cite ▾
arXiv ID2407.04147 (version 2)
Pith IDRW5CPYAH, Pith's permanent record of this paper and its review
CitationBoqi Chen, D\'aniel Varr\'o, Jos\'e Antonio Hern\'andez L\'opez, Mootez Saad, Tushar Sharma. "ALPINE: An adaptive language-agnostic pruning method for language models for code." arXiv:2407.04147 (2024). https://pith.science/paper/RW5CPYAH
Claim paper

The compiled record

The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.

Open the compiled record

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 7,593 input tokens.

What the abstract itself states, as probabilities: claims first 0.05 · states limitation 0.25 · human participants 0.03 · controlled comparison 0.69 · randomized assignment 0.01 · states quantitative result 0.99 · compares with prior results 0.38 · mentions code or data availability 0.03.

The abstract, sentence by sentence

arXiv listing abstract v2. Results and the main claim are underlined; .

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 $\times 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.

background contribution method result interpretation main claim

What the classifier reports for each sentence. The number is the probability it gave the label.
#sentencerolethe authors' own workstates the main conclusionstrength
s0 Language models of code have demonstrated state-of-the-art performance across various software engineering and source code analysis tasks. background 1.00 0.06 0.02 asserted 1.00
s1 However, their demanding computational resource requirements and consequential environmental footprint remain as significant challenges. background 0.89 0.05 0.02 asserted 1.00
s2 This work introduces ALPINE, an adaptive programming language-agnostic pruning technique designed to substantially reduce these models' computational overhead. contribution 0.99 0.77 0.11 asserted 0.98
s3 The proposed method offers a pluggable layer that can be integrated with all Transformer-based models. method 0.86 0.58 0.03 asserted 0.98
s4 With ALPINE, input sequences undergo adaptive compression throughout the pipeline, reaching a size up to $\times 3$ less their initial size, resulting in significantly reduced computational load. method 0.91 0.78 0.09 asserted 0.98
s5 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. result 1.00 0.97 0.24 asserted 1.00
s6 This led to a reduction in CO2 by up to $44.85$%. result 1.00 0.90 0.08 asserted 1.00
s7 Importantly, it achieves the reduction in computation resources while maintaining up to 98.1% of the original predictive performance. result 1.00 0.95 0.29 asserted 1.00
s8 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. interpretation 1.00 0.51 0.81 hedged possibility 0.62
s9 Also, it sheds light on redundant and noisy information in source code analysis corpora, as shown by the substantial sequence compression achieved by ALPINE. interpretation 0.99 0.86 0.06 asserted 0.89

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 1.00.

What was examined, and what was not

sources read
  • arXiv listing abstract v2
not examined
  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers
levels run
  • P abstract
not run
  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. Every number in the measurements table is the authors', checked by code. Record as JSON

The paper
Original abstract

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 $\times 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.

Human review
How the literature uses it

3 arXiv papers cite this in 5 sentences

Each citing sentence is taken from the citing paper's LaTeX source and typed by Pith's classifier. A label appears at probability 0.8 or more (0.95 for support), a contest at 0.7 or more; the quoted words are the citing authors'. How each label was checked · JSON

Papers citing it · 3 sentences without a confident label

Cites it as background 2 papers

What it cites · 10 sentences without a confident label

Uses the method or tool of 1 paper
Uses data or values from 1 paper
Cites as support 2 papers
Cites as background 6 papers

Discussion

Know something about this paper? Leave a comment, or highlight any passage above to comment on it.