Skip to main content
BMC Biology logoLink to BMC Biology
. 2026 Feb 26;24:89. doi: 10.1186/s12915-026-02508-8

BiToxNet: a deep learning framework integrating multimodal features for accurate identification of neurotoxic peptides and proteins

Feng Wang 1,2,#, Peilin Xie 3,4,#, Xingqiao Lin 2,#, Jiahui Guan 3, Chang Liu 2, Xuxin He 2, Tzong-Yi Lee 5, Leyi Wei 6,✉, Xiangrong Liu 1,✉, Lantian Yao 1,7,✉
PMCID: PMC13040786  PMID: 41749211

Abstract

Background

Accurate prediction of the neurotoxicity of peptides and proteins is critically important for the safety assessment of protein therapeutics and the development of protein-based drugs. Although experimental methods can reliably identify neurotoxic peptides and neurotoxins, they are labor-intensive, costly, and unsuitable for large-scale screening. Existing computational approaches are often limited by shallow feature engineering and suboptimal multimodal fusion strategies, which restrict their predictive accuracy and generalizability in real-world applications.

Results

In this study, we propose BiToxNet, a deep learning framework that integrates evolutionary embeddings derived from a protein large language model with ten handcrafted biochemical descriptors through a bilinear attention network (BAN). This design enables effective modeling of cross-modal interactions and residue-level dependencies critical for neurotoxicity prediction. BiToxNet was evaluated on three datasets of different sequence lengths, namely Protein, Peptide, and Combined datasets, achieving accuracies of 92.3%, 96.0%, and 92.7%, respectively, and consistently outperforming existing state-of-the-art methods. Ablation studies confirmed the importance of both evolutionary embeddings and handcrafted features, as well as the critical role of BAN in feature fusion. Visualization analyses using t-SNE and hierarchical clustering further demonstrated that BiToxNet learns highly discriminative representations without reliance on domain-specific prior knowledge. Additional evaluation on an external imbalanced dataset validated the robustness and strong generalization capability of the proposed framework.

Conclusions

Overall, BiToxNet provides a powerful and generalizable computational framework for the accurate identification of neurotoxic peptides and proteins. By effectively integrating evolutionary and biochemical information through bilinear attention, BiToxNet offers a valuable tool for neurotoxin screening and protein drug safety assessment, and presents a distinctive modeling strategy applicable to a wide range of biological sequence analysis tasks.

Supplementary Information

The online version contains supplementary material available at 10.1186/s12915-026-02508-8.

Keywords: Neurotoxins, Deep learning, Bilinear attention network, Drug discovery, Sequence analysis

Background

Neurotoxins, a class of bioactive proteins derived from venomous animals, exert potent effects on neuronal tissues by disrupting synaptic transmission [1, 2]. Based on their site of action, neurotoxins are categorized into presynaptic and postsynaptic subtypes, each with distinct mechanisms [3–6]. Presynaptic neurotoxins (β-neurotoxins) inhibit acetylcholine release or destabilize the presynaptic membrane, ultimately blocking neuromuscular transmission through enzymatic disruption of neurotransmitter exocytosis. In contrast, postsynaptic neurotoxins (α-neurotoxins) selectively bind to nicotinic acetylcholine receptors (nAChRs) on the postsynaptic membrane, competitively antagonizing acetylcholine and paralyzing nerve signal propagation [7, 8]. These mechanisms of action involving presynaptic inhibition of release by β-neurotoxins and postsynaptic blockade of receptor binding by α-neurotoxins are illustrated in Fig. 1.

Fig. 1.

Fig. 1

Mechanistic illustration of synaptic blockade by neurotoxins. The diagram depicts β-neurotoxins inhibiting acetylcholine (ACh) release through disruption of exocytosis, while α-neurotoxins competitively antagonize neuromuscular transmission by binding to nAChRs on the postsynaptic membrane

Given the increasing use of protein-based therapeutics, accurate identification of neurotoxins can effectively assess the safety of protein drugs. Moreover, some neurotoxins exhibit potential therapeutic value. For instance, cone snail-derived α9α10-selective conotoxin RgIA exhibits anti-nociceptive properties in neuropathic pain models [9], while spider venom peptides (e.g., cysteine knot toxins and m-TRTX-Ca2a) modulate voltage-gated Na+ channels (Nav1.7), offering promise for treating chronic pain and epilepsy [10]. Presynaptic neurotoxins have further been leveraged clinically for conditions such as migraines and cerebral palsy [11, 12].

However, achieving effective prediction faces significant barriers, exacerbated by their extreme structural and functional diversity. For example, as a representative source of diverse neurotoxins, spider venoms secreted from specialized glands contain small cysteine-rich peptides targeting ion channels alongside high-mass latrotoxins affecting neurotransmitter release [13]. Traditional biochemical approaches, while reliable, are time-intensive and costly, creating bottlenecks in neurotoxin discovery. To overcome these limitations, computational methods have emerged as powerful predictive alternatives. These include Saha and Raghava’s support vector machine (SVM)-based NTXpred model integrating amino acid composition (AAC), dipeptide composition (DPC), protein length, and Position-Specific Iterated BLAST (PSI-BLAST) evolutionary profiles to predict neurotoxins and classify them by biological source and function [14]. Similarly, Guang et al. developed an SVM classifier leveraging AAC, position-specific scoring matrices (PSSM), and biophysical properties for neurotoxin classification [15]. More recently, the field has seen the advent of even more sophisticated techniques, such as Rathore et al.’s NTxPred2 [16], a large language model (LLM)-based framework employing distinct specialized models for neurotoxic peptides and neurotoxins. This approach integrates compositional features, physicochemical properties, protein language model embeddings, and fine-tuned classifiers to significantly enhance neurotoxicity prediction capability. Although significant progress has been made, computational neurotoxin prediction still faces some limitations. Early SVM-based methods rely heavily on handcrafted feature engineering and shallow architectures, failing to capture complex sequence-function relationships and residue-level interactions. Moreover, even advanced LLM-based tools like NTxPred2, which incorporate valuable evolutionary context, lack explicit fusion with biochemical properties and cannot dynamically align multimodal features (e.g., physicochemical constraints with residue-wise evolutionary embeddings). Collectively, these gaps fundamentally impair the predictive accuracy and generalizability of existing methods for identifying neurotoxins.

To address these limitations, in this study, we present BiToxNet, a novel deep learning framework that leverages bilinear attention mechanisms for accurate neurotoxin prediction across peptides and proteins. Compared to existing methods, BiToxNet introduces three key innovations: the integration of evolutionary embeddings from the Evolutionary Scale Modeling 2 (ESM2) protein language model with handcrafted descriptors; a dynamic bilinear attention network (BAN) that captures residue-level interactions critical for neurotoxicity; and robust generalizability validated on rigorously curated Peptide, Protein, and Combined datasets. Extensive benchmarking demonstrates that BiToxNet significantly outperforms state-of-the-art tools like NTxPred2 across multiple evaluation metrics, providing an effective solution for accelerating neurotoxin discovery in drug development.

