Exploring Deep Neural Network Architectures: A Case Study on Improving Antimicrobial Peptide Recognition

Manpriya Dua, Daniel Barbará, Amarda ShehuEPiC 2020

Abstract

With antibiotic resistance on the rise, health organizations are urging for the design of new drug templates. Naturally-occurring antimicrobial peptides (AMPs) promise to serve as such templates, as they show lower likelihood for bacteria to form resistance. This has motivated wet and dry laboratories to seek novel AMPs. The sequence diversity of these peptides, however, renders systematic wet-lab screening studies either infeasible or too narrow in scope. Dry laboratories have focused instead on machine learning approaches. In this paper, we explore various deep neural network architectures aimed at improving antimicrobial peptide recognition. Our enquiry results in several architectures with comparable or better performance than existing, state-of-the-art discriminative models.

Introduction

As the global health crisis of antibiotic resistance intensifies, traditional drug discovery methods are struggling to keep pace. Antimicrobial Peptides (AMPs)—short amino acid sequences that form a critical part of the innate immune system—offer a promising alternative. Unlike conventional antibiotics, bacteria find it significantly harder to develop resistance against the physical mechanisms by which AMPs disrupt microbial membranes.

However, identifying effective AMPs is a daunting task. The vast sequence diversity of amino acids makes physical "wet-lab" screening prohibitively slow and expensive. While machine learning has emerged as a powerful tool for predicting AMP activity, many existing models are either overly complex "black boxes" or rely on architectures that haven't been fully optimized for biological sequence data. This study performs a systematic "anatomical" investigation of Deep Neural Network (DNN) components to identify the most efficient and accurate architectures for AMP recognition.

Methodology and Data

The research utilized data from the APD3 (Anti-microbial Peptide Database), consisting of 1,778 sequences active against Gram-positive and/or Gram-negative bacteria. The dataset was split into 712 sequences for training, 354 for tuning, and 712 for final testing. To create a robust classifier, the authors paired these with a carefully constructed set of non-AMP sequences.

The study involved an extensive ablation study starting from a baseline state-of-the-art model that combined Convolutional and Long Short-Term Memory (LSTM) layers. The researchers systematically tested three main areas:

  1. Input Representation: Comparing One-Hot Encoding, Integer/Binary encoding, K-mer counts, and Byte Pair Encoding (BPE).
  2. Layer Configuration: Systematically removing or adding layers, including different recurrent units (GRU, SimpleRNN, BiLSTM) and varying the count of Convolutional and Max-Pooling layers.
  3. Attention Mechanisms: Integrating attention layers to determine if the model could learn to focus on specific functional motifs within the peptide sequences.
Architecture of the optimized DNN-Conv² model, featuring two convolutional and max-pooling stages.

Key Insights and Results

The investigation yielded several surprising insights that challenge common assumptions in sequence modeling for bioinformatics:

Complexity vs. Performance

While recurrent layers like LSTMs are often considered standard for sequence data, this study found they provided little benefit for short AMP sequences. In fact, the DNN-RNN^0 model (where the recurrent layer was removed) slightly outperformed the baseline. This suggests that the long-range dependencies LSTMs are designed to capture may not be the primary drivers of antimicrobial activity in these short peptides.

The Dominance of Local Context

Convolutional layers proved to be the most critical component of the architecture. These layers are adept at identifying local patterns or "motifs" of neighboring amino acids. The best-performing model, DNN-Conv^2, utilized two convolutional layers without any recurrent components. This model achieved a Maximum Accuracy of 0.938 and an AUROC of 0.972.

Performance comparison across various convolutional and attention-based architectures, highlighting the superior performance of the DNN-Conv² model.

Representation and Attention

Input representation was found to be a significant bottleneck. One-hot encoding and 1-mer counts performed significantly better than more compact integer or binary representations. Interestingly, adding an attention mechanism actually decreased performance. The authors hypothesize that the relatively small size of the training dataset (under 2,000 samples) prevents the attention mechanism from generalizing effectively, as these layers typically require much larger datasets to provide value.

Conclusion

This study demonstrates that for antimicrobial peptide recognition, simpler and more efficient architectures can outperform complex, recurrent-based models. The DNN-Conv^2 architecture not only provided superior accuracy but also significantly reduced training time—from 342 seconds for the baseline to approximately 135 seconds on standard hardware.

Future work will focus on addressing data scarcity and improving model interpretability. While these models are highly effective at prediction, translating their internal logic into actionable "rules" for de novo peptide design remains a key challenge for the field.

Summary updated

BibTeX
@inproceedings{dua2020exploring,
  author = {Manpriya Dua and Daniel Barbará and Amarda Shehu},
  title = {{Exploring Deep Neural Network Architectures: A Case Study on Improving Antimicrobial Peptide Recognition}},
  booktitle = {EPiC},
  year = {2020},
  doi = {10.29007/rbxj},
}
Figure