{"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/flow-improving-flow-based-generative-models","title":"Flow++: Improving Flow-Based Generative Models with Variational Dequantization and Architecture Design","arxiv_id":"1902.00275","date":"2019-02-01","proceeding":"ICLR 2019 5","authors":["Jonathan Ho","Xi Chen","Aravind Srinivas","Yan Duan","Pieter Abbeel"],"abstract":"Flow-based generative models are powerful exact likelihood models with efficient sampling and inference. Despite their computational efficiency, flow-based models generally have much worse density modeling performance compared to state-of-the-art autoregressive models. In this paper, we investigate and improve upon three limiting design choices employed by flow-based models in prior work: the use of uniform noise for dequantization, the use of inexpressive affine flows, and the use of purely convolutional conditioning networks in coupling layers. Based on our findings, we propose Flow++, a new flow-based model that is now the state-of-the-art non-autoregressive model for unconditional density estimation on standard image benchmarks. Our work has begun to close the significant performance gap that has so far existed between autoregressive models and flow-based models. Our implementation is available at https://github.com/aravindsrinivas/flowpp","url_abs":"https://arxiv.org/abs/1902.00275v2","url_pdf":"https://arxiv.org/pdf/1902.00275v2.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":"flow-improving-flow-based-generative-models","repo_url":"https://github.com/aravind0706/flowpp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"flow-improving-flow-based-generative-models","repo_url":"https://github.com/aravindsrinivas/flowpp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"flow-improving-flow-based-generative-models","repo_url":"https://github.com/SamArgt/AudioSourceSep","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"flow-improving-flow-based-generative-models","repo_url":"https://github.com/hojonathanho/localbitsback","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"computational-efficiency","task_name":"Computational Efficiency"},{"task_slug":"density-estimation","task_name":"Density Estimation"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-generation-on-imagenet-32x32","task":"Image Generation","dataset":"ImageNet 32x32","model":"Flow++","rank_in_archive_order":27,"of":35,"metrics":{"bpd":"3.86"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-64x64","task":"Image Generation","dataset":"ImageNet 64x64","model":"Flow++","rank_in_archive_order":52,"of":65,"metrics":{"Bits per dim":"3.69"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1902.00275","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1902.00275"}},"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/aravindsrinivas/flowpp","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/SamArgt/AudioSourceSep","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hojonathanho/localbitsback","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aravind0706/flowpp","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":9},"by_repo_kind":{"official":{"samples":9,"ran":0,"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":"65754dd997703c12","entry":"assert_in_range","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows_imagenet/logistic.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows_imagenet/logistic.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65754dd997703c12"}},{"code_sha256_prefix":"5f0f74ae9d431c1c","entry":"at_least_float32","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows_imagenet/launchers/imagenet32_official.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows_imagenet/launchers/imagenet32_official.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5f0f74ae9d431c1c"}},{"code_sha256_prefix":"9df274ab304130e2","entry":"conv2d","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows/flows.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows/flows.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9df274ab304130e2"}},{"code_sha256_prefix":"7c31d5dfdb4e6308","entry":"dense","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows/flows.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows/flows.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7c31d5dfdb4e6308"}},{"code_sha256_prefix":"952f606576c632c7","entry":"get_var","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows_imagenet/launchers/imagenet32_official.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows_imagenet/launchers/imagenet32_official.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"952f606576c632c7"}},{"code_sha256_prefix":"9d6d831a4e81b501","entry":"get_var","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows/flows.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows/flows.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9d6d831a4e81b501"}},{"code_sha256_prefix":"f7bc5864104e41ee","entry":"tile_imgs","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows_imagenet/utils.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows_imagenet/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f7bc5864104e41ee"}},{"code_sha256_prefix":"77ffd1982c6a4f9a","entry":"tile_imgs","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows/utils.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"77ffd1982c6a4f9a"}},{"code_sha256_prefix":"60187f793be7f93d","entry":"to_default_floatx","repo":"aravind0706/flowpp","repo_kind":"official","path":"flows_imagenet/launchers/imagenet32_official.py","file_url":"https://github.com/aravind0706/flowpp/blob/HEAD/flows_imagenet/launchers/imagenet32_official.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"60187f793be7f93d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}