General Purpose (GenP) Bioimage Ensemble of Handcrafted and Learned Features with Data Augmentation

Loris Nanni, Sheryl Brahnam, Stefano Ghidoni, Gianluca MaguoloarXiv 2019 · DOI

Abstract

Bioimage classification plays a crucial role in many biological problems. In this work, we present a new General Purpose (GenP) ensemble that boosts performance by combining local features, dense sampling features, and deep learning approaches. First, we introduce three new methods for data augmentation based on PCA/DCT; second, we show that different data augmentation approaches can boost the performance of an ensemble of CNNs; and, finally, we propose a set of handcrafted/learned descriptors that are highly generalizable. Each handcrafted descriptor is used to train a different Support Vector Machine (SVM), and the different SVMs are combined with the ensemble of CNNs. Our method is evaluated on a diverse set of bioimage classification problems. Results demonstrate that the proposed GenP bioimage ensemble obtains state-of-the-art performance without any ad-hoc dataset tuning of parameters (thus avoiding the risk of overfitting/overtraining).

Introduction

Bioimage classification—identifying subcellular structures, cancerous tissues, or organismal aging—is a cornerstone of modern biological research. However, two major hurdles persist: data scarcity and the "tuning trap." High-quality biological images are often rare, leading to overfitting in deep learning models. Furthermore, many high-performing models are manually tuned for specific datasets, failing to generalize to new biological problems without significant re-engineering. This paper introduces the General Purpose (GenP) ensemble, a robust framework designed to work across diverse bioimage datasets without manual hyperparameter tweaking.

The GenP Architecture

The GenP system is built on a three-pillar architecture that integrates traditional computer vision with modern deep learning. The framework follows a dual-pathway approach: one path extracts handcrafted features for SVM classification, while the other utilizes deep learning models enhanced by novel data augmentation strategies.

Architecture of the GenP ensemble combining handcrafted and deep features.

Handcrafted Descriptors

The first pillar utilizes a diverse "greatest hits" list of texture and color descriptors. These include Local Binary Patterns (LBP), Gabor filters, and morphological features. Each descriptor is used to train a separate Support Vector Machine (SVM). The diversity of these descriptors ensures that the model captures a wide range of spatial and spectral information that CNNs might overlook in small-data regimes.

Summary of the handcrafted descriptors used in the ensemble.

Deep Learning and Novel Data Augmentation

The second pillar involves fine-tuning several classic CNN architectures, including AlexNet, GoogleNet, VGG, ResNet50, and DenseNet. To combat data scarcity, the authors introduce three novel data augmentation (DA) methods based on Principal Component Analysis (PCA) and Discrete Cosine Transform (DCT):

  • ResetCoef: Randomly sets PCA/DCT coefficients to zero before back-projecting to the image space.
  • Perturbation: Adds random noise to the coefficients based on the standard deviation of the image.
  • FusionImg: Mixes features from five random images of the same class in the transform space to create a "hybrid" training sample.

By perturbing images in the transform subspace rather than the pixel space, the system creates realistic variations that help models generalize better than standard noise injection.

Experimental Setup and Datasets

The model was evaluated on 11 diverse, publicly available bioimage datasets to ensure its "General Purpose" claim. These included:

  • Subcellular: CH (Hamster Ovary Cells), HE (2D HeLa), LO (Locate Endogenous), TR (Locate Transfected), and RN (Fly Cells).
  • Tissue/Histology: CO (Colorectal Cancer), LY (Lymphoma), LG (Liver Gender), and LA (Liver Aging).
  • Organismal: MA (Muscle Aging in C. elegans) and TB (Terminal Bulb aging).

Key Results and Discussion

The GenP ensemble (HAND+DEEP) achieved state-of-the-art (SOTA) accuracy on nearly all tested datasets. Key findings include:

  • Fusion Superiority: Combining handcrafted features with CNNs consistently outperformed using either alone. For instance, on the "HE" dataset, the ensemble reached 97.21% accuracy, surpassing previous benchmarks.
  • Augmentation Impact: The new DCT-based augmentation (App6) was the top-performing standalone method, significantly improving the baseline performance of ResNet50 and DenseNet.
  • Generalizability: The ensemble used the exact same hyperparameters across all 11 datasets, proving it is a viable "off-the-shelf" tool for biologists without machine learning expertise.

Conclusion

The GenP ensemble demonstrates that combining diverse handcrafted descriptors with an ensemble of CNNs—boosted by transform-domain data augmentation—provides a robust solution for bioimage classification. While the computational cost of running multiple models is higher, the gain in accuracy and generalizability without dataset-specific tuning is a significant advancement. Future work will explore model compression and the integration of newer architectures like Vision Transformers.

Summary updated

Abstract

Bioimage classification plays a crucial role in many biological problems. In this work, we present a new General Purpose (GenP) ensemble that boosts performance by combining local features, dense sampling features, and deep learning approaches. First, we introduce three new methods for data augmentation based on PCA/DCT; second, we show that different data augmentation approaches can boost the performance of an ensemble of CNNs; and, finally, we propose a set of handcrafted/learned descriptors that are highly generalizable. Each handcrafted descriptor is used to train a different Support Vector Machine (SVM), and the different SVMs are combined with the ensemble of CNNs. Our method is evaluated on a diverse set of bioimage classification problems. Results demonstrate that the proposed GenP bioimage ensemble obtains state-of-the-art performance without any ad-hoc dataset tuning of parameters (thus avoiding the risk of overfitting/overtraining).
BibTeX
@misc{nanni2019general,
  author = {Loris Nanni and Sheryl Brahnam and Stefano Ghidoni and Gianluca Maguolo},
  title = {{General Purpose (GenP) Bioimage Ensemble of Handcrafted and Learned Features with Data Augmentation}},
  year = {2019},
  eprint = {1904.08084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.08084},
}
Figure