Deployment of Deep Learning Models to Mobile Devices for Spam Classification

Ameema Zainab, Dabeeruddin Syed, Dena Al-Thani
{"title":"Deployment of Deep Learning Models to Mobile Devices for Spam Classification","authors":"Ameema Zainab, Dabeeruddin Syed, Dena Al-Thani","doi":"10.1109/CogMI48466.2019.00024","DOIUrl":null,"url":null,"abstract":"The advent of deep learning brings the possibility of better and faster applications in real world. In this work, deep learning models are used for application of spam classification in mobile devices. A Binary Classification model is trained with deep learning and is transformed to a graph using tensorflow and then, is converted to a protobuf file to be deployed on mobile devices. Instead of looking into the spam messages in an algorithmic way i.e. just with keywords, binary model deals with experience of learning and predicts if a text message is spam. The training was performed multiple times on resource-deficient devices and hyper-parameter optimization was performed to enhance the training accuracy to 99.87 %. The test accuracy of mobile application is 98.7 % and testing happens in real-time without any internet access. Our simulation shows that a model with an embedding layer (size 128), an LSTM layer (size 64, dropout 0.2) and a dense layer (sigmoid) yields the highest performance. Also, the comparative evaluation with state-of-the-art methods displayed that our model achieves higher accuracy.","PeriodicalId":116160,"journal":{"name":"2019 IEEE First International Conference on Cognitive Machine Intelligence (CogMI)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE First International Conference on Cognitive Machine Intelligence (CogMI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CogMI48466.2019.00024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

The advent of deep learning brings the possibility of better and faster applications in real world. In this work, deep learning models are used for application of spam classification in mobile devices. A Binary Classification model is trained with deep learning and is transformed to a graph using tensorflow and then, is converted to a protobuf file to be deployed on mobile devices. Instead of looking into the spam messages in an algorithmic way i.e. just with keywords, binary model deals with experience of learning and predicts if a text message is spam. The training was performed multiple times on resource-deficient devices and hyper-parameter optimization was performed to enhance the training accuracy to 99.87 %. The test accuracy of mobile application is 98.7 % and testing happens in real-time without any internet access. Our simulation shows that a model with an embedding layer (size 128), an LSTM layer (size 64, dropout 0.2) and a dense layer (sigmoid) yields the highest performance. Also, the comparative evaluation with state-of-the-art methods displayed that our model achieves higher accuracy.
在移动设备上部署深度学习模型用于垃圾邮件分类
深度学习的出现为现实世界中更好更快的应用带来了可能。在这项工作中,深度学习模型用于垃圾邮件分类在移动设备中的应用。使用深度学习训练二进制分类模型,并使用tensorflow将其转换为图形,然后将其转换为可部署在移动设备上的protobuf文件。二元模型不是用算法的方式(即只使用关键字)来查看垃圾邮件,而是利用学习经验来预测短信是否为垃圾邮件。在资源匮乏的设备上进行多次训练,并进行超参数优化,训练准确率达到99.87%。移动应用程序的测试准确率为98.7%,测试在没有任何互联网接入的情况下实时进行。我们的模拟表明,具有嵌入层(大小128),LSTM层(大小64,dropout 0.2)和致密层(sigmoid)的模型产生了最高的性能。同时,与最先进的方法进行了比较评估,表明我们的模型具有更高的精度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信