Manuscript Offprint

arXiv:2609.07897

The Accuracy Paradox: Empirical Diagnostic of Default Decision Thresholds in Multi-Label Enzyme Commission Prediction [With Code]

Bilal Ahmad, Rajed Mehmood

Abstract

Automated prediction of Enzyme Commission (EC) numbers plays a central role in functional annotation and computational drug discovery. However, standard multi-label machine learning pipelines frequently rely on default decision thresholds ( τ=0.50\tau = 0.50), assuming balanced prior distributions across target heads. In this study, we present a systematic empirical diagnostic of uncalibrated fixed decision boundaries operating under severe class imbalance across N = 14,096 annotated compounds categorized into six primary EC classes (EC1–EC6). Our results highlight a pronounced Accuracy Paradox: while the multi-label system achieves a deceivingly high mean accuracy of 77.16%, the macro F1-score (0.3976) and macro recall (0.3872) reveal severe predictive breakdown. Majority target classes suffer from hyper-sensitivity and over-prediction, whereas minority classes exhibit sharp recall decay, culminating in a total decision boundary collapse for EC6 (Recall = 0.00%) despite underlying discriminative power (ROC-AUC = 0.5857). Feature correlation analysis further reveals high linear redundancy among topological indices relative to fingerprint density metrics. Ultimately, this diagnostic study demonstrates that standard point predictions mask critical errors in bioinformatics workflows. We establish target-specific threshold optimization and post-hoc conformal calibration as essential, open-source post-processing safeguards for reliable applied machine learning and deep learning architectures.

Keywords: Enzyme Commission number prediction, multi-label classification, class imbalance, threshold optimization, conformal calibration, accuracy paradox, predictive breakdown, decision boundary collapse, functional annotation, computational drug discovery, applied machine learning, deep learning evaluation, bioinformatics workflows, post-hoc calibration, topological indices, molecular fingerprints, imbalanced bio-data, model diagnostic, performance metrics, open-source pipeline.

1. Introduction

Enzyme Commission (EC) numbers serve as a standardized numerical classification system for biological catalysts, categorizing catalytic activities into six primary functional classes: Oxidoreductases (EC1), Transferases (EC2), Hydrolases (EC3), Lyases (EC4), Isomerases (EC5), and Ligases (EC6) [1]. Accurate computational annotation of these functional roles plays a pivotal role in modern drug discovery, metabolic network reconstruction, and industrial biotechnology [2]. In particular, virtual screening pipelines and molecular docking frameworks routinely depend on precise functional assignments to narrow down compound libraries and simulate binding affinities [3]. High-throughput computational biology strategies; ranging from multi-swarm particle swarm optimization for ligand-receptor binding [3] to deep learning architectures across biomedical domain tasks [4]–[7] have progressively shifted bio-annotation toward fully automated machine learning pipelines.

As high-throughput sequencing and chemical library synthesis expand exponentially, automated machine learning (ML) architectures-ranging from topological descriptor pipelines to deep molecular representations; have emerged as the primary mechanism for computational enzyme prediction [8], [9]. Modern artificial intelligence frameworks across parallel computer vision and bioinformatics tasks have increasingly leveraged advanced feature extraction and attention mechanisms to resolve complex data representations. For instance, attention-guided networks and multi-head attention (MHA) modules have proven vital for multi-scale biological image segmentation [4], while multi-scale spatial representations such as gradient-pyramid features have significantly enhanced weakly-supervised localization in complex visual inputs [5]. Similarly, cross-modal retrieval and structural hashing paradigms rely on distribution-similarity metrics to retain structural semantics across high-dimensional feature spaces [6].

Despite these impressive advances in feature representations and multi-task learning, multi-label enzyme classification poses severe operational challenges due to inherent class imbalance [10]. In multi-label molecular benchmarks, active functional labels are non-uniformly distributed across functional categories; highly prevalent reactions dominate the training landscape, whereas specialized catalytic pathways remain sparse [11]. Furthermore, many biological molecules exhibit multi-functional co-activation, participating in multiple catalytic pathways simultaneously [12]. This structural overlap creates complex label interdependencies that standard multi-output predictors struggle to capture without dedicated joint-probability modeling [13].

A pervasive yet under-addressed issue in applied multi-label enzymology is the reliance on default fixed decision thresholds (τ=0.50\tau = 0.50) for binary target heads [14]. Standard classification workflows frequently convert posterior probability estimates P^(X)\hat{\mathcal{P}}(\mathcal{X}) into discrete predictions using an uncalibrated (τ=0.50\tau = 0.50) cutoff under the assumption of balanced label priors. However, when deployed on highly skewed biological datasets, this uncalibrated decision boundary triggers a dramatic performance distortion known as the Accuracy Paradox [15], [16]. High overall accuracy scores mask catastrophic diagnostic failures: majority targets suffer from hyper-sensitivity and trivial class assignment, while minority targets undergo severe recall degradation or complete target collapse [17].

To address these diagnostic oversights, this study presents a systematic empirical evaluation of standard fixed-threshold decision boundaries across a multi-label enzyme dataset of N=14,096N = 14,096 annotated compounds. Rather than claiming an incremental state-of-the-art predictor, we isolate and quantify the structural pathologies that emerge when standard point-prediction models operate under severe label imbalance.

The main contributions of this work are three-fold:

  1. Feature Interdependence vs. Target Separation: We quantify the mutual redundancy of molecular topological descriptors (Chiseries, BertzCT) relative to fingerprint density metrics (FpDensityMorgan) and evaluate their linear correlation against primary EC target heads.

  2. Empirical Diagnostic of Decision Boundaries: We demonstrate how uncalibrated static thresholds (τ=0.50\tau = 0.50) induce majority-class over-prediction in dominant targets (EC1, EC2) while driving minority targets (EC3-EC6) into severe sensitivity decay and total decision boundary collapse (EC6 recall = 0.00%).

  3. Methodological Post-Processing Guidelines: We provide explicit recommendations for applied machine learning workflows, highlighting target-specific threshold optimization and post-hoc conformal calibration as essential post-processing safeguards for biological multi-label pipelines.

References (17)