Results and discussion

Performance comparison with existing methods

To evaluate the predictive capability of our proposed model for neurotoxin identification, we conducted a comprehensive comparison against established neurotoxin prediction tools. Specifically, BiToxNet was compared with the machine learning method proposed by NTxPred, the deep learning model developed by Lee et al., and the recent protein language model based NTxPred2. The comparison was performed across five key performance metrics: accuracy, MCC, sensitivity, specificity, and AUC. BiToxNet and NTxPred2 were trained on the same datasets proposed in the NTxPred2, ensuring a consistent data foundation. In contrast, NTxPred and the model of Lee et al. were developed using different datasets. To ensure fair and reproducible comparison, we evaluated Lee et al.’s publicly available code and the official NTxPred web server on the same independent test sets used in our study. This unified evaluation strategy eliminates potential biases caused by dataset discrepancies and allows direct performance comparison under identical testing conditions.

As detailed in Table 1, BiToxNet consistently achieved the highest performance across all metrics on three rigorously curated datasets. Notably, for Protein dataset, BiToxNet attained a remarkable accuracy of 92.3%, surpassing NTxPred2 by 5.8% and Lee et al by 28.8%, with an MCC of 0.846 indicating strong class separation. On the Peptide dataset, BiToxNet maintains exceptional performance with 96.0% accuracy and 0.921 MCC, outperforming NTxPred2 by 0.9% and 0.023 respectively. Most critically, on the Combined dataset integrating both peptide and protein data, BiToxNet achieved 92.7% accuracy and 0.855 MCC, representing improvements of 3.7% in accuracy and 0.075 in MCC over NTxPred2. We further validated the robustness of BiToxNet through five-fold CV, as summarized in Additional file 1: Table S1 and illustrated in Additional file 1: Fig. S1. The narrow 95% confidence intervals and compact interquartile ranges of the boxplots indicate small performance variability across folds and confirm the model’s stability and generalization capability.

Table 1.

Comprehensive performance comparison of BiToxNet with existing neurotoxin identification methods on testing sets

Dataset Method Accuracy (%) Sensitivity (%) Specificity (%) MCC AUC (%)
Protein NTxPred (SVM, DPC+Length) 58.7 41.2 76.1 0.185 58.9
NTxPred (SVM, DPC) 62.9 63.9 61.9 0.258 71.5
NTxPred (SVM, AAC+Length) 59.3 52.9 65.8 0.188 64.8
NTxPred (SVM, AAC) 61.2 57.4 65.1 0.226 66.9
Lee et al. (2021) 63.5 27.7 99.3 0.383 63.5
NTxPred2 86.5 82.6 90.3 0.731 93.7
BiToxNet 92.3 89.7 94.8 0.846 98.2
Peptide NTxPred (SVM, DPC+Length) 79.2 79.0 79.4 0.584 82.7
NTxPred (SVM, DPC) 85.5 89.8 81.1 0.712 91.6
NTxPred (SVM, AAC+Length) 76.1 81.3 70.9 0.524 83.2
NTxPred (SVM, AAC) 85.5 93.2 77.7 0.718 92.2
Lee et al. (2021) 49.8 0 100 0 50.0
NTxPred2 95.1 92.6 97.0 0.898 98.4
BiToxNet 96.0 94.9 97.1 0.921 99.4
Combined NTxPred (SVM, DPC+Length) 59.6 58.9 60.3 0.192 65.6
NTxPred (SVM, DPC) 71.2 65.2 77.2 0.428 78.3
NTxPred (SVM, AAC+Length) 68.0 60.7 75.5 0.365 69.2
NTxPred (SVM, AAC) 71.4 66.1 76.6 0.430 77.0
Lee et al. (2021) 56.3 13.0 99.6 0.245 56.3
NTxPred2 89.0 87.0 90.9 0.780 95.4
BiToxNet 92.7 94.6 90.9 0.855 97.5

The exceptional performance of BiToxNet stems from three key synergistic advancements. First, BiToxNet integrates a comprehensive set of ten handcrafted descriptors, explicitly capturing fundamental physicochemical and structural constraints governing neurotoxin function. Second, it leverages powerful evolutionary sequence embeddings derived from the ESM2 protein language model, providing deep contextual understanding of residue-level conservation and long-range dependencies. Third, a dedicated BAN dynamically fuses these complementary feature streams, enabling precise modeling of critical cross-modal interactions essential for neurotoxicity prediction. Collectively, this integrated framework overcomes the limitations of existing methods, such as NTxPred2’s lack of explicit biochemical-evolutionary fusion, establishing BiToxNet’s superior predictive capability.

Investigating the effectiveness of different feature representations

To evaluate the contributions of ESM2 evolutionary embeddings and protein descriptors in BiToxNet, we conducted ablation experiments across the Peptide, Protein, and Combined datasets. Specifically, we systematically compared the following three configurations. (i) w/o ESM2 configuration was generated by removing the ESM2 module while retaining only the handcrafted biochemical descriptors. (ii) A variant designated w/o protein descriptors was created to utilize solely representations derived from the ESM2 module, involving the removal of the handcrafted feature module. (iii) The complete proposed model, BiToxNet, integrates both ESM2 embeddings and handcrafted protein descriptors. We evaluated the performance of BiToxNet and its variants across four key metrics: accuracy, MCC, sensitivity, specificity. The visualization results are presented in Fig. 2, and the detailed quantitative results are provided in Additional file 1: Table S2.

Fig. 2.

Fig. 2

Ablation study of feature contributions in BiToxNet. a, d, g Radar charts comparing four metrics (accuracy, sensitivity, specificity, MCC) for handcrafted features, ESM2 embeddings, and integrated features on Peptide dataset, Protein dataset, and Combined dataset. b, e, h ROC curves with AUC values. c, f, i PR curves with AP values

As shown in the radar charts, BiToxNet consistently occupies the outermost region, demonstrating superiority across all four metrics. Specifically, for the Peptide dataset in Fig. 2a, the strategy combining ESM2 and protein descriptors achieves exceptional performance with an MCC of 0.921, significantly surpassing the model using only ESM2 by 0.08 and the model using only protein descriptors by 0.052. A similar trend is observed for the Protein dataset in Fig. 2d, where BiToxNet achieved an MCC of 0.846, outperforming the model employing only ESM2 by 0.084 and the model based solely on protein descriptors by 0.019. Critically, on the Combined dataset (Fig. 2g), BiToxNet maintains a high MCC of 0.855, while the model variants drop to 0.805 (w/o protein descriptors) and 0.837 (w/o ESM2).

ROC curves further validate the superiority of BiToxNet’s feature fusion strategy: our proposed model generates the leftmost trajectories with high AUC values. In contrast, the curves from both the protein descriptor–only and the ESM2-only models show a certain degree of performance degradation. Precision–recall (PR) curves reinforce this pattern, as BiToxNet produces curves that closely approach the upper-right corner, while the model variants show reduced performance.

