{"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/egic-enhanced-low-bit-rate-generative-image","title":"EGIC: Enhanced Low-Bit-Rate Generative Image Compression Guided by Semantic Segmentation","arxiv_id":"2309.03244","date":"2023-09-06","proceeding":null,"authors":["Nikolai Körber","Eduard Kromer","Andreas Siebert","Sascha Hauke","Daniel Mueller-Gritschneder","Björn Schuller"],"abstract":"We introduce EGIC, an enhanced generative image compression method that allows traversing the distortion-perception curve efficiently from a single model. EGIC is based on two novel building blocks: i) OASIS-C, a conditional pre-trained semantic segmentation-guided discriminator, which provides both spatially and semantically-aware gradient feedback to the generator, conditioned on the latent image distribution, and ii) Output Residual Prediction (ORP), a retrofit solution for multi-realism image compression that allows control over the synthesis process by adjusting the impact of the residual between an MSE-optimized and GAN-optimized decoder output on the GAN-based reconstruction. Together, EGIC forms a powerful codec, outperforming state-of-the-art diffusion and GAN-based methods (e.g., HiFiC, MS-ILLM, and DIRAC-100), while performing almost on par with VTM-20.0 on the distortion end. EGIC is simple to implement, very lightweight, and provides excellent interpolation characteristics, which makes it a promising candidate for practical applications targeting the low bit range.","url_abs":"https://arxiv.org/abs/2309.03244v3","url_pdf":"https://arxiv.org/pdf/2309.03244v3.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":"egic-enhanced-low-bit-rate-generative-image","repo_url":"https://github.com/nikolai10/egic","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"egic-enhanced-low-bit-rate-generative-image","repo_url":"https://github.com/Nikolai10/SwinT-ChARM","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":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2309.03244","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2309.03244"}},"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/SwinT-ChARM","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nikolai10/egic","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":8,"ran_honours":1,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"official":{"samples":10,"ran":8,"repositories":1},"listed":{"samples":4,"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":"9805e35fa499cd27","entry":"build_input","repo":"nikolai10/egic","repo_kind":"official","path":"src/eval_utils.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/eval_utils.py","link_basis":"first_harvest_node","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":"9805e35fa499cd27"}},{"code_sha256_prefix":"5b63243e9f258553","entry":"compute_perceptual_loss","repo":"nikolai10/egic","repo_kind":"official","path":"src/loss.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/loss.py","link_basis":"first_harvest_node","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":"5b63243e9f258553"}},{"code_sha256_prefix":"251b20a197a41aac","entry":"generate_labelmix","repo":"nikolai10/egic","repo_kind":"official","path":"src/loss.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/loss.py","link_basis":"first_harvest_node","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":"251b20a197a41aac"}},{"code_sha256_prefix":"0c31d64965cd5f7c","entry":"get_dataset","repo":"nikolai10/egic","repo_kind":"official","path":"src/eval_utils.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/eval_utils.py","link_basis":"first_harvest_node","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":"0c31d64965cd5f7c"}},{"code_sha256_prefix":"9084e87a134357cb","entry":"get_image_names","repo":"nikolai10/egic","repo_kind":"official","path":"src/eval_utils.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/eval_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9084e87a134357cb"}},{"code_sha256_prefix":"3595486ee2fc3da2","entry":"get_relative_position_index","repo":"Nikolai10/SwinT-ChARM","repo_kind":"listed","path":"swin-transformers-tf/swins/layers/window_attn.py","file_url":"https://github.com/Nikolai10/SwinT-ChARM/blob/HEAD/swin-transformers-tf/swins/layers/window_attn.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3595486ee2fc3da2"}},{"code_sha256_prefix":"0a3f4479448952d5","entry":"learning_rate_decay","repo":"nikolai10/egic","repo_kind":"official","path":"src/kkshms2024_orp.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/kkshms2024_orp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0a3f4479448952d5"}},{"code_sha256_prefix":"2111b84613f08f82","entry":"perturb_color","repo":"nikolai10/egic","repo_kind":"official","path":"src/helpers.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/helpers.py","link_basis":"first_harvest_node","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":"2111b84613f08f82"}},{"code_sha256_prefix":"8c9a645aa44b6f0b","entry":"read_png","repo":"nikolai10/egic","repo_kind":"official","path":"src/helpers.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/helpers.py","link_basis":"first_harvest_node","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":"390959941608f53a","entry":"to_ntuple","repo":"Nikolai10/SwinT-ChARM","repo_kind":"listed","path":"swin-transformers-tf/swins/models.py","file_url":"https://github.com/Nikolai10/SwinT-ChARM/blob/HEAD/swin-transformers-tf/swins/models.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"390959941608f53a"}},{"code_sha256_prefix":"5951eab56691973c","entry":"check_image_size","repo":"Nikolai10/SwinT-ChARM","repo_kind":"listed","path":"zyc2022.py","file_url":"https://github.com/Nikolai10/SwinT-ChARM/blob/HEAD/zyc2022.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":"aacb725a47e91ac8","entry":"crop_image","repo":"Nikolai10/SwinT-ChARM","repo_kind":"listed","path":"zyc2022.py","file_url":"https://github.com/Nikolai10/SwinT-ChARM/blob/HEAD/zyc2022.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":"da48e3d95f2bc415","entry":"parse_args","repo":"nikolai10/egic","repo_kind":"official","path":"src/kkshms2024.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/kkshms2024.py","link_basis":"first_harvest_node","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":"da48e3d95f2bc415"}},{"code_sha256_prefix":"63f0e9103a082284","entry":"parse_args","repo":"nikolai10/egic","repo_kind":"official","path":"src/kkshms2024_orp.py","file_url":"https://github.com/nikolai10/egic/blob/HEAD/src/kkshms2024_orp.py","link_basis":"first_harvest_node","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":"63f0e9103a082284"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}