[Paper Review] Offline handwritten mathematical symbol recognition utilising deep learning
This paper proposes a deep learning framework for offline handwritten mathematical symbol recognition using SLIC for segmentation and transfer learning with pre-trained SqueezeNet for classification. It achieves 90% accuracy on 101 symbol classes, demonstrating state-of-the-art performance for multi-class handwritten mathematical symbol recognition with minimal data augmentation.
This paper describes an approach for offline recognition of handwritten mathematical symbols. The process of symbol recognition in this paper includes symbol segmentation and accurate classification for over 300 classes. Many multidimensional mathematical symbols need both horizontal and vertical projection to be segmented. However, some symbols do not permit to be projected and stop segmentation, such as the root symbol. Besides, many mathematical symbols are structurally similar, specifically in handwritten such as 0 and null. There are more than 300 Mathematical symbols. Therefore, designing an accurate classifier for more than 300 classes is required. This paper initially addresses the issue regarding segmentation using Simple Linear Iterative Clustering (SLIC). Experimental results indicate that the accuracy of the designed kNN classifier is 84% for salient, 57% Histogram of Oriented Gradient (HOG), 53% for Linear Binary Pattern (LBP) and finally 43% for pixel intensity of raw image for 66 classes. 87 classes using modified LeNet represents 90% accuracy. Finally, for 101 classes, SqueezeNet ac
Motivation & Objective
- To address the challenge of recognizing over 300 handwritten mathematical symbols in offline handwritten expressions.
- To improve symbol segmentation accuracy for complex, structurally similar, or non-projectable symbols like roots and zero.
- To design a robust classifier capable of distinguishing highly similar symbols such as 0 and null, or uppercase and lowercase variants.
- To achieve high recognition accuracy with limited training data through transfer learning using pre-trained deep networks.
- To evaluate and compare traditional feature-based methods (HOG, LBP, saliency, intensity) against deep learning models (LeNet, SqueezeNet).
Proposed method
- Symbol segmentation is performed using Simple Linear Iterative Clustering (SLIC) to generate superpixels that capture structural details of handwritten symbols.
- For classification, a modified LeNet network is trained on 66 and later 87 classes, with hyperparameters tuned for optimal convergence and loss control.
- Transfer learning is applied using a pre-trained SqueezeNet model fine-tuned on 101 mathematical symbol classes to mitigate overfitting with limited data.
- The network uses ReLU activation, Softmax loss, and ADAM optimization with a learning rate of 0.00001 for stable training.
- Performance is evaluated using multiple feature extraction methods: raw pixel intensity, saliency maps, HOG, and LBP, for comparative baseline analysis.
- The final model leverages SqueezeNet’s lightweight architecture and 18-layer depth to maintain high accuracy with reduced parameters.
Experimental results
Research questions
- RQ1Can SLIC-based superpixel segmentation effectively handle complex and non-projectable mathematical symbols such as root symbols?
- RQ2How do traditional handcrafted features (HOG, LBP, saliency, intensity) compare in performance to deep learning models for multi-class mathematical symbol recognition?
- RQ3To what extent can transfer learning with pre-trained SqueezeNet improve recognition accuracy on limited datasets with over 100 symbol classes?
- RQ4What hyperparameter settings (learning rate, optimizer, activation function) yield optimal convergence and accuracy in deep networks for this task?
- RQ5Can deep learning models like LeNet and SqueezeNet achieve high accuracy (≥90%) on a growing number of symbol classes without extensive data augmentation?
Key findings
- The kNN classifier achieved 84% accuracy using saliency maps, 57% with HOG, 53% with LBP, and 43% with raw pixel intensity for 66 classes.
- The modified LeNet network achieved 85% accuracy on 78 classes using ReLU activation, Softmax loss, and ADAM optimization with a learning rate of 0.00001.
- Using transfer learning, pre-trained SqueezeNet achieved 90% accuracy on 101 mathematical symbol classes, outperforming all baseline methods.
- The combination of ADAM optimizer and a low learning rate (1e-5) significantly improved convergence and final accuracy compared to SGD.
- The use of ReLU activation and Softmax loss in deeper networks (e.g., modified LeNet and SqueezeNet) outperformed tanH and sigmoid due to reduced vanishing gradient issues.
- Transfer learning with SqueezeNet enabled high performance (90%) even with limited training data, demonstrating its effectiveness for low-data symbol recognition tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.