These findings demonstrate that the evolutionary features extracted by the pretrained ESM2 model play a crucial role in enabling accurate and reliable neurotoxin prediction, likely by capturing long-range residue dependencies and evolutionary constraints inherent in toxin sequences. Similarly, the handcrafted protein descriptors are critical for enhancing the model’s ability to discriminate neurotoxins from non-toxins, as they explicitly encode essential biophysical and biochemical properties. Comparing the performance degradation across the model variants reveals that removing the protein descriptors leads to a slightly greater decline in performance than removing ESM2. This finding suggests that the fundamental physicochemical properties captured by the protein descriptors are crucial for identifying core toxic functionalities, while the evolutionary embeddings remain indispensable by providing complementary contextual and evolutionary information. Neurotoxic peptides and proteins, particularly cysteine-rich toxins, exhibit distinctive residue compositions and local physicochemical constraints [17, 18], and these characteristics are more explicitly represented through handcrafted descriptors that capture amino acid composition, charge distribution, polarity, and hydrophobicity. Consequently, ablation of either feature component impairs overall performance, affirming that a comprehensive feature representation integrating both evolutionary context and biophysical properties is indispensable for robust neurotoxin identification across diverse sequence lengths.

The effectiveness analysis of the bilinear attention network

To investigate the effectiveness of the BAN, we conducted an additional ablation study. Specifically, we compared two settings, w/o BAN module utilized direct concatenation of ESM2 embeddings and protein descriptors without BAN fusion processing, and BiToxNet employed the BAN module for feature integration. Visualization results are illustrated in Fig. 3 for the Combined dataset, with results for the Peptide and Protein datasets provided in Additional file 1: Fig. S2 and Additional file 1: Fig. S3, respectively. Detailed numerical comparisons across all datasets are provided in Additional file 1: Table S2.

Fig. 3.

Fig. 3

Performance comparison between models without BAN and BiToxNet across four key metrics on the Combined dataset

As shown in the bar charts, removal of the BAN module significantly impairs performance across all evaluation metrics. Furthermore, ROC curves without BAN fusion consistently shift downward and rightward, while PR curves deviate from the optimal upper-right corner. These observed degradations confirm BAN’s critical role in BiToxNet’s performance. Unlike direct feature concatenation, which simply stacks ESM2 embeddings and handcrafted descriptors without modeling their interactions, the BAN explicitly captures second-order dependencies between modalities. By dynamically weighting cross-modal feature interactions between ESM2’s evolutionary embeddings and handcrafted descriptors, BAN enables BiToxNet to highlight informative and complementary relationships that are essential for precise neurotoxin prediction. For instance, it dynamically resolves couplings between key features, such as hydrophobic cores (captured by Z-scale descriptors) and conserved α-helical motifs—critical for neurotoxins like κ-hefutoxin targeting potassium channels [19, 20]. By computing pairwise attention weights, BAN captures dynamic dependencies that simple concatenation and other fusion schemes miss [21]. Consequently, the bilinear attention mechanism provides a more expressive yet computationally efficient approach for integrating evolutionary and biophysical representations through attention-based feature interaction.

Visualization of positives and negatives in different layers of BiToxNet

To further investigate the effectiveness of the BiToxNet architecture, we employed the t-SNE [22] technique to visualize the distribution of positive and negative samples in training sets across different layers of BiToxNet. Specifically, we extracted latent features from four distinct layers of BiToxNet: features encoded by ESM2, features obtained from ten protein descriptors, features formed by direct concatenation of ESM2 and protein descriptor features, and features fused by the BAN module from ESM2 and protein descriptors. Figure 4 illustrates the results for the Combined dataset, with analogous visualizations for the Peptide and Protein datasets provided in Additional file 1: Fig. S4 and Additional file 1: Fig. S5.

Fig. 4.

Fig. 4

t-SNE visualization of positive and negative samples from the training set of the Combined dataset across different layers of BiToxNet

As visualized in Fig. 4a, initial ESM2 embeddings exhibit disordered and mixed distributions, where neurotoxic (orange) and non-toxic (blue) samples appear entangled with no clear separation. Figure 4b demonstrates that Protein descriptor encoding yields increased clustering but substantial overlap between classes. These patterns demonstrate that neither ESM2 alone nor protein descriptors alone can effectively extract features that robustly distinguish neurotoxins from non-toxins. After simply concatenating ESM2 and protein descriptor features in Fig. 4c, separation improves compared to isolated representations, however, class boundaries remain ambiguous, indicating that static fusion fails to resolve complex feature interactions essential for accurate neurotoxicity prediction. When applying BAN to dynamically align features (Fig. 4d), the distinction becomes dramatically evident: neurotoxins coalesce into dense, isolated clusters while non-toxic samples form discrete groupings separated by clear margins. This demonstrates BAN’s capacity to learn salient biological representations critical for neurotoxin identification, enabling precise discrimination of neurotoxins.

Feature analysis

One of the key factors behind the success of deep learning lies in its ability to extract discriminative features through hierarchical representations. Here, we extracted the latent features of BiToxNet from the test set along with five commonly used handcrafted features, and visualized them in two-dimensional space using t-SNE. The results for the Combined, Peptide, and Protein datasets are shown in Fig. 5, Additional file 1: Fig. S6, and Additional file 1: Fig. S7, respectively. As shown in the figures, traditional handcrafted features struggled to separate positive and negative samples. In contrast, BiToxNet’s latent features formed compact, well-separated clusters, with neurotoxic and non-toxic samples occupying distinct regions. This further demonstrates that BiToxNet can automatically extract neurotoxin-related discriminative features through its hierarchical architecture, thereby validating the rationality and effectiveness of its architectural design.

Fig. 5.

Fig. 5

t-SNE visualization of feature discriminability on the Combined testing dataset. a-e Traditional handcrafted descriptors exhibit chaotic class overlap. f Latent features extracted by BiToxNet form distinct clusters of neurotoxic and non-toxic samples

To further validate the discriminative power of latent features extracted by BiToxNet, we performed hierarchical clustering [23] on 100 randomly selected samples (50 neurotoxic and 50 non-toxic) from the test sets of the Peptide, Protein, and Combined datasets, as illustrated in Additional file 1: Fig. S8, Additional file 1: Fig. S9, and Fig. 6, respectively. Two important observations can be derived: first, neurotoxic sequences form a distinct subtree that is clearly separated from non-toxic sequences; second, neurotoxic and non-toxic samples exhibit fundamentally divergent feature patterns. This clear class separation across all 100 randomly selected samples strongly confirms that BiToxNet consistently extracts high-fidelity features capturing intrinsic functional distinctions. These results underscore the robustness of BiToxNet in capturing neurotoxin-related discriminative feature representations rather than simply overfitting to the training data, thereby further validating the effectiveness of BiToxNet. Moreover, these discriminative features may provide valuable insights for neurotoxin-related downstream tasks, such as therapeutic peptide design.

Fig. 6.

