{"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/nvtc-nonlinear-vector-transform-coding-1","title":"NVTC: Nonlinear Vector Transform Coding","arxiv_id":"2305.16025","date":"2023-05-25","proceeding":"CVPR 2023 1","authors":["Runsen Feng","Zongyu Guo","Weiping Li","Zhibo Chen"],"abstract":"In theory, vector quantization (VQ) is always better than scalar quantization (SQ) in terms of rate-distortion (R-D) performance. Recent state-of-the-art methods for neural image compression are mainly based on nonlinear transform coding (NTC) with uniform scalar quantization, overlooking the benefits of VQ due to its exponentially increased complexity. In this paper, we first investigate on some toy sources, demonstrating that even if modern neural networks considerably enhance the compression performance of SQ with nonlinear transform, there is still an insurmountable chasm between SQ and VQ. Therefore, revolving around VQ, we propose a novel framework for neural image compression named Nonlinear Vector Transform Coding (NVTC). NVTC solves the critical complexity issue of VQ through (1) a multi-stage quantization strategy and (2) nonlinear vector transforms. In addition, we apply entropy-constrained VQ in latent space to adaptively determine the quantization boundaries for joint rate-distortion optimization, which improves the performance both theoretically and experimentally. Compared to previous NTC approaches, NVTC demonstrates superior rate-distortion performance, faster decoding speed, and smaller model size. Our code is available at https://github.com/USTC-IMCL/NVTC","url_abs":"https://arxiv.org/abs/2305.16025v1","url_pdf":"https://arxiv.org/pdf/2305.16025v1.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":"nvtc-nonlinear-vector-transform-coding-1","repo_url":"https://github.com/ustc-imcl/nvtc","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-compression","task_name":"Image Compression"},{"task_slug":"quantization","task_name":"Quantization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.16025","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.16025"}},"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/ustc-imcl/nvtc","reach":null}],"summary":{"ran":11,"ran_draft_wrong":4,"unverified":8},"by_repo_kind":{"official":{"samples":23,"ran":15,"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":"42f45818dcda6125","entry":"BlockCombination","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"42f45818dcda6125"}},{"code_sha256_prefix":"866dd1e7632c183b","entry":"BlockPartition","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"866dd1e7632c183b"}},{"code_sha256_prefix":"1e3f7d811fa0ec89","entry":"ChannelFC","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"1e3f7d811fa0ec89"}},{"code_sha256_prefix":"51240e3e520da518","entry":"ConditionalVectorQuantization","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"51240e3e520da518"}},{"code_sha256_prefix":"1972d3181390136e","entry":"DepthwiseBlockFC","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"1972d3181390136e"}},{"code_sha256_prefix":"feaa6198f8aff996","entry":"DiscreteUnconditionalEntropyModel","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"feaa6198f8aff996"}},{"code_sha256_prefix":"dc832fd8ace349ba","entry":"ResBlock","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dc832fd8ace349ba"}},{"code_sha256_prefix":"4565b9617294b575","entry":"ResBlocks","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4565b9617294b575"}},{"code_sha256_prefix":"34e9bc103d069dad","entry":"VTUnit","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"34e9bc103d069dad"}},{"code_sha256_prefix":"cd2b6a6273b8280a","entry":"lower_bound","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd2b6a6273b8280a"}},{"code_sha256_prefix":"c6cd5ea69bb9b725","entry":"lower_bound_bwd","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"c6cd5ea69bb9b725"}},{"code_sha256_prefix":"d57226f49d77ce7d","entry":"lower_bound_fwd","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d57226f49d77ce7d"}},{"code_sha256_prefix":"695fd289eae9f9c8","entry":"upper_bound","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"695fd289eae9f9c8"}},{"code_sha256_prefix":"227b9b97a6ddeae4","entry":"upper_bound_bwd","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"227b9b97a6ddeae4"}},{"code_sha256_prefix":"5a8731ca40e1ec72","entry":"upper_bound_fwd","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5a8731ca40e1ec72"}},{"code_sha256_prefix":"e689fa262ff9d490","entry":"DiscreteConditionalEntropyModel","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"e689fa262ff9d490"}},{"code_sha256_prefix":"3ff914a335b7a533","entry":"DiscreteEntropyModelBase","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"3ff914a335b7a533"}},{"code_sha256_prefix":"ff32920bf4014459","entry":"ECVQlastdim","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"ff32920bf4014459"}},{"code_sha256_prefix":"41713d588f89d7dc","entry":"LowerBoundFunction","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"41713d588f89d7dc"}},{"code_sha256_prefix":"2e77fa5e8c194a5e","entry":"NVTC","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"2e77fa5e8c194a5e"}},{"code_sha256_prefix":"53444b2279a5e878","entry":"Softmax","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"53444b2279a5e878"}},{"code_sha256_prefix":"cf1811e2eb484861","entry":"UpperBoundFunction","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"cf1811e2eb484861"}},{"code_sha256_prefix":"b5dd898abb1e9dd4","entry":"pmf_to_quantized_cdf","repo":"ustc-imcl/nvtc","repo_kind":"official","path":"image/nvtc_image/model/nvtc.py","file_url":"https://github.com/ustc-imcl/nvtc/blob/HEAD/image/nvtc_image/model/nvtc.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":"b5dd898abb1e9dd4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}