cs.CVAug 15, 2026

Fast Test-Time Refinement for Robust Learned Image Compression

Authors: Jiaming Liang, Chi-Man Pun, Weisi Lin

Organizations: University of Macau Macau, China · Nanyang Technological University Singapore

Abstract

Learned image compression (LIC) has demonstrated remarkable rate-distortion (RD) performance in benign settings. However, the high representational capacity endowed by deep neural networks (DNNs) comes at the expense of increased adversarial vulnerability. This hinders their adoption as trusted standardized codecs. Recent work has sketched test-time refinement (TTR) as a defense in gray-box scenarios, despite its original purpose of improving benign RD performance. Unfortunately, extensive iterations of TTR incur prohibitive overhead, while the robustness mechanism lacks theoretical understanding. Moreover, TTR has not been evaluated in white-box settings or against attacks beyond ℓ2\ell_2-bounded rate and untargeted distortion objectives. To bridge these gaps, we present a systematic study. Our study reveals an Asymmetric Adversarial Trajectory (AAT) property in LIC systems: transitioning from adversarial to benign regions is significantly easier than the reverse process, where adversarial examples can often be roughly recovered within only 1-2 steps. We provide a two-dimensional Tube Model to explain this phenomenon. Based on AAT, we propose a Fast Test-Time Refinement (FTTR) framework for practical and robust LIC systems. We establish that the robustness arises from the contraction of adversarial regions induced by the Input-as-Label property of LIC systems, rather than from obfuscated gradients. Extensive evaluations with diverse strong adaptive attacks across multiple LIC systems demonstrate the promise of the proposed FTTR framework. The code is available at https://github.com/chinaliangjiaming/FTTR.git.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Control Your View: High-Resolution Global Semantic Manipulation in Learned Image Compression

    May 9, 2026Jiaming Liang, Chi-Man Pun, Weisi Lin +1Learned Image CompressionAdversarial Attacks

  2. Compression as an Adversarial Amplifier Through Decision Space Reduction

    Apr 8, 2026Lewis Evans, Harkrishan Jandu, Zihan Ye +2Adversarial AttacksAdversarial Examples

  3. Efficient Learned Image Compression without Entropy Coding

    May 22, 2026Hao Cao, Wenqi Guo, Zhijin Qin +1Learned Image CompressionVector Quantization