atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Zero-Shot Continuous Prompt Transfer: Generalizing Task Semantics Across Language Models

ICLR 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Prompt learning for CLIP · 1 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.

Proposes zero-shot transfer of continuous soft prompts between masked language models by encoding source prompts as cosine similarities to shared-vocabulary anchors and searching target embeddings that match this relative representation, extended to multi-source transfer.

Problem

Continuous prompts tuned on one language model are not directly transferable to another with different embedding space and dimension; prior cross-model transfer needs a trained projector and task supervision on the target.

Approach

Encode a source continuous prompt as cosine similarities to a set of shared-vocabulary anchor embeddings (relative space), then zero-shot search target prompt embeddings whose relative representation under target anchors matches it, optionally summing matches over multiple source models.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use relative-space prompt transfer instead of direct transfercontinuous prompts transferred between BERT-base and RoBERTa-base · LAMA-TRExaccuracy: 0.11 -> 17.68; 0.12 -> 31.33Helped
Combine BERT-base and BERT-large as sourcessingle-source transfer from BERT-base · LAMA-TRExaccuracy: outperforms BERT_base by 2--10 percentage pointsMixed
Combine BERT-base and RoBERTa-base as sourcesbest single-source transfer · LAMA-TREx on ALBERT-base and ALBERT-largeaccuracy: 1--2 pointsHelped
Use prompts induced by a larger source modelsingle-source prompt transfer · LAMA-TRExaccuracyHurt
Apply target-embedding normalization (ablation)transferred prompts when source and target models differ · LAMA-TRExaccuracyHelped
Apply target-embedding normalization (ablation)prompt transfer when source and target are identical · LAMA-TRExaccuracyHurt
Increase anchor count from 512 toward 8192 (ablation)relative-space prompt transfer · LAMA-TRExaccuracyHelped
Use the entire shared vocabulary as anchors (ablation)relative-space prompt transfer · LAMA-TRExaccuracyHurt
Increase prompt length up to five virtual tokens (ablation)relative-space prompt transfer · LAMA-TRExaccuracyHelped
Increase prompt length to 10 virtual tokens (ablation)relative-space prompt transfer · LAMA-TRExaccuracyHurt
Reduce relative-space matching loss during searchzero-shot prompt transfer · LAMA-TRExvalidation accuracyHelped
Transfer RoBERTa-base prompts rather than use manual promptsRoBERTa-large · SST-2accuracy: 69.95 -> 84.63Helped

Surprising findings

Limitations

Experimental setup

Datasets: LAMA-TREx SST-2 DBpedia

Benchmarks: LAMA-TREx SST-2 DBpedia

Metrics: micro-average accuracy

Baselines: Random Manual prompts Direct tuning Discretization Neural projector

Builds on: OptiPrompt relative representations prompt tuning

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