{"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/an-introduction-to-neural-data-compression","title":"An Introduction to Neural Data Compression","arxiv_id":"2202.06533","date":"2022-02-14","proceeding":null,"authors":["Yibo Yang","Stephan Mandt","Lucas Theis"],"abstract":"Neural compression is the application of neural networks and other machine learning methods to data compression. Recent advances in statistical machine learning have opened up new possibilities for data compression, allowing compression algorithms to be learned end-to-end from data using powerful generative models such as normalizing flows, variational autoencoders, diffusion probabilistic models, and generative adversarial networks. The present article aims to introduce this field of research to a broader machine learning audience by reviewing the necessary background in information theory (e.g., entropy coding, rate-distortion theory) and computer vision (e.g., image quality assessment, perceptual metrics), and providing a curated guide through the essential ideas and methods in the literature thus far.","url_abs":"https://arxiv.org/abs/2202.06533v3","url_pdf":"https://arxiv.org/pdf/2202.06533v3.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":"an-introduction-to-neural-data-compression","repo_url":"https://github.com/google/codex","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"an-introduction-to-neural-data-compression","repo_url":"https://github.com/mandt-lab/shallow-ntc","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"an-introduction-to-neural-data-compression","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"}}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"},{"task_slug":"data-compression","task_name":"Data Compression"},{"task_slug":"image-quality-assessment","task_name":"Image Quality Assessment"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2202.06533","atlas_url":"https://app.syntology.ai/?focus=2202.06533","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2202.06533"}},"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":"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/google/codex","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mandt-lab/shallow-ntc","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":10,"unverified":6},"by_repo_kind":{"listed":{"samples":16,"ran":10,"repositories":2}},"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":"2b166835e4864877","entry":"autocorrelate","repo":"google/codex","repo_kind":"listed","path":"codex/ems/fourier.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ems/fourier.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":"2b166835e4864877"}},{"code_sha256_prefix":"18b1ac950cad22c7","entry":"logsum_expbig_minus_expsmall","repo":"google/codex","repo_kind":"listed","path":"codex/ems/continuous.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ems/continuous.py","link_basis":"harvester_set","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":"18b1ac950cad22c7"}},{"code_sha256_prefix":"92ec5a215026fc33","entry":"lowpass","repo":"google/codex","repo_kind":"listed","path":"codex/loss/wasserstein.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/loss/wasserstein.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":"92ec5a215026fc33"}},{"code_sha256_prefix":"9ccc5edc054d63f7","entry":"matrix_init","repo":"google/codex","repo_kind":"listed","path":"codex/ems/deep_factorized.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ems/deep_factorized.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":"9ccc5edc054d63f7"}},{"code_sha256_prefix":"69650369b53c555f","entry":"quantize_distribution","repo":"google/codex","repo_kind":"listed","path":"codex/ecs/range_ans.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ecs/range_ans.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":"69650369b53c555f"}},{"code_sha256_prefix":"92acca2b1a8712d6","entry":"safe_sqrt_jvp","repo":"google/codex","repo_kind":"listed","path":"codex/loss/wasserstein.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/loss/wasserstein.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":"92acca2b1a8712d6"}},{"code_sha256_prefix":"9f7e2f9dec296743","entry":"soft_round","repo":"google/codex","repo_kind":"listed","path":"codex/ops/quantization.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/quantization.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":"9f7e2f9dec296743"}},{"code_sha256_prefix":"1d9e9b22846b022b","entry":"soft_round_conditional_mean","repo":"google/codex","repo_kind":"listed","path":"codex/ops/quantization.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/quantization.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":"1d9e9b22846b022b"}},{"code_sha256_prefix":"7577b798076f2f68","entry":"soft_round_inverse","repo":"google/codex","repo_kind":"listed","path":"codex/ops/quantization.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/quantization.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":"7577b798076f2f68"}},{"code_sha256_prefix":"ce43c2b2c164374a","entry":"verysoftplus","repo":"google/codex","repo_kind":"listed","path":"codex/ops/activation.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/activation.py","link_basis":"harvester_set","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":"ce43c2b2c164374a"}},{"code_sha256_prefix":"280b32e777201abd","entry":"lower_limit","repo":"google/codex","repo_kind":"listed","path":"codex/ops/gradient.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/gradient.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":"280b32e777201abd"}},{"code_sha256_prefix":"5eefb49b52323703","entry":"periodic_prob","repo":"google/codex","repo_kind":"listed","path":"codex/ems/fourier.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ems/fourier.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":"5eefb49b52323703"}},{"code_sha256_prefix":"485c2547f2922965","entry":"safe_sqrt","repo":"google/codex","repo_kind":"listed","path":"codex/loss/wasserstein.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/loss/wasserstein.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":"485c2547f2922965"}},{"code_sha256_prefix":"ebb36a320973720b","entry":"source_dataset","repo":"tensorflow/compression","repo_kind":"listed","path":"models/toy_sources/compression_model.py","file_url":"https://github.com/tensorflow/compression/blob/HEAD/models/toy_sources/compression_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":"ebb36a320973720b"}},{"code_sha256_prefix":"c6b3bdaa7c690524","entry":"upper_limit","repo":"google/codex","repo_kind":"listed","path":"codex/ops/gradient.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/gradient.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":"c6b3bdaa7c690524"}},{"code_sha256_prefix":"22e32871c286e462","entry":"upper_limit_fwd","repo":"google/codex","repo_kind":"listed","path":"codex/ops/gradient.py","file_url":"https://github.com/google/codex/blob/HEAD/codex/ops/gradient.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":"22e32871c286e462"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}