{"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-2509-01486","title":"Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number","arxiv_id":"2509.01486","date":"2025-09-01","proceeding":"NeurIPS","authors":["Jingyuan Zhou","Hao Qian","Shikui Tu","Lei Xu"],"abstract":"Structure-based drug design (SBDD), aiming to generate 3D molecules with high binding affinity toward target proteins, is a vital approach in novel drug discovery. Although recent generative models have shown great potential, they suffer from unstable probability dynamics and mismatch between generated molecule size and the protein pockets geometry, resulting in inconsistent quality and off-target effects. We propose PAFlow, a novel target-aware molecular generation model featuring prior interaction guidance and a learnable atom number predictor. PAFlow adopts the efficient flow matching framework to model the generation process and constructs a new form of conditional flow matching for discrete atom types. A protein-ligand interaction predictor is incorporated to guide the vector field toward higher-affinity regions during generation, while an atom number predictor based on protein pocket information is designed to better align generated molecule size with target geometry. Extensive experiments on the CrossDocked2020 benchmark show that PAFlow achieves a new state-of-the-art in binding affinity (up to -8.31 Avg. Vina Score), simultaneously maintains favorable molecular properties.","url_abs":"https://arxiv.org/abs/2509.01486","url_pdf":"https://arxiv.org/pdf/2509.01486","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":"https://syntology.ai/paper/2509.01486","atlas_url":"https://app.syntology.ai/?focus=2509.01486","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2509.01486"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/CMACH508/PAFlow","reach":{"status":"ok"}}],"summary":{"ran_honours":2,"ran_draft_wrong":3,"ran":1,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":12,"ran":6,"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":"c92a02b48d8fb1c4","entry":"cosine_beta_schedule","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/molopt_score_model.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/molopt_score_model.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c92a02b48d8fb1c4"}},{"code_sha256_prefix":"ca0cea1ca1eeec89","entry":"get_beta_schedule","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/molopt_score_model.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/molopt_score_model.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":"ca0cea1ca1eeec89"}},{"code_sha256_prefix":"cfb922542fc1b6d0","entry":"remove_mean","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/utils.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/utils.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":"cfb922542fc1b6d0"}},{"code_sha256_prefix":"324f8277ebc8ccb8","entry":"remove_mean_with_mask","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/utils.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/utils.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"324f8277ebc8ccb8"}},{"code_sha256_prefix":"076381011e4298d5","entry":"sum_except_batch","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/en_diffusion.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/en_diffusion.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":"076381011e4298d5"}},{"code_sha256_prefix":"2cee3f8f2583fd9d","entry":"sum_except_batch","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/utils.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/utils.py","link_basis":"plan_row","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":"2cee3f8f2583fd9d"}},{"code_sha256_prefix":"413b017b3368ab8d","entry":"compose_context","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/common.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/common.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":"413b017b3368ab8d"}},{"code_sha256_prefix":"20f9e1ac0f841569","entry":"expm1","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/en_diffusion.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/en_diffusion.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":"20f9e1ac0f841569"}},{"code_sha256_prefix":"3c6858db01947fd5","entry":"get_h_dist","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/common.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/common.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":"3c6858db01947fd5"}},{"code_sha256_prefix":"27af771ab4cfc179","entry":"get_r_feat","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/common.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/common.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":"27af771ab4cfc179"}},{"code_sha256_prefix":"e4040c4a1803207f","entry":"softplus","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"models/en_diffusion.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/models/en_diffusion.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":"e4040c4a1803207f"}},{"code_sha256_prefix":"5f7183207256b0a3","entry":"torchify_dict","repo":"CMACH508/PAFlow","repo_kind":"found_in_text","path":"datasets/pl_data.py","file_url":"https://github.com/CMACH508/PAFlow/blob/HEAD/datasets/pl_data.py","link_basis":"plan_row","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":"5f7183207256b0a3"}}]},"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_api"},"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":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":1,"rejected_by_independent_check":1,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}