Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

EMNIST: an extension of MNIST to handwritten letters

EMNIST converts NIST letters into an MNIST-compatible benchmark

  • Problem MNIST is now a weak test, with several groups reporting accuracies above 99.7%. NIST's letter data also uses a format that existing MNIST classifiers cannot read directly.
  • Method EMNIST reuses MNIST's conversion recipe but lets each character fill more of the 28 × 28 frame. Each character is blurred, cropped to a square, and downsampled.
  • Results An OPIUM-trained ELM reached 78.02% ± 0.09% on EMNIST Balanced at 10,000 hidden neurons, against 50.93% for a linear classifier.

Why MNIST no longer tests learners well

MNIST remains the default handwritten digit benchmark, but it has become a weak test. Several research groups report accuracies above 99.7%, and at that level the labels themselves are open to question. A benchmark needs a harder task to stay useful, so the field needs something beyond ten digit classes. The NIST Special Database 19 holds digits as well as uppercase and lowercase letters, which makes it the natural source for that task.

The obstacle is access rather than content. The original release stores characters in a compact, compressed format and ships extraction code that is hard to run on modern systems. The second edition uses PNG files, but its structure still differs from MNIST, so existing classifiers can't use it directly.

Earlier NIST studies also picked different class sets, splits and preprocessing, so their numbers can't be compared directly. What is missing is a fixed suite of well-defined tasks that state the classes, the splits and the image format.

Turning NIST characters into MNIST-format images

The key idea is to reuse MNIST's conversion recipe and change only the step that sizes each character. The original recipe shrank characters into a 20 × 20 or 32 × 32 frame, whereas this work lets each character use as much of the 28 × 28 frame as it can. Each character is blurred first, which softens its edges before any cropping.

A Gaussian filter with σ = 1 is applied to the binary image, and a bounding box is then fitted to the character and cropped. The crop is centred in a square whose side equals its largest dimension, so the aspect ratio stays the same. A 2 pixel empty border is added around it, which keeps strokes away from the edge as in MNIST. Bi-cubic interpolation then down-samples the square to 28 × 28 pixels, and the intensities are scaled to the 8-bit range.

Input and output formats match MNIST: 128 × 128 binary images in, 28 × 28 pixel gray-scale images with 8-bit values out. The authors worked from the original 1995 release, and the same post-processing also applies to the 2016 PNG edition. Only the By Class and By Merge hierarchies are converted, because those are the ones with tasks directly compatible with MNIST.

Six datasets built from one pool

By Class and By Merge both hold the full 814,255 characters and differ only in how the letters are labelled. By Class has 62 classes: the digits, the lowercase letters and the uppercase letters. By Merge combines selected uppercase and lowercase letters, which leaves 47 classes. The merged letters follow NIST's suggested list, which covers C, I, J, K, L, M, O, P, S, U, V, W, X, Y and Z.

Balanced keeps the 47 By Merge classes with an equal number of samples per class, at 131,600 samples in total. Letters merges each letter's two cases into one class and drops the digits, giving 26 classes. Digits uses 28,000 samples per digit class, and MNIST matches the original size of 70,000 samples.

The original training and testing sets are merged, and a new random training and testing split is drawn from them. The authors made this choice because the recommended split puts the high-school handwriting alone in testing, which raises doubts about how similar the two groups are.

Benchmarking with ELM and a linear classifier

The benchmark classifier is a three-layer ELM network, and its hidden layer size is varied across the tests. The pseudo-inverse can't be computed in one step at this dataset size, so the output weights are trained with OPIUM.

The random training order is fixed across all tests, and each hidden size is run with several draws of random input weights. Only the hidden size and the random weights change between networks, so the rest of the setup stays constant. Accuracy is the percentage of characters correctly classified, and the authors call these results a baseline rather than state of the art.

EMNIST Balanced against original MNIST

For these runs the validation part is included in training, and accuracy is read on the unseen test set. At 10,000 hidden neurons, averaged over twenty trials, the ELM reached 78.02% ± 0.09%. The linear classifier reached 50.93% on the same task.

Accuracy rose with each hidden layer size, but sizes above 10,000 couldn't be tested because of memory and processing limits. The same networks also score on original MNIST, and the authors use the gap to show that EMNIST is harder for them. The authors say this keeps the structure, simplicity and accessibility of MNIST while adding difficulty.

By Merge against By Class

