Performing Arithmetic Using a Neural Network Trained on Digit Permutation Pairs

Marcus Daniel Bloice, Peter M. Roth, Andreas Holzinger

Publikation: ArbeitspapierPreprint


In this paper a neural network is trained to perform simple arithmetic using images of concatenated handwritten digit pairs. A convolutional neural network was trained with images consisting of two side-by-side handwritten digits, where the image’s label is the summation of the two digits contained in the combined image. Crucially, the network was tested on permutation pairs that were not present during training in an effort to see if the network could learn the task of addition, as opposed to simply mapping images to labels. A dataset was generated for all possible permutation pairs of length 2 for the digits 0–9 using MNIST as a basis for the images, with one thousand samples generated for each permutation pair. For testing the network, samples generated from previously unseen permutation pairs were fed into the trained network, and its predictions measured. Results were encouraging, with the network achieving …
PublikationsstatusVeröffentlicht - 6 Dez. 2019

Publikationsreihe e-Print archive
Herausgeber (Verlag)Cornell University Library


Untersuchen Sie die Forschungsthemen von „Performing Arithmetic Using a Neural Network Trained on Digit Permutation Pairs“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren