{"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/reducing-the-prior-mismatch-of-stochastic","title":"Reducing the Prior Mismatch of Stochastic Differential Equations for Diffusion-based Speech Enhancement","arxiv_id":"2302.14748","date":"2023-02-28","proceeding":null,"authors":["Bunlong Lay","Simon Welker","Julius Richter","Timo Gerkmann"],"abstract":"Recently, score-based generative models have been successfully employed for the task of speech enhancement. A stochastic differential equation is used to model the iterative forward process, where at each step environmental noise and white Gaussian noise are added to the clean speech signal. While in limit the mean of the forward process ends at the noisy mixture, in practice it stops earlier and thus only at an approximation of the noisy mixture. This results in a discrepancy between the terminating distribution of the forward process and the prior used for solving the reverse process at inference. In this paper, we address this discrepancy and propose a forward process based on a Brownian bridge. We show that such a process leads to a reduction of the mismatch compared to previous diffusion processes. More importantly, we show that our approach improves in objective metrics over the baseline process with only half of the iteration steps and having one hyperparameter less to tune.","url_abs":"https://arxiv.org/abs/2302.14748v2","url_pdf":"https://arxiv.org/pdf/2302.14748v2.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":"reducing-the-prior-mismatch-of-stochastic","repo_url":"https://github.com/sp-uhh/sgmse-bbed","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"reducing-the-prior-mismatch-of-stochastic","repo_url":"https://github.com/sp-uhh/sgmse","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"speech-enhancement","task_name":"Speech Enhancement"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2302.14748","atlas_url":"https://app.syntology.ai/?focus=2302.14748","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2302.14748"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sp-uhh/sgmse","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sp-uhh/sgmse-bbed","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":10,"unverified":1},"by_repo_kind":{"official":{"samples":11,"ran":10,"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":"e4185b3ed3a097b6","entry":"energy_ratios","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/util/other.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/util/other.py","link_basis":"harvester_set","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":"e4185b3ed3a097b6"}},{"code_sha256_prefix":"216c782f9d07ef3a","entry":"get_act","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/ncsnpp_utils/layers.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/ncsnpp_utils/layers.py","link_basis":"harvester_set","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":"216c782f9d07ef3a"}},{"code_sha256_prefix":"eb5ba43dadcbda84","entry":"get_activation","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/dcunet.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/dcunet.py","link_basis":"harvester_set","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":"eb5ba43dadcbda84"}},{"code_sha256_prefix":"9e802d63089d5d62","entry":"get_window","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/data_module.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/data_module.py","link_basis":"harvester_set","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":"9e802d63089d5d62"}},{"code_sha256_prefix":"9ce3b9f139bb58ff","entry":"make_unet_encoder_decoder_args","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/dcunet.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/dcunet.py","link_basis":"harvester_set","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":"9ce3b9f139bb58ff"}},{"code_sha256_prefix":"f36a0fc077e7eeca","entry":"mean_conf_int","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/util/other.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/util/other.py","link_basis":"harvester_set","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":"f36a0fc077e7eeca"}},{"code_sha256_prefix":"5f57b9e7cfd0a20d","entry":"si_sdr_components","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/util/other.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/util/other.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5f57b9e7cfd0a20d"}},{"code_sha256_prefix":"63cec12b7bc5275c","entry":"torch_complex_from_reim","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/shared.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/shared.py","link_basis":"harvester_set","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":"63cec12b7bc5275c"}},{"code_sha256_prefix":"0eabe078d2ed0794","entry":"unet_decoder_args","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/dcunet.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/dcunet.py","link_basis":"harvester_set","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":"0eabe078d2ed0794"}},{"code_sha256_prefix":"3ac11bfe0ae80195","entry":"variance_scaling","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/ncsnpp_utils/layers.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/ncsnpp_utils/layers.py","link_basis":"harvester_set","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":"3ac11bfe0ae80195"}},{"code_sha256_prefix":"85b2235eb7afaa4f","entry":"ncsn_conv1x1","repo":"sp-uhh/sgmse-bbed","repo_kind":"official","path":"sgmse/backbones/ncsnpp_utils/layers.py","file_url":"https://github.com/sp-uhh/sgmse-bbed/blob/HEAD/sgmse/backbones/ncsnpp_utils/layers.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":"85b2235eb7afaa4f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}