Multimodal Resource-Exhaustion Attacks on Vision-Language Models via Joint Pixel-Prompt Optimization
Organizations: Guangzhou University School of Computer Science and Cyber Engineering Guangzhou, China · University of Macau Department of Computer and Information Science Macau, China · Guangzhou University School of Artificial Intelligence Guangzhou, China · Guangzhou University Cyberspace Institute of Advanced Technology Guangzhou, China
Abstract
Resource-exhaustion attacks against autoregressive vision-language models (VLMs) typically assume unimodal threat models, treating the image branch as the primary optimization surface while holding user-visible prompts fixed. Even recent loop-centric variants remain confined to this single-channel paradigm, leaving the exploitation of availability unexplored as a cross-modal optimization problem over jointly controllable input surfaces. We introduce Joint Pixel-Prompt Optimization (JPPO), the first compound adversarial framework elevating the visible prompt to a first-class adversarial variable alongside image perturbations. Under a restricted joint-input threat model, JPPO performs coupled, stagewise optimization over both the pixel and prompt surfaces. This produces synergistic cost amplification, mechanistically distinct from loop-dependent failures, exhibiting negligible loop incidence in our experiments. Evaluating five open-source VLM families on MS COCO and ImageNet under an 8/255 infinity-norm budget, JPPO achieves over 4.6x latency and 5.3x energy amplification on Qwen2.5-VL-7B, and over 36.6x latency with 32.7x energy amplification on BLIP-2. This represents the strongest cost amplification among directly compared baselines while requiring substantially fewer optimization iterations. Ablations confirm this amplification arises from multimodal coordination rather than prompt length or isolated modalities. These findings reveal structural blind spots in current VLM serving defenses, motivating cost-aware robustness evaluation as a first-class security requirement for multimodal deployments.
Figures & tables
| Model | Method | MS COCO | ImageNet | ||||
| Len. | (J) | Lat. (s) | Len. | (J) | Lat. (s) | ||
| BLIP-2 | Clean | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| Noise | 8.23 | 65.65 | 0.44 | 7.22 | 60.28 | 0.43 | |
| NICGSlowDown | 86.76 | 567.03 | 4.46 | 103.41 | 663.15 | 5.01 | |
| Verbose Images | 211.62 | 1432.61 | 12.07 | 231.31 | 1592.69 | 12.48 | |
| JPPO | 373.23 | 2324.29 | 19.58 | 361.60 | 2665.96 | 20.16 | |
| Source Model | BLIP-2 | Qwen2.5-VL | LLaVA-NeXT | InstructBLIP | MiniGPT-4 |
| BLIP-2 | 19.58 / 20.16 | 16.98 / 18.74 | 22.49 / 24.29 | 12.33 / 13.02 | 17.71 / 8.94 |
| Qwen2.5-VL | 4.40 / 7.36 | 24.03 / 21.16 | 18.92 / 21.61 | 16.32 / 16.56 | 14.61 / 12.35 |
| LLaVA-NeXT | 3.73 / 3.38 | 23.68 / 21.30 | 27.53 / 27.18 | 14.73 / 12.80 | 17.97 / 19.19 |
| InstructBLIP | 0.92 / 1.65 | 15.97 / 17.04 | 18.45 / 18.46 | 17.58 / 21.43 | 12.22 / 12.86 |
| MiniGPT-4 | 3.64 / 3.31 | 10.69 / 8.83 | 16.82 / 11.45 | 7.52 / 8.02 | 23.64 / 23.10 |
| Model | Method | Construction | Serving | ||
| Time (s) | (kJ) | (J) | Lat. (s) | ||
| BLIP-2 | VI | 316.04 | 41.95 | 1512.65 | 12.28 |
| JPPO | 582.26 | 53.04 | 2495.13 | 19.87 | |
| Qwen2.5-VL | VI | 4813.97 | 183.85 | 2831.95 | 10.65 |
| JPPO | 3354.70 | 146.72 | 5163.02 | 22.60 | |
| LLaVA-NeXT | VI | 8645.60 | 658.26 | 3214.15 | 11.91 |
| Method | Rel. | Info. | Red. | Use. |
| Clean | 4.49 | 3.66 | 1.43 | 4.05 |
| Neutral-long-prompt | 4.29 | 4.01 | 2.04 | 3.92 |
| Prompt-only | 3.72 | 3.07 | 3.45 | 2.98 |
| Verbose Images | 2.82 | 2.15 | 4.08 | 2.91 |
| JPPO | 3.59 | 3.44 | 3.32 | 3.38 |
| Model | Loop Inc. (%) | Longest Span (%) | Tail Cov. (%) |
| BLIP-2 | 1.90 / 1.01 | 2.04 / 1.26 | 1.31 / 0.52 |
| Qwen2.5-VL | 0.00 / 0.00 | 0.00 / 0.00 | 0.00 / 0.00 |
| LLaVA-NeXT | 0.00 / 0.00 | 0.47 / 0.58 | 0.00 / 0.00 |
| InstructBLIP | 0.00 / 0.00 | 0.01 / 0.13 | 0.00 / 0.00 |
| MiniGPT-4 | 1.60 / 0.00 | 1.82 / 1.58 | 0.93 / 0.59 |
| Model | Modality | Single Loss | Joint | |||
| Pixel | Prompt | |||||
| BLIP-2 | 11.02 | 20.19 | 29.68 | 22.52 | 22.72 | 34.50 |
| Qwen2.5-VL | 3.91 | 3.36 | 4.12 | 4.68 | 4.71 | 5.77 |
| LLaVA-NeXT | 3.04 | 3.21 | 2.96 | 3.18 | 3.39 | 4.13 |
| InstructBLIP | 2.37 | 3.06 | 4.89 | 4.31 | 4.57 | 5.62 |
| MiniGPT-4 | 4.27 | 4.33 | 5.11 | 5.46 | 5.72 | 6.80 |
| Model | JPPO | Verbose Images | NICG SlowDown | Lingo Loop |
| (a) Nine-defense mean | ||||
| BLIP-2 | 11.25 | 13.05 | 7.91 | 25.12 |
| Qwen2.5-VL | 2.78 | 4.80 | 2.03 | 6.04 |
| LLaVA-NeXT | 5.14 | 3.72 | 3.32 | 14.28 |
| InstructBLIP | 1.24 | 14.92 | 4.29 | 15.97 |
| MiniGPT-4 | 4.69 | 21.95 | 10.98 | 25.93 |
| Model | Method | P95 | Overload | GPU-h/1K |
| MS COCO | ||||
| Qwen2.5-VL | VI | 1.82 | [9%,10%] | 1.76 |
| JPPO | 1.94 | [4%,5%] | 6.60 | |
| BLIP-2 | VI | 37.1 | [0.75%,1.00%] | 3.05 |
| JPPO | 55.9 | [0.50%,0.75%] | 4.92 | |
| ImageNet | ||||
| Model | Policy | JPPO Admission | Attacker Worker Share | Load | Benign API P95 E2E Inflation |
| Qwen2.5-VL | Open | 100.00% / 100.00% | 23.5% / 25.3% | 1.04 / 1.07 | 42.9 / 47.6 |
| Request-RL | 91.34% / 87.80% | 22.1% / 23.6% | 1.01 / 1.02 | 13.1 / 16.2 | |
| Safety+Request-RL | 90.15% / 86.83% | 21.8% / 23.2% | 1.00 / 1.02 | 14.5 / 18.0 | |
| EarlyStop+Request-RL | 91.34% / 87.80% | 21.7% / 22.9% | 1.00 / 1.01 | 12.4 / 15.4 | |
| BLIP-2 | Open | 100.00% / 100.00% | 27.2% / 24.1% | 1.10 / 1.05 | 108.6 / 94.2 |
| Request-RL | 82.74% / 89.55% | 24.4% / 22.3% | 1.04 / 1.01 | 80.7 / 76.8 |
| Model | Method | MS COCO | ImageNet | ||||||
| Len. | Tokens | (J) | Lat (s) | Len. | Tokens | (J) | Lat (s) | ||
| Qwen2.5-VL-7B | Clean | 70.51 | 82.13 | 825.21 | 3.16 | 74.13 | 88.47 | 893.15 | 3.68 |
| LingoLoop | 435.29 | 501.94 | 5056.13 | 18.75 | 439.18 | 500.18 | 5014.32 | 18.01 | |
| JPPO | 456.15 | 510.78 | 5528.41 | 23.61 | 440.68 | 502.32 | 5184.18 | 22.46 | |
| InstructBLIP | Clean | 53.84 | 65.35 | 675.21 | 3.61 | 59.17 | 71.56 | 857.44 | 5.08 |
| LingoLoop | 417.61 | 495.20 | 5001.62 | 34.23 | 409.92 | 488.36 | 4751.66 | 33.71 | |
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Dataset | Build Time (s) | Build Energy (kJ) | Online Energy (J) | Online Latency (s) |
| BLIP-2 | MS COCO | 576.41 / 304.92 | 50.14 / 38.30 | 2324.29 / 1432.61 | 19.58 / 12.07 |
| ImageNet | 588.10 / 327.16 | 55.93 / 45.60 | 2665.96 / 1592.69 | 20.16 / 12.48 | |
| Qwen2.5-VL | MS COCO | 3554.83 / 4896.92 | 154.02 / 186.28 | 5458.59 / 2898.41 | 24.03 / 10.88 |
| ImageNet | 3154.57 / 4731.01 | 139.42 / 181.41 | 4867.44 / 2765.49 | 21.16 / 10.41 | |
| LLaVA-NeXT | MS COCO | 7574.42 / 8538.11 | 597.51 / 655.17 | 6520.12 / 3219.71 | 27.53 / 11.78 |
| ImageNet | 7416.33 / 8753.08 | 520.00 / 661.35 | 5706.21 / 3208.59 | 27.18 / 12.04 |
| Defense | BLIP-2 | Qwen2.5-VL | LLaVA-NeXT | InstructBLIP | MiniGPT-4 |
| JPEG (Q=95) | -0.46 | -0.71 | 2.52 | 3.62 | 2.59 |
| JPEG (Q=75) | 15.70 | 0.11 | 4.63 | 4.06 | 9.55 |
| JPEG (Q=50) | 25.79 | 5.62 | 9.01 | 1.81 | 0.78 |
| Resize restoration | 16.89 | 4.68 | 14.58 | -1.96 | 9.12 |
| 5-bit quantization | -4.28 | -1.06 | 4.92 | -9.01 | -1.82 |
| 4-bit quantization | 30.50 | 0.45 | 1.69 | 4.62 | -0.12 |
| Defense setting | Len. | Lat. | |
| Nine non-EarlyStop defenses | 5.19 | 4.96 | 4.92 |
| EarlyStop | 2.55 | 5.81 | 2.63 |
| Model | Method | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| BLIP-2 | Clean | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| Noise | 8.23 | 65.65 | 0.44 | 7.22 | 60.28 | 0.43 | |
| NICGSlowDown | 86.76 | 567.03 | 4.46 | 103.41 | 663.15 | 5.01 | |
| Verbose Images | 211.62 | 1432.61 | 12.07 | 231.31 | 1592.69 | 12.48 | |
| Hidden Tail | 52.05 | 351.52 | 2.31 | 50.13 | 309.45 | 2.29 | |
| Schedule | Len. | Lat. | |
| Random | 4.46 | 4.96 | 4.28 |
| Phase-based | 5.95 | 6.06 | 5.40 |
| Model | Strategy | Traj. | Build Time (s) | Build (kJ) | Final (J) | Final |
| Qwen2.5-VL | Highest-energy candidate | 1 | 3354.70 | 146.72 | 5163.02 | |
| Random top-3 | 1 | 3381.46 | 147.95 | 5201.64 | ||
| Random top-5 | 1 | 3319.28 | 145.18 | 4937.83 | ||
| Refine all top-3 | 3 | 7186.91 | 311.27 | 5384.76 | ||
| Refine all top-5 | 5 | 11046.38 | 488.11 | 5427.19 | ||
| BLIP-2 | Highest-energy candidate | 1 | 582.26 | 53.04 | 2495.13 |
| Model | Method | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| BLIP-2 | Original | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| Neutral | 21.93 | 137.21 | 1.01 | 24.17 | 152.75 | 1.11 | |
| JPPO | 373.23 | 2324.29 | 19.58 | 361.60 | 2665.96 | 20.16 | |
| Qwen2.5-VL | Original | 80.24 | 945.97 | 4.61 | 81.52 | 912.43 | 4.53 |
| Neutral | 102.54 | 1257.80 | 5.09 | 115.12 | 1468.24 | 5.27 | |
| Method | Len. | (J) | Lat. (s) |
| MS COCO | |||
| Clean | 8.36 | 67.38 | 0.42 |
| Pixel-only | 82.59 | 742.61 | 5.73 |
| Prompt-only | 212.43 | 1360.29 | 14.82 |
| JPPO (Joint) | 373.23 | 2324.29 | 19.58 |
| ImageNet | |||
| Loss Components | MS COCO | ImageNet | ||||||
| Len. | (J) | Lat. (s) | Len. | (J) | Lat. (s) | |||
| 212.43 | 1360.29 | 14.82 | 192.60 | 1248.02 | 14.76 | |||
| ✓ | 282.03 | 2000.06 | 18.16 | 313.67 | 1958.06 | 18.51 | ||
| ✓ | 239.67 | 1517.39 | 16.24 | 223.90 | 1471.54 | 15.47 | ||
| ✓ | 244.07 | 1530.97 | 16.12 | 230.67 | 1539.71 | 16.85 | ||
| ✓ | ✓ | 283.07 | 2165.65 | 18.29 | 275.53 | 1863.73 | 17.17 | |
| Source Model | BLIP-2 | Qwen2.5-VL | LLaVA-NeXT | InstructBLIP | MiniGPT-4 |
| MS COCO | |||||
| BLIP-2 | 373.23 | 361.21 | 345.36 | 209.59 | 226.40 |
| Qwen2.5-VL | 111.02 | 441.23 | 298.74 | 293.08 | 222.87 |
| LLaVA-NeXT | 69.20 | 446.50 | 369.10 | 217.91 | 256.93 |
| InstructBLIP | 26.90 | 343.22 | 277.93 | 250.92 | 198.30 |
| MiniGPT-4 | 76.70 | 274.51 | 274.46 | 104.40 | 385.35 |
| Source Model | BLIP-2 | Qwen2.5-VL | LLaVA-NeXT | InstructBLIP | MiniGPT-4 |
| MS COCO | |||||
| BLIP-2 | 2324.29 | 3509.62 | 5178.87 | 2296.14 | 3032.69 |
| Qwen2.5-VL | 642.49 | 5458.59 | 4191.65 | 2844.30 | 2838.93 |
| LLaVA-NeXT | 435.85 | 5083.85 | 6520.12 | 2309.90 | 3605.19 |
| InstructBLIP | 101.26 | 3254.06 | 3751.56 | 3476.18 | 2695.34 |
| MiniGPT-4 | 328.93 | 2391.89 | 3912.61 | 1037.25 | 5378.77 |
| MS COCO | ImageNet | |||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | |
| Clean | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| 0.02 | 294.09 | 1971.62 | 18.24 | 248.62 | 1641.15 | 16.21 |
| 0.04 | 371.82 | 2414.18 | 19.49 | 369.11 | 2410.97 | 19.42 |
| 0.06 | 277.87 | 1962.28 | 17.89 | 249.18 | 1601.92 | 15.94 |
| 0.08 | 288.91 | 2026.17 | 17.90 | 283.01 | 1968.11 | 17.53 |
| MS COCO | ImageNet | |||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | |
| Clean | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| 2/255 | 196.83 | 1286.49 | 10.07 | 189.30 | 1317.21 | 11.72 |
| 4/255 | 278.20 | 1852.19 | 14.92 | 277.47 | 1904.15 | 15.67 |
| 8/255 | 373.23 | 2324.29 | 19.58 | 361.60 | 2665.96 | 20.16 |
| 16/255 | 318.83 | 2072.89 | 16.72 | 363.26 | 2357.01 | 19.37 |
| Stage 1 Weights | Stage 2 Weights | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| – | – | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| 360.90 | 2040.80 | 19.77 | 344.62 | 2052.23 | 19.03 | ||
| 318.13 | 2091.37 | 18.46 | 301.94 | 1939.41 | 17.96 | ||
| 240.07 | 1601.58 | 15.87 | 242.09 | 1625.15 | 16.34 | ||
| 306.93 | 1872.58 | 18.06 | 321.02 | 1911.64 | 18.84 | ||
| Stage 1 | Stage 2 | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| 50 | 50 | 338.27 | 2030.03 | 16.72 | 343.93 | 1985.02 | 16.38 |
| 50 | 100 | 307.69 | 1964.21 | 16.20 | 270.32 | 1748.71 | 13.74 |
| 100 | 100 | 306.04 | 2067.13 | 17.62 | 321.42 | 1899.38 | 15.43 |
| 100 | 150 | 293.57 | 1999.24 | 16.23 | 339.14 | 2170.09 | 18.37 |
| 100 | 200 | 260.07 | 1633.25 | 13.07 | 293.57 | 1932.44 | 17.08 |
| Dataset | Metric | 32 | 64 | 128 | 256 | 512 | 1024 |
| MS COCO | Len | 30.50 | 56.77 | 87.57 | 179.43 | 373.23 | 726.83 |
| (J) | 206.01 | 352.29 | 619.63 | 1283.68 | 2324.29 | 5493.30 | |
| Lat (s) | 1.64 | 2.58 | 4.29 | 8.64 | 19.58 | 39.35 | |
| ImageNet | Len. | 31.21 | 52.80 | 101.16 | 191.64 | 361.60 | 756.83 |
| (J) | 216.02 | 358.18 | 669.23 | 1168.57 | 2665.96 | 5601.88 | |
| Lat (s) | 1.28 | 2.14 | 4.55 | 7.95 | 20.16 | 41.92 |
| Stage 1 | Stage 2 | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| 0 | 0 | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| 0 | 100 | 225.00 | 1359.96 | 9.78 | 202.79 | 1445.34 | 10.92 |
| 0 | 200 | 226.87 | 1424.19 | 10.28 | 205.83 | 1472.13 | 11.72 |
| 100 | 0 | 277.43 | 1812.72 | 14.54 | 250.03 | 1767.54 | 13.98 |
| 200 | 0 | 313.62 | 1968.65 | 16.09 | 202.81 | 1474.07 | 11.22 |
| Stage 1 | Stage 2 | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| 0 | 0 | 8.36 | 67.38 | 0.42 | 7.07 | 81.50 | 0.55 |
| 10 | 10 | 147.97 | 923.87 | 7.37 | 77.07 | 447.99 | 4.94 |
| 20 | 20 | 194.43 | 1169.28 | 9.81 | 246.65 | 1560.44 | 12.01 |
| 50 | 50 | 238.27 | 1710.68 | 14.12 | 224.37 | 1530.08 | 12.11 |
| 50 | 100 | 298.73 | 2137.28 | 17.39 | 322.37 | 2119.76 | 17.48 |
| Decoding | Method | MS COCO | ImageNet | ||||
| Len. | (J) | Lat. (s) | Len. | (J) | Lat. (s) | ||
| Greedy | Clean | 7.72 | 65.26 | 0.37 | 7.81 | 66.14 | 0.39 |
| Noise | 7.81 | 66.16 | 0.41 | 7.34 | 63.35 | 0.38 | |
| NICGSlowDown | 171.98 | 1097.11 | 7.71 | 226.18 | 1358.81 | 8.00 | |
| Verbose Images | 303.84 | 2086.49 | 10.06 | 328.89 | 2073.88 | 10.91 | |
| Hidden Tail | 76.10 | 564.16 | 3.88 | 89.01 | 549.19 | 3.45 | |
| Model | Method | MS COCO | ImageNet | ||||
| Len. | (J) | Lat (s) | Len. | (J) | Lat (s) | ||
| BLIP-2 | Clean | 2.23 | 13.26 | 0.07 | 1.86 | 16.71 | 0.11 |
| Noise | 2.10 | 12.79 | 0.09 | 1.87 | 12.91 | 0.08 | |
| NICGSlowDown | 145.91 | 209.41 | 4.05 | 155.94 | 357.09 | 4.81 | |
| Verbose Images | 176.07 | 494.18 | 3.89 | 172.10 | 572.65 | 4.69 | |
| JPPO | 97.62 | 316.74 | 2.19 | 88.01 | 443.13 | 3.11 | |
| Model | Method | Attack Effect | Caption Quality | ||||||
| Len. | (J) | Lat (s) | BLEU-1 | BLEU-2 | BLEU-3 | BLEU-4 | CIDEr | ||
| BLIP-2 | NICGSlowDown | 86.76 | 567.03 | 4.46 | 0.011 | 0.004 | 0.002 | 0.001 | 0.023 |
| Verbose Images | 211.62 | 1432.61 | 12.07 | 0.027 | 0.013 | 0.003 | 0.002 | 0.072 | |
| JPPO | 373.23 | 2324.29 | 19.58 | 0.022 | 0.010 | 0.002 | 0.001 | 0.045 | |
| Qwen2.5-VL | NICGSlowDown | 146.12 | 1561.60 | 7.28 | 0.014 | 0.007 | 0.003 | 0.001 | 0.025 |
| Verbose Images | 252.46 | 2898.41 | 10.88 | 0.040 | 0.018 | 0.006 | 0.002 | 0.061 | |
| Dataset | Model | NICGSlowDown | Verbose Images | Hidden Tail | JPPO |
| MS COCO | LLaVA-NeXT | 0.970 | 0.972 | 0.962 | 0.978 |
| BLIP-2 | 0.973 | 0.971 | 0.958 | 0.965 | |
| Qwen2.5-VL | 0.955 | 0.941 | 0.948 | 0.962 | |
| InstructBLIP | 0.979 | 0.970 | 0.962 | 0.952 | |
| MiniGPT-4 | 0.974 | 0.969 | 0.968 | 0.968 | |
| ImageNet | LLaVA-NeXT | 0.971 | 0.973 | 0.977 | 0.988 |
Adversarial Attacks on VLMs
Adversarial attacks on vision-language models exploit images, text, and multimodal interactions to manipulate outputs, bypass safety, or degrade reliability.
See all 179 papers