{"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-2603-15925","title":"Generative Inverse Design with Abstention via Diagonal Flow Matching","arxiv_id":"2603.15925","date":"2026-03-16","proceeding":"ICML","authors":["Miguel de Campos","Werner Krebs","Hanno Gottschalk"],"abstract":"Inverse design aims to find design parameters $x$ achieving target performance $y^*$. Generative approaches learn bidirectional mappings between designs and labels, enabling diverse solution sampling. However, standard conditional flow matching (CFM), when adapted to inverse problems by pairing labels with design parameters, exhibits strong sensitivity to their arbitrary ordering and scaling, leading to unstable training. We introduce Diagonal Flow Matching (Diag--CFM), which resolves this through a zero-anchoring strategy that pairs design coordinates with noise and labels with zero, making the learning problem provably invariant to coordinate permutations. This yields substantially lower round-trip error than CFM and invertible neural network baselines across design dimensions up to $P{=}784$, including order-of-magnitude gains on several benchmarks. We develop two architecture-intrinsic uncertainty metrics, Zero-Deviation and Self-Consistency, that enable three practical capabilities: selecting the best candidate among multiple generations, abstaining from unreliable predictions, and detecting out-of-distribution targets; consistently outperforming ensemble and general-purpose alternatives across all tasks. We validate on airfoil, gas turbine combustor, scalable analytical benchmarks, a photonics inverse-design task, and an image-statistics benchmark.","url_abs":"https://arxiv.org/abs/2603.15925","url_pdf":"https://arxiv.org/pdf/2603.15925","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":{"atlas_url":"https://app.syntology.ai/?focus=2603.15925","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2603.15925"}},"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/migueldecampos/diagcfm","reach":null}],"summary":{"unverified":15},"by_repo_kind":{"found_in_text":{"samples":15,"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":0,"samples":[{"code_sha256_prefix":"14579f6fd357c576","entry":"augment_design","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"diagcfm_core.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/diagcfm_core.py","link_basis":"first_harvest_node","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":"14579f6fd357c576"}},{"code_sha256_prefix":"a950a96fae09d6ba","entry":"augment_labels","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"diagcfm_core.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/diagcfm_core.py","link_basis":"first_harvest_node","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":"a950a96fae09d6ba"}},{"code_sha256_prefix":"291cbf5097332827","entry":"binary_auroc","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"benchmarking.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/benchmarking.py","link_basis":"first_harvest_node","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":"291cbf5097332827"}},{"code_sha256_prefix":"9256d0d79fd9454f","entry":"checkpoint_args","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"training.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/training.py","link_basis":"first_harvest_node","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":"9256d0d79fd9454f"}},{"code_sha256_prefix":"f2e2a80f71a66a5a","entry":"compute_image_stats","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"fashionmnist_stats.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/fashionmnist_stats.py","link_basis":"first_harvest_node","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":"f2e2a80f71a66a5a"}},{"code_sha256_prefix":"225843d203c0fe70","entry":"dtlz2_forward","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"dtlz2.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/dtlz2.py","link_basis":"first_harvest_node","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":"225843d203c0fe70"}},{"code_sha256_prefix":"b72d6e7bd83989ed","entry":"fashionmnist_forward","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"fashionmnist_stats.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/fashionmnist_stats.py","link_basis":"first_harvest_node","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":"b72d6e7bd83989ed"}},{"code_sha256_prefix":"900aec308656ff63","entry":"get_device","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"diagcfm_core.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/diagcfm_core.py","link_basis":"first_harvest_node","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":"900aec308656ff63"}},{"code_sha256_prefix":"9fb31a9c2bbcfdeb","entry":"label_mse","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"benchmarking.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/benchmarking.py","link_basis":"first_harvest_node","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":"9fb31a9c2bbcfdeb"}},{"code_sha256_prefix":"2f0487e7da16f7f3","entry":"layer_indices","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"thin_film.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/thin_film.py","link_basis":"first_harvest_node","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":"2f0487e7da16f7f3"}},{"code_sha256_prefix":"90269d97711437e6","entry":"make_dtlz2_loaders","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"dtlz2.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/dtlz2.py","link_basis":"first_harvest_node","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":"90269d97711437e6"}},{"code_sha256_prefix":"3e51f30ab97f29eb","entry":"make_fashionmnist_loaders","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"fashionmnist_stats.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/fashionmnist_stats.py","link_basis":"first_harvest_node","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":"3e51f30ab97f29eb"}},{"code_sha256_prefix":"0af183f4648157dc","entry":"sample_dtlz2_stratified","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"dtlz2.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/dtlz2.py","link_basis":"first_harvest_node","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":"0af183f4648157dc"}},{"code_sha256_prefix":"dec14035f4e6da15","entry":"tmm_reflectance","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"thin_film.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/thin_film.py","link_basis":"first_harvest_node","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":"dec14035f4e6da15"}},{"code_sha256_prefix":"23bf56b8e6a93b53","entry":"wavelengths","repo":"migueldecampos/diagcfm","repo_kind":"found_in_text","path":"thin_film.py","file_url":"https://github.com/migueldecampos/diagcfm/blob/HEAD/thin_film.py","link_basis":"first_harvest_node","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":"23bf56b8e6a93b53"}}]},"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":null}