{"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/fast-sampling-via-de-randomization-for","title":"Fast Sampling via Discrete Non-Markov Diffusion Models with Predetermined Transition Time","arxiv_id":"2312.09193","date":"2023-12-14","proceeding":null,"authors":["Zixiang Chen","Huizhuo Yuan","YongQian Li","Yiwen Kou","Junkai Zhang","Quanquan Gu"],"abstract":"Discrete diffusion models have emerged as powerful tools for high-quality data generation. Despite their success in discrete spaces, such as text generation tasks, the acceleration of discrete diffusion models remains under-explored. In this paper, we propose discrete non-Markov diffusion models (DNDM), which naturally induce the predetermined transition time set. This enables a training-free sampling algorithm that significantly reduces the number of function evaluations (i.e., calls to the neural network), making the sampling process much faster. Furthermore, we study the transition from finite to infinite step sampling, offering new insights into bridging the gap between discrete and continuous-time processes for discrete diffusion models. Extensive experiments on natural language generation and machine translation tasks demonstrate the superior performance of our method in terms of both generation speed and sample quality compared to existing methods for discrete diffusion models.","url_abs":"https://arxiv.org/abs/2312.09193v3","url_pdf":"https://arxiv.org/pdf/2312.09193v3.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":"fast-sampling-via-de-randomization-for","repo_url":"https://github.com/uclaml/dndm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"machine-translation","task_name":"Machine Translation"},{"task_slug":"text-generation","task_name":"Text Generation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"},{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.09193","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.09193"}},"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/uclaml/dndm","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_violates":2,"ran":3,"unverified":2},"by_repo_kind":{"official":{"samples":7,"ran":5,"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":"fbf9ec7be545688e","entry":"default","repo":"uclaml/dndm","repo_kind":"official","path":"discrete_diffusion/discrete_diffusions/multinomial_diffusion.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/discrete_diffusion/discrete_diffusions/multinomial_diffusion.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fbf9ec7be545688e"}},{"code_sha256_prefix":"608e364a9d2376a3","entry":"exists","repo":"uclaml/dndm","repo_kind":"official","path":"discrete_diffusion/discrete_diffusions/multinomial_diffusion.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/discrete_diffusion/discrete_diffusions/multinomial_diffusion.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"608e364a9d2376a3"}},{"code_sha256_prefix":"23bb0e51d20c1303","entry":"mean_ds","repo":"uclaml/dndm","repo_kind":"official","path":"fairseq/diffusion_mt/criterions/diffusion_loss.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/fairseq/diffusion_mt/criterions/diffusion_loss.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":"23bb0e51d20c1303"}},{"code_sha256_prefix":"da869491359e17b9","entry":"sample_bernoulli","repo":"uclaml/dndm","repo_kind":"official","path":"discrete_diffusion/discrete_diffusions/utils.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/discrete_diffusion/discrete_diffusions/utils.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":"da869491359e17b9"}},{"code_sha256_prefix":"bf17fab5a9f64577","entry":"topk_masking","repo":"uclaml/dndm","repo_kind":"official","path":"discrete_diffusion/discrete_diffusions/utils.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/discrete_diffusion/discrete_diffusions/utils.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":"bf17fab5a9f64577"}},{"code_sha256_prefix":"09c8479d9a5b3e06","entry":"extract","repo":"uclaml/dndm","repo_kind":"official","path":"discrete_diffusion/discrete_diffusions/multinomial_diffusion.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/discrete_diffusion/discrete_diffusions/multinomial_diffusion.py","link_basis":"harvester_set","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":"09c8479d9a5b3e06"}},{"code_sha256_prefix":"5e40de0eec5388cd","entry":"new_arange","repo":"uclaml/dndm","repo_kind":"official","path":"discrete_diffusion/discrete_diffusions/utils.py","file_url":"https://github.com/uclaml/dndm/blob/HEAD/discrete_diffusion/discrete_diffusions/utils.py","link_basis":"harvester_set","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":"5e40de0eec5388cd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}