DOI QR코드

DOI QR Code

A Study on the Psychological Counseling AI Chatbot System based on Sentiment Analysis

감정분석 기반 심리상담 AI 챗봇 시스템에 대한 연구

  • 안세훈 (가천대학교 AI.소프트웨어학부) ;
  • 정옥란 (가천대학교 AI.소프트웨어학부)
  • Received : 2021.01.31
  • Accepted : 2021.06.09
  • Published : 2021.06.30

Abstract

As artificial intelligence is actively studied, chatbot systems are being applied to various fields. In particular, many chatbot systems for psychological counseling have been studied that can comfort modern people. However, while most psychological counseling chatbots are studied as rule-base and deep learning-based chatbots, there are large limitations for each chatbot. To overcome the limitations of psychological counseling using such chatbots, we proposes a novel psychological counseling AI chatbot system. The proposed system consists of a GPT-2 model that generates output sentence for Korean input sentences and an Electra model that serves as sentiment analysis and anxiety cause classification, which can be provided with psychological tests and collective intelligence functions. At the same time as deep learning-based chatbots and conversations take place, sentiment analysis of input sentences simultaneously recognizes user's emotions and presents psychological tests and collective intelligence solutions to solve the limitations of psychological counseling that can only be done with chatbots. Since the role of sentiment analysis and anxiety cause classification, which are the links of each function, is important for the progression of the proposed system, we experiment the performance of those parts. We verify the novelty and accuracy of the proposed system. It also shows that the AI chatbot system can perform counseling excellently.

Keywords

Acknowledgement

이 논문은 한국 과학기술정보통신부의 재원으로 한국연구재단의 지원을 받아 수행된 기초연구사업임(NRF2019R1A2C1008412).

References

  1. 양미경, "집단지성의 특성 및 기제와 교육적 시사점의 탐색", 열린교육연구, 제18권, 제4호, 2010, 1-30.
  2. 이아라, 김효창, 차민철, 지용구, "상담 이론 기반의 심리 상담 챗봇을 활용한 내담자 경험 연구", 대한인간공학회지, 제38권, 제3호, 2019, 161-175.
  3. 황상흠, 김도현, "한국어 기술문서 분석을 위한 BERT 기반의 분류모델", 전자거래학회지, 제24권, 제1호, 2020, 203-214.
  4. AI Hub, "Corpus dataset for AI-based emotional chatbot for depression prevention and mitigation", 2020, Available at https://aihub.or.kr/aidata/7978 (Accessed May 1. 2021).
  5. AI Hub, "Single chat dataset with Korean sentiment information", 2019, Available at https://aihub.or.kr/node/274 (Accessed May 02, 2021).
  6. AI Hub, "Wellness dialogue script datasets", 2019, Available at https://aihub.or.kr/node/267# (Accessed May 1. 2021).
  7. Charles, D. and R. Peter, "Psychometric Properties of the STAI : A Reply to Ramanaiah, Franzen, and Schill", Journal of Personality Assessment, Vol.48, No.1, 1984, pp. 95-97. https://doi.org/10.1207/s15327752jpa4801_16
  8. Devlin, J., M.W, Chang, K. Lee, and K. Toutanova, "BERT : Pre-training of Deep Bidirectional Transformers for Language Understanding" in Proc. of NAACL, Minneapolis, America, 2019, 1-16.
  9. Dialogflow, "Dialogflow essential", Available at https://dialogflow.cloud.google.com (Accessed May 5. 2021).
  10. Erica, K., "Treatment of Social Anxiety Disorder Using Online Virtual Environments in Second Life", Behavior Therapy, Vol.44, No.1, 2013, 51-61. https://doi.org/10.1016/j.beth.2012.06.001
  11. Gary, E. and A., Kerr, "Computer-Mediated Counseling", Computers in Human Services, Vol. 15, No.4, 2008, 13-26. https://doi.org/10.1300/j407v15n04_02
  12. Clark, K., M.T. Luong, Q.V. Le, and C.D. Manning, "ELECTR A : Pre-training Text Encoders as Discriminators Rather Than Generators", ICLR 2020 Conference, Addis Ababa, Ethiopia, 2020, 1-14.
  13. Radford, A., J. Wu, R. Child, D. Luan, and D. Amodei, and I. Sutskever, and "Language models are unsupervised multitask learners", 2019, Available at https://openai.com/blog/better-language-models(Accessed Feburary 14. 2019).
  14. Sacks, J.M. and S. Levy, "The Sentence Completion Test", In L.E. Abt & L. Bellak(Eds.), Projective Psychology : Clinical Approaches to the Total Personality, 1950, 357-402.
  15. Sakthivel, V., K. Srihari, S. Karthik, and C.D. Anisha, "Intelligent Counselling Bot Using Ranking Algorithm in AI", International Conference on Soft-Computing and Network Security(ICSNS), Coimbatore, India, 2018, 1-7.
  16. Hochreiter, S. and J. Schmidhuber, "Long Short Term Memory", Neural Computation, Vol. 9, No.8, 1997, 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735
  17. songys, "AwesomeKorean_Data", 2020, Available at https://github.com/songys/AwesomeKorean_Data (Accessed May 2. 2021).