NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Learning Model with GA based Feature Selection and Context Integration

Ranju Mandal, Basim Azam, Brijesh K. Verma, Mengjie ZhangarXiv 2022 · DOI

Abstract

Image parsing remains a critical challenge in computer vision, particularly for autonomous systems requiring precise semantic understanding of environments. This paper presents a novel three-layered deep learning architecture that integrates evolutionary optimization with spatial context. By utilizing a Fast Rival Genetic Algorithm (FRGA) for feature selection and a dedicated relationship-aware layer for contextual logic, the proposed model addresses the dual issues of feature redundancy and context blindness. Experimental results on the Stanford Background and CamVid datasets demonstrate state-of-the-art performance, achieving 92.4% pixel accuracy and 80.42% mIoU, respectively.

Introduction

Image parsing, the process of assigning a semantic label to every pixel in an image, is foundational for robotics and autonomous vehicle navigation. While Deep Convolutional Neural Networks (CNNs) have significantly advanced the field, they often suffer from two primary limitations: context blindness and feature redundancy. Standard CNNs frequently classify regions in isolation, failing to account for the "common sense" spatial relationships between objects—such as the fact that cars typically appear on roads rather than in the sky. Furthermore, deep architectures generate high-dimensional feature sets that often contain noise or redundant information, which can increase computational costs and degrade classification accuracy.

To address these challenges, this research introduces a hybrid framework that combines the meta-heuristic power of Genetic Algorithms (GA) with a multi-layered deep learning structure. The goal is to create a model that understands the relationships between objects while maintaining a lean, efficient feature set.

Methodology

The proposed architecture consists of three distinct layers designed to optimize feature extraction and integrate contextual information.

1. Visual Features Layer

Rather than processing raw pixel data through a standard black-box network, the model first partitions the image into superpixels—groups of pixels with similar visual characteristics. Visual features are extracted from these regions and then subjected to a Fast Rival Genetic Algorithm (FRGA). This evolutionary process identifies and selects the most discriminative subset of features, effectively pruning redundant data. These optimized features are then processed by One-vs-All binary classifiers to generate initial class probabilities.

2. Relationship-Aware Layer

This layer serves as the model’s spatial logic engine, capturing how objects interact within a scene. It calculates two specific types of contextual votes:

  • Adjacent Votes: These analyze the immediate neighbors of a superpixel to determine the most likely class based on local proximity.
  • Block-wise Votes: These consider the broader image region to determine which classes are likely to coexist globally (e.g., the presence of "Sky" increases the likelihood of "Mountain" or "Building" appearing in the same scene).

3. Integration Layer

The final stage utilizes a Multilayer Perceptron (MLP) to fuse the probabilities from the visual features layer and the contextual votes from the relationship-aware layer. This fusion ensures that the final prediction is informed by both the specific visual attributes of the region and the broader semantic context of the image.

Experimental Results

The model was evaluated on two benchmark datasets: the Stanford Background Dataset (SBD) and the Cambridge-driving Labeled Video Database (CamVid).

Stanford Background Dataset (SBD)

The SBD consists of 715 outdoor scene images categorized into eight classes. The proposed model achieved a pixel accuracy of 92.4% and a class accuracy of 92.2%. These results represent a significant improvement over established architectures such as DeepLabV2 (87.0%) and SegWGAN (87.7%).

CamVid Dataset

For the CamVid road scene dataset, the original 32 classes were grouped into 11 categories to address class imbalance. The model achieved a Mean Intersection-Over-Union (mIoU) of 80.42%, outperforming several ResNeXt101-based architectures which typically range between 70% and 75% on this metric.

Discussion and Key Insights

The success of the model can be attributed to several key factors:

  • Evolutionary Efficiency: The GA-based feature selection provided a measurable accuracy boost (3.02% on SBD and 0.86% on CamVid) by ensuring the network learned only from the most informative data points.
  • Semantic Filtering: The relationship-aware layer effectively acted as a filter, preventing the nonsensical predictions often seen in pixel-wise classifiers by formalizing object co-occurrence likelihoods.
  • Computational Optimization: By operating on superpixels in the early stages, the model reduced the computational overhead, making the iterative GA optimization process feasible.

Conclusion

This research demonstrates that integrating evolutionary algorithms with deep learning can significantly enhance image parsing performance. By pruning redundant features and explicitly modeling spatial context, the proposed architecture achieves superior accuracy and stability compared to traditional CNNs. Future work will focus on scaling the model to larger, more diverse datasets and exploring end-to-end optimization strategies to further reduce the training time associated with genetic algorithms.

Summary updated

BibTeX
@misc{mandal2022deep,
  author = {Ranju Mandal and Basim Azam and Brijesh K. Verma and Mengjie Zhang},
  title = {{Deep Learning Model with GA based Feature Selection and Context Integration}},
  year = {2022},
  eprint = {2204.06189},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.06189},
}
Figure