{"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/diffusion-bridge-implicit-models","title":"Diffusion Bridge Implicit Models","arxiv_id":"2405.15885","date":"2024-05-24","proceeding":null,"authors":["Kaiwen Zheng","Guande He","Jianfei Chen","Fan Bao","Jun Zhu"],"abstract":"Denoising diffusion bridge models (DDBMs) are a powerful variant of diffusion models for interpolating between two arbitrary paired distributions given as endpoints. Despite their promising performance in tasks like image translation, DDBMs require a computationally intensive sampling process that involves the simulation of a (stochastic) differential equation through hundreds of network evaluations. In this work, we take the first step in fast sampling of DDBMs without extra training, motivated by the well-established recipes in diffusion models. We generalize DDBMs via a class of non-Markovian diffusion bridges defined on the discretized timesteps concerning sampling, which share the same marginal distributions and training objectives, give rise to generative processes ranging from stochastic to deterministic, and result in diffusion bridge implicit models (DBIMs). DBIMs are not only up to 25$\\times$ faster than the vanilla sampler of DDBMs but also induce a novel, simple, and insightful form of ordinary differential equation (ODE) which inspires high-order numerical solvers. Moreover, DBIMs maintain the generation diversity in a distinguished way, by using a booting noise in the initial sampling step, which enables faithful encoding, reconstruction, and semantic interpolation in image translation tasks. Code is available at https://github.com/thu-ml/DiffusionBridge.","url_abs":"https://arxiv.org/abs/2405.15885v6","url_pdf":"https://arxiv.org/pdf/2405.15885v6.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":"diffusion-bridge-implicit-models","repo_url":"https://github.com/thu-ml/diffusionbridge","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"translation","task_name":"Translation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2405.15885","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.15885"}},"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/thu-ml/DiffusionBridge","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/thu-ml/diffusionbridge","reach":{"status":"ok"}}],"summary":{"ran":5,"ran_draft_wrong":1,"ran_fixture":1,"unverified":5},"by_repo_kind":{"official":{"samples":12,"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":12,"samples":[{"code_sha256_prefix":"d538533133adaba1","entry":"bbox2mask","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"corruption/inpaint.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/corruption/inpaint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d538533133adaba1"}},{"code_sha256_prefix":"ca0f419e003fc19b","entry":"build_numpy_data","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"evaluation/compute_metrices_imagenet.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/evaluation/compute_metrices_imagenet.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ca0f419e003fc19b"}},{"code_sha256_prefix":"23d799453bc47dc8","entry":"build_test_transform","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"datasets/imagenet_inpaint.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/datasets/imagenet_inpaint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"23d799453bc47dc8"}},{"code_sha256_prefix":"b5116199ae6fde5a","entry":"build_train_transform","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"datasets/imagenet_inpaint.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/datasets/imagenet_inpaint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b5116199ae6fde5a"}},{"code_sha256_prefix":"b4abe347f8da8134","entry":"convert_to_numpy","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"evaluation/compute_metrices_imagenet.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/evaluation/compute_metrices_imagenet.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b4abe347f8da8134"}},{"code_sha256_prefix":"cbb9d7563e2ebd55","entry":"get_time","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"logger.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/logger.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cbb9d7563e2ebd55"}},{"code_sha256_prefix":"584c6b6763a894d1","entry":"normalize_model","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"evaluation/resnet.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/evaluation/resnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"584c6b6763a894d1"}},{"code_sha256_prefix":"b8a0b35ca5f97738","entry":"BatchedSeedGenerator","repo":"thu-ml/diffusionbridge","repo_kind":"official","path":"ddbm/karras_diffusion.py","file_url":"https://github.com/thu-ml/diffusionbridge/blob/HEAD/ddbm/karras_diffusion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b8a0b35ca5f97738"}},{"code_sha256_prefix":"85edfe1f07cf66c7","entry":"lmdb_loader","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"datasets/imagenet_inpaint.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/datasets/imagenet_inpaint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"85edfe1f07cf66c7"}},{"code_sha256_prefix":"040e3e5c788985c9","entry":"load_freeform_masks","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"corruption/inpaint.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/corruption/inpaint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"040e3e5c788985c9"}},{"code_sha256_prefix":"d61c2ffb806efbc6","entry":"load_masks","repo":"thu-ml/DiffusionBridge","repo_kind":"official","path":"corruption/inpaint.py","file_url":"https://github.com/thu-ml/DiffusionBridge/blob/HEAD/corruption/inpaint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d61c2ffb806efbc6"}},{"code_sha256_prefix":"072b2a8eed7a920a","entry":"sample_dbim_high_order","repo":"thu-ml/diffusionbridge","repo_kind":"official","path":"ddbm/karras_diffusion.py","file_url":"https://github.com/thu-ml/diffusionbridge/blob/HEAD/ddbm/karras_diffusion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"072b2a8eed7a920a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}