Research map / Vision-language and multimodal / CLIP and zero-shot
LLaMA-Adapter: Efficient Fine-tuning of Large Language Models with Zero-initialized Attention
Renrui Zhang, Jiaming Han, Chris Liu, Aojun Zhou, Pan Lu, Yu Qiao, Hongsheng Li, Peng Gao
MMLab of CUHK & Shanghai AI Laboratory · The Chinese University of Hong Kong
Read the paperPlace an idea next to itCheck your own paper ↗
Proposes LLaMA-Adapter, a lightweight parameter-efficient method that adapts frozen LLaMA 7B for instruction following using zero-initialized attention on 52K self-instruct demonstrations.
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.
Problem
Efficient instruction tuning of large language models like LLaMA without the cost of full fine-tuning.
Approach
Introduces learnable adaptation prompts in the top transformer layers of a frozen LLaMA, using zero-initialized attention with a gating factor so that the adapters do not disturb pretrained knowledge at initialization.
Key results
- Adds only 1.2M learnable parameters on top of frozen LLaMA 7B using 52K self-instruct demonstrations.
- Training cost is less than one hour on 8 A100 GPUs, as stated in the abstract.
On benchmark leaderboards
- ScienceQA leaderboard average accuracy 85.19 · rank 8 of 10 papers
- SQuAD 2.0 leaderboard F1 (dev) 87.2 · rank 12 of 31 papers
- SQuAD 1.1 leaderboard F1 (dev) 94.6 · rank 6 of 24 papers
- VTAB-1k Structured leaderboard accuracy 56.75 · rank 10 of 12 papers
- VTAB-1k Natural leaderboard accuracy 81.74 · rank 4 of 11 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| initialize the attention gating factor at zero instead of randomly (ablation) | LLaMA-Adapter · ScienceQA val | accuracy: 40.77 -> 83.85 (+43.08) | Improved |
| insert adaption prompts into more layers (10 -> 20 -> 30) (ablation) | LLaMA-Adapter · ScienceQA val | accuracy: 55.95 -> 73.36 -> 83.85 | Improved |
| insert adaption prompts into all 32 layers instead of last 30 (ablation) | LLaMA-Adapter · ScienceQA val | accuracy: 83.85 -> 81.03 | Hurt |
| add a CLIP image encoder and 0.6M projection network | LLaMA-Adapter-T · ScienceQA test | average accuracy: 78.31 -> 85.19 (+6.88) | Improved |
| fine-tune only 1.2M adapter parameters instead of all 7B (Alpaca) | LLaMA 7B · Training time on 8 A100 GPUs | training time: 3 hours -> 1 hour | Improved |
| use LLaMA-Adapter instead of Alpaca-LoRA at ranks 2 to 16 | LLaMA 7B instruction tuning · Open LLM benchmark | average: 50.7-50.9 -> 52.2 | Improved |
| lower the LoRA rank of Alpaca-LoRA (16 to 2) (ablation) | Alpaca-LoRA · Open LLM benchmark | average: 50.8 (rank 16) -> 50.9 (rank 2) | No clear effect |
| apply zero-initialized attention to ViT instead of full fine-tuning | ViT/16 · VTAB-1k Natural | accuracy: 75.88 -> 81.74 | Improved |
| apply zero-initialized attention to RoBERTa-large instead of full fine-tuning | RoBERTa-large · SQuAD 2.0 dev | F1: 89.4 -> 87.2 | Hurt |
| add more VQAv2 instruction data to visual instruction tuning | multi-modal LLaMA-Adapter · MME, MMBench, LVLM-eHub | zero-shot scores | Improved |
| use LLaMA-Adapter (7B, 1.2M tuned params) instead of Mini-GPT4 / LLaVA | multi-modal LLM · MME Perception vs Cognition | score: Perception 973 vs 867 / 503; Cognition 249 vs 292 (Mini-GPT4) | Mixed |
Later papers that compared with this method
12 later accepted papers report LLaMA-Adapter as a baseline in their results tables; 11 of them report a better number on most of the results they share with it.
- Remodeling Semantic Relationships in Vision-Language Fine-Tuning (AAAI 2026 · better on 3 of 3 shared results)
- MARS: Multimodal Adaptive Reasoning Model for Avoiding Overthinking (AAAI 2026 · better on 1 of 1 shared result)
- Not All Attention is Needed: Parameter and Computation Efficient Tuning for Multi-modal Large Language Models via Effective Attention Skipping (IJCV 2026 · better on 1 of 1 shared result)
- LiDAR-LLM: Exploring the Potential of Large Language Models for 3D LiDAR Understanding (AAAI 2025 · better on 5 of 5 shared results)
- MPDrive: Improving Spatial Understanding with Marker-Based Prompt Learning for Autonomous Driving (CVPR 2025 · better on 1 of 1 shared result)
- SilVar: Speech-Driven Multimodal Model for Reasoning Visual Question Answering and Object Localization (EMNLP 2025 · better on 1 of 1 shared result)
- Embodied Understanding of Driving Scenarios (ECCV 2024 · better on 4 of 4 shared results)
- MLeVLM: Improve Multi-level Progressive Capabilities based on Multimodal Large Language Model for Medical Visual Question Answering (ACL 2024 · better on 4 of 4 shared results)
4 more not listed.
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 0 of 1 on most shared results.
- Mini-GPT4 — MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models (ICLR 2024) · better on 1 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in parameter-efficient visual tuning
Do parameter-efficient tuning methods for CLIP-style models work beyond ViT-B/16 image classification, and at what extra cost?
- The method adds memory, compute or query cost over plain tuning. · 10 papers state it
- Only image classification or a single task was tested. · 9 papers state it
- Results come from one backbone, mostly CLIP ViT-B/16. · 7 papers state it
Experimental setup
Datasets: self-instruct 52K demonstrations
Builds on: LLaMA self-instruct Alpaca
Closest papers by meaning
- LLaMA-Excitor: General Instruction Tuning via Indirect Feature Interaction (CVPR 2024 · similarity 0.92)
- LLaMA-Omni: Seamless Speech Interaction with Large Language Models (ICLR 2025 · similarity 0.89)
- On Zero-Initialized Attention: Optimal Prompt and Gating Factor Estimation (ICML 2025 · similarity 0.89)
- LLaDA-V: Large Language Diffusion Models with Visual Instruction Tuning (CVPR 2026 · similarity 0.89)
- Zebra-Llama: Towards Extremely Efficient Hybrid Models (NeurIPS 2025 · similarity 0.88)
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning (ICLR 2024 · similarity 0.88)
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.