Deteksi Intensi Chatbot Berbahasa Indonesia dengan Menggunakan Metode Capsule Network
Abstract
Intent detection is a process of classifying customer intention from given sentence or chatting. One of the uses of intent detection is in a chatbot. With intent detection, the chatbot can detect the customer intent. However, currently the use of intent detection has not been implemented by most companies in Indonesia. A good intent detection method for chatbots is one that is able to classify user intentions accurately and quickly. This study aims to perform intent detection of messages from the Indonesian language chatbot dataset obtained from customer conversations of PT. Kazee using the Capsule Network(CapsNet) method. With this research, it is hoped that the chatbot of PT. Kazee can respond to customers more appropriately. On this study we conducted experiments and analyze the use of Capsule Network (CapsNet) method in detecting the intent of PT. Kazee customers conversation. The dataset of the experiments contains questions about PT. Kazee. There are two types of datasets—a dataset with six intentions and a dataset with 18 intentions. We compare the result of this experiment with the BERT intent detection model we used previously. The experiment show that the execution time of CapsNet method is faster than that of BERT. However, BERT is still superior to the CapsNet for the ability to respond appropriately. The CapsNet method can be considered for use on chatbots that are more concerned with execution speed.
Downloads
References
E. Adamopoulou and L. Moussiades, “An Overview of Chatbot Technology,” in IFIP Advances in Information and Communication Technology, 2020, vol. 584 IFIP, pp. 373–383. doi: 10.1007/978-3-030-49186-4_31.
R. B. R., R. N., and S. S., “Chatbot for university related FAQs,” Sep. 2017.
P. N. P., P. D. R., P. D. A., and P. R. R., “AI and Web-Based Human-Like Interactive University Chatbot (UNIBOT),” Jun. 2019.
Y. Wang, L. Tang, and T. He, “Attention-based CNN-BLSTM networks for joint intent detection and slot filling,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2018, vol. 11221 LNAI, pp. 250–261. doi: 10.1007/978-3-030-01716-3_21.
J. Liu, Y. Li, and M. Lin, “Review of Intent Detection Methods in the Human-Machine Dialogue System,” in Journal of Physics: Conference Series, Jul. 2019, vol. 1267, no. 1. doi: 10.1088/1742-6596/1267/1/012059.
S. M. Y. H., A. R. M., and E. S. R., Chatbot, Comparison Of Multinomial Naive Bayes Algorithm And Logistic Regression For Intent Classification In Chatbot. Proceedings of the 2018 International Conference on Applied Engineering (ICAE) : Batam, Indonesia, October 3-4, 2018, 2018.
W. Zhao, J. Ye, M. Yang, Z. Lei, S. Zhang, and Z. Zhao, “Investigating Capsule Networks with Dynamic Routing for Text Classification,” Mar. 2018, [Online]. Available: http://arxiv.org/abs/1804.00538
K. R. and A. Y., “Study on Text Classification using Capsule Networks.,” 2019.
B. Chen, Z. Xu, X. Wang, L. Xu, and W. Zhang, “Capsule Network-Based Text Sentiment Classification,” in IFAC-PapersOnLine, 2020, vol. 53, no. 5, pp. 698–703. doi: 10.1016/j.ifacol.2021.04.160.
A. Khikmatullaev, J. Lehmann, K. Singh, C. Gmbh, and Z. Research, “Capsule Neural Networks for Text Classification Boosting Named Entity Recognition (NER) Systems View project SANSA-Stack View project”, doi: 10.13140/RG.2.2.12359.24488.
H. N. B, “Confusion Matrix, Accuracy, Precision, Recall, F1 Score,” Dec. 11, 2019.
J. Brownlee, “How to Diagnose Overfitting and Underfitting of LSTM Models,” Sep. 01, 2017.
S. González-Carvajal and E. C. Garrido-Merchán, “Comparing BERT against traditional machine learning text classification,” May 2020, [Online]. Available: http://arxiv.org/abs/2005.13012
S. Sabour, N. Frosst, and G. E. Hinton, “Dynamic Routing Between Capsules.”
J. Tao, X. Zhang, X. Luo, Y. Wang, C. Song, and Y. Sun, “Adaptive Capsule Network,” Computer Vision and Image Understanding, vol. 218, p. 103405, Apr. 2022, doi: 10.1016/J.CVIU.2022.103405.
Muh. Fitriah and Luthfiyah, Metodologi penelitian: penelitian kualitatif, tindakan kelas & studi kasus, 1st ed., vol. 1. Sukabumi: CV Jejak, 2017.
I. Digmi, “Memahami Epoch Batch Size Dan Iteration - JournalToday,” Jan. 25, 2018. https://imam.digmi.id/post/memahami-epoch-batch-size-dan-iteration/ (accessed Jul. 04, 2022).
X. P. Qiu, T. X. Sun, Y. G. Xu, Y. F. Shao, N. Dai, and X. J. Huang, “Pre-trained models for natural language processing: A survey,” Science China Technological Sciences, vol. 63, no. 10. Springer Verlag, pp. 1872–1897, Oct. 01, 2020. doi: 10.1007/s11431-020-1647-3.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Deteksi Intensi Chatbot Berbahasa Indonesia dengan Menggunakan Metode Capsule Network
Pages: 590-596
Copyright (c) 2022 Fatharani Fatharani, Khoirunnisa Putri Kania, Jonner Hutahaean, Sri Ratna Wulan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).






















