Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Models

About

While vision and multimodal foundation models underpin critical tasks from perception to complex reasoning, they remain highly vulnerable to adversarial attacks. However, traditional adversarial attacks are typically limited to single, predefined objectives, tightly coupling each attack to a specific model or task, which restricts their scalability and flexibility in real-world scenarios. In this work, we present DarkLLM, a novel attack framework that trains an LLM to translate natural-language attack instructions into latent attack vectors, which are then decoded into visual adversarial perturbations. By leveraging natural-language instruction tuning, DarkLLM not only unifies targeted, untargeted, segmentation, and multi-model attacks within a single framework, but also achieves flexible and controllable adversarial generation, enabling each instruction to produce a perturbation that induces desired behaviors across heterogeneous models. Through extensive experiments across 4 tasks, 13 datasets, and 15 models, we demonstrate that DarkLLM with only 1B parameters can follow attacker instructions and generate highly effective attacks against CLIP, SAM, and frontier LLMs, revealing a systemic vulnerability in modern foundation models.

Ye Sun, Xin Wang, Jiaming Zhang, Yifeng Gao, Yixu Wang, Yifan Ding, Qixian Zhang, Henghui Ding, Xingjun Ma, Yu-Gang Jiang• 2026

Related benchmarks

TaskDatasetResultRank
Targeted Attack on Image CaptioningFrontier MLLM Evaluation Set
Attack Success Rate (ASR)67.7
72
Zero-shot ClassificationCIFAR100--
65
Zero-shot ClassificationCIFAR10--
62
Semantic segmentationCity*
mIoU44.9
61
Image SegmentationCOCO
mIoU55.5
39
Promptable Image SegmentationCOCO (val)
mIoU58.4
24
Promptable Image SegmentationCITY (val)
mIoU45.9
24
Promptable Image SegmentationADE (val)
mIoU55.9
24
Zero-shot ClassificationSTL10--
21
Zero-shot ClassificationStanfordCars--
21
Showing 10 of 24 rows

Other info

Follow for update