A Lightweight CNN for Multi-Class Classification of Handwritten Digits and Mathematical Symbols

Authors

  • Nicholas Abisha IPB University
  • Tita Putri Redytadevi IPB University
  • Sri Nurdiati IPB University
  • Elis Khatizah IPB University
  • Mohamad Khoirun Najib IPB University

DOI:

https://doi.org/10.62411/tc.v24i3.13138

Abstract

Recognizing handwritten digits and mathematical symbols remains a nontrivial challenge due to handwriting variability and visual similarity among classes. While deep learning, particularly Convolutional Neural Networks (CNNs), has significantly advanced handwriting recognition, many existing solutions rely on deep, resource-intensive architectures. This study aims to develop a lightweight and efficient CNN model for multi-class classification of handwritten digits and mathematical symbols, with an emphasis on deployability in resource-constrained environments such as educational platforms and embedded systems. The proposed model, implemented in Julia using the Flux.jl library, features a compact architecture with only two convolutional layers and approximately 55,000 trainable parameters significantly smaller than typical deep CNNs. Trained and evaluated on a publicly available dataset of over 10,000 grayscale 28×28-pixel images across 19 symbol classes, the model achieves a test accuracy of 91.8% while maintaining low computational demands. This work contributes to the development of practical handwritten mathematical expression recognition systems and demonstrates the feasibility of using Julia for developing lightweight deep learning applications.   Keywords - Digits, Mathematical Symbol, Classification, CNN

Author Biographies

Nicholas Abisha, IPB University

Applied Mathematics, School of Data Science, Mathematics and Informatics, IPB University, Bogor, Indonesia

Tita Putri Redytadevi, IPB University

Applied Mathematics, School of Data Science, Mathematics and Informatics, IPB University, Bogor, Indonesia

Sri Nurdiati, IPB University

Applied Mathematics, School of Data Science, Mathematics and Informatics, IPB University, Bogor, Indonesia

Elis Khatizah, IPB University

Applied Mathematics, School of Data Science, Mathematics and Informatics, IPB University, Bogor, Indonesia

Mohamad Khoirun Najib, IPB University

Applied Mathematics, School of Data Science, Mathematics and Informatics, IPB University, Bogor, Indonesia

Downloads

Published

2025-08-18

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.