mlsanityData to 7 Oct 2026

Evaluating the Efficacy of Prompt-Engineered Large Multimodal Models Versus Fine-Tuned Vision Transformers in Image-Based Security Applications

arXiv 2403.17787 ↗First posted 26 Mar 2024cs.AI cs.CR cs.CVcited by 3

On the map: Multimodal LLMs / vision-language models → MLLM jailbreaks and adversarial robustness

Abstract (arXiv)

The success of Large Language Models (LLMs) has led to a parallel rise in the development of Large Multimodal Models (LMMs), which have begun to transform a variety of applications. These sophisticated multimodal models are designed to interpret and analyze complex data by integrating multiple modalities such as text and images, thereby opening new avenues for a range of applications. This paper investigates the applicability and effectiveness of prompt-engineered LMMs that process both images and text, including models such as LLaVA, BakLLaVA, Moondream, Gemini-pro-vision, and GPT-4o, compared to fine-tuned Vision Transformer (ViT) models in addressing critical security challenges. We focus on two distinct security tasks: 1) a visually evident task of detecting simple triggers, such as small pixel variations in images that could be exploited to access potential backdoors in the models, and 2) a visually non-evident task of malware classification through visual representations. In the visually evident task, some LMMs, such as Gemini-pro-vision and GPT-4o, have demonstrated the potential to achieve good performance with careful prompt engineering, with GPT-4o achieving the highest accuracy and F1-score of 91.9% and 91%, respectively. However, the fine-tuned ViT models exhibit perfect performance in this task due to its simplicity. For the visually non-evident task, the results highlight a significant divergence in performance, with ViT models achieving F1-scores of 97.11% in predicting 25 malware classes and 97.61% in predicting 5 malware families, whereas LMMs showed suboptimal performance despite iterative prompt improvements. This study not only showcases the strengths and limitations of prompt-engineered LMMs in cybersecurity applications but also emphasizes the unmatched efficacy of fine-tuned ViT models for precise and dependable tasks.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in MLLM jailbreaks and adversarial robustness, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 24 of its 65 references that are in the map. First posted on arXiv 26 Mar 2024.

Builds on

24 of 65 references.

References · 24

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  3. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
  4. 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,624
  5. 2023LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Daycited by 1,287
  6. 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,221
  7. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  8. 2020A Survey on Visual Transformercited by 653
  9. 2019Hidden Trigger Backdoor Attackscited by 359
  10. 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
  11. 2023Multimodal Large Language Models: A Surveycited by 193
  12. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 149
12 more
  1. 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 147
  2. 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
  3. 2021Is it Time to Replace CNNs with Transformers for Medical Images?cited by 60
  4. 2023A Challenger to GPT-4V? Early Explorations of Gemini in Visual Expertisecited by 49
  5. 2021A Battle of Network Structures: An Empirical Study of CNN, Transformer, and MLPcited by 32
  6. 2023An In-depth Look at Gemini's Language Abilitiescited by 28
  7. 2022Prompt Tuning for Generative Multimodal Pretrained Modelscited by 25
  8. 2015When Face Recognition Meets with Deep Learning: an Evaluation of Convolutional Neural Networks for Face Recognitioncited by 20
  9. 2023Gemini in Reasoning: Unveiling Commonsense in Multimodal Large Language Modelscited by 15
  10. 2023Gemini vs GPT-4V: A Preliminary Comparison and Combination of Vision-Language Models Through Qualitative Casescited by 12
  11. 2024Software Vulnerability and Functionality Assessment using LLMscited by 11
  12. 2019Phish-IRIS: A New Approach for Vision Based Brand Prediction of Phishing Web Pages via Compact Visual Descriptorscited by 2

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Unbridled Icarus: A Survey of the Potential Perils of Image Inputs in Multimodal Large Language Model Security
  2. 2026Image-based Prompt Injection: Hijacking Multimodal LLMs through Visually Embedded Adversarial Instructions
  3. 2024A Survey of Attacks on Large Vision-Language Models: Resources, Advances, and Future Trends
  4. 2026VLMShield: Efficient and Robust Defense of Vision-Language Models against Malicious Prompts
  5. 2026Covert Visual Prompt Injection against Commercial Multimodal Large Language Models
  6. 2026DE-FIVE: Detecting Malicious Image Prompts via Fourier Features and Image Vector Embeddings
  7. 2025Investigating Vulnerabilities and Defenses Against Audio-Visual Attacks: A Comprehensive Survey Emphasizing Multimodal Models
  8. 2023On the Robustness of Large Multimodal Models Against Image Adversarial Attacks