Scoring specific protein functions reverses which prediction method performs better
- Numbers reproduced
- Yes
- Original conclusion
- Holds
The specified Table 2 propagated-label comparison reproduces to reported precision; the method ordering reverses on a different, ontology-specific endpoint, including a post-hoc neutral-ancestor sensitivity, without showing an error in the original endpoint.
In plain English
A published tool's advantage in predicting protein functions depended on how detailed an answer counted as correct. It beat sequence matching when broad functions earned credit, but sequence matching did better on the most-specific recorded functions, even when known broad answers were ignored rather than penalized. The published scores reproduce; choosing a tool to guide experiments also requires checking the detail it can predict.
Scientists use protein-function predictions to choose what to test in the laboratory. A prediction of a broad process, such as amino-acid transport, can be correct without identifying the particular amino acid transported. A method that scores well on broad functions may therefore be less useful when the question requires a specific answer.
We rechecked a published comparison between DeepGOPlus, which combines a neural network with transfer of functions from similar protein sequences, and DiamondScore, which uses sequence-based transfer alone [1]. On the same 2,392 proteins, the published evaluation favored DeepGOPlus. Restricting the evaluation to the most-specific recorded functions reversed the ordering. When predictions of known broad functions were also ignored rather than penalized, DeepGOPlus scored 0.1505 and DiamondScore 0.1923. These are Fmax scores, which summarize the balance between recovering recorded functions and avoiding predictions outside that set; higher is better. The published advantage reproduces, but its implication for predicting specific functions depends on the level of detail being scored.
Background
The Gene Ontology (GO) is a structured vocabulary for describing gene and protein functions. Its biological-process terms describe processes in which a protein participates. An annotation links a protein to a term. The ontology connects specific terms to broader ones, called ancestors: an annotation to a specific function also supports its ancestors. Evaluations commonly add these broader terms to the recorded annotations, a procedure called propagation, before scoring predictions. The Critical Assessment of Functional Annotation (CAFA) established time-delayed benchmarks that assess predictions against annotations acquired later [2].
DeepGOPlus combines a convolutional neural network (CNN), which learns patterns in protein sequences, with homology transfer, which assigns functions from sequence-similar proteins called donors. DiamondScore uses the homology component alone. We rechecked their biological-process comparison in Table 2 of Kulmanov and Hoehndorf [1], using the original proteins and unchanged prediction scores. The question was whether the published advantage survives when only the most-specific available ontology labels receive credit.
Results
The published comparison reproduces
The authors' archived data reproduced the reported Fmax values of 0.469 for DeepGOPlus and 0.427 for DiamondScore. Precision measures the fraction of predicted functions that are recorded as positives; recall measures the fraction of recorded positives recovered. Fmax is the largest harmonic mean of average precision and average recall across prediction-score thresholds.
The reproduced scores were 0.4692 and 0.4265, a difference of 0.0426 (95% interval 0.0361–0.0488; Table 1). The evaluation included 2,392 proteins and 72,291 positive protein–term pairs after propagation. The original scoring function and our reconstruction agreed at every threshold to within numerical precision. The comparison is from the article's Table 2; its Figure 2 reports a distinct evaluation using the official CAFA tool.
Table 1. Method ordering changes with functional detail. All rows use the same 2,392 proteins and unchanged scores. “Most-specific” retains observed terms with no strictly more-specific observed term in the original ontology's network of relationships. The second row leaves removed broad positives among the terms that can be predicted, so predicting them counts against precision. The third row also removes these known broad positives from each protein's predictions, making them neutral. Intervals use 2,000 paired protein-bootstrap draws: proteins are sampled with replacement, the same sample is used for both methods, and each method's best threshold is reselected within every draw.
| Scoring endpoint | Positive pairs | DeepGOPlus Fmax | DiamondScore Fmax | DeepGOPlus − DiamondScore [95% interval] |
|---|---|---|---|---|
| Published propagated labels | 72,291 | 0.4692 | 0.4265 | 0.0426 [0.0361, 0.0488] |
| Most-specific labels; original candidates | 3,727 | 0.0266 | 0.0357 | −0.0091 [−0.0152, −0.0068] |
| Most-specific labels; known broad positives neutral (post-hoc) | 3,727 | 0.1505 | 0.1923 | −0.0419 [−0.0502, −0.0350] |
Rare terms remain available through homology
A predictor's vocabulary determines which functions it can name. The CNN predicts 3,991 non-root biological-process terms, corresponding to the paper's 3,992 classes when the root is included. The root is the general term at the top of this branch of the ontology. A minimum-frequency rule restricts the CNN's output vocabulary, but the combined predictor also accepts terms supplied by homology donors. The evaluator retains recorded functions outside the CNN vocabulary.
Of the 3,727 most-specific positive pairs, 1,390 were outside the CNN vocabulary. Homology supplied positive scores for 332 of those pairs. These functions therefore remained available as predictions despite their absence from the neural network's output layer.
A separate human-protein benchmark illustrates why this distinction matters. Homology improved rankings of annotations acquired later, but only 21 of 45 audited, directly assigned functions were eligible prediction candidates under that benchmark's frequency restriction. Expanding its vocabulary placed a reaction label for the human gene RPUSD2 fourth in the ranking, using unchanged historical donor evidence. That exclusion arose from the benchmark's chosen vocabulary. The published DeepGOPlus evaluator allows rare homology-supported terms, so the same exclusion mechanism does not explain its result.
The reversal survives neutral treatment of broad functions
Restricting positives to the most-specific observed labels reduced the positive set from 72,291 propagated pairs to 3,727 pairs, while retaining all proteins, scores and candidate terms. DeepGOPlus then scored 0.0266 and DiamondScore 0.0357. Removing a broad term from the positive set also makes its prediction count against precision, even when that term is known to be true.
A post-hoc sensitivity analysis removed each protein's known broad positive terms from both methods' prediction sets. This made those predictions neutral while leaving every other score and candidate unchanged. DiamondScore still performed better, with a DeepGOPlus-minus-DiamondScore difference of −0.0419 (protein-bootstrap 95% interval −0.0502 to −0.0350). The interval favors homology alone throughout. Penalizing known broad truths alone does not explain the reversal.
The original combined scores recover propagated annotations better, whereas homology alone performs better on the most-specific observed labels under both treatments of broad positives.
Methods
Comparison and archived inputs
The Table 2 biological-process comparison and the most-specific-label analysis were specified before extracting predictions or computing performance. The target values were DeepGOPlus 0.469 and DiamondScore 0.427. This specification was a pre-analysis record within the study, without independent timestamped preregistration. The analysis making broad positives neutral was specified after observing the first analysis's reversal.
We downloaded the authors' CAFA archive and used its 66,841 training proteins, 3,328 test proteins, CNN predictions, term ordering, DIAMOND scores and ontology. DIAMOND is the sequence-comparison software used to find homology donors. Restricting evaluation to proteins with recorded biological-process annotations gave the original 2,392-protein cohort. The original dataset builder stores already-propagated annotations. We therefore used the most-specific terms remaining in those annotations as the measure of functional detail.
We used evaluation code from the July 30, 2019 repository revision. The December 2019 revision has different annotation-column names and mixing weights. The July implementation matches the paper's explicit biological-process homology weight of 0.59. No weight was fitted to the test outcomes. The supplied ontology header identifies the January 16, 2016 release, while the article describes June 1, 2016. We retained the supplied ontology.
Predictions and scoring
DiamondScore assigns each term the fraction of total donor bit score contributed by donors carrying that annotation. A bit score measures the strength of a sequence match. We retained the original normalization using 32-bit floating-point arithmetic. DeepGOPlus combines these scores with archived CNN outputs, weighting homology by 0.59 and the CNN by 0.41 for biological-process terms. The original weights for other branches of the ontology were retained before propagation. Both methods propagate predictions using the original ontology-reading software's relation rules, including all relation types accepted by that implementation. We removed the biological-process root as in the original evaluator.
Thresholds ranged from 0.00 to 1.00 in increments of 0.01. At each threshold, precision was averaged over annotated proteins receiving predictions, and recall over all annotated proteins. Fmax maximized their harmonic mean. Assigning each ancestor the maximum score among terms propagated to it gives the same thresholded sets as the original implementation's propagation of predicted terms.
For the most-specific-label analysis, we removed a positive term if another observed positive could reach it through the original network of ontology relationships without a path back in the opposite direction. Terms connected by paths in both directions were retained together, avoiding an empty positive set caused by cycles in those relationships; four proteins retained such groups. No protein was excluded. The sensitivity analysis additionally removed each protein's discarded broad positives from its prediction sets. All remaining candidate terms and scores were unchanged.
We used 2,000 paired protein-bootstrap draws with a fixed seed, reselecting the Fmax threshold for each method in each draw. Intervals are percentile intervals for the difference. All six threshold curves were checked against the unchanged original scoring function, with maximum absolute discrepancies below 1.1 × 10⁻¹⁵. Input hashes, which identify the exact files used, the full threshold curves and per-protein label counts accompany the analysis. The separate human-protein benchmark used unchanged prediction scores and outcomes, with complete methods and an audit of the supporting experiments.
Discussion
DeepGOPlus's published advantage depends on the level of functional detail rewarded by the evaluation. The original numerical comparison is correct to its reported precision. With the same proteins and scores, the ordering reverses when the outcome is recovery of the most-specific observed GO labels. Performance on broad annotations therefore gives incomplete guidance about which of these fixed predictors to use for a more specific task.
The vocabulary check and the functional-detail check answer different questions. DeepGOPlus can express rare homology-supported terms. The reversal arises after changing which observed labels receive credit. Reporting performance on the most-specific labels alongside propagated performance would expose that distinction while retaining the established benchmark.
Most-specific GO labels are a proxy for functional detail; the archive does not identify original experimental assertions, substrate selectivity or discovery dates. Unlabelled functions are not verified biological negatives, and the lower absolute scores on different tasks do not measure a fraction of biologically false predictions. The analysis making broad positives neutral was post-hoc and used outcome information solely for evaluation. Protein resampling does not account for shared families or publications. We used supplied predictions rather than retraining, and numerical agreement with Table 2 does not resolve the ontology-version discrepancy. The combined scores were optimized for the original task; performance after retuning for specific labels remains unknown.
References
- Kulmanov M, Hoehndorf R (2020). DeepGOPlus: improved protein function prediction from sequence. Bioinformatics 36:422–429. doi:10.1093/bioinformatics/btz595. Original evaluation code and data links.
- Radivojac P et al. (2013). A large-scale evaluation of computational protein function prediction. Nature Methods 10:221–227. doi:10.1038/nmeth.2340.