atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Sheared Backpropagation for Fine-tuning Foundation Models

CVPR 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 PreBackRazor, a joint activation-and-gradient sparsified backpropagation method using a bandit-updated column-wise freezing probability, to cut memory and compute of fine-tuning ViT and BERT on consumer GPUs.

Problem

Activation pruning for memory-efficient fine-tuning (e.g., BackRazor) reduces activation memory but its element-wise top-k pruning adds substantial computation overhead, making fine-tuning slower on low-memory devices.

Approach

Replace element-wise self-sparsified top-k activation pruning with column-wise joint sparsification: a bandit (JointSpar-style) updates per-coordinate freezing probabilities from gradient norms, so non-essential activations are never pruned or stored, and the FlashAttention-2 kernel is combined with the method.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PREBR++JS@50% instead of BACKRAZORViT-B/16 fine-tuning · CIFAR-100accuracy: 92.1 -> 92.1No clear effect
Use PREBR++JS@50% instead of BACKRAZORViT-B/16 fine-tuning · CIFAR-10accuracy: 98.6 -> 98.6No clear effect
Use PREBR++JS@50% instead of BACKRAZORViT-B/16 fine-tuning · CUB-200accuracy: 86.6 -> 85.6Hurt
Use PREBR++JS@50% instead of BACKRAZORViT-B/16 fine-tuning · CIFAR-100epoch time: 6min19s -> 4min02sHelped
Replace BACKRAZOR attention with FLASHATTENTION (ablation)PREBR++JS for ViT-B/16 · CIFAR-100speedup: 1.0× -> 1.7×Helped
Use FLASHATTENTION instead of BACKRAZOR attention (ablation)PREBR++JS for ViT-B/16 · CIFAR-100accuracy: 91.4 -> 92.2Helped
Use sparse FLASHATTN instead of FLASHATTENTION (ablation)PREBR++JS for ViT-B/16 · CIFAR-100accuracy: 92.2 -> 92.1Hurt
Use PREBR instead of BACKRAZOR at 80% pruningbert-base-uncased fine-tuning · RTE, GLUE; batch size 8accuracy: 69.31 -> 72.92Helped
Use PREBR instead of BACKRAZOR at 90% pruningbert-base-uncased fine-tuning · RTE, GLUE; batch size 8accuracy: 66.43 -> 69.68Helped
Use PREBR instead of BACKRAZOR at 80% pruningbert-base-uncased fine-tuning · RTE, GLUE; batch size 32accuracy: 65.70 -> 66.07Helped
Use PREBR instead of BACKRAZOR at 90% pruningbert-base-uncased fine-tuning · RTE, GLUE; batch size 32accuracy: 66.43 -> 65.70Hurt
Use PREBR instead of BACKRAZOR at 80% pruningbert-base-uncased fine-tuning · RTE, GLUE; batch size 8epoch completion time: 17min39s -> 16min36sHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-22K CIFAR-10 CIFAR-100 CUB-200 RTE (GLUE)

Benchmarks: CIFAR-10 CIFAR-100 CUB-200 GLUE RTE

Metrics: accuracy peak GPU memory epoch/wall-clock time speedup

Baselines: BackRazor Full fine-tuning JointSpar

Builds on: BackRazor JointSpar FlashAttention-2

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