Both full sets contain the same characters, so the comparison isolates the effect of the class count. Over ten trials, By Merge peaked at 80.87% ± 0.05% at 10,000 hidden neurons, compared to 77.57% ± 0.08% for By Class. By Merge stayed ahead at every hidden layer size tested. The linear classifiers reversed the order, with 50.51% on By Merge and 51.80% on By Class.

The authors attribute the gap mainly to uppercase and lowercase letters being confused in By Class. Merging fixes much of that, but lowercase l, the digit 1 and lowercase i still confuse the classifiers because they remain separate classes in By Merge. More sophisticated classifiers may separate these subtle differences better, but the paper doesn't test that.

EMNIST Letters and the case problem

EMNIST Letters combines each letter's uppercase and lowercase forms into one class and removes the digits. Its best accuracy was 85.15% ± 0.12% over ten trials at 10,000 hidden neurons, with the linear classifier at 55.78%. That is above the 80.87% for By Merge, though the uneven test sizes per class make this comparison weak.

To test the case effect directly, the authors ran the same networks on a 37-class mixed-case set of letters from By Merge. That set gives lower accuracy and much higher variance, with a best case of 75.0% ± 1.03% at 10,000 hidden neurons. The authors attribute this to case confusion between uppercase and lowercase forms, which shifts from trial to trial with the random input weights.

Checking a sample of the original forms points to handwriting inconsistency by individuals rather than mislabelling. The loss of scale in conversion also removes size cues, and those cues vary between writers.

A typical confusion matrix shows I and L as the most confused pair, followed by G and Q. G was the weakest class at 65.5%, and O the strongest at 95.8%. The digit classes add further complication, which is why Letters leaves them out.

Digit sets against original MNIST

EMNIST MNIST reached 97.50% ± 0.05%, and EMNIST Digits reached 97.22% ± 0.05% at 10,000 hidden neurons over ten trials. With identical networks, both sets beat original MNIST at each network size tested. The authors attribute this to the conversion filling more of the 28 × 28 frame and leaving fewer blank pixels.

Linear classifiers scored 84.70% on Digits and 85.11% on EMNIST MNIST. Those are far above the 55.78% for Letters, which suggests letters are less linearly separable than digits. The authors also cite a linear result of 88% on MNIST without preprocessing as a reference point. EMNIST MNIST uses a slightly different digit selection because classes were rebalanced, which may cost some accuracy but doesn't explain the consistent gain.

Against earlier NIST results

The closest prior work is the study cited as [16], which used NIST SD19 with a convolutional network. It reported 0.27% error on MNIST with a committee of seven deep networks. That study resized digits to a 20 × 20 box inside a 29 × 29 frame, which differs from this paper's conversion. Its code and dataset weren't released.

Those authors reported 88.12% ± 0.09% on By Class and 91.79% ± 0.11% on By Merge. They also reported 92.42% ± 0.09% on letters and 99.19% ± 0.02% on digits, using the full digit set rather than balanced ones. The authors caution that these come from a similar but not identical dataset, so they aren't direct comparisons.

Milgram et al. reported 98.11% on the NIST digit task with support vector machines and different splits. Granger et al. reached 96.29% on the full NIST digit set with a fuzzy ARTMAP network. The authors read these as in line with the EMNIST results, though they aren't directly comparable.

Limitations

The hidden layer sweep stops at 10,000 neurons, because memory and processing limited the runs. Only ELM and linear classifiers are tested, and the authors expect deeper networks to do better without testing them. Balanced runs use twenty trials, and the other sets reported in the text use ten.

Validation data were included in training for the Balanced runs, so those accuracies aren't reported under a train-validation-test protocol. Mixed-case letters show high variance, and the authors expect the standard deviation would fall with more trials, which they didn't run. Comparisons with earlier NIST work use different datasets and splits, so they only indicate consistency.

Paper info

Authors
Gregory Cohen, Saeed Afshar, Jonathan Tapson, André van Schaik
Venue
arXiv · Preprint
First published
2017-2-17
Added
2026-11-12
Updated
2017-3-1
Version
v2
arXiv
1702.05373
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Gregory Cohen, Saeed Afshar, Jonathan Tapson, André van Schaik (2017). EMNIST: an extension of MNIST to handwritten letters. arXiv:1702.05373v2. https://arxiv.org/abs/1702.05373v2

BibTeX
@misc{cohen2017emnist,
  title = {{EMNIST: an extension of MNIST to handwritten letters}},
  author = {Gregory Cohen and Saeed Afshar and Jonathan Tapson and André van Schaik},
  year = {2017},
  eprint = {1702.05373},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.05373v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up