Fig. 6

Hierarchical clustering of latent features extracted by BiToxNet on the Combined testing dataset. Neurotoxic and non-toxic sequences form separated subtrees

Evaluation on external and imbalanced dataset

Real-world neurotoxin data are typically imbalanced and temporally dynamic, posing additional challenges for predictive modeling [24, 25]. To further assess the robustness and generalization ability of BiToxNet, we collected an external and temporally independent combined dataset containing both peptide and protein sequences. The data were curated following the same procedure as the original combined dataset to ensure data quality and consistent preprocessing, including sequence retrieval from Swiss-Prot, redundancy removal by CD-HIT, and all sequences were filtered using CD-HIT to remove homologous overlap with the training data. The resulting dataset comprises 4476 samples, including 746 positive and 3730 negative sequences, yielding a positive to negative ratio of 1 to 5, which is closer to real-world distributions. This temporal holdout design enables evaluation on newly annotated sequences unseen during model training or validation, providing a realistic estimation of BiToxNet’s generalization capability.

As shown in Additional file 1: Fig. S10, BiToxNet achieved strong performance on the independent imbalanced dataset, with an AUC of 0.970, average precision (AP) of 0.870, accuracy of 90.2%, MCC of 0.730, sensitivity of 0.956, and specificity of 0.892. Compared with the balanced combined test set, only a slight decline in AUC and accuracy was observed, demonstrating that BiToxNet maintains strong predictive power under class imbalance. The high AP and MCC values further confirm that BiToxNet effectively handles imbalance while preserving discrimination between neurotoxic and non-toxic sequences, supporting its applicability to realistic neurotoxin screening and temporal generalization scenarios.

Conclusions

In this study, we developed BiToxNet, a deep learning framework that integrates evolutionary embeddings from ESM2 with handcrafted biochemical descriptors via a bilinear attention mechanism. This design enables precise cross-modal interaction modeling, leading to consistent and significant performance improvements across Peptide, Protein, and Combined datasets. Extensive benchmarking, ablation studies, and visualization analyses demonstrate the model’s robustness and superior generalization compared with state-of-the-art methods. BiToxNet demonstrates strong performance for neurotoxin identification and represents a promising multimodal fusion framework. It also holds strong potential for broader applications in biological sequence analysis. To more fully establish its generalizability, future work will evaluate the transferability of BiToxNet to additional bioinformatics prediction problems, such as the prediction of sumoylation sites [26, 27] and RNA 5-methyluridine modification prediction [28], as well as other protein function prediction tasks.

Nevertheless, additional experiments revealed that cross-type transfer performance remained limited: training on Peptide dataset and testing on Protein dataset achieved an AUC of 0.641, while the reverse setup yielded 0.736. This suggests that BiToxNet primarily learns type-specific rather than type-invariant representations, likely due to inherent differences in amino acid composition and physicochemical properties between peptides and proteins. For instance, cysteine content and sulfur-containing residue composition (e.g., PCP_SC) show strong discriminative power in the peptide dataset but weaker signals in proteins [16, 29], impeding transferable feature learning. These findings delineate the current model’s applicability scope and motivate future efforts to achieve true cross-type transfer, potentially through domain adaptation, contrastive feature alignment, or hierarchical shared-specific representation modeling [30–32].

Methods

Dataset preparation

The development of a robust and generalizable model for neurotoxicity prediction critically depends on a high-quality dataset. In this study, we adopted the same datasets proposed by the NTxPred2 to ensure comparability. Experimentally validated neurotoxic and non-toxic sequences were systematically retrieved from the Swiss-Prot database [33]. For the peptide dataset, sequences <51 amino acids were selected, rigorously filtered to remove non-canonical amino acids and redundancy, resulting in 877 unique neurotoxic peptides. To achieve class balance and length distribution matching, non-toxic peptides were clustered using CD-HIT [34] at a 60% sequence identity threshold, yielding an equivalent set of 877 non-neurotoxic peptides. Similarly, for the protein dataset (sequences ≥51 amino acids), stringent filtering and application of CD-HIT at a 40% sequence identity threshold yielded 775 non-redundant neurotoxic proteins, paired with 775 carefully selected non-toxic proteins of comparable lengths. Additionally, a combined dataset was formed by strategically merging the Peptide and Protein datasets to evaluate cross-molecular type generalization. To guarantee unbiased evaluation and prevent data leakage, all three datasets were rigorously partitioned using an 8:2 split, allocating 80% for model training and reserving 20% as a strictly independent test set. The precise sizes of the training and test sets for each dataset configuration are summarized in Table 2.

Table 2.

Overview of the datasets used in this study

Dataset Training data Independent testing data
Neurotoxic Non-toxic Total Neurotoxic Non-toxic Total
Peptide 701 702 1403 176 175 351
Protein 620 620 1240 155 155 310
Combined 1321 1322 2643 331 330 661

Overall architecture of BiToxNet

As illustrated in Fig. 7, the BiToxNet framework employs a dual-stream feature extraction approach followed by a BAN for neurotoxin prediction. In the feature extraction module, two parallel pathways process input sequences: the first stream utilizes ESM2 to generate evolutionary embeddings, which are transformed through a fully connected (FC) layer into a 256-dimensional feature vector. The second stream computes ten handcrafted biochemical descriptors including ACC, DPC, pseudo-amino acid composition (PAAC), composition of k-spaced amino acid pairs (CKSAAGP), BLOSUM62 encoding, Z-scale properties, physicochemical properties (PHYC), dipeptide deviation from expected mean (DDE), quasi-sequence-order descriptors (QSOrder), and the PseAAC of distance-pair and reduced alphabet (DistancePair). These descriptors are combined into a comprehensive feature set, which undergoes dimensionality reduction via recursive feature elimination (RFE) [35]. The reduced features are then projected through an FC layer into a 256-dimensional vector.

Fig. 7.

Fig. 7

Schematic overview of the proposed framework for neurotoxin prediction. The workflow comprises four core modules: A Dataset construction; B Feature extraction; C Bilinear attention network; D Output layer

These aligned 256-dimensional representations are fed into the BAN, the core module of BiToxNet. The BAN dynamically models cross-modal interactions through bilinear pooling, computing outer products between evolutionary and biochemical feature streams to capture residue-level spatial dependencies [36]. A multi-head mechanism further enriches this process by learning diverse interaction patterns across feature subspaces, generating a high-order joint representation. Finally, the output layer processes this BAN-derived joint representation through a multilayer perceptron (MLP) [37] with Gaussian error linear unit (GELU) [38] activation in the hidden layer, followed by a sigmoid function to produce the final probability of neurotoxicity. This integrated design enables BiToxNet to holistically encode sequence-function relationships.

Sequence representation based on a protein language model

