What is it about?
Autoencoders are AI models that compress an input, such as an image, into a compact internal representation and then reconstruct it. They are used in high-stakes applications, including image compression, reconstruction, denoising, anomaly detection and generative modeling. To test how robust these models are, researchers use white-box adversarial attacks. They search for small, size-limited changes to the input that damage the reconstruction as much as possible. Existing attacks often settle on weaker changes than possible, which can make autoencoders look more robust than they really are. We show that this is linked to vanishing gradients. The signal that guides the attack fades as it passes back through ill-conditioned layers, whose weights have near-zero singular values, meaning they almost erase signals in certain directions. To address this, we propose GRILL (Gradient Signal Restoration in Ill-Conditioned Layers). GRILL couples the distortion measured at intermediate layers of the model with the distortion of the final output, so the attack keeps receiving a useful signal from layers where it has not faded. Across five autoencoder models and several attack settings, including attacks against a model protected by a defense, GRILL significantly increases attack effectiveness and exposes vulnerabilities hidden by existing attack limitations. We also provide preliminary evidence that modern vision-language models, which describe images in text, show similar vulnerabilities.
Featured Image
Photo by jonakoh _ on Unsplash
Why is it important?
Reliable robustness evaluation depends on strong white-box attacks: they identify model vulnerabilities and are essential for designing effective defenses. If an attack cannot optimize well, a model can appear robust simply because the attack is weak, not because the model is truly robust. Our work identifies a previously unexplored failure mode in autoencoders: near-zero singular values in ill-conditioned layers suppress the attack’s gradient signal. Prior robustness research has mainly focused on large singular values, while near-zero ones have received considerably less attention. GRILL counters this effect and significantly increases attack effectiveness. For example, against a model protected by an inference-time defense, it increases output distortion by up to 101.99% for NVAE and 77.59% for β-VAE compared with the strongest baseline attacks, at a computational cost comparable to existing latent-space attacks. These findings highlight the importance of conditioning-aware adversarial optimization for reliable robustness evaluation, and suggest that related effects may also arise in modern multimodal encoder–decoder models.
Perspectives
What I find most striking in this work is that an autoencoder can look robust simply because the attack fails to optimize, not because the model is truly robust. Tracing this back to near-zero singular values in intermediate layers showed us that these values, which have received considerably less attention than large ones, matter for how reliably we can evaluate robustness. GRILL is our step towards more reliable white-box robustness evaluation of encoder–decoder models. It is currently limited to white-box evaluation and to models with continuous latent spaces, and I hope it motivates future research on computationally efficient adversarial evaluation methods for generative and multimodal encoder–decoder systems.
Chethan Krishnamurthy Ramanaik
University of the Bundeswehr Munich
Read the Original
This page is a summary of: Revealing Hidden Vulnerabilities in Autoencoders via Gradient Signal Restoration, November 2026, ACM (Association for Computing Machinery),
DOI: 10.1145/3799682.3840873.
You can read the full text:
Resources
GRILL project page
Revealing Hidden Vulnerabilities in Autoencoders through Gradient Signal Restoration
code
GRILL: Restoring Gradient Signal in Ill-Conditioned Layers for More Effective Adversarial Attacks on Autoencoders
arxiv
Revealing Hidden Vulnerabilities in Autoencoders through Gradient Signal Restoration
Contributors
The following have contributed to this page







