Skip to content

ChronoPatch: A black-box energy-latency attack against vision-language modelsChronoPatch: Black-Box Energy-Latency Attacks on Vision-Language Models

arXiv: 其他 AI 安全论文· arXiv:2611.26117· Jiawei Xing, Li Wang, Xiangtao Meng, Chuanchao Zang, Rui Wen, Zheng LiShandong University; Institute of Science TokyoIndexed by this site · 4 days ago· Originally publishedAttacks· Its place in the scan record →

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose ChronoPatch, which uses only final response length feedback to conduct a black-box energy-latency attack on VLMs; the authors claim that under a 5% space budget it increases latency of four open-source VLMs by 47.86%–293.34%.

Threat modelfinal-response-only black-box setting: the attacker can modify the input image and observes only the complete response, using response length as the sole optimization feedback; the text prompt and generation settings are fixed, with no access to model internals or intermediate signals; the perturbation is restricted to a limited spatial region and the masked ℓ2 magnitude is minimized; the victim system is an autoregressive VLM deployed as a multimodal inference service.

Questions
The latency and compute cost of autoregressive VLMs grow with generation length, and adversarial visual inputs can prolong generation and amplify serving cost. Existing energy-latency attacks mostly rely on gradients, logits, or token-level feedback; the authors ask whether this risk still exists when only the final response can be observed.
Methods
ChronoPatch has two stages: Phase I performs evolutionary search with response length as the reward to discover local "delay anchors" on the image that induce long generation; Phase II performs subspace-calibrated decision-based optimization within a fixed spatial mask, progressively reducing perturbation magnitude while maintaining the long-generation effect.
Experiments and results
On four open-source VLMs and three datasets, under a 5% spatial budget, latency increases by 47.86%–293.34% and GPU energy by 41.44%–249.70% (Table 1); on three commercial APIs, within a per-API query budget of 500, response length increases by 37.6%–81.5% and client-side latency reaches 1.82×–2.29× (Table 6).
Limitations and future work
Limitations noted by the authors: the main evaluation uses greedy decoding and a fixed generation budget; per-image optimization is costly; commercial APIs are tested only for client-side latency, and GPU energy is limited to open-source models; the perturbed local appearance may still be perceptible, and semantic blending is a future direction (Discussion).
Experimental setupBLIP-Large、LLaVA-v1.5-7B et al. · MSCOCO 2017、ImageNet et al. · ASR、∆L et al.
Evaluated models
BLIP-LargeLLaVA-v1.5-7BQwen3-VL-8BInternVL3-8BChatGPT-5Gemini-3.1-Pro-PreviewClaude-Sonnet-4-6Qwen3-VL-2BQwen3-VL-4BQwen3-VL-32B
Benchmarks
MSCOCO 2017ImageNetFlickr30K
Metrics
ASR∆L∆T∆Emasked ℓ2LPIPSrep-nQbreakASR@500
AI summaryResearchers propose the black-box energy-latency attack ChronoPatch, which requires only observing the final response to lengthen generation by vision-language models (VLMs) and drive up serving costs. The method first uses a response-length-guided evolutionary search to find visual delay anchors, then uses subspace-calibrated decision-based optimization to minimize perturbation magnitude. On four open-source VLMs, under a 5% spatial budget, inference latency increases by 47.86%–293.34% and GPU energy consumption by 41.44%–249.70%, with output n-gram repetition rates also rising; on three commercial VLM APIs, within a budget of 500 queries per API, response length increases by 37.6%–81.5%, and client-observed latency rises to 1.82–2.29 times. The authors state that these results show generation-based availability risks persist even when attackers can only observe the final response, and argue for adding generation-aware protections to deployed generative AI services.

Researchers propose the black-box energy-latency attack ChronoPatch, which requires only observing the final response to lengthen generation by vision-language models (VLMs) and drive up serving costs. The method first uses a response-length-guided evolutionary search to find visual delay anchors, then uses subspace-calibrated decision-based optimization to minimize perturbation magnitude. On four open-source VLMs, under a 5% spatial budget, inference latency increases by 47.86%–293.34% and GPU energy consumption by 41.44%–249.70%, with output n-gram repetition rates also rising; on three commercial VLM APIs, within a budget of 500 queries per API, response length increases by 37.6%–81.5%, and client-observed latency rises to 1.82–2.29 times. The authors state that these results show generation-based availability risks persist even when attackers can only observe the final response, and argue for adding generation-aware protections to deployed generative AI services.

Related events and news

1 events · 1 news mentions

News that mentions this paper

