Efficient PEFT Methods with Adaptive Checkpointing for Vision Models and VLMs on Resource Constrained Consumer-GPUs
Summary
This paper investigates efficient parameter-efficient fine-tuning (PEFT) methods and adaptive gradient checkpointing for vision models and Vision-Language Models (VLMs) on resource-constrained consumer GPUs, specifically targeting a 2 GB VRAM budget. Researchers compared five PEFT techniques (Full FT, LoRA, AdaLoRA, QLoRA, BitFit) across Transformer- and Mamba-based vision backbones (ViT-Small, TinyViT, Vim-Small, MambaVision-T). Three gradient-checkpointing strategies, including a novel memory-budget-aware adaptive algorithm, were also evaluated. Experiments on CIFAR-100 and DTD datasets measured accuracy, training time, energy, and NetScore metrics. Key findings indicate QLoRA and BitFit reduce energy by 20-30% with a minor 1-2% accuracy drop. The adaptive checkpointing algorithm significantly cut peak memory by 43-79%, incurring a 9-30% energy overhead. Notably, DINOv2 outperformed fine-tuned models on CIFAR-100 (0.917 vs. 0.897) using less energy, while small autoregressive VLMs proved uncompetitive.
Key takeaway
For Machine Learning Engineers deploying vision models or VLMs on consumer GPUs with limited VRAM, you should prioritize QLoRA or BitFit to reduce energy consumption by 20-30% with minimal accuracy impact. Implement adaptive gradient checkpointing to cut peak memory usage by 43-79%, enabling larger models to fit within a 2 GB budget. Additionally, evaluate self-supervised models like DINOv2 for zero-shot tasks, as they can surpass fine-tuned models in accuracy and energy efficiency.
Key insights
PEFT and adaptive checkpointing enable efficient vision model fine-tuning on consumer GPUs, with DINOv2 excelling in zero-shot performance.
Principles
- QLoRA and BitFit balance energy and accuracy.
- Adaptive checkpointing cuts peak memory.
- DINOv2 excels in zero-shot vision tasks.
Method
A memory-budget-aware adaptive gradient checkpointing algorithm dynamically adjusts checkpointing based on VRAM limits, reducing peak memory during fine-tuning.
In practice
- Apply QLoRA or BitFit for energy savings.
- Use adaptive checkpointing for VRAM limits.
- Evaluate DINOv2 for zero-shot vision.
Topics
- Parameter-Efficient Fine-Tuning
- Gradient Checkpointing
- Vision-Language Models
- On-device AI
- Energy Efficiency
- DINOv2
Best for: Computer Vision Engineer, Research Scientist, Machine Learning Engineer, AI Scientist, AI Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.