Human Aligned Compression for Robust Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Räber, Samuel, Plesner, Andreas, Aczel, Till, Wattenhofer, Roger
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912331589484544
author Räber, Samuel
Plesner, Andreas
Aczel, Till
Wattenhofer, Roger
author_facet Räber, Samuel
Plesner, Andreas
Aczel, Till
Wattenhofer, Roger
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_12255
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Human Aligned Compression for Robust Models
Räber, Samuel
Plesner, Andreas
Aczel, Till
Wattenhofer, Roger
Computer Vision and Pattern Recognition
Image and Video Processing
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.
title Human Aligned Compression for Robust Models
topic Computer Vision and Pattern Recognition
Image and Video Processing
url https://arxiv.org/abs/2504.12255