大模型安全周报:单步合规检查挡不住智能体跨步骤组合危害

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study whether, in a black-box setting with only final-response feedback, local visual perturbations can amplify VLM generation cost.

    Core question: under black-box conditions where only the final response can be observed, can an attacker significantly amplify a VLM's inference latency and energy consumption through local visual perturbations.

    • Problem scenario: autoregressive VLMs generate token by token, each token entailing a decoding step, so generation length directly determines latency and GPU energy; an adversarial input that delays response termination can amplify inference cost without modifying model parameters or the text prompt, which the authors call an energy-latency attack.
    • Shortcomings of existing methods: the authors state that existing work relies on stronger feedback assumptions—NICGSlowDown and Verbose Images rely on model internals or gradients, VLMInferSlow requires generated text and token-level logits, and other work jointly optimizes image and prompt or exploits server-side KV-cache mechanisms; whether the risk exists when only the final response is visible remains an open question.
    • Two challenges: first, without reliable adversarial initialization, the attacker can only use response-length feedback to discover visual patterns that induce long generation; second, after finding a latency anchor, there is no intermediate feedback to guide compression of the perturbation magnitude.
    • Paper's approach: a two-stage framework ChronoPatch—Phase I uses response-length-guided evolutionary search to find visual latency anchors, and Phase II uses subspace-calibrated decision-based optimization to compress the perturbation within a fixed spatial mask.
    • Threat model (copied from Section 2.3):
      • Goal: craft visual perturbations that delay response termination and induce over-generation, increasing inference latency and compute consumption, without modifying the text prompt.
      • Knowledge: final-response-only black-box setting, observing only the complete response, with response length as the sole optimization feedback.
      • Capability: can modify the input image; text prompt and generation settings are fixed; no access to model internals or intermediate signals; latency and energy are used only for evaluation.
      • Victim system: autoregressive VLMs deployed as multimodal inference services, including open-source models and commercial APIs; perturbations are limited to a bounded spatial region and minimize masked ℓ2 magnitude.
  2. What related research exists?

    Related work falls into three groups: energy-latency attacks, similar attacks on VLMs, and decision-based black-box optimization; the authors position this paper by its weaker feedback assumption.

    Energy-latency attacks (general and text domain)

    • Sponge examples (Shumailov et al., 2021): increase neural network computational cost through inefficient activation patterns; early work in this direction.
    • NICGSlowDown (Chen et al., 2022): delays response termination on image captioning models; AutoDoS / Crabs (Zhang et al., 2025): induces over-generation on pure-text LLMs.

    Resource consumption attacks on VLMs

    • Verbose Images (Gao et al., 2024): uses visual perturbations to delay response termination; a gradient-based white-box attack; RE-CITE (Gao et al., 2025): induces repetitive generation.
    • VLMInferSlow (Wang et al., 2025): uses zeroth-order optimization for a black-box energy-latency attack, but the authors note that it assumes access to generated text and token-level logits.
    • Other attack surfaces: Overthink-Triggered Slowdown (Han et al., 2026) induces over-reasoning on robotic LVLMs; Joint Pixel-Prompt Optimization (Ni et al., 2026) jointly optimizes visual perturbations and prompts; Rethinking Latency DoS (Wang et al., 2026) targets server-side KV-cache and scheduling.

    Black-box optimization methods

    • Boundary Attack (Brendel et al., 2017) and HopSkipJumpAttack (Chen et al., 2020): decision-based black-box attacks; the authors note that they mainly explore the full-image space, and boundary estimation degrades when the editable region is very small, which motivates the design of Phase II in this paper.
    • GenAttack (Alzantot et al., 2019): gradient-free black-box attack; evolutionary search in the text domain (Guo et al., 2025) is cited by the authors as inspiration for Phase I, but the authors state that directly extending it to high-dimensional visual inputs is challenging.

    Baselines and benchmarks

    • Comparison baselines: Verbose Images (white-box), VLMInferSlow (black-box, using logits), and two non-adversarial controls, Gaussian noise and JPEG compression; the Phase II ablation uses Standard HSJA as the refinement baseline, and the Phase I ablation uses a vanilla genetic algorithm and random search.
    • Benchmarks: MSCOCO 2017, ImageNet, Flickr30K, with 1,000 images randomly sampled from each dataset.

    The authors position this paper as: fixing the text prompt, optimizing only local visual perturbations, and using only the complete response length as feedback, without requiring gradients, logits, or intermediate decoding signals.

  3. How does the paper address this problem?

    ChronoPatch has two stages: evolutionary search to find latency anchors, then subspace-calibrated decision-based perturbation compression.

    Overall approach: decompose "inducing long generation" into two steps—discovery and compression—first evolutionary search for local visual delay anchors under response-length feedback, then decision-based optimization within a fixed spatial mask to progressively reduce perturbation magnitude.

    Problem setting

    • The attacker submits an image-text query and observes only the complete response; the optimization objective is to make the generation length as close as possible to the generation budget G within the spatial budget.
    • The perturbation is rendered as I = (1-M) \odot x_{clean} + M \odot P, where M is the binary spatial mask induced by the patch positions and P is the patch image; the total patch area satisfies Nhw ≤ ρHW, with ρ = 5% in the main experiments.

    Phase I: Delay anchor discovery

    • Candidate representation: each candidate consists of N patches, containing patch textures (initialized by uniform sampling) and relative center coordinates (initialized with a center bias, standard deviation 0.2), independent of the input resolution.
    • Reward function: R(I) = Lgen(I), i.e., the number of tokens generated under budget G, taken directly from the returned response; longer responses yield higher rewards.
    • Search procedure: evaluate candidates and keep the top-K, the rest are generated via crossover and mutation; the mutation variances σpos(t) and σtex(t) anneal linearly from 0.1 to 0.02; with probability Pinject = 0.15, high-reward textures from the archive are injected; if a candidate reaches G, the search terminates early, otherwise at most T = 500 iterations (S = 100, K = 32).

    Phase II: Perturbation refinement

    • Objective: minimize the masked ℓ2 perturbation within the fixed mask M while maintaining long generation; the binary decision function φ(x) = +1 when Lgen(x) ≥ τ, where the threshold τ is determined by the sample's clean response length multiplied by a model-dependent ratio γm (1.30 for BLIP/LLaVA, 2.00 for Qwen3-VL/InternVL3, and τ does not exceed G).
    • Subspace calibration: define the effective dimension of the editable region deff = 3·∑M, and scale the probing radius by δt⋆ = δt √(D/deff); the authors state that this gives small editable regions a larger initial probing radius; each round samples B = 128 random directions and estimates the update direction using centered probing labels.
    • Boundary projection and update: first use binary search to project the sample toward the clean image to obtain a boundary point, then update along the estimated direction and use a geometric line search to ensure it remains on the successful side; at most Tmax = 50 iterations, returning the candidate with the smallest perturbation norm.

    Success criterion and measurements

    • ASR: the proportion of adversarial examples whose generation length reaches the budget G (Lgen(xadv) ≥ G); the authors note that this is stricter than the Phase II threshold τ.
    • Metrics: ∆L, ∆T, and ∆E are the increases in length, latency, and GPU energy relative to clean inference, respectively; distortion is measured with masked ℓ2 and LPIPS; text degeneration is measured with rep-n (1 minus the proportion of unique n-grams), primarily rep-4.
    • Implementation: PyTorch, NVIDIA RTX PRO 6000; open-source models use greedy decoding with no repetition control, G = 512 for BLIP-Large and G = 1024 for the others; latency is the mean of three batch-size-one runs on a dedicated GPU, and energy is measured with NVML.
  4. What experiments did the paper conduct?

    Main experiments on four open-source VLMs × three datasets, plus ablations, model scale, defenses and evaluation on three commercial APIs.

    Experimental setup

    • Models tested: open-source BLIP-Large, LLaVA-v1.5-7B, Qwen3-VL-8B, InternVL3-8B; commercial APIs are ChatGPT-5, Gemini-3.1-Pro-Preview, Claude-Sonnet-4-6; the scale analysis additionally tests Qwen3-VL-2B/4B/32B.
    • Datasets: MSCOCO 2017, ImageNet, Flickr30K, with 1,000 images randomly sampled from each, using semantically equivalent instructions across models.
    • Baselines: Verbose Images (white-box), VLMInferSlow (black-box using text and logits), Gaussian noise and JPEG compression (non-adversarial controls), matched to the spatial perturbation constraint and generation budget.
    • Metrics and criteria: ∆L/∆T/∆E, masked ℓ2, LPIPS, rep-n, per-stage query counts QI/QII; ASR is defined as the proportion of generations reaching the budget G.
    • Decoding and budget: open-source models use greedy decoding with no repetition control, G = 512 (BLIP) or 1024 (others), spatial budget 5%; commercial APIs have a total query budget Qtotal ≤ 500 per API.
    • Repetitions: latency is the mean of three batch-size-one runs; the paper does not report the number of repetitions or variance for other metrics.

    Main results

    According to Table 1 (MSCOCO / ImageNet, ∆T and ∆E are increases relative to clean inference):

    Swipe horizontally to read the table

    ModelMethod∆T (%) MSCOCO∆E (%) MSCOCO∆T (%) ImageNet∆E (%) ImageNet
    BLIP-LargeChronoPatch47.8641.4440.9134.36
    BLIP-LargeVLMInferSlow11.4910.6518.7721.51
    LLaVA-v1.5-7BChronoPatch47.0843.8985.2081.55
    LLaVA-v1.5-7BVerbose Images54.1949.3180.3173.08
    Qwen3-VL-8BChronoPatch142.42129.56151.20138.96
    Qwen3-VL-8BVerbose Images83.5460.1581.9268.98
    InternVL3-8BChronoPatch293.34249.70279.61237.67
    InternVL3-8BVerbose Images67.8657.6871.0360.38
    • The authors state that ChronoPatch's latency amplification exceeds VLMInferSlow in all settings and exceeds the white-box Verbose Images on seven of the eight model-dataset combinations; the exception in the table is that Verbose Images has higher ∆T/∆E on LLaVA-v1.5-7B on MSCOCO.
    • InternVL3-8B shows the strongest amplification, with average response length close to the 1,024-token cap on both datasets (Table 1).
    • Flickr30K results (Table 11) show a consistent trend: ∆T ranges from 44.17% for BLIP-Large to 291.33% for InternVL3-8B.

    Repetition degeneration

    • What was measured: n-gram repetition rates of clean and adversarial examples on MSCOCO (Table 2).
    • Results: Qwen3-VL's rep-4 rises from 0.39% to 29.54%, and InternVL3's from 8.07% to 65.81%; BLIP and LLaVA show smaller increases (rep-4 to 2.58% and 2.93%, respectively).
    • Authors' interpretation: the increase in length is accompanied by repetition degeneration, especially pronounced on Qwen3-VL and InternVL3; the pattern is consistent on Flickr30K (Table 12).

    Ablations and query cost

    • Phase I components (Table 3, Qwen3-VL, MSCOCO 2017): the full configuration achieves ASR 95.8% with an average of 961.22 queries; removing the texture archive, annealed mutation, or center-bias initialization lowers ASR to 75.13%–78.49% and raises queries to 1,139.36–1,336.29. The vanilla genetic algorithm and random search achieve ASR of 66.7% and 63.3%, respectively.
    • Phase II vs. HSJA (Table 4, same anchors, mask, and budget): at 1,000 queries, ChronoPatch's masked ℓ2 is 10.36 and 4.14 on Qwen3-VL and InternVL3, versus 25.07 and 22.15 for Standard HSJA.
    • Spatial budget (Figure 4, Qwen3-VL): at a 1% budget, ∆L is 68.53%; at 3%, 110.68% (ℓ2 of 25.10); at 10%, ∆L drops to 88.12% while ℓ2 rises to 94.57; the authors state that the relationship between budget and effect is non-monotonic, with 3%–5% being more balanced.

    Model scale, defenses, and commercial APIs

    • Model scale (Table 5, Qwen3-VL 2B–32B): final ∆L exceeds 110% at all scales, but Qbreak rises from 311.89 at 2B to 1092.71 at 32B, and ASR@500 drops from 92.32% to 35.60%; the authors state that larger models require more queries to find effective anchors.
    • Defense evaluation (Section 4.4, Qwen3-VL and InternVL3, 100 held-out pairs each): repetition penalty (r = 1.2) reduces the mean adversarial length by 45.40% and 66.27%, respectively, but alters 94 and 51 clean responses; repetition-aware early stopping reduces it by 26.77% and 36.02%. The four input transformations (Table 13, Qwen3-VL) reduce ∆L from 110.68% to 45.48%–67.88% and ∆T from 142.42% to 49.65%–74.57%; the authors state that these defenses mitigate but do not eliminate over-generation.
    • Commercial APIs (Table 6, Qtotal ≤ 500): ∆L is 81.5% for ChatGPT-5, 42.4% for Gemini-3.1-Pro-Preview, and 37.6% for Claude-Sonnet-4-6; client-side end-to-end latency is 2.25×, 1.82×, and 2.29×, respectively.

    Other ablations and analyses

    • Query caps: with Phase I query caps of 20K/30K/40K, 91.85% (LLaVA), 92.90% (Qwen3-VL), and 91.16% (BLIP) of the final length gain is retained, respectively (Section 4.2).
    • Phase II convergence: InternVL3's ℓ2 drops from about 4.8 at ~1K queries to 1.56 at ~8K, and Qwen3-VL's from 20.0 to 4.5 (Section 4.2).
    • Perceptual distortion: after 1K refinement queries, the average LPIPS is 0.0105–0.0188, with P90 all below 0.033 (Table 10).
    • Attribution analysis: on BLIP-Large, Grad-CAM shows highlighted regions shifting toward the adversarial patches (Figure 9); the authors state that this is only qualitative evidence of a change in visual attribution and does not constitute a causal explanation.
  5. What are some points that can be further explored?

    The authors list limitations such as decoding configuration, optimization cost, and perceptibility; the experiments cover four open-source models, three datasets, and three APIs.

    Limitations noted by the authors and future directions

    • Controlled decoding configuration: The main evaluation uses controlled configurations such as greedy decoding and a fixed generation budget (Discussion - Limitations).
    • High optimization cost: ChronoPatch is costly to optimize per image, especially in the longer Phase I search and Phase II refinement stages; the authors state that the optimized adversarial images can be reused under matching target conditions to amortize the one-time cost (Discussion - Limitations).
    • Measurement scope: For commercial APIs, only client-side end-to-end latency is measured; GPU energy measurements are limited to open-source models (Discussion - Limitations).
    • Perturbation perceptibility: Although the perturbation is localized and the image-level LPIPS is low, the local appearance may still be noticeable; the authors state that improving semantic blending is an important future direction (Discussion - Limitations).
    • Defense implications: The authors state that deployment-layer defenses are needed, monitoring anomalous generation and combining input preprocessing with generation-aware decoding control (Conclusion).

    Experimental coverage

    • The open-source models tested are BLIP-Large, LLaVA-v1.5-7B, Qwen3-VL-8B, and InternVL3-8B, 4 in total; the scale analysis additionally includes Qwen3-VL-2B/4B/32B; the commercial APIs are ChatGPT-5, Gemini-3.1-Pro-Preview, and Claude-Sonnet-4-6, 3 in total (Section 4.1).
    • The datasets are MSCOCO 2017, ImageNet, and Flickr30K, with 1,000 images randomly sampled from each (Section 4.1).
    • The defense evaluation includes repetition penalty and repetition-aware early stopping (100 held-out pairs each, Qwen3-VL and InternVL3) and four input transformations (Qwen3-VL only) (Section 4.4, Table 13).
    • The total query budget for the commercial API experiments is Qtotal ≤ 500 per API, and only response length and client-side latency are reported (Section 4.5).
    • Latency metrics report the mean of three runs; the paper does not report the number of repetitions, statistical significance tests, or human evaluation for other metrics.
  6. Summarize the main content of the paper

    ChronoPatch: a black-box energy-latency attack relying solely on response length feedback, amplifying generation cost on both open-source models and commercial APIs.

    An attack paper targeting VLM availability, studying whether inference cost can be amplified under black-box conditions where only the final response can be observed.

    • Problem: the latency and energy of autoregressive VLMs grow with generation length; existing energy-latency attacks rely on gradients, logits, or token-level feedback, and the authors ask whether final-response feedback alone can still constitute a threat.
    • Method: ChronoPatch has two stages—Phase I performs evolutionary search over the textures and positions of local patches with response length as the reward to discover "visual delay anchors"; Phase II performs subspace-calibrated decision-based optimization within a fixed spatial mask, scaling the probing radius by the effective dimension to compress the perturbation to low distortion while maintaining long generation.
    • Open-source model results: under a 5% spatial budget, the four open-source VLMs show latency increases of 47.86%–293.34% and GPU energy increases of 41.44%–249.70% on MSCOCO (Table 1); they exceed the white-box Verbose Images on seven of the eight model-dataset combinations (exception: LLaVA-v1.5-7B on MSCOCO).
    • Repetition degeneration: Qwen3-VL's rep-4 rises from 0.39% to 29.54%, and InternVL3's from 8.07% to 65.81% (Table 2).
    • Commercial APIs: within a query budget of 500 per API, response length increases by 37.6%–81.5%, and client-side latency reaches 1.82×–2.29× (Table 6).
    • Authors' conclusion: restricting intermediate feedback alone does not eliminate generation-based availability risk; the authors state that deployment-layer defenses are needed, combining anomalous generation monitoring, input preprocessing, and generation-aware decoding control; the defenses tested only mitigate and do not eliminate the attack effect.

Related papers

Show 2 more papers
Read originalarxiv.org