In this study, we employed ESM2 [39] to extract sequence features, a transformer-based protein language model pre-trained using masked language modeling objectives on the UniRef50 dataset. Built on the BERT framework, ESM2 captures long-range dependencies between amino acid residues through its self-attention mechanism, which is the core component of transformer architectures. This self-attention mechanism enables the model to dynamically weigh the importance of different residues within a sequence when constructing contextual representations. For an input sequence of length L, ESM2 generates a residue embedding matrix X∈RL×desm2, where desm2 denotes the embedding dimension. The self-attention mechanism computes context-aware representations as follows:

Attention(Q,K,V)=softmaxQKTdkV. 1

Here, Q=XWQ, K=XWK, and V=XWV are linearly projected queries, keys, and values, respectively, with learnable weight matrices WQ,WK,WV∈Rdesm2×dk. The scaling factor dk stabilizes gradient dynamics during training.

The model provides multiple architectural variants with different depths and parameter sizes. In this study, we utilized the esm2_t30_150M_UR50D variant with 30 transformer layers, desm2=640, and approximately 150 million parameters. The transformer architecture outputs residue-level embeddings Hesm2∈RL×640. To ensure dimensional compatibility with the biochemical feature stream for subsequent bilinear attention fusion, we then apply a FC layer for dimensionality reduction:

Hevo=GELU(Hesm2Wfc+bfc), 2

where Wfc and bfc are learnable parameters. This projects embeddings into a unified 256-dimensional space, yielding Hevo∈RL×256. The reduced dimensionality enables efficient cross-modal interaction modeling while preserving critical evolutionary information.

Sequence representation based on several protein descriptors

To complement the evolutionary information captured by ESM2, we computed ten handcrafted descriptors that encode fundamental compositional, structural, and physicochemical properties of peptide and protein sequences. These traditional descriptors provide orthogonal information to the deep learning embeddings, capturing explicit biochemical constraints that govern neurotoxin function. Table 3 summarizes the ten biochemical descriptors implemented in BiToxNet. Detailed descriptions of these protein descriptors can be found in the Additional file 1. Each descriptor quantifies distinct protein attributes, collectively providing a multidimensional representation of sequence characteristics critical for neurotoxin activity.

Table 3.

Summary of handcrafted protein descriptors used in this study

Descriptors Description Dimension References
AAC Quantifies relative frequency of 20 standard amino acids 20 [40]
DPC Computes occurrence frequency of 400 possible dipeptides 400 [41]
PAAC Incorporates sequence-order information through pseudo-composition 24 [42]
CKSAAGP Calculates composition of amino acid pairs separated by k residues 100 [43]
BLOSUM62 Encodes evolutionary conservation using substitution matrix scores L×20 [44]
Z-scale Represents normalized biophysical attributes as 5-dimensional vectors per residue L×5 [45]
PHYC Describes physicochemical characteristics including isoelectric point, net charge, hydrophobicity, etc 8 [46]
DDE Measures deviation of dipeptide frequency from expected mean 400 [47]
QSOrder Integrates compositional statistics with positional information for local and global features 46 [48]
DistancePair Quantifies pairwise distances between amino acids grouped via a reduced alphabet 20 [49]

L: Sequence length of the input protein or peptide

The initial concatenation of these ten descriptors resulted in a high-dimensional feature vector. To mitigate potential overfitting and eliminate redundant or low-importance features while retaining the most predictive biochemical attributes relevant to neurotoxicity, we applied RFE. RFE is a backward selection algorithm that iteratively removes the least important features, optimizing for maximum classification accuracy through cross-validation (CV). This process yielded a refined, discriminative set of biochemical features for subsequent processing. The refined biochemical features were then projected into a 256-dimensional space matching the evolutionary embedding dimensions through a FC layer with GELU activation:

Hbio=GELU(HrfeWfc+bfc), 3

where Hrfe denotes the RFE-selected features, Wfc and bfc are learnable parameters. This uniform dimensionality between biochemical and evolutionary representations allows BAN to effectively model their synergistic relationships, preserving toxin-specific biochemical characteristics essential for accurate prediction and classification.

Bilinear attention network for cross-modal feature interaction

To model residue-level dependencies between evolutionary constraints and biochemical properties essential for neurotoxicity, BiToxNet employs a BAN [50]. This module dynamically captures interactions between evolutionary embeddings derived from ESM2 (Hevo∈RL×256) and handcrafted biochemical descriptors (Hbio∈RL×256), where L denotes the sequence length. The core mechanism constructs a joint representation J through bilinear feature fusion:

J=NormWIGELU(UTHevo)⊗GELU(VTHbio)+bI. 4

Here, U∈R256×k and V∈R256×k are learnable projection matrices mapping both modalities into a shared k-dimensional latent subspace. The GELU activation introduces nonlinear transformations, while the outer product ⊗ computes pairwise interactions between projected residue features, generating high-order interaction tensors. The weight matrix WI∈Rk×o and bias bI linearly project this tensor into an output feature space of dimension o, with weight normalization (Norm) applied for optimization stability.

The BAN operates through a multi-head architecture where feature projections are first computed across parallel heads. Subsequently, bilinear pooling calculates outer products between aligned residue representations to explicitly capture spatial dependencies such as those between conserved cysteine residues and physicochemical properties. Finally, the outputs from all heads are aggregated into a joint representation J. This design elucidates how biochemical constraints (e.g., disulfide-bonded framework [51]) modulate evolutionarily conserved motifs critical for neurotoxins targeting ion channels [9], while maintaining computational efficiency comparable to standard attention mechanisms. The learned interaction weights further provide interpretable insights into residue-specific determinants of neurotoxicity.

The resulting joint representation J is then processed by MLP for the final neurotoxin prediction. The MLP computes the probability y^ of a sequence being neurotoxic as follows:

h1=GELU(W1J+b1), 5
y^=σ(W2h1+b2), 6

where σ(·) denotes the sigmoid activation function that maps the output to the range [0, 1], and W1, b1, W2, and b2 are learnable parameters, with h1 representing the hidden layer output.

Performance evaluation

To comprehensively evaluate the predictive performance of proposed models, we employed five widely accepted metrics: Accuracy, Sensitivity, Specificity, Matthews correlation coefficient (MCC) [52], and the area under the receiver operating characteristic (ROC) Curve (AUC) [53]. These metrics were calculated based on the fundamental classification outcomes: true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN). The formulations of these metrics are defined as follows:

Accuracy=TP+TNTP+TN+FP+FN, 7
Sensitivity=TPTP+FN, 8
Specificity=TNTN+FP, 9
MCC=TP×TN-FP×FN(TP+FP)(TP+FN)(TN+FP)(TN+FN). 10

