{"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/pcagan-improving-posterior-sampling-cgans-via","title":"pcaGAN: Improving Posterior-Sampling cGANs via Principal Component Regularization","arxiv_id":"2411.00605","date":"2024-11-01","proceeding":null,"authors":["Matthew C. Bendel","Rizwan Ahmad","Philip Schniter"],"abstract":"In ill-posed imaging inverse problems, there can exist many hypotheses that fit both the observed measurements and prior knowledge of the true image. Rather than returning just one hypothesis of that image, posterior samplers aim to explore the full solution space by generating many probable hypotheses, which can later be used to quantify uncertainty or construct recoveries that appropriately navigate the perception/distortion trade-off. In this work, we propose a fast and accurate posterior-sampling conditional generative adversarial network (cGAN) that, through a novel form of regularization, aims for correctness in the posterior mean as well as the trace and K principal components of the posterior covariance matrix. Numerical experiments demonstrate that our method outperforms contemporary cGANs and diffusion models in imaging inverse problems like denoising, large-scale inpainting, and accelerated MRI recovery. The code for our model can be found here: https://github.com/matt-bendel/pcaGAN.","url_abs":"https://arxiv.org/abs/2411.00605v1","url_pdf":"https://arxiv.org/pdf/2411.00605v1.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":"pcagan-improving-posterior-sampling-cgans-via","repo_url":"https://github.com/matt-bendel/pcagan","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":null,"task_name":"Generative Adversarial Network"},{"task_slug":"navigate","task_name":"Navigate"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.00605","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.00605"}},"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/matt-bendel/pcaGAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/matt-bendel/pcagan","reach":{"status":"ok"}}],"summary":{"unverified":13},"by_repo_kind":{"official":{"samples":13,"ran":0,"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":13,"samples":[{"code_sha256_prefix":"385e0a4ae00863da","entry":"complex_abs","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/math.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/math.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":"385e0a4ae00863da"}},{"code_sha256_prefix":"e5788b10a7f0b402","entry":"complex_conj","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/math.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/math.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":"e5788b10a7f0b402"}},{"code_sha256_prefix":"f760d2d48a634ebd","entry":"complex_mul","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/math.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/math.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":"f760d2d48a634ebd"}},{"code_sha256_prefix":"f8864a96468b5893","entry":"fft2c_new","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/fftc.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/fftc.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":"f8864a96468b5893"}},{"code_sha256_prefix":"34c6d2710bebb027","entry":"ifft2c_new","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/fftc.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/fftc.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":"34c6d2710bebb027"}},{"code_sha256_prefix":"70382aaffa12c6ae","entry":"mse","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"evaluation_scripts/metrics.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/evaluation_scripts/metrics.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":"70382aaffa12c6ae"}},{"code_sha256_prefix":"5718f716f3ed5309","entry":"mse","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/evaluate.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/evaluate.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":"5718f716f3ed5309"}},{"code_sha256_prefix":"447cd6130df407d3","entry":"nmse","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/evaluate.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/evaluate.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":"447cd6130df407d3"}},{"code_sha256_prefix":"30d9fd180c8844c0","entry":"psnr","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"evaluation_scripts/metrics.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/evaluation_scripts/metrics.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":"30d9fd180c8844c0"}},{"code_sha256_prefix":"a5aea34fda95c21b","entry":"psnr","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/evaluate.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/evaluate.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":"a5aea34fda95c21b"}},{"code_sha256_prefix":"63a98f4ee4218979","entry":"roll_one_dim","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/fftc.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/fftc.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":"63a98f4ee4218979"}},{"code_sha256_prefix":"a6fd5ed2509fce4e","entry":"rss","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"fastmri/coil_combine.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/fastmri/coil_combine.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":"a6fd5ed2509fce4e"}},{"code_sha256_prefix":"1ff24051c9198f07","entry":"snr","repo":"matt-bendel/pcaGAN","repo_kind":"official","path":"evaluation_scripts/metrics.py","file_url":"https://github.com/matt-bendel/pcaGAN/blob/HEAD/evaluation_scripts/metrics.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":"1ff24051c9198f07"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}