{"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/variational-image-compression-with-a-scale","title":"Variational image compression with a scale hyperprior","arxiv_id":"1802.01436","date":"2018-02-01","proceeding":"ICLR 2018","authors":["Johannes Ballé","David Minnen","Saurabh Singh","Sung Jin Hwang","Nick Johnston"],"abstract":"We describe an end-to-end trainable model for image compression based on\nvariational autoencoders. The model incorporates a hyperprior to effectively\ncapture spatial dependencies in the latent representation. This hyperprior\nrelates to side information, a concept universal to virtually all modern image\ncodecs, but largely unexplored in image compression using artificial neural\nnetworks (ANNs). Unlike existing autoencoder compression methods, our model\ntrains a complex prior jointly with the underlying autoencoder. We demonstrate\nthat this model leads to state-of-the-art image compression when measuring\nvisual quality using the popular MS-SSIM index, and yields rate-distortion\nperformance surpassing published ANN-based methods when evaluated using a more\ntraditional metric based on squared error (PSNR). Furthermore, we provide a\nqualitative comparison of models trained for different distortion metrics.","url_abs":"http://arxiv.org/abs/1802.01436v2","url_pdf":"http://arxiv.org/pdf/1802.01436v2.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":"variational-image-compression-with-a-scale","repo_url":"https://github.com/FireFYF/SlimCAE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/FireFYF/modulatedautoencoder","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/GuoLusjtu/DVC","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/JooyoungLeeETRI/CA_Entropy_Model","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/aprilbian/h-DJSCC","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/facebookresearch/neuralcompression","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"unanswered"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/gergely-flamich/relative-entropy-coding","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/ipc-lab/DWSIC","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/ipc-lab/NDIC","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/ipc-lab/ndic-cam","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/jooyoungleeetri/scr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/klieberman/ood_nic","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/mandt-lab/improving-inference-for-neural-image-compression","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/tensorflow/compression","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/InterDigitalInc/CompressAI","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"variational-image-compression-with-a-scale","repo_url":"https://github.com/yangyucheng000/Papers/tree/main/SSIA","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"image-compression","task_name":"Image Compression"},{"task_slug":"ms-ssim","task_name":"MS-SSIM"},{"task_slug":"ssim","task_name":"SSIM"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1802.01436","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1802.01436"}},"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/mandt-lab/improving-inference-for-neural-image-compression","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gergely-flamich/relative-entropy-coding","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/klieberman/ood_nic","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tensorflow/compression","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/FireFYF/modulatedautoencoder","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/neuralcompression","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ipc-lab/DWSIC","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aprilbian/h-DJSCC","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jooyoungleeetri/scr","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ipc-lab/NDIC","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/GuoLusjtu/DVC","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/FireFYF/SlimCAE","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ipc-lab/ndic-cam","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yangyucheng000/Papers/tree/main/SSIA","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/InterDigitalInc/CompressAI","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/JooyoungLeeETRI/CA_Entropy_Model","reach":{"status":"ok"}}],"summary":{"ran_violates":2,"ran_honours":1,"ran_draft_wrong":2},"by_repo_kind":{"listed":{"samples":4,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"390aec91fdddfcac","entry":"Average","repo":"InterDigitalInc/CompressAI","repo_kind":"listed","path":"examples/codec.py","file_url":"https://github.com/InterDigitalInc/CompressAI/blob/HEAD/examples/codec.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":2,"contract_check":"VIOLATES","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"BSD-3-Clause-Clear","inline_ok":false,"mcp_get_code":{"code_sha256":"390aec91fdddfcac"}},{"code_sha256_prefix":"d729e65bfe314ae3","entry":"BoolConvert","repo":"InterDigitalInc/CompressAI","repo_kind":"listed","path":"examples/codec.py","file_url":"https://github.com/InterDigitalInc/CompressAI/blob/HEAD/examples/codec.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"BSD-3-Clause-Clear","inline_ok":false,"mcp_get_code":{"code_sha256":"d729e65bfe314ae3"}},{"code_sha256_prefix":"ea91ec834daeda3a","entry":"get_scale_table","repo":"InterDigitalInc/CompressAI","repo_kind":"listed","path":"compressai/models/base.py","file_url":"https://github.com/InterDigitalInc/CompressAI/blob/HEAD/compressai/models/base.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"BSD-3-Clause-Clear","inline_ok":false,"mcp_get_code":{"code_sha256":"ea91ec834daeda3a"}},{"code_sha256_prefix":"5dff248eb7143d81","entry":"inverse_dict","repo":"InterDigitalInc/CompressAI","repo_kind":"listed","path":"examples/codec.py","file_url":"https://github.com/InterDigitalInc/CompressAI/blob/HEAD/examples/codec.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"BSD-3-Clause-Clear","inline_ok":false,"mcp_get_code":{"code_sha256":"5dff248eb7143d81"}},{"code_sha256_prefix":"73b28d07dc4d8995","entry":"print_dict","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":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"73b28d07dc4d8995"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}