Your Codec, Your Generator: Idempotent Generative Compression without Retraining

Raz Haim, Assaf Shocher
11/23/2026
cs.CV

No confident code implementation found for this paper.

Abstract

We introduce an image compression framework with three properties: (i) adaptation of pretrained codecs without retraining or fine-tuning, (ii) cycle-consistent recompression, even of already-encoded images, and (iii) decoding with independently chosen generative priors. We wrap the frozen encoder with non-learned operations so that every continuous latent has a preimage, yielding a surjective pseudo-invertible neural network.

Show full abstract

A nonlinear right inverse built from the pretrained decoder satisfies $E'(D'(E'(x)))=E'(x)$. To extend consistency to quantized bitstreams, the receiver searches for a continuous latent that reproduces both the transmitted main symbols and entropy side information. A successful search and an exact correction preserve both streams under deterministic coding; the final reconstruction is checked through the actual coding path. The encoder's pseudo-inverse enables a nonlinear counterpart of back-projection. In the linear case, back-projection has the closed-form solution $x'=x+A^\dagger(y-Ax)$, giving the closest reconstruction to $x$ satisfying $Ax'=y$. Our nonlinear formulation enforces the transmitted code on proposals from an independently chosen generative model. Adjusting the starting noise controls the prior's influence without changing that code. Experiments show small first-pass quality changes, higher retained quality than trained consistency codecs over 50 recompressions, also under 8-bit storage, and decoder-side control of the perception-distortion trade-off. Decoupling the codec from its prior lets the receiver adopt future generators without retraining or re-encoding.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{haim2026your,
  title  = {Your Codec, Your Generator: Idempotent Generative Compression without Retraining},
  author = {Raz Haim and Assaf Shocher},
  year   = {2026},
  eprint = {2611.31520},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.31520v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.31520.svg)](https://codeofpaper.com/paper/2611.31520)

Discussion