{"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/deep-generative-model-based-rate-distortion","title":"Deep Generative Model based Rate-Distortion for Image Downscaling Assessment","arxiv_id":"2403.15139","date":"2024-03-22","proceeding":"CVPR 2024 1","authors":["Yuanbang Liang","Bhavesh Garg","Paul L Rosin","Yipeng Qin"],"abstract":"In this paper, we propose Image Downscaling Assessment by Rate-Distortion (IDA-RD), a novel measure to quantitatively evaluate image downscaling algorithms. In contrast to image-based methods that measure the quality of downscaled images, ours is process-based that draws ideas from rate-distortion theory to measure the distortion incurred during downscaling. Our main idea is that downscaling and super-resolution (SR) can be viewed as the encoding and decoding processes in the rate-distortion model, respectively, and that a downscaling algorithm that preserves more details in the resulting low-resolution (LR) images should lead to less distorted high-resolution (HR) images in SR. In other words, the distortion should increase as the downscaling algorithm deteriorates. However, it is non-trivial to measure this distortion as it requires the SR algorithm to be blind and stochastic. Our key insight is that such requirements can be met by recent SR algorithms based on deep generative models that can find all matching HR images for a given LR image on their learned image manifolds. Extensive experimental results show the effectiveness of our IDA-RD measure.","url_abs":"https://arxiv.org/abs/2403.15139v1","url_pdf":"https://arxiv.org/pdf/2403.15139v1.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":"deep-generative-model-based-rate-distortion","repo_url":"https://github.com/byronliang8/ida-rd","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.15139","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.15139"}},"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":"deterministic:regex_extraction","url":"https://github.com/andreas128/SRFlow","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/IIGROUP/MANIQA","reach":null}],"summary":{"ran":12,"ran_violates":1,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":20,"ran":13,"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":11,"samples":[{"code_sha256_prefix":"2746ad51b2733503","entry":"Block","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"2746ad51b2733503"}},{"code_sha256_prefix":"93f0fde3bc773068","entry":"DropPath","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"93f0fde3bc773068"}},{"code_sha256_prefix":"29ae1bd63129829a","entry":"SaveOutput","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"29ae1bd63129829a"}},{"code_sha256_prefix":"934603402f30a8bf","entry":"WindowAttention","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"934603402f30a8bf"}},{"code_sha256_prefix":"b97b2d33b67260a8","entry":"deriveScaleFromSize","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/imresize.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/imresize.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b97b2d33b67260a8"}},{"code_sha256_prefix":"ffe34bf756a6eaa8","entry":"deriveSizeFromScale","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/imresize.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/imresize.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ffe34bf756a6eaa8"}},{"code_sha256_prefix":"0bebbc75f9a3e43e","entry":"getConditional","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/models/modules/FlowStep.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/models/modules/FlowStep.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0bebbc75f9a3e43e"}},{"code_sha256_prefix":"4a5dde4fe6f03db6","entry":"get_position_name","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/models/modules/FlowUpsamplerNet.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/models/modules/FlowUpsamplerNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4a5dde4fe6f03db6"}},{"code_sha256_prefix":"b3408d91189f5c25","entry":"imread","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/Measure.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/Measure.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b3408d91189f5c25"}},{"code_sha256_prefix":"d4a4924746094263","entry":"imread","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/prepare_data.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d4a4924746094263"}},{"code_sha256_prefix":"9c54ab0c75133028","entry":"random_crop","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/prepare_data.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9c54ab0c75133028"}},{"code_sha256_prefix":"df0c958745aa00b2","entry":"t","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/Measure.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/Measure.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"df0c958745aa00b2"}},{"code_sha256_prefix":"2722f476a816c1b9","entry":"triangle","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/imresize.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/imresize.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"2722f476a816c1b9"}},{"code_sha256_prefix":"07eec89c3481b3e2","entry":"BasicLayer","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"07eec89c3481b3e2"}},{"code_sha256_prefix":"635a6dcf3b09ffb0","entry":"MANIQA","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"635a6dcf3b09ffb0"}},{"code_sha256_prefix":"9171a3e6b2c22032","entry":"SwinBlock","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"9171a3e6b2c22032"}},{"code_sha256_prefix":"af6e9e8156c1445d","entry":"SwinTransformer","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"af6e9e8156c1445d"}},{"code_sha256_prefix":"14c15edf88a94cd7","entry":"TABlock","repo":"IIGROUP/MANIQA","repo_kind":"found_in_text","path":"models/maniqa.py","file_url":"https://github.com/IIGROUP/MANIQA/blob/HEAD/models/maniqa.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":"14c15edf88a94cd7"}},{"code_sha256_prefix":"6d050c5262a0b80b","entry":"define_Flow","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/models/networks.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/models/networks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6d050c5262a0b80b"}},{"code_sha256_prefix":"7d04d276ed855e64","entry":"find_model_using_name","repo":"andreas128/SRFlow","repo_kind":"found_in_text","path":"code/models/networks.py","file_url":"https://github.com/andreas128/SRFlow/blob/HEAD/code/models/networks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7d04d276ed855e64"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}