Evaluating the Efficacy of Prompt-Engineered Large Multimodal Models Versus Fine-Tuned Vision Transformers in Image-Based Security Applications
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
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
- 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
- 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,624
- 2023LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Daycited by 1,287
- 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,221
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2020A Survey on Visual Transformercited by 653
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
- 2023Multimodal Large Language Models: A Surveycited by 193
- 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 149
12 more
- 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 147
- 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
- 2021Is it Time to Replace CNNs with Transformers for Medical Images?cited by 60
- 2023A Challenger to GPT-4V? Early Explorations of Gemini in Visual Expertisecited by 49
- 2021A Battle of Network Structures: An Empirical Study of CNN, Transformer, and MLPcited by 32
- 2023An In-depth Look at Gemini's Language Abilitiescited by 28
- 2022Prompt Tuning for Generative Multimodal Pretrained Modelscited by 25
- 2015When Face Recognition Meets with Deep Learning: an Evaluation of Convolutional Neural Networks for Face Recognitioncited by 20
- 2023Gemini in Reasoning: Unveiling Commonsense in Multimodal Large Language Modelscited by 15
- 2023Gemini vs GPT-4V: A Preliminary Comparison and Combination of Vision-Language Models Through Qualitative Casescited by 12
- 2024Software Vulnerability and Functionality Assessment using LLMscited by 11
- 2019Phish-IRIS: A New Approach for Vision Based Brand Prediction of Phishing Web Pages via Compact Visual Descriptorscited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2024Large Multimodal Agents for Accurate Phishing Detection with Enhanced Token Optimization and Cost Reductioncited by 4
- 2025CLASP: Cost-Optimized LLM-based Agentic System for Phishing Detectioncited by 0
- 2025Retrieval-Augmented Few-Shot Prompting Versus Fine-Tuning for Code Vulnerability Detectioncited by 0
- 2025Retrieval-Augmented Few-Shot Prompting Versus Fine-Tuning for Code Vulnerability Detection28 Nov 2025
- 2025CLASP: Cost-Optimized LLM-based Agentic System for Phishing Detection21 Oct 2025
- 2024Large Multimodal Agents for Accurate Phishing Detection with Enhanced Token Optimization and Cost Reduction3 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024Unbridled Icarus: A Survey of the Potential Perils of Image Inputs in Multimodal Large Language Model Security
- 2026Image-based Prompt Injection: Hijacking Multimodal LLMs through Visually Embedded Adversarial Instructions
- 2024A Survey of Attacks on Large Vision-Language Models: Resources, Advances, and Future Trends
- 2026VLMShield: Efficient and Robust Defense of Vision-Language Models against Malicious Prompts
- 2026Covert Visual Prompt Injection against Commercial Multimodal Large Language Models
- 2026DE-FIVE: Detecting Malicious Image Prompts via Fourier Features and Image Vector Embeddings
- 2025Investigating Vulnerabilities and Defenses Against Audio-Visual Attacks: A Comprehensive Survey Emphasizing Multimodal Models
- 2023On the Robustness of Large Multimodal Models Against Image Adversarial Attacks