<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Logarithmic transformation of input activations in convolutional network neurons: An approach and analysis of effectiveness using MNIST classification as an example

Вантажиться...
Ескіз

Дата

Назва журналу

Номер ISSN

Назва тому

Анотація

Convolutional neural networks attract considerable attention because they can learn directly input data, automatically forming the features required for classification. The purpose of the study was to improve the architecture of a convolutional neural network by applying a logarithmic transformation of input activations in the neurons of convolutional layers and examining its influence on classification accuracy and the robustness of the neural network to changes in image brightness. The mathematical model of a modified neuron was considered; it evaluates the input signal through a logarithmic transformation of the form γ ·ln(x+1), γ is an additional trainable parameter that determines the degree of nonlinear signal compression. This approach increased the sensitivity of the neuron to relative changes in input signals, reduces the influence of large activation values, and can improve the stability of the training process. An analysis of gradients for the trainable parameters of the neural network was conducted within the backpropagation method. The analysis indicated that logarithmic transformation changes the pattern of weight s, strengthening the gradient at small signal values and weakening it at large values. Particular attention was paid to the γ parameter, which acts as a global scale coefficient for the neural layer and enables the network to adjust the level of nonlinearity independently. Experimental verification of the effect of logarithmic transformation of input activations in convolutional layers was conducted using the MNIST handwritten digit classification task with a LeNet-like architecture. The experimental results demonstrated that, for standard images, the logarithmic model provides only a slight increase in accuracy compared with the model with classical linear neurons, averaging 99.17% versus 99.11%. However, for the same images with reduced brightness, the logarithmic model demonstrated high robustness and much higher accuracy. In particular, when brightness was reduced sevenfold, classification accuracy for the model with classical neurons decreased on average to 27.11%, as the logarithmic model maintained a level of approximately 90.98%. The results confirmed the appropriateness of using logarithmic transformation as a mechanism for improving the stability of neural networks in computer vision tasks under insufficient or variable illumination.

Опис

УДК

Мова

Бібліографічний опис

Tarnovskyi A. M., Logarithmic transformation of input activations in convolutional network neurons: An approach and analysis of effectiveness using MNIST classification as an example // Information Technologies and Computer Engineering. 2026. № 2 (23). P. 100-108. DOI: https://doi.org/10.31649/vitce/2.2026.100.

Схвалення

Рецензія

Доповнено

Цитується в

Список використаної літератури (20)

  1. Aboukhair, M., Alsheref, F., Assiri, A., Koura, A., & Kayed, M. (2025). CNN filter sizes, effects, limitations, and challenges: An exploratory study. Network Computation in Neural Systems, 1-29. doi: 10.1080/0954898X.2025.2533865.
  2. Alzubaidi, L., Zhang, J., Humaidi, A.J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., Santamaría, J., Fadhel, M.A., Al-Amidie, M., & Farhan, L. (2021). Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. Journal of Big Data, 8(1), article number 53. doi: 10.1186/s40537-021-00444-8.
  3. Cotogni, M., & Cusano, C. (2022). Offset equivariant networks and their applications. Neurocomputing, 502, 110-119. doi: 10.1016/j.neucom.2022.06.118.
  4. Hu, C., Shi, W., Li, C., Sun, J., Wang, D., Wu, J., & Tang, G. (2023). Impact of light and shadow on robustness of deep neural networks. arXiv. doi: 10.48550/arXiv.2305.14165.
  5. Kadam, S., Adamuthe, A., & Patil, A. (2020). CNN model for image classification on MNIST and fashion-MNIST dataset. Journal of Scientific Research, 64 (2), 374-384. doi: 10.37398/JSR.2020.640251.
  6. Khan, S., & Iqbal, R. (2025). A comprehensive survey on architectural advances in deep CNNs: Challenges, applications, and emerging research directions. arXiv. doi: 10.48550/arXiv.2503.16546.
  7. Khanday, O.M., Dadvandipour, S., & Lone, M.A. (2021). An effect of filter sizes on image classification in CNN: A case study on CIFAR10 and Fashion-MNIST datasets. IAES International Journal of Artificial Intelligence, 10(4), 872-878. doi: 10.11591/ijai.v10.i4.pp872-878.
  8. Madadum, H., & Becerikli, Y. (2022). A resource-efficient convolutional neural network accelerator using fine-grained logarithmic quantization. Intelligent Automation & Soft Computing, 33(2), 681-695. doi: 10.32604/iasc.2022.023831.
  9. Maes, C. (2021). Statistical mechanical foundation of Weber-Fechner laws. Journal of Statistical Physics, 182, article number 49. doi: 10.1007/s10955-021-02726-0.
  10. Maxwell, B.A., Singhania, S., Patel, A. Kumar, R., Fryling, H., Li, S., Sun, H., He, P., & Li, Z. (2024). Logarithmic lenses: Exploring log RGB data for image classification. In 2024 IEEE/CVF conference on computer vision and pattern recognition (CVPR) (pp. 17470-17479). Seattle: Institute of Electrical and Electronics Engineers. doi: 10.1109/CVPR52733.2024.01654.