bioRxiv · 10.64898/2026.11.18.767483
Quantifying Homology and Length Bias in Antimicrobial Peptide Prediction
Abstract
Bacteria are becoming resistant to existing antibiotics faster than new ones are found. Antimicrobial peptides are a promising alternative, but laboratory testing is slow and costly. Candidates are therefore ranked first by a classifier, and published classifiers report near-perfect accuracy. Two controls are missing from the benchmarks behind those numbers. Training and test peptides are not separated by sequence homology. The negative class is not matched to the positive class by length. We propose a controlled evaluation protocol that imposes both, plus a sample-size control that separates matching from the data it removes. We apply it to a four-model ensemble of our own and ten baselines on a benchmark of 16,168 sequences, holding the models fixed. A classifier given nothing but peptide length separates the benchmark far above chance. Homology control costs 0.067 MCC and length matching a further 0.115, taking the reported score from 0.834 to 0.661. Over ten redrawn partitions the length term holds while the homology term shrinks, so length is the effect that survives. The protocol also reorders the methods, and a frozen ESM-2 embedding overtakes the ensemble. Three published benchmarks show the same pattern. We recommend a minimum reporting standard that makes such losses visible.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Paul, B. K., Dip, S. A., Shehu, A., Moni, M. A., Zhang, L.. 2026-11-18. Quantifying Homology and Length Bias in Antimicrobial Peptide Prediction. https://doi.org/10.64898/2026.11.18.767483. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.18.767483/quantifying-homology-and-length-bias-in-antimicrobial-peptide-prediction
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.