atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

APT: Adaptive Pruning and Tuning Pretrained Language Models for Efficient Training and Inference

ICML 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Adapter-based parameter-efficient tuning · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes APT, which jointly prunes and tunes pretrained LMs during fine-tuning using LoRA-style APT adapters with outlier-aware salience scoring and self-distillation, improving training and inference efficiency.

Problem

Fine-tuning and inference of large pretrained language models are expensive; PEFT reduces training memory but not inference cost, while structured pruning improves inference but increases training time and memory, and combining them hurts accuracy.

Approach

Adaptively prune LM blocks from the start of fine-tuning using an outlier-aware salience score computed from activations and gradients (avoiding frozen-weight gradients), while dynamically increasing LoRA-style tuning ranks in the most salient adapters, plus a lightweight self-distillation that shares frozen weights between teacher and student.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use APT instead of LoRA+PruneRoBERTa-base · SST2 devaccuracy: 93.0 -> 94.5Helped
Use APT instead of LoRA+PruneT5-base · SST2 devaccuracy: 92.3 -> 95.0Helped
Use APT instead of LoRA+PruneLLaMA 2 7B · Open LLM leaderboard averageaverage score: 45.5 -> 50.0Helped
Remove adaptive pruning (ablation)APT on RoBERTa-base · SST2 devaccuracy: 94.5 -> 94.4No clear effect
Remove adaptive pruning (ablation)APT on RoBERTa-base · trainingtrain memory: 70.1% -> 62.2%Hurt
Remove salience-based allocation (ablation)APT on RoBERTa-base · MNLI devaccuracy: 86.4 -> 84.7Hurt
Remove adaptive tuning (ablation)APT on RoBERTa-base · MNLI devaccuracy: 86.4 -> 84.5Hurt
Add tuning parameters according to salience rather than equally across layers (ablation)APT on RoBERTa-base · MNLI devaccuracy: 84.4 -> 86.4Helped
Remove self-distillation (ablation)APT on RoBERTa-base · SST2 devaccuracy: 94.5 -> 92.9Hurt
Remove kurtosis from pruning salience (ablation)APT on LLaMA 2 7B · Open LLM leaderboard, 30% sparsityaverage score: 50.0 -> 38.1Hurt
Remove adaptive tuning (ablation)APT on LLaMA 2 7B · Open LLM leaderboard, 50% sparsityaverage score: 38.2 -> 35.8Hurt
Remove dynamic layer mapping loss (ablation)APT on RoBERTa-base · SST2 devaccuracy: 94.5 -> 93.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GLUE (SST2, MNLI, QQP, QNLI, CoLA, STS-B, MRPC, RTE) SQuAD v2.0 CNN/DM Alpaca (GPT-4 generated)

Benchmarks: GLUE (MNLI, SST2) SQuAD v2.0 CNN/DM ARC HellaSwag MMLU TruthfulQA

Metrics: accuracy F1 ROUGE training time to accuracy training peak memory inference time inference memory

Baselines: LoRA LoRA+Prune Prune+Distill (CoFi) LoRA+Prune+Distill LLMPruner PST LRP MaP MvP

Builds on: LoRA CoFi AdaLoRA Mask Tuning LLM-Pruner

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy