English

Human Aligned Compression for Robust Models

Computer Vision and Pattern Recognition 2025-04-17 v1 Image and Video Processing

Abstract

Adversarial attacks on image models threaten system robustness by introducing imperceptible perturbations that cause incorrect predictions. We investigate human-aligned learned lossy compression as a defense mechanism, comparing two learned models (HiFiC and ELIC) against traditional JPEG across various quality levels. Our experiments on ImageNet subsets demonstrate that learned compression methods outperform JPEG, particularly for Vision Transformer architectures, by preserving semantically meaningful content while removing adversarial noise. Even in white-box settings where attackers can access the defense, these methods maintain substantial effectiveness. We also show that sequential compression--applying rounds of compression/decompression--significantly enhances defense efficacy while maintaining classification performance. Our findings reveal that human-aligned compression provides an effective, computationally efficient defense that protects the image features most relevant to human and machine understanding. It offers a practical approach to improving model robustness against adversarial threats.

Keywords

Cite

@article{arxiv.2504.12255,
  title  = {Human Aligned Compression for Robust Models},
  author = {Samuel Räber and Andreas Plesner and Till Aczel and Roger Wattenhofer},
  journal= {arXiv preprint arXiv:2504.12255},
  year   = {2025}
}

Comments

Presented at the Workshop AdvML at CVPR 2025

R2 v1 2026-06-28T23:00:49.780Z