{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/idempotence-and-perceptual-image-compression","title":"Idempotence and Perceptual Image Compression","arxiv_id":"2401.08920","date":"2024-01-17","proceeding":null,"authors":["Tongda Xu","Ziran Zhu","Dailan He","Yanghao Li","Lina Guo","Yuanyuan Wang","Zhe Wang","Hongwei Qin","Yan Wang","Jingjing Liu","Ya-Qin Zhang"],"abstract":"Idempotence is the stability of image codec to re-compression. At the first glance, it is unrelated to perceptual image compression. However, we find that theoretically: 1) Conditional generative model-based perceptual codec satisfies idempotence; 2) Unconditional generative model with idempotence constraint is equivalent to conditional generative codec. Based on this newfound equivalence, we propose a new paradigm of perceptual image codec by inverting unconditional generative model with idempotence constraints. Our codec is theoretically equivalent to conditional generative codec, and it does not require training new models. Instead, it only requires a pre-trained mean-square-error codec and unconditional generative model. Empirically, we show that our proposed approach outperforms state-of-the-art methods such as HiFiC and ILLM, in terms of Fr\\'echet Inception Distance (FID). The source code is provided in https://github.com/tongdaxu/Idempotence-and-Perceptual-Image-Compression.","url_abs":"https://arxiv.org/abs/2401.08920v2","url_pdf":"https://arxiv.org/pdf/2401.08920v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"idempotence-and-perceptual-image-compression","repo_url":"https://github.com/tongdaxu/idempotence-and-perceptual-image-compression","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-compression","task_name":"Image Compression"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2401.08920","atlas_url":"https://app.syntology.ai/?focus=2401.08920","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2401.08920"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/boschresearch/OASIS","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tongdaxu/idempotence-and-perceptual-image-compression","reach":null}],"summary":{"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"official":{"samples":2,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":3,"samples":[{"code_sha256_prefix":"00c67a2ab9d4b104","entry":"load_yaml","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":2,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"00c67a2ab9d4b104"}},{"code_sha256_prefix":"aae054eada48ae4b","entry":"clear_color","repo":"tongdaxu/idempotence-and-perceptual-image-compression","repo_kind":"official","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/tongdaxu/idempotence-and-perceptual-image-compression/blob/HEAD/guided_diffusion/gaussian_diffusion.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aae054eada48ae4b"}},{"code_sha256_prefix":"acada58efdd4a2b4","entry":"GaussianDiffusion","repo":"tongdaxu/idempotence-and-perceptual-image-compression","repo_kind":"official","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/tongdaxu/idempotence-and-perceptual-image-compression/blob/HEAD/guided_diffusion/gaussian_diffusion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"acada58efdd4a2b4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}