Smart City Gnosys

Smart city article details

Title Ai-Based Text Detection And Classification For Smart City Monitoring Using Bert And Textcnn Models
ID_Doc 7010
Authors Liu Y.; Li M.; Ye Z.; Shi X.; Wang W.; Zhao H.
Year 2024
Published Proceedings - 2024 International Symposium on Internet of Things and Smart Cities, ISITSC 2024
DOI http://dx.doi.org/10.1109/ISITSC64373.2024.00014
Abstract This paper proposes an Artificial Intelligence (AI) text detection and classification model that combines Bidirectional Encoder Representations from Transformers (BERT) and Text Convolutional Neural Network (TextCNN), applicable for smart city social media monitoring. By leveraging BERT's powerful contextual semantic understanding capabilities and TextCNN's local feature extraction abilities, the model achieves efficient text detection and classification. The model first utilizes BERT to perform semantic representation of the input text, capturing rich contextual features. These features are then fed into the TextCNN model, where multiple convolutional and pooling operations extract and compress the features. Finally, a fully connected layer converts the extracted features into fixed-length vectors for precise classification prediction. Experimental results show that this hybrid model significantly outperforms traditional baseline models on two public datasets, Human ChatGPT Comparison Corpus (HC3) and sharegpt_gpt4. The hybrid model demonstrates notable improvements in key metrics such as Accuracy (ACC), Precision (PREC), Recall (REC), and F1-score (F1). For example, on the sharegpt_gpt4 dataset, the accuracy reaches 0.8490, making a significant improvement over the baseline model. This validates the effectiveness and superiority of combining BERT and TextCNN in text classification tasks. The innovation of this paper lies in the novel integration of BERT and TextCNN, harnessing the contextual semantic understanding of BERT with the local feature extraction of TextCNN, resulting in enhanced text classification performance. The use of diverse datasets such as HC3 and sharegpt_gpt4 showcases the model's robustness across various text types. Additionally, the model's application in smart city social media monitoring demonstrates its practical relevance, providing accurate and efficient text detection crucial for monitoring public sentiment and emerging issues in real-time. © 2024 IEEE.
Author Keywords BERT; Smart Cities; Text Detection; TextCNN


Similar Articles


Id Similarity Authors Title Published
45260 View0.881Yonglin L.; Zheng J.; Fuyu L.Research On An Automatic Short Text Classification Model For Public Service Feedback In Smart CitiesProceedings - 2024 IEEE International Conference on Smart Internet of Things, SmartIoT 2024 (2024)
35891 View0.871Hodorog A.; Petri I.; Rezgui Y.Machine Learning And Natural Language Processing Of Social Media Data For Event Detection In Smart CitiesSustainable Cities and Society, 85 (2022)
22883 View0.867Jain P.K.; Quamer W.; Saravanan V.; Pamula R.Employing Bert-Dcnn With Sentic Knowledge Base For Social Media Sentiment AnalysisJournal of Ambient Intelligence and Humanized Computing, 14, 8 (2023)
11152 View0.851Park D.-Y.; Ko I.-Y.Auto-Labeling Of Sensor Data Using Social Media Messages: A Case Study For A Smart CityProceedings of the ACM Symposium on Applied Computing (2021)
17169 View0.851Bencke L.; Moreira V.P.Data Augmentation Strategies To Improve Text Classification: A Use Case In Smart CitiesLanguage Resources and Evaluation, 58, 2 (2024)