{"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-21600","title":"ConTact: Contact-First Antibody CDR Design via Explicit Interface Reasoning","arxiv_id":"2605.21600","date":"2026-05-20","proceeding":null,"authors":["Mansoor Ahmed","Spencer VonBank","Nadeem Taj","Sujin Lee","Naila Jan","Murray Patterson"],"abstract":"Computational antibody CDR design methods condition on antigen structure to generate binding loops. Yet, the existing architectures conflate two fundamentally distinct sub-problems: identifying which CDR positions will contact the antigen, and selecting amino acids at those positions. This forces models to learn contact reasoning implicitly through uniform message passing, diluting antigen signal across all positions equally. We introduce ConTact, a contact-then-act architecture that explicitly decomposes CDR design into three cascaded stages: learning surface complementarity fingerprints, predicting CDR-antigen contacts, and injecting contact-gated antigen features into the prediction head. A distance-biased cross-attention module encodes geometric priors favoring spatial neighbors, a contact-weighted cross-entropy loss concentrates gradient signal on binding-critical positions, and a standoff-aware contact-recovery loss places the designed loop against its native epitope. On the ChiMERa-Bench dataset, ConTact surpasses the baselines on the binding interface and structural metrics (backbone RMSD, fraction of native contacts, interface RMSD, DockQ, and epitope F1) on all three splits, improving native-contact recovery by 11 to 16%, while matching the best sequence recovery. The source code is available at: https://github.com/mansoor181/ConTact.git","url_abs":"https://arxiv.org/abs/2605.21600","url_pdf":"https://arxiv.org/pdf/2605.21600","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=2605.21600","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.21600"}},"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/mansoor181/ConTact","reach":null}],"summary":{"ran":12,"ran_draft_wrong":2,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":16,"ran":14,"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":16,"samples":[{"code_sha256_prefix":"8d03cdec29c5400b","entry":"build_model_args","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"trainer.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/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":"8d03cdec29c5400b"}},{"code_sha256_prefix":"4696f63f9cd46a25","entry":"compute_edge_features","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/features.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/features.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":"4696f63f9cd46a25"}},{"code_sha256_prefix":"1bd80886a605ff7c","entry":"contact_weighted_ce","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"model/core.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/model/core.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":"1bd80886a605ff7c"}},{"code_sha256_prefix":"0a21c116ead8bd7c","entry":"extract_aux_targets","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/sparse_features.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/sparse_features.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":"0a21c116ead8bd7c"}},{"code_sha256_prefix":"e39458945226583a","entry":"get_feature_indices","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/features_v2.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/features_v2.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":"e39458945226583a"}},{"code_sha256_prefix":"b34ec54af3e6fffc","entry":"get_prio","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/utils.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":"b34ec54af3e6fffc"}},{"code_sha256_prefix":"6f7749a8061f36c1","entry":"interface_aware_normalize","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/sparse_features.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/sparse_features.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":"6f7749a8061f36c1"}},{"code_sha256_prefix":"d34f702a2e055810","entry":"mask_cdr_features","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/features.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/features.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":"d34f702a2e055810"}},{"code_sha256_prefix":"d2922f01fb8b043b","entry":"rbf_encoding","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/features.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/features.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":"d2922f01fb8b043b"}},{"code_sha256_prefix":"c45613350eabe47d","entry":"split_dense_sparse","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/sparse_features.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/sparse_features.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":"c45613350eabe47d"}},{"code_sha256_prefix":"3555e81e24f8737c","entry":"split_features_by_group","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/features_v2.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/features_v2.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":"3555e81e24f8737c"}},{"code_sha256_prefix":"4a152e58abf0c317","entry":"unsorted_segment_mean","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"model/modules.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/model/modules.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":"4a152e58abf0c317"}},{"code_sha256_prefix":"7a39c2530c1f1d13","entry":"unsorted_segment_sum","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"model/modules.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/model/modules.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":"7a39c2530c1f1d13"}},{"code_sha256_prefix":"4bc134986fb637f3","entry":"valid_check","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/utils.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":"4bc134986fb637f3"}},{"code_sha256_prefix":"da995abbf5622788","entry":"coord2radial","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"model/modules.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/model/modules.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":"da995abbf5622788"}},{"code_sha256_prefix":"f7acbfa7d550904b","entry":"mask_cdr_structure_features","repo":"mansoor181/ConTact","repo_kind":"found_in_text","path":"shared/features_v2.py","file_url":"https://github.com/mansoor181/ConTact/blob/HEAD/shared/features_v2.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":"f7acbfa7d550904b"}}]},"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,264 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":6264},"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}}}