A Knowledge-Based Methodology for Building a Conversational Chatbot as an Intelligent Tutor

  • Xavier Sánchez-DíazEmail author
  • Gilberto Ayala-Bastidas
  • Pedro Fonseca-Ortiz
  • Leonardo Garrido
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11289)


Chatbots are intelligent agents with which users can hold conversations, usually via text or voice. In recent years, chatbots have become popular in businesses focused on client service. Despite an increasing interest for chatbots in education, clear information on how to design them as intelligent tutors has been scarce. This paper presents a formal methodology for designing and implementing a chatbot as an intelligent tutor for a university level course. The methodology is built upon first-order logic predicates which can be used in different commercially available tools, and focuses on two phases: knowledge abstraction and modeling, and conversation flow. As main result of this research, we propose mathematical definitions to model conversation elements, reasoning processes and conflict resolution to formalize the methodology and make it framework-independent.


Chatbots Knowledge modeling Methodology Conversation design Intelligent tutoring 



The authors would like to acknowledge the financial support of Writing Lab, TecLabs and Tecnológico de Monterrey, Mexico, for the production of this work.


  1. 1.
    Alès, Z., Duplessis, G.D., Şerban, O., Pauchet, A.: A methodology to design human-like embodied conversational agents. In: International Workshop on Human-Agent Interaction Design and Models (HAIDM 2012), Valencia, Spain (2012).
  2. 2.
    Anderson, J.R., Boyle, C.F., Reiser, B.J.: Intelligent tutoring systems. Science 228(4698), 456–462 (1985). Scholar
  3. 3.
    Angeli, A.D., Johnson, G.I., Coventry, L.: The unfriendly user: exploring social reactions to chatterbots. In: Proceedings of International Conference on Affective Human Factor Design, pp. 467–474. Asean Academic Press (2001)Google Scholar
  4. 4.
    Dutta, D.: Developing an intelligent chat-bot tool to assist high school students for learning general knowledge subjects. Technical report, Georgia Institute of Technology (2017)Google Scholar
  5. 5.
    Goel, A.K., Polepeddi, L.: Jill Watson: a virtual teaching assistant for online education. Technical report, Georgia Institute of Technology (2016)Google Scholar
  6. 6.
    Huang, J., Zhou, M., Yang, D.: Extracting chatbot knowledge from online discussion forums. In: Proceedings of the 20th International Joint Conference on Artifical Intelligence, pp. 423–428. IJCAI 2007, Morgan Kaufmann Publishers Inc., San Francisco (2007)Google Scholar
  7. 7.
    Jia, J.: CSIEC (computer simulator in educational communication): an intelligent web-based teaching system for foreign language learning. CoRR (2003).
  8. 8.
    Makinson, D.: Sets. Logic and Maths for Computing. Springer, Heidelberg (2012)zbMATHGoogle Scholar
  9. 9.
    Reyes-González, Y., Martínez-Sánchez, N., Díaz-Sardiñas, A., Patterson-Peña, M.: Conceptual clustering: a new approach to student modeling in intelligent tutoring systems. Revista Facultad de Ingeniería 0(87), 70–76 (2018).,
  10. 10.
    Russell, S., Norvig, P.: Artificial Intelligence: A Modern Approach, 3rd edn. Prentice Hall, Upper Saddle River (2010)zbMATHGoogle Scholar
  11. 11.
    Salinas, P., Alanís, J.A., Pulido, R., Santos, F., Escobedo, J.C., Garza, J.L.: Cálculo aplicado: competencias matemáticas a través de contextos (Tomo 1). Cengage Learning, México (2012)Google Scholar
  12. 12.
    Salinas, P., Quintero, E., Sánchez, X.: Math and motion: a (coursera) MOOC to rethink math assessment. In: Zaphiris, P., Ioannou, A. (eds.) LCT 2015. LNCS, vol. 9192, pp. 313–324. Springer, Cham (2015). Scholar
  13. 13.
    Serafini, L.: Expressive power of logical languages. Internet, July 2012.
  14. 14.
    Setiaji, B., Wibowo, F.W.: Chatbot using a knowledge in database: human-to-machine conversation modeling. In: 2016 7th International Conference on Intelligent Systems, Modelling and Simulation (ISMS), pp. 72–77. Thailand, January 2016.
  15. 15.
    Shawar, B.A., Atwell, E.: Chatbots: are they really useful? LDV Forum 22, 29–49 (2007)Google Scholar
  16. 16.
    Tsvetkova, M., García-Gavilanes, R., Floridi, L., Yasseri, T.: Even good bots fight. PLos One 12(2) (2017). Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  • Xavier Sánchez-Díaz
    • 1
    Email author
  • Gilberto Ayala-Bastidas
    • 1
  • Pedro Fonseca-Ortiz
    • 1
  • Leonardo Garrido
    • 1
  1. 1.Departamento de Computación Regional NorteTecnológico de MonterreyMonterreyMexico

Personalised recommendations