MNIST Digit Classification Using Neural Networks: A Comparative Study of MLP, CNN, and LSTM Architectures

This paper compares three neural network architectures for handwritten digit recognition on the MNIST benchmark: a fully connected multilayer perceptron (MLP), a convolutional neural network (CNN), and a recurrent neural network built on long short-term memory (LSTM). All models were implemented in TensorFlow/Keras, trained for 10 epochs with the Adam optimizer, and evaluated on the standard 10,000- image test set over two experimental runs. The CNN was the most accurate in both runs, at 99.09% and 99.16%, against 97.64% and 97.39% for the MLP, cutting errors by about two-thirds while using 37,610 trainable parameters, less than half the 79,510 of the MLP. The LSTM, which reads each image as a sequence of 28 pixel rows, reached 98.48% with 81,674 parameters, placing it between the other two, but it was the slowest to train (818 s, against 319 s for the CNN and 150 s for the MLP). We describe the dataset, preprocessing, architectures, and training behaviour, and present a per-class error analysis of all three models from their confusion matrices. Digit 5 is the most over-predicted class in every model, and 3 → 5 is the one confusion in all three models’ top five. We also identify implementation issues in the baseline, notably a sigmoid output paired with categorical cross-entropy, and propose data augmentation, batch normalization, seeded repeated runs, and ensembling, which published work shows can reduce error below 0.3%.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24551808
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

MNIST Digit Classification Using Neural Networks: A Comparative Study of MLP, CNN, and LSTM Architectures

SINCHANA S
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
article

MNIST Digit Classification Using Neural Networks: A Comparative Study of MLP, CNN, and LSTM Architectures

SINCHANA S
article en

Abstract

This paper compares three neural network architectures for handwritten digit recognition on the MNIST benchmark: a fully connected multilayer perceptron (MLP), a convolutional neural network (CNN), and a recurrent neural network built on long short-term memory (LSTM). All models were implemented in TensorFlow/Keras, trained for 10 epochs with the Adam optimizer, and evaluated on the standard 10,000- image test set over two experimental runs. The CNN was the most accurate in both runs, at 99.09% and 99.16%, against 97.64% and 97.39% for the MLP, cutting errors by about two-thirds while using 37,610 trainable parameters, less than half the 79,510 of the MLP. The LSTM, which reads each image as a sequence of 28 pixel rows, reached 98.48% with 81,674 parameters, placing it between the other two, but it was the slowest to train (818 s, against 319 s for the CNN and 150 s for the MLP). We describe the dataset, preprocessing, architectures, and training behaviour, and present a per-class error analysis of all three models from their confusion matrices. Digit 5 is the most over-predicted class in every model, and 3 → 5 is the one confusion in all three models’ top five. We also identify implementation issues in the baseline, notably a sigmoid output paired with categorical cross-entropy, and propose data augmentation, batch normalization, seeded repeated runs, and ensembling, which published work shows can reduce error below 0.3%.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
MNIST Digit Classification Using Neural Networks: A Comparative Study of MLP, CNN, and LSTM Architectures — SINCHANA S · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS