Abstract
This paper introduces a significant optimization for Probabilistic Neural Networks (PNNs) used in image recognition. By replacing traditional Gaussian activation functions with complex exponential functions based on Fourier series, the proposed method dramatically reduces computational and memory overhead. The shift from memory-heavy Gaussian kernels to efficient Fourier-series-based Fejér kernels reduces the number of required neurons from a linear relationship with the database size to a cubic root relationship, enabling faster recognition without sacrificing performance in small-data scenarios.
Introduction
While Deep Convolutional Neural Networks (CNNs) are the standard for modern image recognition, they typically require massive datasets for training. In many real-world applications, such as identifying individuals from limited photos or recognizing rare objects, researchers face the "small sample size" problem. A common solution is transfer learning, where a pre-trained CNN extracts features and a simpler classifier, like a Probabilistic Neural Network (PNN), performs the final classification.
PNNs are favored for small samples because they converge to an optimal Bayesian decision. However, standard PNNs are "memory-based," requiring a comparison against every instance in the training database. This leads to linear growth in computational complexity and memory usage as the database expands, making them impractical for large-scale deployment.
Methods
The proposed approach implements a "non-canonical" PNN designed for efficiency. The system utilizes state-of-the-art CNNs (e.g., VGGNet or GoogLeNet) as feature extractors, converting images into high-dimensional vectors.
The core innovation lies in replacing the standard Gaussian Parzen kernel with an orthogonal series density estimate using complex exponential functions. To avoid negative probability estimates common in Fourier analysis (e.g., with Dirichlet kernels), the author employs the Fejér kernel. This ensures that the resulting probability density remains non-negative.
By storing the Fourier coefficients of class distributions rather than individual training samples, the network "summarizes" class characteristics. This reduces the number of neurons in the pattern layer from $R$ (the total number of samples) to a value proportional to $\sqrt[3]{R}$, transforming the network into a distributed representation.
Results and Discussion
The method was validated on several benchmarks, including Caltech 101, Caltech 256, Stanford Dogs, PubFig83, and CASIA-WebFace.
Accuracy
On the Caltech-101 dataset with only 5 training images per class, the proposed PNN achieved an accuracy of 74.2%. This significantly outperformed traditional alternatives like Support Vector Machines (SVMs) at 49.9% and Multi-Layer Perceptrons (MLPs) at 39.5%.
Computational Efficiency
The modified PNN demonstrated a speedup of 1.5x to 4.5x compared to original PNN and k-Nearest Neighbor (k-NN) methods. Crucially, as shown in the scaling analysis, the classification time for the proposed method remains nearly constant or grows very slowly as the training set size increases, whereas standard PNNs and k-NN methods exhibit linear slowdown.
Conclusion
The proposed Fourier-based PNN effectively addresses the scaling limitations of traditional PNNs while maintaining high accuracy for small-sample image recognition. By assuming feature independence to avoid the "curse of dimensionality," the model provides a robust, efficient alternative for real-world applications. Future work may involve exploring Bayesian networks to account for feature dependencies and automated hyperparameter tuning for the Fourier term cut-off.
Summary updated