{"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/multi-realism-image-compression-with-a","title":"Multi-Realism Image Compression with a Conditional Generator","arxiv_id":"2212.13824","date":"2022-12-28","proceeding":"CVPR 2023 1","authors":["Eirikur Agustsson","David Minnen","George Toderici","Fabian Mentzer"],"abstract":"By optimizing the rate-distortion-realism trade-off, generative compression approaches produce detailed, realistic images, even at low bit rates, instead of the blurry reconstructions produced by rate-distortion optimized models. However, previous methods do not explicitly control how much detail is synthesized, which results in a common criticism of these methods: users might be worried that a misleading reconstruction far from the input image is generated. In this work, we alleviate these concerns by training a decoder that can bridge the two regimes and navigate the distortion-realism trade-off. From a single compressed representation, the receiver can decide to either reconstruct a low mean squared error reconstruction that is close to the input, a realistic reconstruction with high perceptual quality, or anything in between. With our method, we set a new state-of-the-art in distortion-realism, pushing the frontier of achievable distortion-realism pairs, i.e., our method achieves better distortions at high realism and better realism at low distortion than ever before.","url_abs":"https://arxiv.org/abs/2212.13824v2","url_pdf":"https://arxiv.org/pdf/2212.13824v2.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":"multi-realism-image-compression-with-a","repo_url":"https://github.com/Nikolai10/MRIC","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"image-compression","task_name":"Image Compression"},{"task_slug":"navigate","task_name":"Navigate"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2212.13824","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2212.13824"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Nikolai10/MRIC","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"ran":1,"unverified":9},"by_repo_kind":{"listed":{"samples":11,"ran":2,"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":0,"samples":[{"code_sha256_prefix":"24226e51f5b91550","entry":"build_conv","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/elic.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/elic.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"24226e51f5b91550"}},{"code_sha256_prefix":"8c9a645aa44b6f0b","entry":"read_png","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/amtm2023.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/amtm2023.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8c9a645aa44b6f0b"}},{"code_sha256_prefix":"912ccc36449773b7","entry":"call_with_accepted_args","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/compare_gan_tf2/utils.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/compare_gan_tf2/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"912ccc36449773b7"}},{"code_sha256_prefix":"5951eab56691973c","entry":"check_image_size","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/amtm2023.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/amtm2023.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5951eab56691973c"}},{"code_sha256_prefix":"737838c1f696dfd5","entry":"compute_perceptual_loss","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/hific_tf2/model.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/hific_tf2/model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"737838c1f696dfd5"}},{"code_sha256_prefix":"aacb725a47e91ac8","entry":"crop_image","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/amtm2023.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/amtm2023.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aacb725a47e91ac8"}},{"code_sha256_prefix":"bdc9f14656da42b6","entry":"get_embedder","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/fourier_cond.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/fourier_cond.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bdc9f14656da42b6"}},{"code_sha256_prefix":"9f7088e8fcc1f1d5","entry":"get_losses","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/compare_gan_tf2/loss_lib.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/compare_gan_tf2/loss_lib.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9f7088e8fcc1f1d5"}},{"code_sha256_prefix":"c13acb298b68dca5","entry":"lrelu","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/compare_gan_tf2/arch_ops.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/compare_gan_tf2/arch_ops.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c13acb298b68dca5"}},{"code_sha256_prefix":"d8eed901de1375ae","entry":"non_saturating","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/compare_gan_tf2/loss_lib.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/compare_gan_tf2/loss_lib.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d8eed901de1375ae"}},{"code_sha256_prefix":"762dfcd715812b9c","entry":"pad","repo":"Nikolai10/MRIC","repo_kind":"listed","path":"src/hific_tf2/model.py","file_url":"https://github.com/Nikolai10/MRIC/blob/HEAD/src/hific_tf2/model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"762dfcd715812b9c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}