Simultaneous Optimization of Neural Network Weights and Active Nodes using Metaheuristics

Varun Kumar Ojha, Ajith Abraham, Václav SnáselHIS 2014 · DOI

TL;DR

This paper proposes a novel meta-heuristic framework to simultaneously optimize both the connection weights and the parameters of activation functions in neural networks. By allowing activation functions to adapt, the researchers demonstrate significant improvements in classification accuracy across several benchmark datasets, with the Artificial Bee Colony algorithm showing particular promise.

What Problem Does This Paper Address?

Neural networks (NNs) are powerful tools for complex problems, but their performance is heavily influenced by their architecture, connection weights, and the choice of activation functions. While traditional NN training often fixes activation functions, this paper argues that this homogeneity can limit performance. The challenge is to find a way to optimize not just the weights but also the parameters within the activation functions themselves to create more adaptable and effective NNs. This is crucial because different activation functions and their specific parameter settings can lead to better representation of complex data patterns.

Methods

The core of this research is a meta-heuristic framework designed for the simultaneous optimization of NN connection weights and transfer (activation) function parameters. They employ a "genotype representation" where the NN's structure, weights, and activation function parameters are encoded into a single solution vector.

The meta-heuristic algorithms used are:

  • Artificial Bee Colony (ABC): Inspired by the foraging behavior of honey bees, ABC explores the search space to find optimal solutions.
  • Particle Swarm Optimization (PSO): A population-based algorithm where particles (solutions) move through the search space, influenced by their own best-found positions and the best position found by the entire swarm.
  • Differential Evolution (DE): A population-based algorithm that iteratively creates new solutions by combining existing ones, using crossover and mutation-like operations.

The paper also uses a standard Backpropagation (BP) algorithm as a baseline for comparison, with fixed activation functions.

Datasets

The experiments were conducted using three benchmark classification datasets from the UCI Machine Learning repository:

  • Iris: A classic dataset for flower classification.
  • Breast Cancer (WDBC): A dataset for classifying breast masses as malignant or benign.
  • Wine: A dataset for classifying wine types based on chemical analysis.

Key Insights and Ideas

  • Adaptive Activation Functions Matter: The study strongly suggests that optimizing the parameters of activation functions, rather than using fixed ones, significantly enhances NN performance. This introduces a form of heterogeneity at the node level, allowing the network to better adapt to specific data characteristics.
  • ABC Shines: The Artificial Bee Colony (ABC) algorithm consistently outperformed PSO and DE, and often achieved better results than even the optimized BP algorithm, especially when using adaptive transfer functions. This highlights ABC's effectiveness in this complex optimization task.
  • Beta Function's Potential: The Beta function, with its flexibility and multiple parameters, showed competitive results, suggesting it's a promising candidate for adaptive activation functions.
  • Genotype Representation is Key: Encoding both weights and activation function parameters into a single genotype allows meta-heuristics to explore the entire solution space holistically, leading to better overall optimization.

Key Results

The paper reports classification accuracy improvements across all three datasets.

  • For the Iris dataset, the best accuracy achieved was 98.3% using ABC with the Beta function, significantly higher than the best BP result (95.6% with TanhFix).
  • For the Cancer dataset, meta-heuristic algorithms achieved up to 97.0% accuracy, compared to BP's 94.5%.
  • For the Wine dataset, meta-heuristics also reached 97.0% accuracy, surpassing BP's 95.5%. The adaptive versions of Logistic, Tangent-hyperbolic, Gaussian, and Beta functions generally yielded better classification accuracy than their fixed-parameter counterparts when optimized by meta-heuristics.

Limitations and Future Work

  • Parameter Tuning: The authors note that PSO and DE have more tuning parameters than ABC, which can make their performance more sensitive to meticulous tuning.
  • Probabilistic Heterogeneity: While this paper focuses on optimizing parameters for homogeneity (all nodes using the same type of adaptive function), the authors suggest that exploring probabilistic settings for heterogeneity (different nodes using different adaptive functions) could be an interesting future direction.
  • Further Exploration of Beta Function: The competitive performance of the Beta function, despite its complexity, warrants further investigation and parameter tuning.

Summary updated

BibTeX
@inproceedings{ojha2014simultaneous,
  author = {Varun Kumar Ojha and Ajith Abraham and Václav Snásel},
  title = {{Simultaneous Optimization of Neural Network Weights and Active Nodes using Metaheuristics}},
  booktitle = {HIS},
  year = {2014},
  doi = {10.1109/his.2014.7086207},
}
Figure