{"title":"AcrSeek: metric learning with hybrid negative mining for anti-CRISPR protein detection under extreme class imbalance.","authors":"Chan-Seok Jeong","doi":"10.1093/bioinformatics/btag729","DOIUrl":null,"url":null,"abstract":"<p><strong>Motivation: </strong>Anti-CRISPR (Acr) proteins inhibit CRISPR-Cas immunity and are key targets for precise control of CRISPR-based genome editing and phage-host coevolution research. Their experimental identification is costly and low-throughput, so computational predictors are used to prioritise candidates for testing. In this setting validated positives number in the hundreds while phage-derived putative negatives reach tens of thousands, producing extreme class imbalance. Yet existing classification-based predictors train and evaluate on 1:1 balanced datasets and allow high-similarity sequences between training and test, overestimating real-world performance.</p><p><strong>Results: </strong>We present AcrSeek, a metric-learning framework that trains a projection head over a frozen protein language model (PLM) encoder with hybrid negative mining (offline global plus online semi-hard) under a joint triplet-focal objective. Under nested 5-fold cross-validation with leakage controlled by 40% identity clustering, AcrSeek improved AUPRC on the imbalanced (1:383) test set from 0.017 to 0.355 over AcrNET (matched PLM backbone), reaching 0.508 with ESM-2 3B. AcrSeek therefore remains structurally robust under extreme class imbalance and may also serve other protein-function detection problems with scarce positives.</p><p><strong>Availability and implementation: </strong>Source code at https://github.com/jeongchans/acrseek, archived at Zenodo (DOI: 10.5281/zenodo.21946803); data and model checkpoints at Zenodo (DOI: 10.5281/zenodo.20115442).</p>","PeriodicalId":93899,"journal":{"name":"Bioinformatics (Oxford, England)","volume":" ","pages":""},"PeriodicalIF":5.4000,"publicationDate":"2026-10-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13657427/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Bioinformatics (Oxford, England)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1093/bioinformatics/btag729","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Motivation: Anti-CRISPR (Acr) proteins inhibit CRISPR-Cas immunity and are key targets for precise control of CRISPR-based genome editing and phage-host coevolution research. Their experimental identification is costly and low-throughput, so computational predictors are used to prioritise candidates for testing. In this setting validated positives number in the hundreds while phage-derived putative negatives reach tens of thousands, producing extreme class imbalance. Yet existing classification-based predictors train and evaluate on 1:1 balanced datasets and allow high-similarity sequences between training and test, overestimating real-world performance.
Results: We present AcrSeek, a metric-learning framework that trains a projection head over a frozen protein language model (PLM) encoder with hybrid negative mining (offline global plus online semi-hard) under a joint triplet-focal objective. Under nested 5-fold cross-validation with leakage controlled by 40% identity clustering, AcrSeek improved AUPRC on the imbalanced (1:383) test set from 0.017 to 0.355 over AcrNET (matched PLM backbone), reaching 0.508 with ESM-2 3B. AcrSeek therefore remains structurally robust under extreme class imbalance and may also serve other protein-function detection problems with scarce positives.
Availability and implementation: Source code at https://github.com/jeongchans/acrseek, archived at Zenodo (DOI: 10.5281/zenodo.21946803); data and model checkpoints at Zenodo (DOI: 10.5281/zenodo.20115442).