{"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/denoising-monte-carlo-renders-with-diffusion","title":"Denoising Monte Carlo Renders with Diffusion Models","arxiv_id":"2404.00491","date":"2024-03-30","proceeding":null,"authors":["Vaibhav Vavilala","Rahul Vasanth","David Forsyth"],"abstract":"Physically-based renderings contain Monte-Carlo noise, with variance that increases as the number of rays per pixel decreases. This noise, while zero-mean for good modern renderers, can have heavy tails (most notably, for scenes containing specular or refractive objects). Learned methods for restoring low fidelity renders are highly developed, because suppressing render noise means one can save compute and use fast renders with few rays per pixel. We demonstrate that a diffusion model can denoise low fidelity renders successfully. Furthermore, our method can be conditioned on a variety of natural render information, and this conditioning helps performance. Quantitative experiments show that our method is competitive with SOTA across a range of sampling rates. Qualitative examination of the reconstructions suggests that the image prior applied by a diffusion method strongly favors reconstructions that are like real images -- so have straight shadow boundaries, curved specularities and no fireflies.","url_abs":"https://arxiv.org/abs/2404.00491v2","url_pdf":"https://arxiv.org/pdf/2404.00491v2.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":"denoising-monte-carlo-renders-with-diffusion","repo_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2404.00491","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.00491"}},"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/vibe007/Denoising_MC_Renders_Diffusion","reach":{"status":"ok"}}],"summary":{"ran":9,"ran_honours":3,"ran_draft_wrong":2,"ran_fixture":2,"unverified":2},"by_repo_kind":{"official":{"samples":18,"ran":16,"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":18,"samples":[{"code_sha256_prefix":"84f1fd9c9aceda46","entry":"L1Loss","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"loss.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"84f1fd9c9aceda46"}},{"code_sha256_prefix":"9deab2a47adbf3b7","entry":"approx_standard_normal_cdf","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/losses.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/losses.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9deab2a47adbf3b7"}},{"code_sha256_prefix":"6cdc8772f5db6f48","entry":"betas_for_alpha_bar","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/gaussian_diffusion.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/gaussian_diffusion.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6cdc8772f5db6f48"}},{"code_sha256_prefix":"4906245dbb75ca40","entry":"compute_start_stop_exposures","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"flip_loss.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/flip_loss.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":"4906245dbb75ca40"}},{"code_sha256_prefix":"33e383624057ecf8","entry":"custom_sampler","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"dn_utils.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/dn_utils.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":"33e383624057ecf8"}},{"code_sha256_prefix":"f702cecaa7981c73","entry":"discretized_gaussian_log_likelihood","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/losses.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/losses.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":"f702cecaa7981c73"}},{"code_sha256_prefix":"f51cf2cbd3e598d8","entry":"gelu","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/nn.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/nn.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f51cf2cbd3e598d8"}},{"code_sha256_prefix":"cd23a508b079e2d4","entry":"gelu_jit","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/nn.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/nn.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cd23a508b079e2d4"}},{"code_sha256_prefix":"141937afc98f8d1e","entry":"get_named_beta_schedule","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/gaussian_diffusion.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/gaussian_diffusion.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"141937afc98f8d1e"}},{"code_sha256_prefix":"f6d7c009a8efb8b7","entry":"mean_flat","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/nn.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/nn.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f6d7c009a8efb8b7"}},{"code_sha256_prefix":"c3bf3f13d5f63d5b","entry":"normal_kl","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/losses.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/losses.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c3bf3f13d5f63d5b"}},{"code_sha256_prefix":"7a45a13cd3df0ee9","entry":"relativeL1Loss","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"loss.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7a45a13cd3df0ee9"}},{"code_sha256_prefix":"8db33b3dd4958545","entry":"relativeL2Loss","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"loss.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8db33b3dd4958545"}},{"code_sha256_prefix":"4e881da877b25beb","entry":"space_timesteps","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"deepfloyd_if/model/respace.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/deepfloyd_if/model/respace.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":"4e881da877b25beb"}},{"code_sha256_prefix":"a845e7a4b7b8b134","entry":"tone_map","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"flip_loss.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/flip_loss.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":"a845e7a4b7b8b134"}},{"code_sha256_prefix":"a67fd7095d7d408f","entry":"un_tm","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"dn_utils.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/dn_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a67fd7095d7d408f"}},{"code_sha256_prefix":"55c5ec52c9f07e1c","entry":"compute_ldrflip","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"flip_loss.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/flip_loss.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":"55c5ec52c9f07e1c"}},{"code_sha256_prefix":"8c7353d3e30171b7","entry":"get_conditioning","repo":"vibe007/Denoising_MC_Renders_Diffusion","repo_kind":"official","path":"dn_utils.py","file_url":"https://github.com/vibe007/Denoising_MC_Renders_Diffusion/blob/HEAD/dn_utils.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":"8c7353d3e30171b7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}