atlas

Research map / Large language models / Instruction and fine-tuning

Tuning LayerNorm in Attention: Towards Efficient Multi-Modal LLM Finetuning

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 5 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.

Shows that tuning only LayerNorm inside attention blocks (or all LayerNorm alone) of an LLM-based MLLM matches or beats full finetuning and LoRA on five multimodal benchmarks while using far fewer trainable parameters and less GPU memory.

Problem

Adapting LLMs into multimodal LLMs is computationally expensive, and existing parameter-efficient methods such as LoRA or soft prompts often lose performance on multimodal tasks.

Approach

Treat LLM-to-MLLM transformation as domain adaptation and finetune only the LayerNorm weights within each attention block (plus connector, embeddings, and head), with a further LayerNorm-only variant; the authors also link this to lower inter-layer similarity and smaller gradient variance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Tune attention-block LayerNorm instead of full-parameter finetuningMM-Vicuna-7B · MSCOCOCIDEr: 67.50 -> 80.89Helped
Tune attention-block LayerNorm instead of full-parameter finetuningMM-Vicuna-7B · MME perceptionscore: 270.7 -> 253.2Hurt
Tune attention-block LayerNorm instead of full-parameter finetuningMM-LLaMA2-13B · MSCOCOCIDEr: 73.88 -> 82.92Helped
Tune only LayerNorm in the model, freezing connector, word embeddings, and output head (ablation)MM-Vicuna-7B · VQAv2score: 15.40 -> 23.46Helped
Replace full 80K data with 20K conversational data (ablation)LayerNorm, MM-Vicuna-7B · Flickr30kCIDEr: 48.01 -> 40.33Hurt
Replace full 80K data with 20K conversational data (ablation)LayerNorm, MM-LLaMA2-7B · MSCOCOCIDEr: 88.85 -> 86.80No clear effect
Activate LayerNorm in addition to the vision-language connector (ablation)MM-LLaMA2-7B · MSCOCOCIDEr: 60.43 -> 88.85Helped
Activate the connector in addition to LayerNorm (ablation)MM-LLaMA2-7B · VQAv2score: 18.18 -> 16.78Hurt
Use LayerNorm tuning instead of full finetuning with an ImageNet-pretrained ViT (ablation)MM-LLaMA2-7B · MSCOCOCIDEr: 47.75 -> 66.22Helped
Use LayerNorm tuning instead of full finetuning with an ImageNet-pretrained ViT (ablation)MM-LLaMA2-7B · MME cognitionscore: 406.79 -> 301.51Hurt
Tune LayerNorm rather than all LLM parametersMM-Vicuna-7B · layer representation similaritycosine similarity: 0.624 -> 0.585Helped
Set learning rate to 3e-5 rather than 1e-5 (ablation)LayerNorm-simp., MM-LLaMA2-7B · Flickr30kCIDEr: 32.45 -> 43.04Helped

Surprising findings

Limitations

Experimental setup

Datasets: CC3M MiniGPT-4 80K filtered image-text pairs LLaVA-style conversation/detail/reasoning instruction data (20K each) ImageNet (ViT ablation)

Benchmarks: MME VQAv2 MSCOCO captioning Flickr30k captioning POPE

Metrics: MME perception/cognition score VQA accuracy CIDEr POPE accuracy/F1-style yes-no accuracy trainable parameter percentage GPU memory (GB) average layer cosine similarity

Baselines: Full finetuning LoRA Attn. QV Proj. Attn. MLP mPLUG-Owl MiniGPT-4 LLaVA-v0

Builds on: LoRA LLaVA MiniGPT-4 Vicuna CLIP

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