AUC represents the area under the ROC curve plotting true positive rate (TPR) against false positive rate (FPR) across classification thresholds. Among these metrics, accuracy, sensitivity, and specificity range from 0 to 1, quantifying the overall correctness of predictions, the model’s capability to detect positive instances, and its ability to recognize negative instances, respectively. MCC provides a balanced assessment particularly valuable for imbalanced datasets, ranging from −1 to 1 where 1 indicates perfect prediction, 0 random guessing, and −1 inverse prediction. AUC offers a comprehensive threshold-independent evaluation of class discrimination capability, where 1 represents perfect separability and 0.5 indicates no discriminative power. Higher values across all five metrics signify superior model performance in their respective measured aspects. Notably, all threshold–based metrics are computed at a prespecified constant decision threshold τ applied to the predicted probability y^. A sample is predicted as positive if y^>τ and negative otherwise. The threshold is fixed within a dataset to enable fair comparisons with other classifiers and to avoid any influence from the test set during model development. We use τ=0.55 for the Protein dataset, τ=0.45 for the Peptide dataset, and τ=0.50 for the Combined dataset.

Implementation details

BiToxNet is implemented in PyTorch [54], using the Adam optimizer [55] with an initial learning rate of 4×10-4 and an early-stopping [56] schedule that monitors validation AUC and halts after 20 consecutive non-improving epochs, with a maximum of 100 epochs.

The loss function for binary classification is binary cross entropy (BCELoss). For a dataset of size N with ground–truth labels yi∈{0,1} and model–predicted probability y^i∈[0,1] of the positive class, BCELoss is defined as

BCELoss=-1N∑i=1Nyi·log(y^i)+(1-yi)·log1-y^i, 11

where log denotes the natural logarithm.

Model development adopts a nested five-fold CV scheme: five outer folds provide performance estimation, and, within the training portion of each outer fold, a fivefold inner CV is used exclusively for estimator and feature selection via hyperparameter tuning and RFE. In every fold, all preprocessing steps (e.g., standardization and feature selection) are fit on the training split only and then applied to the matched validation split; neither outer-validation nor test samples are ever used for fitting, thereby avoiding information leakage and “double dipping.” The model is trained on the fold-specific training data, and the epoch with the best validation AUC within that fold is selected without any access to the test set. After CV, we report outer-CV performance and evaluate once on the independent held-out test set.

Supplementary Information

12915_2026_2508_MOESM1_ESM.pdf (1.4MB, pdf)

Additional file 1: Tables S1–S3, Figures S1–S10 and Supplementary Details. Table S1. Five-fold cross-validation performance of BiToxNet on protein, peptide, and combined datasets. Table S2. Quantitative results of ablation studies evaluating the contributions of different model components. Table S3. Hyperparameter search space and optimal settings used in this study. Fig. S1. Boxplots illustrating five-fold cross-validation performance of BiToxNet across accuracy, sensitivity, specificity, MCC, and AUC on protein, peptide, and combined datasets. Fig. S2. Performance comparison between models without the bilinear attention networkand the BiToxNet on the peptide dataset. Fig. S3. Performance comparison between models without BAN and the BiToxNet on the protein dataset. Fig. S4. t-SNE visualization of feature evolution on the peptide training dataset. Fig. S5. t-SNE visualization of feature evolution on the protein training dataset. Fig. S6. t-SNE visualization of feature discriminability on the peptide testing dataset using traditional descriptors and BiToxNet latent features. Fig. S7. t-SNE visualization of feature discriminability on the protein testing dataset. Fig. S8. Hierarchical clustering of BiToxNet features on the peptide testing dataset. Fig. S9. Hierarchical clustering of BiToxNet features on the protein testing dataset. Fig. S10. Performance of BiToxNet on an independent imbalanced dataset. Supplementary Details: ten protein descriptors. File format: PDF.

Acknowledgements

The authors sincerely appreciate the School of Informatics, Xiamen University, for financially supporting this research. This work was supported by the Scientific Research Foundation of State Key Laboratory of Vaccines for Infectious Diseases, Xiang An Biomedicine Laboratory (2025XAKJ0102017). This work was also supported by the Fundamental Research Funds for the Central Universities (20720250172). We also thank the three anonymous reviewers and the editorial staff for their constructive comments and valuable suggestions, which have greatly improved the clarity, quality, and presentation of this manuscript.

Abbreviations

AAC

Amino acid composition

AP

Average precision

AUC

Area under the receiver operating characteristic curve

BAN

Bilinear attention network

BCELoss

Binary cross entropy loss

CKSAAGP

Composition of K-spaced amino acid pairs

CV

Cross-validation

DDE

Dipeptide deviation from expected mean

DistancePair

The PseAAC of distance-pair and reduced alphabet

DPC

Dipeptide composition

ESM2

Evolutionary Scale Modeling 2

FC

Fully connected

FN

False negative

FP

False positive

FPR

False positive rate

GELU

Gaussian error linear unit

LLM

Large language model

MCC

Matthews correlation coefficient

MLP

Multilayer perceptron

nAChRs

Nicotinic acetylcholine receptors

PAAC

Pseudo-amino acid composition

PHYC

Physicochemical properties

PSI-BLAST

Position-Specific Iterated BLAST

PR Curve

Precision–recall curve

PSSM

Position-Specific Scoring Matrix

QSOrder

Quasi-Sequence Order Descriptors

RFE

Recursive feature elimination

ROC

Receiver operating characteristic

SVM

Support vector machine

TN

True negative

TP

True positive

TPR

True positive rate

t-SNE

t-distributed Stochastic Neighbor Embedding

Authors’ contributions

L.T.Y. and F.W. presented the idea. F.W., P.L.X., X.Q.L., and J.H.G. implemented the framework. T.-Y.L. collected the data. F.W., J.H.G., C.L., and X.X.H. analyzed the results. L.T.Y., X.R.L., and L.Y.W. supervised the research project. All authors reviewed the manuscript.

Funding

This work was supported by Shenzhen Science and Technology Innovation Commission (JCYJ20230807114206014), and the Kobilka Institute of Innovative Drug Discovery, The Chinese University of Hong Kong, Shenzhen, China. This work was also financially supported by the Center for Intelligent Drug Systems and Smart Biodevices (IDS2B) from The Featured Areas Research Center Program within the framework of the Higher Education Sprout Project and Yushan Young Fellow Program (113C51N055) by the Ministry of Education (MOE) and National Science and Technology Council (NSTC 113-2321-B-A49-025, 113-2634-F-039-001, 113-2221-E-A49-160-MY3 and 112-2740-B-400-005) in Taiwan and The National Health Research Institutes (NHRI-EX114-11320BI) in Taiwan. This work was also supported by the Fundamental Research Funds for the Central Universities (20720250172).

Data availability

All data generated or analyzed during this study are included in this published article, its supplementary information files and publicly available repositories: https://github.com/Feng106-w/BiToxNet and 10.5281/zenodo.17973979 [57].

Declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Feng Wang, Peilin Xie, and Xingqiao Lin contributed equally to this work.

Contributor Information

Leyi Wei, Email: weileyi@sdu.edu.cn.

Xiangrong Liu, Email: xrliu@xmu.edu.cn.

Lantian Yao, Email: lantianyao@xmu.edu.cn.

