Deteksi Intensi Chatbot Berbahasa Indonesia dengan Menggunakan Metode Capsule Network


  • Fatharani Fatharani Politeknik Negeri Bandung, Bandung, Indonesia
  • Khoirunnisa Putri Kania Politeknik Negeri Bandung, Bandung, Indonesia
  • Jonner Hutahaean Politeknik Negeri Bandung, Bandung, Indonesia
  • Sri Ratna Wulan * Mail Politeknik Negeri Bandung, Bandung, Indonesia
  • (*) Corresponding Author
Keywords: Capsule Network; CapsNet; Chatbot; Intent Detection; BERT; Text Classification

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

Download data is not yet available.

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

Dimensions Badge
Article History
Submitted: 2022-07-06
Published: 2022-07-31
Abstract View: 668 times
PDF Download: 666 times
How to Cite
Fatharani, F., Kania, K., Hutahaean, J., & Wulan, S. (2022). Deteksi Intensi Chatbot Berbahasa Indonesia dengan Menggunakan Metode Capsule Network. Journal of Information System Research (JOSH), 3(4), 590-596. https://doi.org/10.47065/josh.v3i4.1821
Issue
Section
Articles

Most read articles by the same author(s)