{"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/arxiv-2605-11884","title":"Sobolev Regularized MMD Gradient Flow","arxiv_id":"2605.11884","date":"2026-05-12","proceeding":null,"authors":["Chenyang Tian","Bharath K. Sriperumbudur","Arthur Gretton","Zonghao Chen"],"abstract":"We propose Sobolev-regularized Maximum Mean Discrepancy (SrMMD) gradient flow, a regularized variant of maximum mean discrepancy (MMD) gradient flow based on a gradient penalty on the witness function. The proposed regularization mitigates the non-convexity of the MMD objective and yields provable \\emph{global} convergence guarantees in MMD in both continuous and discrete time. A more surprising appeal is that our convergence analysis does not rely on isoperimetric assumptions on the target distribution. Instead, it is based on a regularity condition on the difference between kernel mean embeddings. A key highlight of the proposed flow is that it is applicable in both sampling (from an unnormalized target distribution) -- using Stein kernels -- and generative modeling settings, unlike previous works, where a gradient flow is suitable for only generative modeling or sampling but not both. The effectiveness of the proposed flow is empirically verified on a broad range of tasks in both generative modelling and sampling.","url_abs":"https://arxiv.org/abs/2605.11884","url_pdf":"https://arxiv.org/pdf/2605.11884","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2605.11884","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.11884"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/FerdTian/SrMMD","reach":null}],"summary":{"ran":9,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":15,"ran":9,"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":15,"samples":[{"code_sha256_prefix":"e33acb41b3863b52","entry":"compute_grad","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/student_teacher/losses.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/student_teacher/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":"e33acb41b3863b52"}},{"code_sha256_prefix":"77feacba83ab56ed","entry":"compute_wasserstein_distance_numpy","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/kwgflows/utils.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/kwgflows/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":"77feacba83ab56ed"}},{"code_sha256_prefix":"421d729ce8213ae4","entry":"generate_gaussian2d","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/kwgflows/generate_data.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/kwgflows/generate_data.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":"421d729ce8213ae4"}},{"code_sha256_prefix":"d02ffd6f6f0458af","entry":"get_dtype","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/student_teacher/trainer.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/student_teacher/trainer.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":"d02ffd6f6f0458af"}},{"code_sha256_prefix":"66557334e4c4d9f6","entry":"ksd_distance_empirical_vs_target","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/sampling/evaluate.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/sampling/evaluate.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":"66557334e4c4d9f6"}},{"code_sha256_prefix":"20d5c162cfbe1632","entry":"load_coco_pair","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/color_transfer_new.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/color_transfer_new.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":"20d5c162cfbe1632"}},{"code_sha256_prefix":"06a7196ec13ff284","entry":"mmd_distance_empirical_vs_target","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/sampling/evaluate.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/sampling/evaluate.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":"06a7196ec13ff284"}},{"code_sha256_prefix":"d424847041462208","entry":"pil_to_rgb01","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/color_transfer_new.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/color_transfer_new.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":"d424847041462208"}},{"code_sha256_prefix":"5f0acd8b6dacba5c","entry":"wass2_distance_empirical_vs_target_fixedX","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/sampling/evaluate.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/sampling/evaluate.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":"5f0acd8b6dacba5c"}},{"code_sha256_prefix":"27f55ec6bd93e8d5","entry":"ensure_coco_images","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/color_transfer_new.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/color_transfer_new.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":"27f55ec6bd93e8d5"}},{"code_sha256_prefix":"11e30489ac2c7110","entry":"evaluate","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/kwgflows/utils.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/kwgflows/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":"11e30489ac2c7110"}},{"code_sha256_prefix":"30464f38a00234f1","entry":"get_data_gen","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/student_teacher/trainer.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/student_teacher/trainer.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":"30464f38a00234f1"}},{"code_sha256_prefix":"5f250cec6f2ad6f3","entry":"get_net","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/student_teacher/trainer.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/student_teacher/trainer.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":"5f250cec6f2ad6f3"}},{"code_sha256_prefix":"4051e68b155025bf","entry":"load_blr_dataset","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/sampling/blr/datasets.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/sampling/blr/datasets.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":"4051e68b155025bf"}},{"code_sha256_prefix":"dc9e9552fd73116a","entry":"save_animation_2d","repo":"FerdTian/SrMMD","repo_kind":"found_in_text","path":"src/generative/kwgflows/utils.py","file_url":"https://github.com/FerdTian/SrMMD/blob/HEAD/src/generative/kwgflows/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":"dc9e9552fd73116a"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6795},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}