arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.01782cs.LGcs.CV
收藏

手写数字和字母分类的多层感知器模型的上下文分析:有限资源

A contextual analysis of multi-layer perceptron models in classifying hand-written digits and letters: limited resources

The University of Edinburgh(爱丁堡大学)

Tidor-Vlad Pricope

摘要:

随着ConvNets的引入,手写数字和字母的分类有了很大的飞跃。然而,在非常受限的硬件上,训练这样的模型所需的时间将很高。我们的主要贡献是双重的。首先,我们在纯numpy中广泛测试了一种端到端的香草神经网络(mlp)方法,而没有预先进行任何预处理或特征提取。其次,我们表明,基本的数据采掘操作可以显着提高性能的模型在计算时间,而不会牺牲太多的准确性。我们说明了我们的索赔扩展MNIST数据集的一个更简单的变种,称为平衡EMNIST数据集。我们的实验表明,在没有任何数据采掘的情况下,当使用更多的隐藏层和正则化技术时,我们可以获得更好的泛化性能,最好的模型在测试数据集上达到84.83%的准确率。使用PCA进行降维,我们能够将这个数字提高到85.08%,而只有10%的原始特征空间,减少了64%的内存需求。最后,添加一些方法来删除可能有害的训练样本,如偏离平均值,帮助我们仍然实现了超过84%的测试准确率,但训练集的内存大小只有原始的32.8%。这与通过类似架构获得的大多数文献结果相比是有利的。尽管这种方法被最先进的模型所超越,但它确实可以扩展到在50%的相同数据集上训练的一些模型(AlexNet,VGGNet)。

英文摘要:

Classifying hand-written digits and letters has taken a big leap with the introduction of ConvNets. However, on very constrained hardware the time necessary to train such models would be high. Our main contribution is twofold. First, we extensively test an end-to-end vanilla neural network (MLP) approach in pure numpy without any pre-processing or feature extraction done beforehand. Second, we show that basic data mining operations can significantly improve the performance of the models in terms of computational time, without sacrificing much accuracy. We illustrate our claims on a simpler variant of the Extended MNIST dataset, called Balanced EMNIST dataset. Our experiments show that, without any data mining, we get increased generalization performance when using more hidden layers and regularization techniques, the best model achieving 84.83% accuracy on a test dataset. Using dimensionality reduction done by PCA we were able to increase that figure to 85.08% with only 10% of the original feature space, reducing the memory size needed by 64%. Finally, adding methods to remove possibly harmful training samples like deviation from the mean helped us to still achieve over 84% test accuracy but with only 32.8% of the original memory size for the training set. This compares favorably to the majority of literature results obtained through similar architectures. Although this approach gets outshined by state-of-the-art models, it does scale to some (AlexNet, VGGNet) trained on 50% of the same dataset.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