Skip to main content
QUICK REVIEW

[Paper Review] Comparing Machine Learning Algorithms with or without Feature Extraction for DNA Classification

Xiangxie Zhang, Ben Beinke|arXiv (Cornell University)|Nov 1, 2020
Machine Learning in BioinformaticsBiochemistry, Genetics and Molecular Biology23 references11 citations
TL;DR

This paper proposes a novel feature extraction method using Levenshtein distance between DNA sequences and randomly generated DNA sub-sequences to classify viral DNA without relying on biologically derived primers. It compares this approach with 3-gram feature extraction and deep learning models (CNN, DNN, N-gram) across four viral disease datasets, showing that the random sequence method outperforms others on the smallest SARS-CoV-2 dataset (97.26% accuracy), while the 3-gram method achieves the highest overall accuracy on larger datasets.

ABSTRACT

The classification of DNA sequences is a key research area in bioinformatics as it enables researchers to conduct genomic analysis and detect possible diseases. In this paper, three state-of-the-art algorithms, namely Convolutional Neural Networks, Deep Neural Networks, and N-gram Probabilistic Models, are used for the task of DNA classification. Furthermore, we introduce a novel feature extraction method based on the Levenshtein distance and randomly generated DNA sub-sequences to compute information-rich features from the DNA sequences. We also use an existing feature extraction method based on 3-grams to represent amino acids and combine both feature extraction methods with a multitude of machine learning algorithms. Four different data sets, each concerning viral diseases such as Covid-19, AIDS, Influenza, and Hepatitis C, are used for evaluating the different approaches. The results of the experiments show that all methods obtain high accuracies on the different DNA datasets. Furthermore, the domain-specific 3-gram feature extraction method leads in general to the best results in the experiments, while the newly proposed technique outperforms all other methods on the smallest Covid-19 dataset

Motivation & Objective

  • To evaluate the performance of machine learning models in classifying viral DNA sequences using both traditional and novel feature extraction techniques.
  • To investigate whether randomly generated DNA sequences can effectively replace biologically derived primers for feature extraction in DNA classification.
  • To compare the effectiveness of deep learning models (CNN, DNN, N-gram) against traditional ML models (SVM, Adaboost) when combined with different feature extraction methods.
  • To assess the impact of dataset size on model performance, particularly in low-data regimes.
  • To determine whether domain-specific 3-gram features or the proposed random-sequence-based method yields superior classification accuracy across diverse viral diseases.

Proposed method

  • Proposes a novel feature extraction method based on Levenshtein distance between input DNA sequences and a set of randomly generated DNA sub-sequences to compute information-rich features.
  • Employs a domain-specific 3-gram feature extraction method that encodes all possible 3-nucleotide combinations (e.g., AAA, AAC, etc.) from DNA sequences into frequency-based vectors.
  • Combines both feature extraction methods with multiple machine learning algorithms: SVM, Adaboost, CNN, DNN, and N-gram probabilistic models.
  • Uses four real-world viral DNA datasets: Hepatitis C, HIV (types 1/2), Influenza/Coronavirus, and SARS-CoV-2, each representing different data sizes and viral characteristics.
  • Applies 10-fold cross-validation for model evaluation and reports mean accuracy with standard deviation across repeated experiments.
  • Evaluates performance across varying lengths of randomly generated DNA sequences to determine optimal string length for feature extraction.

Experimental results

Research questions

  • RQ1Can a random DNA sub-sequence-based feature extraction method, using Levenshtein distance, effectively replace biologically derived primers for DNA sequence classification?
  • RQ2How does the performance of the proposed Levenshtein-based method compare to the established 3-gram method and deep learning models (CNN, DNN, N-gram) across different viral DNA datasets?
  • RQ3Does the performance of the feature extraction methods vary significantly with dataset size, particularly on small datasets like SARS-CoV-2?
  • RQ4Which machine learning algorithm (SVM, Adaboost, CNN, DNN, N-gram) achieves the highest accuracy when combined with each feature extraction method?
  • RQ5Is there a consistent optimal length for randomly generated DNA sequences used in the Levenshtein-based feature extraction method?

Key findings

  • The 3-gram feature extraction method combined with SVM or Adaboost achieved the highest mean accuracy (99.90% ± 0.32) on the Hepatitis C dataset and 99.99% ± 0.02 on the Influenza/Coronavirus dataset.
  • On the smallest SARS-CoV-2 dataset (292 samples), the Levenshtein distance with random DNA sequences achieved 97.26% ± 3.34 accuracy, outperforming the second-best method (3-gram) by 4.3 percentage points.
  • The 3-gram method consistently outperformed other methods on larger datasets, achieving near-perfect accuracy (over 99.7%) across three of the four datasets.
  • Deep learning models (CNN and DNN) achieved high accuracy (98.50% to 99.97%) on larger datasets but underperformed on the smallest SARS-CoV-2 dataset, with DNN achieving only 90.12% ± 4.11.
  • The N-gram probabilistic model achieved high accuracy (99.10% to 99.97%) across all datasets, indicating strong performance in sequence modeling tasks.
  • No single machine learning algorithm consistently outperformed others across all datasets and feature extraction methods, but SVM and Adaboost were most competitive with the 3-gram method.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.