A system for training a chatbot
The system addresses the limitations of current chatbot technologies by training neural network models with field ontologies to understand natural language concepts, reducing costs and enhancing interaction quality, enabling more effective and widespread chatbot adoption.
Patent Information
- Application Number
- PCT/TR2024/050395
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-10-24
AI Technical Summary
Current chatbot technologies are limited in understanding concepts and meanings of natural language, leading to restricted dialogue capabilities and high development costs due to reliance on limited data sources and developer labeling skills, hindering widespread adoption.
A system that trains neural network models using a hybrid structure with field ontologies to capture all concepts in natural language sentences, enabling semi-automatic ontology development and interconceptual relationship learning, allowing chatbots to understand user queries akin to human dialogue through an ontology-based artificial intelligence natural language understanding technology.
This system enhances chatbot understanding capabilities, reduces development costs, and provides a human-like interaction experience by automatically suggesting concepts and intentions, improving the effectiveness of chatbot applications across various fields and industries.
Smart Images

Figure TR2024050395_24102024_PF_FP_ABST
Abstract
Description
[0001] A SYSTEM FOR TRAINING A CHATBOT
[0002] Technical Field
[0003] The present invention relates to a system for estimating and understanding all concepts included in natural language sentences -that are used by persons who communicate with chatbots- by training a neural network model that learns interconceptual relationships between chatbots, through this language model.
[0004] Background of the Invention
[0005] Today, the number of chatbot applications -a productized form of artificial intelligence based on dialogue which has an important place and future in artificial intelligence studies- is rapidly increasing. It is claimed that chatbots have a potential to make a substantial reform than the reform made by smartphones. Nevertheless, as regard to the scope of a chatbot in the current techniques, dialogues with chatbots remain quite limited compared to dialogues with a human due to the inability to capture concepts of a field and all meanings of a language. There is a problem that this situation is a significant barrier for chatbots to become widespread. In the current techniques, developing compiling and information graphs whereby chatbots are trained cause the process to be costly by being repeated for each chatbot. Furthermore, these data sources are limited to the foresight of the developers and the success is directly proportional to the labeling skills of the developers.
[0006] Therefore, considering the studies and the shortcomings in the current technique, it is understood that there is need for a system which enables to develop an end- to-end technique in order to capture all concepts and meanings included in natural language sentences that are used by humans who communicate with chatbots; to eliminate the limit that exists in the understanding competencies of chatbots due to the techniques currently used; to reduce the costs of developing a new chatbot by presenting the data set, wherein natural language understanding models of chatbots -that are trained with neural network models- are trained, through a hybrid structure whereby it is provided from the field ontologies developed; to develop field ontologies for all fields that are valid in the related company / sector; detect the related field through a directing model and to detect all related concepts included in the natural language also through a model learning from a field ontology; to adopt of daily use of chatbot applications by users / customers, by presenting an experience that is too close to dialogues established with a human; and to obtain a substantial effort gain from channels such as call center that require human effort.
[0007] The United States patent document no. US20210081836A1, an application in the state of the art, discloses a system and method which enables to generate one or more ontologies for data sets without existing ontologies, and to use existing ontologies in order to generate machine learning solutions. In the said invention, natural language understanding (NLU) techniques are applied to a text utterance, a text fragment, a sentence, one or more sentences, and the like -which are input by a user via a digital assistant and generated from converting speech input to text form- in order to understand the meaning of the user input. As part of the NLU processing for a utterance, the digital assistant 406 configured to perform processing to understand the meaning of the utterances in response to one or more intents and entities. Upon understanding the meaning of an utterance, the digital assistant may perform one or more actions or operations responsive to the understood meaning or intents. In various embodiments, the method includes presenting the mapping of one or more labels with the categories of the machine learning model. Inputs can be correlated to a label comprising one or more labels for the schema of the data with a category consisting of one or more categories known by the machine learning model. Summary of the Invention
[0008] An objective of the present invention is to realize a system which is developed to ensure that all concepts included in natural language sentences -that are used by persons who communicate with chatbots- are estimated and understood by training a neural network model that learns interconceptual relationships for chatbots, through this language model.
[0009] Another objective of the present invention is to realize a system which is developed to ensure that ontologies of all subfields included in the related field are developed in order to increase the estimation success of artificial neural network models that learn from field ontologies, and individual neural network models are enabled to learn from these ontologies.
[0010] Another objective of the present invention is to realize a system which is developed to determine from which ontology-based artificial neural network model the incoming query will be estimated, by using an artificial neural network model by using a trained director neural network model.
[0011] Another objective of the present invention is to realize a semi-automatic process while an intent pool of ontology-based hybrid chatbot is generated, and a system which is developed to ensure that an artificial neural network automatically suggests notions and concepts for subsequent examples by learning from new concepts as marking is made and the generated and labelled notions and concepts are included in the ontology.
[0012] Detailed Description of the Invention
[0013] “A System for Training a Chatbot” realized to fulfil the objective of the present invention is shown in the figure attached, in which: Figure 1 is a schematic view of the inventive system.
[0014] The components illustrated in the figure are individually numbered, where the numbers refer to the following:
[0015] 1. System
[0016] 2. Electronic Device
[0017] 3. Chatbot Application
[0018] 4. Database
[0019] 5. Server
[0020] The inventive system (1) which is developed to ensure that all concepts included in natural language sentences -that are used by persons who communicate with chatbots- are estimated and understood by training a neural network model that learns interconceptual relationships between chatbots, through this language model; comprises at least one electronic device (2) which is configured to realize data exchange by using any remote communication protocol and to run at least one application thereon; at least one chatbot application (3) which is run on the electronic device (2) and is configured to allow a question to be asked and answer these questions on at least one interface; at least one database (4) which is configured to keep a record of the data sets required to train an artificial intelligence model, therein; at least one server (5) which is configured to establish communication with the electronic device (2) by using any remote communication protocol; to realize data exchange with the chatbot application (3) and the database (4); to capture the meanings in the natural language texts in the question transmitted by the user to the chatbot application (3), by means of an ontology-based artificial intelligence natural language understanding technology; to realize the dialog management of these ontology concepts detected; and to return the required answer to the user through the chatbot application (3).
[0021] The electronic device (2) included in the inventive system (1) is configured to realize data exchange by using any remote communication protocol and to run at least one application thereon. The electronic device (2) is a device such as a mobile phone, computer, laptop computer and tablet. The electronic device (2) is configured to establish connection with the server (5) by using any remote communication protocol included in the state of the art and to realize data exchange between the chatbot application (3) and the database (4) through this connection established. In the preferred embodiment of the invention, the electronic device (2) is configured to realize data exchange with the server (5) by using a data bus such as the Internet.
[0022] The chatbot application (3) included in the inventive system (1) is run on the electronic device (2) and configured to enable users to ask a question and to get answers to these questions on at least one interface.
[0023] The database (4) included in the inventive system (1) is configured to realize data exchange with the chatbot application (3) and the server (5). The database (4) included in the said invention is configured to keep record of the natural language words and / or sentences that generate the data sets required to train an artificial intelligence model in artificial intelligence studies and the data sets used to train the natural language understanding models included in the chatbot application (3).
[0024] The server (5) included in the inventive system (1) is configured to establish communication with the electronic device (2) by using any remote communication protocol included in the state of the art and to realize data exchange with the chatbot application (3) through this communication established. The server (5) is configured to realize data exchange with the electronic device (2) by using a data network such as the Internet. The server (5) is configured to establish communication with the database (4) and to access the data within the database
[0025] (4). The said server (5) is configured to determine and interpret the meanings within the question texts in the natural language transmitted by the users by accessing the database (4). The server (5) is configured to develop an ontology by means of concepts that belong to a field by accessing the database (4). The server
[0026] (5) is configured to generate a hybrid ontology structure by including the concepts of intent and entity in the developed ontology. The server (5) is configured to carry out a task of directing the dialogue between the user and the chatbot application (3) by using the concepts that are detected to be included in the user’s question by means of the artificial intelligence natural language understanding technology by accessing the chatbot application (3); to enable to determine the answer to be given; to request the information that are required to be received from the user and to decide on the flow of the dialogue. The server (5) is configured to ensure that an artificial neural network model developed by using deep learning algorithms is learnt from ontology notions and concepts developed for a field and to ensure that natural language texts, that is the main function of the chatbot, are understood by the machines. The server (5) is configured to train a neural network model that generates the components of natural language understanding by means of a semi-automatic ontology development technology via labeling; to develop an ontology and to save it onto the database (4). The server (5) is configured to label the natural language words and sentences, that are included in discourses on the chatbot application (3), with ontology notions by means of a semi-automatic ontology development technology via labeling; to include each new notion, that is encountered in natural language examples, in the ontology together with labeling and to save it onto the database (4). The server (5) is configured to train a machine learning model by using an active learning structure that is presented in a labeling medium with each notion labeled; to estimate possible notions in new discourse examples by means of this model and to present pre-labeled notion suggestions in the labeling process. The server (5) is configured to detect intention, information and objects by estimating the notions in the ontology of a field within natural language texts that generate the question on the chatbot application (3) by means of a ontology-based neural network model that is included in natural language understanding components; and to ensure that a question transmitted to the chatbot application (3) by the user is understood in a way that is close to a human’s competency to understand. The server (5) is configured to capture the meanings in the natural language texts that are included in the question transmitted to the chatbot application (3) by the user; to realize dialogue management of these ontology notions detected; and to return the necessary answer to the user through the chatbot application (3).
[0027] Industrial Application of the Invention
[0028] In the inventive system (1), the server (5) ensures that intention, information and objects are detected by estimating the notions in the ontology of a field within natural language texts that generate the question on the chatbot application (3) by means of a ontology-based neural network model; and a a question transmitted to the chatbot application (3) by the user is understood in a way that is close to a human’s competency to understand. The server (5) captures the meanings in the natural language texts that are included in the question transmitted to the chatbot application (3) by the user; realizes dialogue management of these ontology notions detected; and returns the necessary answer to the user through the chatbot application (3). Thereby, it is ensured that all notions and meanings included in natural language sentences that are used by persons who communicate with chatbots can be captured; all related notions included in the natural language can be detected; and daily use of chatbot applications is possible by users / customers, by presenting an experience that is too close to dialogues established with a human.
[0029] Within these basic concepts; it is possible to develop various embodiments of the inventive “A System (1) for Training a Chatbot”; the invention cannot be limited to examples disclosed herein and it is essentially according to claims.
Claims
CLAIMS1. A system (1) which is developed to ensure that all concepts included in natural language sentences -that are used by persons who communicate with chatbots- are estimated and understood by training a neural network model that learns interconceptual relationships between chatbots, through this language model; comprising at least one electronic device (2) which is configured to realize data exchange by using any remote communication protocol and to run at least one application thereon; at least one chatbot application (3) which is run on the electronic device (2) and is configured to allow a question to be asked and answer these questions on at least one interface; at least one database (4) which is configured to keep a record of the data sets required to train an artificial intelligence model, therein; and characterized by at least one server (5) which is configured to establish communication with the electronic device (2) by using any remote communication protocol; to realize data exchange with the chatbot application (3) and the database (4); to capture the meanings in the natural language texts in the question transmitted by the user to the chatbot application (3), by means of an ontology-based artificial intelligence natural language understanding technology; to realize the dialog management of these ontology concepts detected; and to return the required answer to the user through the chatbot application (3).
2. A system (2) according to Claim 1; characterized by the electronic device (2) which is configured to realize data exchange by using any remote communication protocol and to run at least one application thereon.
3. A system (2) according to any of Claim 1 or 2; characterized by the electronic device (2) which is a device such as a mobile phone, computer, laptop computer and tablet and is configured to establish connection with the server (5) by using any remote communication protocol and to realize data exchange between the chatbot application (3) and the database (4) through this connection established.
4. A system (2) according to Claim 3; characterized by the electronic device (2) which is configured to realize data exchange with the server (5) by using a data bus such as the Internet.
5. A system (1) according to any of the preceding claims; characterized by the chatbot application (3) which is run on the electronic device (2) and is configured to enable users to ask a question and to get answers to these questions on at least one interface.
6. A system (1) according to any of the preceding claims; characterized by the database (4) which is configured to realize data exchange with the chatbot application (3) and the server (5).
7. A system (1) according to any of the preceding claims; characterized by the database (4) which is configured to keep record of the natural language words and / or sentences that generate the data sets required to train an artificial intelligence model in artificial intelligence studies and the data sets used to train the natural language understanding models included in the chatbot application (3).
8. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to establish communication with the electronic device (2) by using any remote communication protocol and torealize data exchange with the chatbot application (3) through this communication established.
9. A system (1) according to Claim 8; characterized by the server (5) which is configured to realize data exchange with the electronic device (2) by using a data network such as the Internet.
10. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to establish communication with the database (4) and to access the data within the database (4).
11. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to determine and interpret the meanings within the question texts in the natural language transmitted by the users by accessing the database (4).
12. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to develop an ontology by means of concepts that belong to a field by accessing the database (4).
13. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to generate a hybrid ontology structure by including the concepts of intent and entity in the developed ontology.
14. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to carry out a task of directing the dialogue between the user and the chatbot application (3) by using the concepts that are detected to be included in the user’s question by means of the artificial intelligence natural language understanding technology by accessing the chatbot application (3); to enable to determine the answer tobe given; to request the information that are required to be received from the user and to decide on the flow of the dialogue.
15. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to ensure that an artificial neural network model developed by using deep learning algorithms is learnt from ontology notions and concepts developed for a field and to ensure that natural language texts, that is the main function of the chatbot, are understood by the machines.
16. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to train a neural network model that generates the components of natural language understanding by means of a semi-automatic ontology development technology via labeling; to develop an ontology and to save it onto the database (4).
17. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to label the natural language words and sentences, that are included in discourses on the chatbot application (3), with ontology notions by means of a semi-automatic ontology development technology via labeling; to include each new notion, that is encountered in natural language examples, in the ontology together with labeling and to save it onto the database (4).
18. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to train a machine learning model by using an active learning structure that is presented in a labeling medium with each notion labeled; to estimate possible notions in new discourse examples by means of this model and to present pre-labeled notion suggestions in the labeling process.
19. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to detect intention, information and objects by estimating the notions in the ontology of a field within natural language texts that generate the question on the chatbot application (3) by means of a ontology-based neural network model that is included in natural language understanding components; and to ensure that a question transmitted to the chatbot application (3) by the user is understood in a way that is close to a human’s competency to understand.
20. A system (1) according to any of the preceding claims; characterized by the server (5) which is configured to capture the meanings in the natural language texts that are included in the question transmitted to the chatbot application (3) by the user; to realize dialogue management of these ontology notions detected; and to return the necessary answer to the user through the chatbot application (3).
Citation Information
Patent Citations
Unsupervised ontology-based graph extraction from texts
US20170337268A1
System and method for belief based human-bot conversation
US20180307678A1
Generative ontology learning and natural language processing with predictive language models
US20210342380A1
