Kit Thananukhun, S. Jaiyen, Kulsawasd Jitkajornwanich, Anantaporn Hanskunatai
{"title":"基于人工神经网络和多语言BERT模型的泰语会话聊天机器人问题分类","authors":"Kit Thananukhun, S. Jaiyen, Kulsawasd Jitkajornwanich, Anantaporn Hanskunatai","doi":"10.1109/KST57286.2023.10086784","DOIUrl":null,"url":null,"abstract":"Question-Answering (QA) models are part of Natural Language Processing (NLP) field used for ensuring questions match the answers appropriately. QA consists of several steps, one of which is called Question Classification, which is to classify the context of communication. In this step, it categorizes group of questions based on what users need to know in order to combine answers within the same category and respond accurately. It helps saving us time to search for answers as well. In this paper, we present a question classification model for Thai Conversational Chatbot using Artificial Neural Network and Multilingual Bidirectional Encoder Representations from Transformer (BERT) models using BERT-base multilingual cased combined with Multilayer Perceptron (MLP). The method yields the highest accuracy of 92.57%, compared to the BERT-base multilingual cased combined with other classification models, including Support Vector Machine (SVM), Naive Bayes (NB), K-Nearest Neighbors (KNN) and Decision Trees (DTs) with the accuracy scores of 88.57%, 80.00%, 78.57% and 60.29%, respectively. In addition, we also compare the performance of our proposed BERT model with another well-known Thai word embedding model, called Thai2Vec, which also combines with other classification models including MLP, SVM, NB, KNN and DTs, and their results of accuracies are: 85.71%, 85.71%, 75.71%, 75.71% and 58.86%, respectively. From the experiments, the BERT model combined with MLP can achieve the highest performance in term of accuracy among other methods.","PeriodicalId":351833,"journal":{"name":"2023 15th International Conference on Knowledge and Smart Technology (KST)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Question Classification for Thai Conversational Chatbots Using Artificial Neural Networks and Multilingual BERT Models\",\"authors\":\"Kit Thananukhun, S. Jaiyen, Kulsawasd Jitkajornwanich, Anantaporn Hanskunatai\",\"doi\":\"10.1109/KST57286.2023.10086784\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Question-Answering (QA) models are part of Natural Language Processing (NLP) field used for ensuring questions match the answers appropriately. QA consists of several steps, one of which is called Question Classification, which is to classify the context of communication. In this step, it categorizes group of questions based on what users need to know in order to combine answers within the same category and respond accurately. It helps saving us time to search for answers as well. In this paper, we present a question classification model for Thai Conversational Chatbot using Artificial Neural Network and Multilingual Bidirectional Encoder Representations from Transformer (BERT) models using BERT-base multilingual cased combined with Multilayer Perceptron (MLP). The method yields the highest accuracy of 92.57%, compared to the BERT-base multilingual cased combined with other classification models, including Support Vector Machine (SVM), Naive Bayes (NB), K-Nearest Neighbors (KNN) and Decision Trees (DTs) with the accuracy scores of 88.57%, 80.00%, 78.57% and 60.29%, respectively. In addition, we also compare the performance of our proposed BERT model with another well-known Thai word embedding model, called Thai2Vec, which also combines with other classification models including MLP, SVM, NB, KNN and DTs, and their results of accuracies are: 85.71%, 85.71%, 75.71%, 75.71% and 58.86%, respectively. From the experiments, the BERT model combined with MLP can achieve the highest performance in term of accuracy among other methods.\",\"PeriodicalId\":351833,\"journal\":{\"name\":\"2023 15th International Conference on Knowledge and Smart Technology (KST)\",\"volume\":\"14 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-02-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 15th International Conference on Knowledge and Smart Technology (KST)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/KST57286.2023.10086784\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 15th International Conference on Knowledge and Smart Technology (KST)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/KST57286.2023.10086784","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Question Classification for Thai Conversational Chatbots Using Artificial Neural Networks and Multilingual BERT Models
Question-Answering (QA) models are part of Natural Language Processing (NLP) field used for ensuring questions match the answers appropriately. QA consists of several steps, one of which is called Question Classification, which is to classify the context of communication. In this step, it categorizes group of questions based on what users need to know in order to combine answers within the same category and respond accurately. It helps saving us time to search for answers as well. In this paper, we present a question classification model for Thai Conversational Chatbot using Artificial Neural Network and Multilingual Bidirectional Encoder Representations from Transformer (BERT) models using BERT-base multilingual cased combined with Multilayer Perceptron (MLP). The method yields the highest accuracy of 92.57%, compared to the BERT-base multilingual cased combined with other classification models, including Support Vector Machine (SVM), Naive Bayes (NB), K-Nearest Neighbors (KNN) and Decision Trees (DTs) with the accuracy scores of 88.57%, 80.00%, 78.57% and 60.29%, respectively. In addition, we also compare the performance of our proposed BERT model with another well-known Thai word embedding model, called Thai2Vec, which also combines with other classification models including MLP, SVM, NB, KNN and DTs, and their results of accuracies are: 85.71%, 85.71%, 75.71%, 75.71% and 58.86%, respectively. From the experiments, the BERT model combined with MLP can achieve the highest performance in term of accuracy among other methods.