Visual prompt tuning arxiv 2203 12119v2

From feiyang-k/curation-bench · View interactive version

Visual prompt tuning arxiv 2203 12119v2 is an AI agent skill from the GitHub repository feiyang-k/curation-bench. Use this skill when you want to adapt a pre-trained vision model to a new task by prepending learnable visual prompt tokens, training only the prompts. Avoid it when full fine-tuning is affordable or

How to use this skill

Skill file

Visual Prompt Tuning

One-line decision

Use this skill when you want to adapt a pre-trained vision model to a new task by prepending learnable visual prompt tokens, training only the prompts. Avoid it when full fine-tuning is affordable or LoRA is preferred.

Skill metadata

Goal

Adapt pre-trained vision models to new tasks by prepending a small number of learnable visual prompt tokens to the input, training only the prompt tokens while keeping the model frozen.

Problem signature

Use when

Do not use when

Required inputs

Optional inputs

Outputs

Assumptions and prerequisites

Procedure

  1. Initialize visual prompts

Action: Create learnable prompt tokens.

Why: Prompts are the only trainable parameters.

Note: See paper for details.

  1. Prepend to input

Action: Add prompts before image patch tokens.

Why: Prompts influence model processing.

Note: See paper for details.

  1. Train prompts only

Action: Train only the prompt tokens on task data.

Why: Extremely parameter-efficient adaptation.

Note: See paper for details.

  1. Evaluate adaptation

Action: Test on the target task.

Why: Validates prompt-based adaptation.

Note: See paper for details.

Parameters to set

Validation checks

Failure modes

Adaptation notes for VLM training

Implementation notes

Evidence from the paper

Source paper

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.