{"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-2607-20057","title":"Antigen-specific Antibody Multi-modal Foundation Model for Functional Antibody Design","arxiv_id":"2607.20057","date":"2026-07-22","proceeding":null,"authors":["Xiaoliang Shi","Zichen Wang","Runze Ma","Zhongyue Zhang","Shuangjia Zheng"],"abstract":"Antibodies are essential proteins that play a central role in immune recognition by binding specific antigen molecules. Although recent protein language models have enabled progress in single-chain protein modeling and generation, they often fall short in antigen-specific antibody design, where effective modeling requires explicit pairing between antibody and antigen, particularly at the epitope level. To address these limitations, we introduce AAMFM, an Antigen-specific Antibody Multimodal Foundation Model that learns unified representations of antibody sequences and structures conditioned on antigen context. AAMFM incorporates rich antigen information including geometric interfaces and epitope annotations via a cross-modal adapter, enabling joint modeling of antibody-antigen interactions in a shared latent space. To further guide the model toward functional relevance, we fine-tune AAMFM using Calibrated Direct Preference Optimization (Cal-DPO), leveraging preference signals extracted from a strong structural prior to align learning with binding-specific objectives. Extensive experiments demonstrate that AAMFM achieves state-of-the-art performance in functional antibody design, revealing its potential for antigen-specific antibody engineering. Our code is available at https://github.com/XL-S224/AAMFM.","url_abs":"https://arxiv.org/abs/2607.20057","url_pdf":"https://arxiv.org/pdf/2607.20057","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/2607.20057","atlas_url":"https://app.syntology.ai/?focus=2607.20057","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.20057"}},"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/XL-S224/AAMFM","reach":null}],"summary":{"ran":21,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":22,"ran":21,"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":"b496ed302b06c77f","entry":"clean_decoded_sequence","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/generate.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/generate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b496ed302b06c77f"}},{"code_sha256_prefix":"02878829f365fc01","entry":"cosine_schedule","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/training/masking.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/training/masking.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"02878829f365fc01"}},{"code_sha256_prefix":"01f73d603c5ec2e0","entry":"dataclass_isinstance","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/training/config.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/training/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"01f73d603c5ec2e0"}},{"code_sha256_prefix":"26609068c7339452","entry":"get_warmup_stable_cosine_scheduler","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/training/trainer.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/training/trainer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"26609068c7339452"}},{"code_sha256_prefix":"44ba59368543d40e","entry":"kabsch_align","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/evaluate.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"44ba59368543d40e"}},{"code_sha256_prefix":"7acdb57d27ade01f","entry":"kabsch_rmsd","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/evaluate.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7acdb57d27ade01f"}},{"code_sha256_prefix":"9135fcf2d6c65c1d","entry":"load_antigen_features","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/dpo/data_pipeline/preference_dataset.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/dpo/data_pipeline/preference_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9135fcf2d6c65c1d"}},{"code_sha256_prefix":"e7e16a1855273aef","entry":"load_full_finetune_config","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/training/config.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/training/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7e16a1855273aef"}},{"code_sha256_prefix":"532418445e621656","entry":"load_npz_data","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/data_pipeline/npz_dataset.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/data_pipeline/npz_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"532418445e621656"}},{"code_sha256_prefix":"613945253617da09","entry":"load_rabd_entries","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/runtime_data.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/runtime_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"613945253617da09"}},{"code_sha256_prefix":"a53115b3ddb87207","entry":"mask_stru_tokens","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/training/masking.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/training/masking.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a53115b3ddb87207"}},{"code_sha256_prefix":"ac2f32e7c4b80284","entry":"mask_tokens","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/cpt/training/masking.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/cpt/training/masking.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ac2f32e7c4b80284"}},{"code_sha256_prefix":"b45852db6e2f2c3f","entry":"normalize_sample_id","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/runtime_data.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/runtime_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b45852db6e2f2c3f"}},{"code_sha256_prefix":"8b8ec8a7964385f7","entry":"parse_args","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/dpo/training/trainer.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/dpo/training/trainer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8b8ec8a7964385f7"}},{"code_sha256_prefix":"3e6d78805e9d7d5e","entry":"pdb_id_from_sample_id","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/runtime_data.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/runtime_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3e6d78805e9d7d5e"}},{"code_sha256_prefix":"1b02cedb4c6f6823","entry":"resolve_and_validate_paths","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/generate.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/generate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1b02cedb4c6f6823"}},{"code_sha256_prefix":"70cc09c9af8c8edb","entry":"resolve_path","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/generate.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/generate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"70cc09c9af8c8edb"}},{"code_sha256_prefix":"c12eb27776c8e955","entry":"split_antibody","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/compute_pll.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/compute_pll.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c12eb27776c8e955"}},{"code_sha256_prefix":"38cdd3eda0887465","entry":"sum_chain_pll","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/compute_pll.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/compute_pll.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"38cdd3eda0887465"}},{"code_sha256_prefix":"29b7959f0dced6c3","entry":"target_id_from_design_id","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/compute_pll.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/compute_pll.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"29b7959f0dced6c3"}},{"code_sha256_prefix":"6df6fceb027c772e","entry":"to_structure_encoder_inputs","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/eval/evaluate.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/eval/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6df6fceb027c772e"}},{"code_sha256_prefix":"4aa1f8ac0ec9865f","entry":"build_policy_and_ref_models","repo":"XL-S224/AAMFM","repo_kind":"found_in_text","path":"src/dpo/training/trainer.py","file_url":"https://github.com/XL-S224/AAMFM/blob/HEAD/src/dpo/training/trainer.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":"4aa1f8ac0ec9865f"}}]},"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,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":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}}}