mlsanityData to 7 Oct 2026

Language Models as Black-Box Optimizers for Vision-Language Models

arXiv 2309.05950 ↗First posted 12 Sep 2023cs.CL cs.CV cs.LGcited by 36

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

Vision-language models (VLMs) pre-trained on web-scale datasets have demonstrated remarkable capabilities on downstream tasks when fine-tuned with minimal data. However, many VLMs rely on proprietary data and are not open-source, which restricts the use of white-box approaches for fine-tuning. As such, we aim to develop a black-box approach to optimize VLMs through natural language prompts, thereby avoiding the need to access model parameters, feature embeddings, or even output logits. We propose employing chat-based LLMs to search for the best text prompt for VLMs. Specifically, we adopt an automatic hill-climbing procedure that converges to an effective prompt by evaluating the performance of current prompts and asking LLMs to refine them based on textual feedback, all within a conversational process without human-in-the-loop. In a challenging 1-shot image classification setup, our simple approach surpasses the white-box continuous prompting method (CoOp) by an average of 1.5% across 11 datasets including ImageNet. Our approach also outperforms both human-engineered and LLM-generated prompts. We highlight the advantage of conversational feedback that incorporates both positive and negative prompts, suggesting that LLMs can utilize the implicit gradient direction in textual feedback for a more efficient search. In addition, we find that the text prompts generated through our strategy are not only more interpretable but also transfer well across different VLM architectures in a black-box manner. Lastly, we apply our framework to optimize the state-of-the-art black-box VLM (DALL-E 3) for text-to-image generation, prompt inversion, and personalization.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 84 of its 114 references that are in the map. First posted on arXiv 12 Sep 2023.

Builds on

84 of 114 references.

Closest ancestors · 5

Same direction, newest first

  1. 2023Black Box Few-Shot Adaptation for Vision-Language models4 Apr
  2. 2022Visual Classification via Description from Large Language Models13 Oct
  3. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
  4. 2022Prompt Distribution Learning6 May
  5. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 79

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2022Training language models to follow instructions with human feedbackcited by 15,712
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  8. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  9. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  10. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  11. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  12. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
38 more
  1. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  2. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  3. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  4. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  8. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  9. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  10. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
  11. 2015VQA: Visual Question Answeringcited by 2,489
  12. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  13. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  14. 2013Describing Textures in the Wildcited by 2,110
  15. 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,037
  16. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  17. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  18. 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,612
  19. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
  20. 2019Federated Learning: Challenges, Methods, and Future Directionscited by 1,531
  21. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  22. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  23. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  24. 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
  25. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  26. 2019How Can We Know What Language Models Know?cited by 953
  27. 2021Robust fine-tuning of zero-shot modelscited by 785
  28. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  29. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 659
  30. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  31. 2021FLAVA: A Foundational Language And Vision Alignment Modelcited by 646
  32. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  33. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  34. 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 560
  35. 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 536
  36. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 523
  37. 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
  38. 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Actioncited by 511

50 most cited of 79 All 79 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 18; 2025: 10; 2026: 7.

36 papers.

Sort:

By area:

  1. 2024Evaluating Text-to-Visual Generation with Image-to-Text Generationcited by 465
  2. 2024GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generationcited by 130
  3. 2024The Neglected Tails in Vision-Language Modelscited by 63
  4. 2025Towards Understanding Camera Motions in Any Videocited by 62
  5. 2024Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Modelscited by 31
  6. 2024Large Language Model-Based Evolutionary Optimizer: Reasoning with elitismcited by 27
  7. 2024Evolving Interpretable Visual Classifiers with Large Language Modelscited by 18
  8. 2025Maestro: Self-Improving Text-to-Image Generation via Agent Orchestrationcited by 18
  9. 2024On Catastrophic Inheritance of Large Foundation Modelscited by 15
  10. 2024IPO: Interpretable Prompt Optimization for Vision-Language Modelscited by 13
  11. 2023Efficient Federated Prompt Tuning for Black-box Large Pre-trained Modelscited by 12
  12. 2024Automated Black-box Prompt Engineering for Personalized Text-to-Image Generationcited by 12
24 more
  1. 2024Deep Insights into Automated Optimization with Large Language Models and Evolutionary Algorithmscited by 12
  2. 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classificationcited by 12
  3. 2025ViPER: Empowering the Self-Evolution of Visual Perception Abilities in Vision-Language Modelcited by 11
  4. 2024Scattered Forest Search: Smarter Code Space Exploration with LLMscited by 10
  5. 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Imagescited by 9
  6. 2025Towards the Worst-case Robustness of Large Language Modelscited by 7
  7. 2024GLOV: Guided Large Language Models as Implicit Optimizers for Vision Language Modelscited by 6
  8. 2024TIPO: Text to Image with Text Presampling for Prompt Optimizationcited by 6
  9. 2024Test-Time Multimodal Backdoor Detection by Contrastive Promptingcited by 5
  10. 2024Robust Adaptation of Foundation Models with Black-Box Visual Promptingcited by 3
  11. 2024LLM-wrapper: Black-Box Semantic-Aware Adaptation of Vision-Language Models for Referring Expression Comprehensioncited by 3
  12. 2025On the Effectiveness of Large Language Models in Automating Categorization of Scientific Textscited by 3
  13. 2026Building a Precise Video Language with Human-AI Oversightcited by 3
  14. 2024Large Language Models for Tuning Evolution Strategiescited by 2
  15. 2025SCRAMBLe : Enhancing Multimodal LLM Compositionality with Synthetic Preference Datacited by 2
  16. 2025GRPOformer: Advancing Hyperparameter Optimization via Group Relative Policy Optimizationcited by 2
  17. 2026Adapting in the Dark: Efficient and Stable Test-Time Adaptation for Black-Box Modelscited by 2
  18. 2025Discrete Prompt Tuning via Recursive Utilization of Black-box Multimodal Large Language Model for Personalized Visual Emotion Recognitioncited by 0
  19. 2025BiomedXPro: Prompt Optimization for Explainable Diagnosis with Biomedical Vision Language Modelscited by 0
  20. 2026Multi-Agent LLMs for Adaptive Acquisition in Bayesian Optimizationcited by 0
  21. 2026Automating Categorization of Scientific Texts with In-Context Learning and Prompt-Chaining in Large Language Modelscited by 0
  22. 2026APEX: Automated Prompt Engineering eXpert with Dynamic Data Selectioncited by 0
  23. 2026Towards Spec Learning: Inference-Time Alignment from Preference Pairscited by 0
  24. 2026AdaBoosting Text Prompts for Vision-Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Connecting the Dots: Collaborative Fine-tuning for Black-Box Vision-Language Models
  2. 2024Can Better Text Semantics in Prompt Tuning Improve VLM Generalization?
  3. 2024Tuning Vision-Language Models with Candidate Labels by Prompt Alignment
  4. 2024Exploring the Frontier of Vision-Language Models: A Survey of Current Methodologies and Future Directions
  5. 2025Generalizing vision-language models to novel domains: A comprehensive survey
  6. 2024Rethinking VLMs and LLMs for Image Classification
  7. 2025Adapting Vision-Language Models Without Labels: A Comprehensive Survey
  8. 2021A Good Prompt Is Worth Millions of Parameters: Low-resource Prompt-based Learning for Vision-Language Models