T-MLA: A targeted multiscale log-exponential attack framework for neural image compression

Nikolay I. Kalmykov, Razan Dibo, Kaiyu Shen, Xu Zhonghan, Anh-Huy Phan, Yipeng Liu, Ivan Oseledets · DOI

TL;DR

Neural Image Compression (NIC) systems are highly effective at shrinking image sizes, but they harbor a hidden security flaw. This paper introduces T-MLA, a frequency-domain adversarial attack that injects non-linear perturbations into an image's wavelet coefficients. T-MLA successfully tanks the reconstruction quality of compressed images while remaining completely invisible to both human eyes and statistical detection tools.

What Problem Does This Paper Address?

Modern Neural Image Compression (NIC) architectures have officially caught up to—and often exceed—traditional codecs like JPEG and H.266/VVC in rate-distortion performance. However, their deep-learning foundations make them vulnerable to adversarial attacks.

Until now, most adversarial attacks on NICs have been naive adaptations of pixel-space methods, such as Projected Gradient Descent (PGD). These methods apply uniform noise across the entire image. While these perturbations might seem imperceptible in the spatial domain, they leave glaring statistical footprints in the frequency domain. As shown in the paper's analysis, pixel-space attacks inject widespread high-frequency noise into flat, smooth regions of an image, making them incredibly easy for anomaly detection systems to spot.

Figure 1: Wavelet-aware adversarial perturbations. (a) PGD- based attack with small-magnitude noise, visually clean yet disruptive after compression. (b) Proposed wavelet-aware attack is also imperceptible but more stealthy. (c) Wavelet coefficients of (a) reveal widespread noise in flat regions. (d) Coefficients of (b) closely resemble the clean input, indicating reduced detectability.

The authors address this gap by designing a highly stealthy, frequency-aware attack framework tailored specifically to exploit the internal mechanics of neural compression pipelines.

Methods

The authors propose T-MLA (Targeted Multiscale Log–Exponential Attack), which shifts the adversarial optimization from spatial pixels to the multiscale wavelet domain.

The pipeline consists of several key innovations:

  1. Wavelet Decomposition: The input image undergoes a Discrete Wavelet Transform (DWT) using Haar wavelets to separate the image into low-frequency approximations and high-frequency detail subbands across multiple scales.
  2. Nonlinear Log–Exponential Mapping: Instead of adding noise directly, T-MLA uses a specialized non-linear function to modulate the wavelet coefficients: $$\tilde{\mathbf{W}}_k = \text{sign}(\mathbf{W}_k) \log(\exp(|\mathbf{W}_k|) + \mathbf{N}_k)$$ This mathematical formulation ensures that the perturbation's strength scales inversely with the coefficient's magnitude. Large structural features (like sharp edges) are left virtually untouched, while the noise is safely tucked away inside low-magnitude coefficients—effectively hiding beneath the image's natural "ground noise floor."
  3. Variance-Scaled Noise Budgeting: Because wavelet coefficient magnitudes naturally grow at coarser scales due to recursive downsampling, T-MLA dynamically scales the $\ell_\infty$ noise bounds across different subbands to prevent over- or under-perturbation.
  4. Composite Targeted Loss: The noise tensors are optimized using the Adam optimizer against a loss function that acts as a "soft target." It pins the optimization to specific operating points: maintaining high input fidelity ($Q_{in}$) while driving the post-compression reconstruction quality down to a precise target degradation level ($Q_{out}$).
Figure 2: Overview of the proposed T-MLA attack pipeline. The input image after DWT splits into multiple scales, where each scale contains a low-frequency approximation 𝐋𝑆and detail components. For visualization, we show the combined magnitude of detail coefficients |𝐇𝑆| = |𝐋𝐇𝑆| + |𝐇𝐋𝑆| + |𝐇𝐇𝑆|. The attack iteratively injects nonlinear noise into all subbands, followed by inverse DWT and neural compression to optimize the perturbations that maximize distortion after compression while maintaining visual quality between the original and adversarial images.

Datasets

The framework was evaluated using texture-diverse images from three standard image compression benchmarks:

  • Kodak: 24 classical lossless true-color images.
  • CLIC (Challenge on Learned Image Compression): 63 entropy-matched professional photos selected from the validation set.
  • DIV2K: 65 entropy-matched high-resolution samples.

The attacks were tested against three state-of-the-art NIC models: Cheng2020-Anchor, Cheng2020-Attention, and the hybrid transformer-CNN LIC-TCM.

Key Insights and Ideas

  • Entropy Injection: Modern NICs rely heavily on entropy models conditioned on priors that expect a smooth decay in high frequencies. By subtly perturbing low-energy detail coefficients, T-MLA "injects entropy" where the model expects redundancy. This forces the decoder to waste bits encoding adversarial noise or drop essential structural information entirely.
  • Texture-Dependent Vulnerability: The authors discovered a strong negative correlation between an image's local entropy (textural complexity) and its vulnerability. Smoother, more homogeneous images suffer a significantly larger drop in perceptual quality under attack. Highly textured images provide a natural masking effect, making them slightly more robust.

Key Results

T-MLA consistently achieved its targeted degradation goals while drastically outperforming pixel-space baselines in stealth:

  • Massive Stealth Gains: On the Kodak dataset against Cheng2020-Anchor, T-MLA achieved an input stealth PSNR of 55.82 dB compared to PGD's 40.15 dB—a massive $\sim$15.6 dB improvement in imperceptibility while successfully driving the reconstruction quality down to the target $\sim$25 dB.
  • Architecture Robustness: Cheng2020-Attention proved to be the most robust architecture, requiring a lower stealth PSNR ($\sim$49 dB) to achieve the same level of degradation, whereas the hybrid LIC-TCM model showed high vulnerability.
  • Perceptual Invisibility: Advanced perceptual metrics confirmed the attack's stealth. T-MLA yielded a mean LPIPS score of 0.0028, sitting safely below the human visibility threshold of 0.01, and achieved a near-perfect Deep Image Structure and Texture Similarity (DISTS) score of 0.0008.

Limitations and Future Work

While highly effective, the authors note that T-MLA was primarily evaluated under a white-box threat model, meaning the attacker requires full gradient access to the target codec. The transferability of these perturbations in black-box scenarios across completely heterogeneous architectures remains an open question for future work.

Additionally, the authors suggest that these findings highlight the urgent need for new defense layers in commercial content delivery networks (CDNs) and safety-critical pipelines, recommending the integration of wavelet-domain anomaly detection to flag high-frequency spectral irregularities.

Summary updated

BibTeX
@article{kalmykov2026t,
  author = {Nikolay I. Kalmykov and Razan Dibo and Kaiyu Shen and Xu Zhonghan and Anh-Huy Phan and Yipeng Liu and Ivan Oseledets},
  title = {{T-MLA: A targeted multiscale log-exponential attack framework for neural image compression}},
  journal = {Information Sciences},
  year = {2026},
  doi = {10.1016/j.ins.2026.123143},
}
Figure