References

  • 1.Mei J, Zhao J. Analysis and prediction of presynaptic and postsynaptic neurotoxins by Chou’s general pseudo amino acid composition and motif features. J Theor Biol. 2018;447:147–53. [DOI] [PubMed] [Google Scholar]
  • 2.Wan H, Liu Q, Ju Y. Utilize a few features to classify presynaptic and postsynaptic neurotoxins. Comput Biol Med. 2023;152:106380. [DOI] [PubMed] [Google Scholar]
  • 3.Yang L, Li Q. Prediction of presynaptic and postsynaptic neurotoxins by the increment of diversity. Toxicol In Vitro. 2009;23(2):346–8. [DOI] [PubMed] [Google Scholar]
  • 4.Song C. Prediction of presynaptic and postsynaptic neurotoxins by bi-layer support vector machine with multi-features. Afr J Microbiol Res. 2012;6(6):1354–8. [Google Scholar]
  • 5.Li P, Zhang H, Zhao X, Jia C, Li F, Song J. Pippin: a random forest-based method for identifying presynaptic and postsynaptic neurotoxins. J Bioinform Comput Biol. 2020;18(02):2050008. [DOI] [PubMed] [Google Scholar]
  • 6.Lee B, Shin MK, Hwang IW, Jung J, Shim YJ, Kim GW, et al. A deep learning approach with data augmentation to predict novel spider neurotoxic peptides. Int J Mol Sci. 2021;22(22):12291. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Huo H, Li T, Wang S, Lv Y, Zuo Y, Yang L. Prediction of presynaptic and postsynaptic neurotoxins by combining various Chou’s pseudo components. Sci Rep. 2017;7(1):5827. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Tang H, Yang Y, Zhang C, Chen R, Huang P, Duan C, et al. Predicting presynaptic and postsynaptic neurotoxins by developing feature selection technique. Biomed Res Int. 2017;2017(1):3267325. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Dutertre S, Nicke A, Tsetlin VI. Nicotinic acetylcholine receptor inhibitors derived from snake and snail venoms. Neuropharmacology. 2017;127:196–223. [DOI] [PubMed] [Google Scholar]
  • 10.Zhang Y, Peng D, Huang B, Yang Q, Zhang Q, Chen M, et al. Discovery of a novel Nav1. 7 inhibitor from Cyriopagopus albostriatus venom with potent analgesic efficacy. Front Pharmacol. 2018;9:1158. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Dodick DW. Botulinum neurotoxin for the treatment of migraine and other primary headache disorders: from bench to bedside. Headache. 2003;43:25–33. [DOI] [PubMed] [Google Scholar]
  • 12.Molenaers G, Desloovere K, Eyssen M, Decaf J, Jonkers I, Cock PD. Botulinum toxin type A treatment of cerebral palsy: an integrated approach. Eur J Neurol. 1999;6:s51–7. [Google Scholar]
  • 13.Grishin E. Polypeptide neurotoxins from spider venoms. Eur J Biochem. 1999;264(2):276–80. [DOI] [PubMed] [Google Scholar]
  • 14.Saha S, Raghava GP. Prediction of neurotoxins based on their function and source. In Silico Biol. 2007;7(4–5):369–87. [PubMed] [Google Scholar]
  • 15.Guang XM, Guo YZ, Wang X, Li ML. Prediction of neurotoxins by support vector machine based on multiple feature vectors. Interdiscip Sci Comput Life Sci. 2010;2:241–6. [DOI] [PubMed] [Google Scholar]
  • 16.Rathore AS, Jain S, Choudhury S, Raghava GP. A large language model for predicting neurotoxic peptides and neurotoxins. Protein Sci. 2025;34(8):e70200. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Nys M, Zarkadas E, Brams M, Mehregan A, Kambara K, Kool J, et al. The molecular mechanism of snake short-chain α-neurotoxin binding to muscle-type nicotinic acetylcholine receptors. Nat Commun. 2022;13(1):4543. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Abraham N, Lewis RJ. Neuronal nicotinic acetylcholine receptor modulators from cone snails. Mar Drugs. 2018;16(6):208. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Kini RM, Doley R. Structure, function and evolution of three-finger toxins: mini proteins with multiple targets. Toxicon. 2010;56(6):855–67. [DOI] [PubMed] [Google Scholar]
  • 20.Zarrabi M, Naderi-Manesh H. The investigation of interactions of κ-Hefutoxin1 with the voltage-gated potassium channels: a computational simulation. Proteins. 2008;71(3):1441–9. [DOI] [PubMed] [Google Scholar]
  • 21.Zhou T, Cheng Q, Lu H, Li Q, Zhang X, Qiu S. Deep learning methods for medical image fusion: a review. Comput Biol Med. 2023;160:106959. [DOI] [PubMed] [Google Scholar]
  • 22.Maaten LVD, Hinton G. Visualizing data using t-SNE. J Mach Learn Res. 2008;9(Nov):2579–605. [Google Scholar]
  • 23.Bridges CC Jr. Hierarchical cluster analysis. Psychol Rep. 1966;18(3):851–4. [Google Scholar]
  • 24.Mall R, Singh A, Patel CN, Guirimand G, Castiglione F. VISH-Pred: an ensemble of fine-tuned ESM models for protein toxicity prediction. Brief Bioinform. 2024;25(4):bbae270. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Guo LL, Pfohl SR, Fries J, Johnson AE, Posada J, Aftandilian C, et al. Evaluation of domain generalization and adaptation on improving model robustness to temporal dataset shift in clinical medicine. Sci Rep. 2022;12(1):2726. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Khan S, Noor S, Javed T, Naseem A, Aslam F, AlQahtani SA, et al. XGBoost-enhanced ensemble model using discriminative hybrid features for the prediction of sumoylation sites. BioData Min. 2025;18(1):12. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Khan S, AlQahtani SA, Noor S, Ahmad N. PSSM-Sumo: deep learning based intelligent model for prediction of sumoylation sites using discriminative features. BMC Bioinformatics. 2024;25(1):284. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Noor S, Naseem A, Awan HH, Aslam W, Khan S, AlQahtani SA, et al. Deep-m5U: a deep learning-based approach for RNA 5-methyluridine modification prediction using optimized feature integration. BMC Bioinformatics. 2024;25(1):360. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Li R, Yu J, Ye D, Liu S, Zhang H, Lin H, et al. Conotoxins: Classification, Prediction, and Future Directions in Bioinformatics. Toxins. 2025;17(2):78. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Ganin Y, Ustinova E, Ajakan H, Germain P, Larochelle H, Laviolette F, et al. Domain-adversarial training of neural networks. J Mach Learn Res. 2016;17(59):1–35. [Google Scholar]
  • 31.Kang G, Jiang L, Yang Y, Hauptmann AG. Contrastive adaptation network for unsupervised domain adaptation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Long Beach: IEEE; 2019, p. 4893–902.
  • 32.Bousmalis K, Trigeorgis G, Silberman N, Krishnan D, Erhan D. Domain separation networks. Adv Neural Inf Process Syst. 2016;29:343–351.
  • 33.Gasteiger E, Jung E, Bairoch A. SWISS-PROT: connecting biomolecular knowledge via a protein database. Curr Issues Mol Biol. 2001;3(3):47–55. [PubMed] [Google Scholar]
  • 34.Fu L, Niu B, Zhu Z, Wu S, Li W. CD-HIT: accelerated for clustering the next-generation sequencing data. Bioinformatics. 2012;28(23):3150–2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Darst BF, Malecki KC, Engelman CD. Using recursive feature elimination in random forest to account for correlated variables in high dimensional data. BMC Genet. 2018;19:1–6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Kim JH, Jun J, Zhang BT. Bilinear attention networks. Adv Neural Inf Process Syst. 2018;31:1571–81.
  • 37.Murtagh F. Multilayer perceptrons for classification and regression. Neurocomputing. 1991;2(5–6):183–97. [Google Scholar]
  • 38.Lee M. Gelu activation function in deep learning: a comprehensive mathematical analysis and performance. arXiv preprint. 2023;arXiv:2305.12073.
  • 39.Lin Z, Akin H, Rao R, Hie B, Zhu Z, Lu W, et al. Language models of protein sequences at the scale of evolution enable accurate structure prediction. BioRxiv. 2022;2022:500902. [Google Scholar]
  • 40.Golaz O, Wilkins MR, Sanchez JC, Appel RD, Hochstrasser DF, Williams KL. Identification of proteins by their amino acid composition: an evaluation of the method. Electrophoresis. 1996;17(3):573–9. [DOI] [PubMed] [Google Scholar]
  • 41.Ahmad K, Waris M, Hayat M. Prediction of protein submitochondrial locations by incorporating dipeptide composition into Chou’s general pseudo amino acid composition. J Membr Biol. 2016;249:293–304. [DOI] [PubMed] [Google Scholar]
  • 42.Wang P, Hu L, Liu G, Jiang N, Chen X, Xu J, et al. Prediction of antimicrobial peptides based on sequence alignment and feature selection methods. PLoS One. 2011;6(4):e18476. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Chen K, Jiang Y, Du L, Kurgan L. Prediction of integral membrane protein type by collocated hydrophobic amino acid pairs. J Comput Chem. 2009;30(1):163–72. [DOI] [PubMed] [Google Scholar]
  • 44.Henikoff S, Henikoff JG. Amino acid substitution matrices from protein blocks. Proc Natl Acad Sci U S A. 1992;89(22):10915–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Sandberg M, Eriksson L, Jonsson J, Sjöström M, Wold S. New chemical descriptors relevant for the design of biologically active peptides. A multivariate characterization of 87 amino acids. J Med Chem. 1998;41(14):2481–91. [DOI] [PubMed] [Google Scholar]
  • 46.Pang Y, Wang Z, Jhong JH, Lee TY. Identifying anti-coronavirus peptides by incorporating different negative datasets and imbalanced learning strategies. Brief Bioinform. 2021;22(2):1085–95. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Saravanan V, Gautham N. BCIgEPRED–a dual-layer approach for predicting linear IgE epitopes. Mol Biol. 2018;52:285–93. [DOI] [PubMed] [Google Scholar]
  • 48.Schneider G, Wrede P. The rational design of amino acid sequences by artificial neural networks and simulated molecular evolution: de novo design of an idealized leader peptidase cleavage site. Biophys J. 1994;66(2):335–44. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Liu B, Fang L, Liu F, Wang X, Chou KC. iMiRNA-PseDPC: microRNA precursor identification with a pseudo distance-pair composition approach. J Biomol Struct Dyn. 2016;34(1):223–35. [DOI] [PubMed] [Google Scholar]
  • 50.Fang P, Zhou J, Roy SK, Petersson L, Harandi M. Bilinear attention networks for person retrieval. In: Proceedings of the IEEE/CVF international conference on computer vision. 2019. pp. 8030–9.
  • 51.Cardoso FC, Lewis RJ. Structure-Function and therapeutic potential of spider venom-derived cysteine knot peptides targeting sodium channels. Front Pharmacol. 2019;10:366. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Chicco D, Jurman G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics. 2020;21:1–13. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.De Hond AA, Steyerberg EW, Van Calster B. Interpreting area under the receiver operating characteristic curve. Lancet Digit Health. 2022;4(12):e853–5. [DOI] [PubMed] [Google Scholar]
  • 54.Imambi S, Prakash KB, Kanagachidambaresan GR. PyTorch. In: Prakash KB, Kanagachidambaresan GR, editors. Programming with TensorFlow: Solution for Edge Computing Applications. Cham: Springer; 2021. p. 87–104.
  • 55.Zhang Z. Improved Adam optimizer for deep neural networks. In: 2018 IEEE/ACM 26th International Symposium on Quality of Service (IWQoS); 2018; Banff, AB, Canada. IEEE. p. 1–2.
  • 56.Mahsereci M, Balles L, Lassner C, Hennig P. Early stopping without a validation set. arXiv preprint. 2017;arXiv:1703.09580.
  • 57.Wang F, Xie P, Lin X, Guan J, Liu C, He X, et al. BiToxNet: A Deep Learning Framework Integrating Multimodal Features for Accurate Identification of Neurotoxic Peptides and Proteins. Zenodo; 2025. Dataset and source code. 10.5281/zenodo.17973979. [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

12915_2026_2508_MOESM1_ESM.pdf (1.4MB, pdf)

Additional file 1: Tables S1–S3, Figures S1–S10 and Supplementary Details. Table S1. Five-fold cross-validation performance of BiToxNet on protein, peptide, and combined datasets. Table S2. Quantitative results of ablation studies evaluating the contributions of different model components. Table S3. Hyperparameter search space and optimal settings used in this study. Fig. S1. Boxplots illustrating five-fold cross-validation performance of BiToxNet across accuracy, sensitivity, specificity, MCC, and AUC on protein, peptide, and combined datasets. Fig. S2. Performance comparison between models without the bilinear attention networkand the BiToxNet on the peptide dataset. Fig. S3. Performance comparison between models without BAN and the BiToxNet on the protein dataset. Fig. S4. t-SNE visualization of feature evolution on the peptide training dataset. Fig. S5. t-SNE visualization of feature evolution on the protein training dataset. Fig. S6. t-SNE visualization of feature discriminability on the peptide testing dataset using traditional descriptors and BiToxNet latent features. Fig. S7. t-SNE visualization of feature discriminability on the protein testing dataset. Fig. S8. Hierarchical clustering of BiToxNet features on the peptide testing dataset. Fig. S9. Hierarchical clustering of BiToxNet features on the protein testing dataset. Fig. S10. Performance of BiToxNet on an independent imbalanced dataset. Supplementary Details: ten protein descriptors. File format: PDF.

Data Availability Statement

All data generated or analyzed during this study are included in this published article, its supplementary information files and publicly available repositories: https://github.com/Feng106-w/BiToxNet and 10.5281/zenodo.17973979 [57].


Articles from BMC Biology are provided here courtesy of BMC

RESOURCES