scimeatlas

Research map / Architectures and efficiency / Pruning and efficient tuning

SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamics

Arash Ardakani, Altan Haan, Shangyin Tan, Doru Thom Popovici, Alvin Cheung, Costin Iancu, Koushik Sen

NAACL 2024Architectures and efficiency › Pruning and efficient tuningapproach: Efficient ViT adaptationopen problems in this approach13 citations (OpenAlex)

University of California, Berkeley · Lawrence Berkeley National Laboratory

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
2no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

This paper tried a common change: Larger batch size

larger batch size · NLP and CV datasets · relative memory reduction Improved

What 943 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
freeze layers with ILS at 80-95% rate, with quantization and pruningBERT-base fine-tuning · GLUE (batch 32)total GPU memory: 6.1GB -> 4.0GBImproved
same, on SQuAD 2.0BERT-base · SQuAD 2.0 (batch 128)total GPU memory: 58.5GB -> 19.1GBImproved
same, on ImageNetViT-base · ImageNet (batch 128)total GPU memory: 77.4GB -> 26.1GBImproved
same, on GLUE/ViT tasksSlimFit · GLUE, CIFAR, ImageNetaccuracy: up to 0.4% degradation; e.g. CIFAR-10 98.8 -> 98.5, CoLA 58.9 -> 59.6Mixed
use ILS (distance-based) freezing instead of random or progressive freezing (ablation)SlimFit · CoLA and MRPCaccuracy vs freezing rateImproved
larger batch sizeSlimFit · NLP and CV datasetsrelative memory reductionImproved
quantize activations of the imbalanced layer, GELU, MatMul; prune LayerNorm (ablation)SlimFit BERT · CoLAMatthews correlation: 58.9 -> 59.7 (all together)No clear effect
quantize/prune activations (ablation)SlimFit BERT · MRPCaccuracy: 86.4 -> 86.3 (all together)No clear effect
SlimFit instead of 4-bit GACTBERT-base · CoLAtotal memory: 6.0GB -> 4.3GBImproved
SlimFit instead of 4-bit GACTBERT-base · CoLAactivation memory: 0.5GB -> 0.6GBHurt
SlimFit instead of GACT/DropITBERT-base · CoLAlatency: 455s / 367s -> 281s (baseline 251s)Improved
freezing without ILS-style per-iteration freezing (progressive freezing from the first iteration unfrozen)AutoFreeze-like approaches · ViT ImageNet batch 128 on one 32GB GPUmemory feasibilityHurt

Open problems in efficient ViT adaptation

Do efficient ViT tuning and pruning methods hold up beyond image classification, and what do they cost?

All 5 open problems and what was already tried →

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