Prompt Algebra for Task Composition
Not on the map. Why?
Abstract (arXiv)
We investigate whether prompts learned independently for different tasks can be later combined through prompt algebra to obtain a model that supports composition of tasks. We consider Visual Language Models (VLM) with prompt tuning as our base classifier and formally define the notion of prompt algebra. We propose constrained prompt tuning to improve performance of the composite classifier. In the proposed scheme, prompts are constrained to appear in the lower dimensional subspace spanned by the basis vectors of the pre-trained vocabulary. Further regularization is added to ensure that the learned prompt is grounded correctly to the existing pre-trained vocabulary. We demonstrate the effectiveness of our method on object classification and object-attribute classification datasets. On average, our composite model obtains classification accuracy within 2.5% of the best base model. On UTZappos it improves classification accuracy over the best base model by 8.45% on average.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 29 of its 46 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
29 of 46 references.
References · 29
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
17 more
- 2016Wide Residual Networkscited by 3,057
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,612
- 2019VL-BERT: Pre-training of Generic Visual-Linguistic Representationscited by 954
- 2019Three scenarios for continual learningcited by 610
- 2021DER: Dynamically Expandable Representation for Class Incremental Learningcited by 355
- 2021VL-Adapter: Parameter-Efficient Transfer Learning for Vision-and-Language Taskscited by 319
- 2021DyTox: Transformers for Continual Learning with DYnamic TOken eXpansioncited by 291
- 2022S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental Learningcited by 246
- 2021ZeroCap: Zero-Shot Image-to-Text Generation for Visual-Semantic Arithmeticcited by 150
- 2019Task-Driven Modular Networks for Zero-Shot Compositional Learningcited by 121
- 2021Learning Graph Embeddings for Compositional Zero-shot Learningcited by 112
- 2022Learning to Compose Soft Prompts for Compositional Zero-Shot Learningcited by 66
- 2022CLIP model is an Efficient Continual Learnercited by 64
- 2021Independent Prototype Propagation for Zero-Shot Compositionalitycited by 42
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 2.
6 papers.
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2024A Second-Order Perspective on Model Compositionality and Incremental Learningcited by 18
- 2023Uncovering Meanings of Embeddings via Partial Orthogonalitycited by 15
- 2025Not Only Text: Exploring Compositionality of Visual Representations in Vision-Language Modelscited by 8
- 2025PICASO: Permutation-Invariant Context Composition with State Space Modelscited by 4
- 2024Experimental Design for Active Transductive Inference in Large Language Modelscited by 0
- 2025Not Only Text: Exploring Compositionality of Visual Representations in Vision-Language Models21 Mar 2025
- 2025PICASO: Permutation-Invariant Context Composition with State Space Models24 Feb 2025
- 2024A Second-Order Perspective on Model Compositionality and Incremental Learning25 May 2024
- 2024Experimental Design for Active Transductive Inference in Large Language Models12 Apr 2024
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Models7 Nov 2023
- 2023Uncovering Meanings of Embeddings via Partial Orthogonality26 Oct 2023
Similar, not cited
Close in wording, no citation either way
- 2024Can Better Text Semantics in Prompt Tuning Improve VLM Generalization?
- 2024Tuning Vision-Language Models with Candidate Labels by Prompt Alignment
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classification
- 2024Generalizable Prompt Tuning for Vision-Language Models
- 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuning
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
- 2023Distribution-Aware Prompt Tuning for Vision-Language Models
- 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Models