N-Gram-Based Machine Learning Approach for Bot or Human Detection from Text Messages

Durga Prasad Kavadi, Chandra Sekhar Sanaboina, Rizwan Patan, A. Gandomi
{"title":"N-Gram-Based Machine Learning Approach for Bot or Human Detection from Text Messages","authors":"Durga Prasad Kavadi, Chandra Sekhar Sanaboina, Rizwan Patan, A. Gandomi","doi":"10.1145/3533050.3533063","DOIUrl":null,"url":null,"abstract":"Social bots are computer programs created for automating general human activities like the generation of messages. The rise of bots in social network platforms has led to malicious activities such as content pollution like spammers or malware dissemination of misinformation. Most of the researchers focused on detecting bot accounts in social media platforms to avoid the damages done to the opinions of users. In this work, n-gram based approach is proposed for a bot or human detection. The content-based features of character n-grams and word n-grams are used. The character and word n-grams are successfully proved in various authorship analysis tasks to improve accuracy. A huge number of n-grams is identified after applying different pre-processing techniques. The high dimensionality of features is reduced by using a feature selection technique of the Relevant Discrimination Criterion. The text is represented as vectors by using a reduced set of features. Different term weight measures are used in the experiment to compute the weight of n-grams features in the document vector representation. Two classification algorithms, Support Vector Machine, and Random Forest are used to train the model using document vectors. The proposed approach was applied to the dataset provided in PAN 2019 competition bot detection task. The Random Forest classifier obtained the best accuracy of 0.9456 for bot/human detection.","PeriodicalId":109214,"journal":{"name":"Proceedings of the 2022 6th International Conference on Intelligent Systems, Metaheuristics & Swarm Intelligence","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2022 6th International Conference on Intelligent Systems, Metaheuristics & Swarm Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3533050.3533063","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Social bots are computer programs created for automating general human activities like the generation of messages. The rise of bots in social network platforms has led to malicious activities such as content pollution like spammers or malware dissemination of misinformation. Most of the researchers focused on detecting bot accounts in social media platforms to avoid the damages done to the opinions of users. In this work, n-gram based approach is proposed for a bot or human detection. The content-based features of character n-grams and word n-grams are used. The character and word n-grams are successfully proved in various authorship analysis tasks to improve accuracy. A huge number of n-grams is identified after applying different pre-processing techniques. The high dimensionality of features is reduced by using a feature selection technique of the Relevant Discrimination Criterion. The text is represented as vectors by using a reduced set of features. Different term weight measures are used in the experiment to compute the weight of n-grams features in the document vector representation. Two classification algorithms, Support Vector Machine, and Random Forest are used to train the model using document vectors. The proposed approach was applied to the dataset provided in PAN 2019 competition bot detection task. The Random Forest classifier obtained the best accuracy of 0.9456 for bot/human detection.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于n - gram的机器人或人类文本信息检测的机器学习方法
社交机器人是一种计算机程序,用于自动化一般的人类活动,如信息的生成。社交网络平台上机器人的兴起导致了诸如垃圾邮件发送者或恶意软件传播错误信息等内容污染等恶意活动。大多数研究人员专注于检测社交媒体平台上的机器人账户,以避免对用户意见造成损害。在这项工作中,提出了基于n图的机器人或人类检测方法。使用了基于内容的字符n-图和单词n-图特征。在各种作者身份分析任务中成功地证明了字符和单词n-grams,以提高准确性。在应用不同的预处理技术后,可以识别出大量的n-gram。利用相关判别准则的特征选择技术降低了特征的高维数。文本通过使用简化的特征集表示为向量。实验中使用了不同的术语权重度量来计算文档向量表示中n-grams特征的权重。使用支持向量机和随机森林两种分类算法来使用文档向量训练模型。将该方法应用于PAN 2019竞赛机器人检测任务提供的数据集。随机森林分类器在机器人/人类检测中获得了0.9456的最佳准确率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Application of Hybrid PSO and SQP Algorithm in Optimization of the Retardance of Citrate Coated Ferrofluids Coevolutionary Algorithm for Evolving Competitive Strategies in the Weapon Target Assignment Problem A New Discrete Whale Optimization Algorithm with a Spiral 3-opt Local Search for Solving the Traveling Salesperson Problem N-Gram-Based Machine Learning Approach for Bot or Human Detection from Text Messages Assessing the Quality of Car Racing Controllers in a Virtual Setting under Changed Conditions
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1