{"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/wasserstein-gradient-flows-for-moreau","title":"Wasserstein Gradient Flows for Moreau Envelopes of f-Divergences in Reproducing Kernel Hilbert Spaces","arxiv_id":"2402.04613","date":"2024-02-07","proceeding":null,"authors":["Viktor Stein","Sebastian Neumayer","Nicolaj Rux","Gabriele Steidl"],"abstract":"Commonly used $f$-divergences of measures, e.g., the Kullback-Leibler divergence, are subject to limitations regarding the support of the involved measures. A remedy is regularizing the $f$-divergence by a squared maximum mean discrepancy (MMD) associated with a characteristic kernel $K$. We use the kernel mean embedding to show that this regularization can be rewritten as the Moreau envelope of some function on the associated reproducing kernel Hilbert space. Then, we exploit well-known results on Moreau envelopes in Hilbert spaces to analyze the MMD-regularized $f$-divergences, particularly their gradients. Subsequently, we use our findings to analyze Wasserstein gradient flows of MMD-regularized $f$-divergences. We provide proof-of-the-concept numerical examples for flows starting from empirical measures. Here, we cover $f$-divergences with infinite and finite recession constants. Lastly, we extend our results to the tight variational formulation of $f$-divergences and numerically compare the resulting flows.","url_abs":"https://arxiv.org/abs/2402.04613v4","url_pdf":"https://arxiv.org/pdf/2402.04613v4.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":"wasserstein-gradient-flows-for-moreau","repo_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.04613","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.04613"}},"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/viktorajstein/regularized_f_divergence_particle_flows","reach":{"status":"ok"}}],"summary":{"ran":10,"unverified":2},"by_repo_kind":{"official":{"samples":12,"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":12,"samples":[{"code_sha256_prefix":"3c81f77e59349e06","entry":"armijo_search","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"backtracking.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/backtracking.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":"3c81f77e59349e06"}},{"code_sha256_prefix":"9377a4a950459e75","entry":"gauss","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"kernels.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/kernels.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":"9377a4a950459e75"}},{"code_sha256_prefix":"4792fe374b32016c","entry":"gauss_der","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"kernels.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/kernels.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":"4792fe374b32016c"}},{"code_sha256_prefix":"6d4dd64951437bd4","entry":"generate_four_wells","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"data_generation.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/data_generation.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":"6d4dd64951437bd4"}},{"code_sha256_prefix":"853e9476ae86b2b3","entry":"generate_low_dim_gaussian","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"data_generation.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/data_generation.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":"853e9476ae86b2b3"}},{"code_sha256_prefix":"34fc74b2bd72c458","entry":"get_timestamp","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"adds.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/adds.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":"34fc74b2bd72c458"}},{"code_sha256_prefix":"ef55b63c2506b31d","entry":"imq","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"kernels.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/kernels.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":"ef55b63c2506b31d"}},{"code_sha256_prefix":"42944c47021d074a","entry":"minimize_strictly_convex_adaptive_vectorized","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"entropies_torchonly.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/entropies_torchonly.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":"42944c47021d074a"}},{"code_sha256_prefix":"d2600888b6853948","entry":"reLU","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"entropies_torchonly.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/entropies_torchonly.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":"d2600888b6853948"}},{"code_sha256_prefix":"6daa94599892da56","entry":"two_way_backtracking_line_search","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"backtracking.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/backtracking.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":"6daa94599892da56"}},{"code_sha256_prefix":"bba4143b1cba3db0","entry":"generate_prior_target","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"data_generation.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/data_generation.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":"bba4143b1cba3db0"}},{"code_sha256_prefix":"1b2f46820a3542e1","entry":"prox_finder","repo":"viktorajstein/regularized_f_divergence_particle_flows","repo_kind":"official","path":"entropies_torchonly.py","file_url":"https://github.com/viktorajstein/regularized_f_divergence_particle_flows/blob/HEAD/entropies_torchonly.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":"1b2f46820a3542e1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}