Skip to main content
QUICK REVIEW

[Paper Review] Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Models

Eyal Hadad, Mordechai Guri|arXiv (Cornell University)|Mar 26, 2026
Security and Verification in ComputingComputer Science0 citations
TL;DR

The paper reveals dual-layer, input-dependent side-channel leaks in on-device Vision-Language Models with dynamic preprocessing, enabling geometry (aspect ratio) and semantic content inference from timing and cache signals, and discusses mitigations and design recommendations.

ABSTRACT

On-device Vision-Language Models (VLMs) promise data privacy via local execution. However, we show that the architectural shift toward Dynamic High-Resolution preprocessing (e.g., AnyRes) introduces an inherent algorithmic side-channel. Unlike static models, dynamic preprocessing decomposes images into a variable number of patches based on their aspect ratio, creating workload-dependent inputs. We demonstrate a dual-layer attack framework against local VLMs. In Tier 1, an unprivileged attacker can exploit significant execution-time variations using standard unprivileged OS metrics to reliably fingerprint the input's geometry. In Tier 2, by profiling Last-Level Cache (LLC) contention, the attacker can resolve semantic ambiguity within identical geometries, distinguishing between visually dense (e.g., medical X-rays) and sparse (e.g., text documents) content. By evaluating state-of-the-art models such as LLaVA-NeXT and Qwen2-VL, we show that combining these signals enables reliable inference of privacy-sensitive contexts. Finally, we analyze the security engineering trade-offs of mitigating this vulnerability, reveal substantial performance overhead with constant-work padding, and propose practical design recommendations for secure Edge AI deployments.

Motivation & Objective

  • Show that dynamic high-resolution preprocessing (AnyRes) creates input-dependent workloads in local VLMs and enables side-channel leakage.
  • Demonstrate a two-tier attack that first infers image geometry from timing, then resolves semantic content via LLC cache contention.
  • Evaluate leakage across models (LLaVA-NeXT, Qwen2-VL) and hardware to assess privacy risk.
  • Analyze security trade-offs of mitigations and propose practical secure Edge AI design recommendations.

Proposed method

  • Model architecture analysis of local VLMs and the AnyRes dynamic preprocessing pipeline.
  • Two-tier attack framework: Tier 1 uses coarse timing to infer image geometry (aspect ratio) without privileges.
  • Tier 2 uses LLC cache contention profiling to infer semantic density of the image content.
  • Experimental setup on Intel and AMD hardware with llama.cpp and perf-based measurements.
  • Dataset design with geometric benchmarks (1:1 vs 1:2) and semantic benchmarks (dense vs sparse content).
  • Combined two-dimensional feature modeling using execution time and LLC misses to classify content.

Experimental results

Research questions

  • RQ1Can dynamic preprocessing in local VLMs be exploited as an algorithmic side-channel?
  • RQ2To what extent can an unprivileged co-located attacker infer input geometry from timing signals?
  • RQ3Can microarchitectural signals (LLC misses) reveal semantic content within the same geometry?
  • RQ4How effective is a combined timing-and-cache attack across different models and architectures?
  • RQ5What mitigations impose overhead, and what design recommendations improve secure Edge AI deployment?

Key findings

  • Dynamic preprocessing introduces a deterministic timing signal that separates inputs by aspect ratio (geometry).
  • Within the same geometry, LLC misses correlate with visual density, enabling semantic inference in a second layer.
  • Combined attack achieves 84.0% overall accuracy, with perfect/near-perfect recall for encrypted data and chest X-rays (1.00 and 0.93 recall).
  • Cross-model results show timing-based geometry leakage persists across LLaVA v1.6, v1.5, and Qwen2-VL, indicating root cause in dynamic preprocessing rather than weights.
  • Cross-architecture results indicate the geometry signal remains across Intel/AMD platforms, while cache-based semantic signal varies with LLC size (AMD shows reduced semantic signal).
  • The attack reveals privacy risks for on-device VLMs and highlights substantial performance overheads for certain mitigations like constant-work padding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.