The effect of input size on the accuracy of a convolutional neural network performing brain tumor detection

Zirui Zhao
{"title":"The effect of input size on the accuracy of a convolutional neural network performing brain tumor detection","authors":"Zirui Zhao","doi":"10.1117/12.2672694","DOIUrl":null,"url":null,"abstract":"A brain tumor can negatively affect basic bodily functions and when malignant can result in low survival rates. Many studies were conducted to detect and classify brain tumors in MRI images using a convolutional neural network (CNN) and other techniques like image preprocessing and transfer learning. However, few studies have explored the effect of specific hyperparameters on the performance of such CNNs. This study aims to investigate how the input size affects the CNN’s accuracy in brain tumor detection. Brain MRI datasets were collected and split into training, validation, and test sets. Four models with identical architectures but different input sizes of 256px×256px×3, 224px×224px×3, 128px×128px×3, and 64px×64px×3 were built using TensorFlow Keras, trained on the training set with data augmentation, and evaluated using the test sets. Of these four models, the one with 64px as input size has the best performance, yielding the highest test accuracy, 99.16%, and lowest test loss, 0.0282, whereas the 224px model has the worst performance, with the lowest accuracy, 98.06%, and highest loss, 0.0976. Accordingly, it appears that larger input sizes do not necessarily result in higher accuracy of the CNN performing brain tumor detection. Future studies on this topic may consider using a smaller input size, not only maintaining high accuracy but also significantly reducing the required time to train and the space to save the model.","PeriodicalId":290902,"journal":{"name":"International Conference on Mechatronics Engineering and Artificial Intelligence","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Mechatronics Engineering and Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2672694","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

A brain tumor can negatively affect basic bodily functions and when malignant can result in low survival rates. Many studies were conducted to detect and classify brain tumors in MRI images using a convolutional neural network (CNN) and other techniques like image preprocessing and transfer learning. However, few studies have explored the effect of specific hyperparameters on the performance of such CNNs. This study aims to investigate how the input size affects the CNN’s accuracy in brain tumor detection. Brain MRI datasets were collected and split into training, validation, and test sets. Four models with identical architectures but different input sizes of 256px×256px×3, 224px×224px×3, 128px×128px×3, and 64px×64px×3 were built using TensorFlow Keras, trained on the training set with data augmentation, and evaluated using the test sets. Of these four models, the one with 64px as input size has the best performance, yielding the highest test accuracy, 99.16%, and lowest test loss, 0.0282, whereas the 224px model has the worst performance, with the lowest accuracy, 98.06%, and highest loss, 0.0976. Accordingly, it appears that larger input sizes do not necessarily result in higher accuracy of the CNN performing brain tumor detection. Future studies on this topic may consider using a smaller input size, not only maintaining high accuracy but also significantly reducing the required time to train and the space to save the model.
输入大小对卷积神经网络执行脑肿瘤检测精度的影响
脑肿瘤会对基本的身体功能产生负面影响,恶性肿瘤会导致生存率低。许多研究使用卷积神经网络(CNN)和其他技术,如图像预处理和迁移学习,在MRI图像中检测和分类脑肿瘤。然而,很少有研究探讨特定超参数对此类cnn性能的影响。本研究旨在探讨输入大小如何影响CNN在脑肿瘤检测中的准确性。收集脑MRI数据集并将其分为训练集、验证集和测试集。使用TensorFlow Keras构建具有相同架构但输入大小不同的四个模型256px×256px×3、224px×224px×3、128px×128px×3和64px×64px×3,在训练集上进行数据增强训练,并使用测试集进行评估。在这四种模型中,输入尺寸为64px的模型性能最好,测试准确率最高,为99.16%,测试损失最低,为0.0282,而输入尺寸为224px的模型性能最差,测试准确率最低,为98.06%,测试损失最高,为0.0976。因此,似乎更大的输入尺寸并不一定导致CNN进行脑肿瘤检测的准确性更高。未来关于该主题的研究可以考虑使用更小的输入尺寸,不仅可以保持较高的准确率,还可以显著减少所需的训练时间和模型保存空间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信