{"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/a-continuous-time-framework-for-discrete","title":"A Continuous Time Framework for Discrete Denoising Models","arxiv_id":"2205.14987","date":"2022-05-30","proceeding":null,"authors":["Andrew Campbell","Joe Benton","Valentin De Bortoli","Tom Rainforth","George Deligiannidis","Arnaud Doucet"],"abstract":"We provide the first complete continuous time framework for denoising diffusion models of discrete data. This is achieved by formulating the forward noising process and corresponding reverse time generative process as Continuous Time Markov Chains (CTMCs). The model can be efficiently trained using a continuous time version of the ELBO. We simulate the high dimensional CTMC using techniques developed in chemical physics and exploit our continuous time framework to derive high performance samplers that we show can outperform discrete time methods for discrete data. The continuous time treatment also enables us to derive a novel theoretical result bounding the error between the generated sample distribution and the true data distribution.","url_abs":"https://arxiv.org/abs/2205.14987v2","url_pdf":"https://arxiv.org/pdf/2205.14987v2.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":"a-continuous-time-framework-for-discrete","repo_url":"https://github.com/andrew-cr/tauldr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"a-continuous-time-framework-for-discrete","repo_url":"https://github.com/lingxiaoshawn/usd3","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.14987","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.14987"}},"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/andrew-cr/tauLDR","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lingxiaoshawn/usd3","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/andrew-cr/tauldr","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":2,"ran_draft_wrong":2,"ran_fixture":5,"unverified":3},"by_repo_kind":{"official":{"samples":2,"ran":2,"repositories":1},"listed":{"samples":7,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"ffa52aac10275a2d","entry":"BirthDeathForwardBase","repo":"andrew-cr/tauldr","repo_kind":"official","path":"lib/models/models.py","file_url":"https://github.com/andrew-cr/tauldr/blob/HEAD/lib/models/models.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":"ffa52aac10275a2d"}},{"code_sha256_prefix":"9ae468e35b1a0dad","entry":"get_broadcast_idx","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9ae468e35b1a0dad"}},{"code_sha256_prefix":"37a4ff6be7364fa2","entry":"imgtrans","repo":"andrew-cr/tauldr","repo_kind":"official","path":"scripts/sample.py","file_url":"https://github.com/andrew-cr/tauldr/blob/HEAD/scripts/sample.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"37a4ff6be7364fa2"}},{"code_sha256_prefix":"022a7c8257303dc9","entry":"index_last_dim","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"022a7c8257303dc9"}},{"code_sha256_prefix":"fda963fd80612ab9","entry":"noise_schedule","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"fda963fd80612ab9"}},{"code_sha256_prefix":"b7292183c8ee8d08","entry":"sample_bernoulli","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"b7292183c8ee8d08"}},{"code_sha256_prefix":"3b3f251a40b42cb6","entry":"sample_categorical","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"3b3f251a40b42cb6"}},{"code_sha256_prefix":"3de7a59d8f5a3e18","entry":"sample_uniform_categorical","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"3de7a59d8f5a3e18"}},{"code_sha256_prefix":"abd2c76ff08f9007","entry":"set_last_dim","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"abd2c76ff08f9007"}},{"code_sha256_prefix":"8e09331445e0d22c","entry":"UnifiedDiscreteDiffusion","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"8e09331445e0d22c"}},{"code_sha256_prefix":"0af6b4b69f0cb37b","entry":"logits_to_logprob","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"0af6b4b69f0cb37b"}},{"code_sha256_prefix":"9fea4d40c8d9f6f5","entry":"logits_to_prob","repo":"lingxiaoshawn/usd3","repo_kind":"listed","path":"discrete_diffusion.py","file_url":"https://github.com/lingxiaoshawn/usd3/blob/HEAD/discrete_diffusion.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":"9fea4d40c8d9f6f5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}