{"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/on-the-generative-utility-of-cyclic","title":"On the Generative Utility of Cyclic Conditionals","arxiv_id":"2106.15962","date":"2021-06-30","proceeding":"NeurIPS 2021 12","authors":["Chang Liu","Haoyue Tang","Tao Qin","Jintao Wang","Tie-Yan Liu"],"abstract":"We study whether and how can we model a joint distribution $p(x,z)$ using two conditional models $p(x|z)$ and $q(z|x)$ that form a cycle. This is motivated by the observation that deep generative models, in addition to a likelihood model $p(x|z)$, often also use an inference model $q(z|x)$ for extracting representation, but they rely on a usually uninformative prior distribution $p(z)$ to define a joint distribution, which may render problems like posterior collapse and manifold mismatch. To explore the possibility to model a joint distribution using only $p(x|z)$ and $q(z|x)$, we study their compatibility and determinacy, corresponding to the existence and uniqueness of a joint distribution whose conditional distributions coincide with them. We develop a general theory for operable equivalence criteria for compatibility, and sufficient conditions for determinacy. Based on the theory, we propose a novel generative modeling framework CyGen that only uses the two cyclic conditional models. We develop methods to achieve compatibility and determinacy, and to use the conditional models to fit and generate data. With the prior constraint removed, CyGen better fits data and captures more representative features, supported by both synthetic and real-world experiments.","url_abs":"https://arxiv.org/abs/2106.15962v3","url_pdf":"https://arxiv.org/pdf/2106.15962v3.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":"on-the-generative-utility-of-cyclic","repo_url":"https://github.com/changliu00/cygen","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2106.15962","atlas_url":"https://app.syntology.ai/?focus=2106.15962","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.15962"}},"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":"deterministic:regex_extraction","url":"https://github.com/changliu00/cygen","reach":null}],"summary":{"ran":2,"ran_fixture":5,"unverified":2},"by_repo_kind":{"official":{"samples":9,"ran":7,"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":"e84b055f469eaec5","entry":"CyGen","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e84b055f469eaec5"}},{"code_sha256_prefix":"6e8e63560e1504bd","entry":"SampleGradContainer","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6e8e63560e1504bd"}},{"code_sha256_prefix":"3bca7eb82cff3d2d","entry":"compute_loss","repo":"changliu00/cygen","repo_kind":"official","path":"main_image.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/main_image.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3bca7eb82cff3d2d"}},{"code_sha256_prefix":"401936e904a628c2","entry":"jacobian_normF2","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"401936e904a628c2"}},{"code_sha256_prefix":"6b8b7358fd0a9717","entry":"smart_grad","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6b8b7358fd0a9717"}},{"code_sha256_prefix":"a2feae0e8bfc2fd1","entry":"track_var","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2feae0e8bfc2fd1"}},{"code_sha256_prefix":"f76225cb9e3de0b7","entry":"track_var","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f76225cb9e3de0b7"}},{"code_sha256_prefix":"6a6067ace5950671","entry":"smart_grad","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.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":"6a6067ace5950671"}},{"code_sha256_prefix":"b291aa12c984e8d6","entry":"solve_vec","repo":"changliu00/cygen","repo_kind":"official","path":"methods/cygen.py","file_url":"https://github.com/changliu00/cygen/blob/HEAD/methods/cygen.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":"b291aa12c984e8d6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}