Method for providing services using a chatbot in a factory and an associated system
The method and system leverage NLP and machine learning to create knowledge graphs that address the challenge of understanding operator queries in manufacturing, enhancing the conversational robot's ability to provide accurate responses across varying skill levels.
Patent Information
- Application Number
- FR2023001427
- Authority / Receiving Office
- FR · FR
- Patent Type
- Utility models
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2033-02-16
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Title of the invention: Method for providing services using a conversational robot in a factory and an associated system Technical field
[0001] The invention relates to a method for providing services using a conversational robot in a factory. An operator of an associated system who carries out the method of the invention obtains a contextualized response to a request formulated in a vocabulary specific to him. Context
[0002] It is understood that an operator in a factory may find himself in a situation where a problem or question arises. The operator is not always experienced, and he needs to formulate a query in a vocabulary that is specific to his job and his environment. Such a query must be formulated on the basis of knowledge easily accessible to all operators despite their different skill levels. The system used by the operator to access the knowledge base will typically act in three stages: - identify what the operator is asking (the “understanding” part); - search the knowledge base for the most appropriate answer (the “search” part); and - return the corresponding response to the operator (the “return” part).
[0003] The "understanding" part requires that the system has a certain adaptability to understand the context in which the operator is acting and therefore know how to interpret the specific vocabulary in the context. For example, we take the example of the term "drum". In the field of tire manufacturing, a "drum" is a type of "large cylinder" made of metal around which semi-finished products are placed to make a tire. However, in an orchestra, a "drum" is a type of "large cylinder" that is struck (for example, using hands and / or sticks) to make music.
[0004] The "search" part is today a notorious challenge in manufacturing companies because the set of experience is capitalized in the form of documents designed by humans for humans. These references are unsuitable for automatic research. Thus, this part requires specific methods to overcome these difficulties.
[0005] To get to the "restitution" part, it is possible to exploit the capabilities of natural language processing (NLP). NLP is a sub-domain of artificial intelligence that focuses on interactions between (synthesized) computers and human (natural) languages. In particular, NLP concerns how to program computers to process and analyze large amounts of data in natural language. Developing NLP-type applications is challenging because computers traditionally require humans to "talk" to them in a precise, unambiguous, and highly structured programming language or through a limited number of clearly stated voice commands.NLP is the technology that underlies chatbots, virtual intelligent assistants (to understand inflection and tone), online translation services, Google search results (which uses NLP to proactively understand the searcher's intent and quickly provide relevant results), predictive texts (auto-completion, auto-correction) and other digital tools (see Kaviraju, “Leveraging Capabilities of NLP in Manufacturing Industries”, KR Knowledge World (industry40.co.in) (October 2021))(“the Kaviraju reference”). Thus, this technology requires a very large volume of data and equally large computing power for training (the GPT-3 model, for example, relies on hundreds of billions of words for training, 175 Gigabytes to store network parameters). The problem of understanding remains difficult to solve (for example, the problem on the double meaning of the term “drum”).
[0006] In the prior art, there are solutions in which data preprocessing using NLP techniques can be applied to historical machine failure reports in order to extract summary data therefrom. For example, US9,898,527 discloses an information retrieval method performed by a computing device that analyzes a received query to identify a topic of interest. The computing device determines when the topic of interest identified in the received query matches one of one or more ontological entities. In this case, the computing device identifies when the identified topic of interest is one of one or more existing topics of interest.During the method, the computing device performs storing associated with the identified subject of interest one or more filters comprising one or more new property conditions in the received query; one or more ontological property conditions associated with one of the mapped ontological entities; and one or more existing property conditions associated with one of the one or more existing subjects of interest. The computing device may automatically construct an updated query based on one or more stored filters; and, based thereon, may retrieve and provide one or more results based on the updated query.
[0007] In another example, publication EP3751503 discloses the use of a knowledge graph in a conversational robot (or "chatbot"). Various embodiments provide a device for supporting a chat service capable of providing simultaneously various services through a plurality of chatbots.
[0008] Despite these solutions, as explained in the Kaviraju reference, industries cannot hire only experienced operators. Therefore, there is always a mix of operators with different skill levels. An operator is expected to handle a machine problem independently. On the one hand, experienced operators are likely to refer to historical machine failure reports before solving the problem. On the other hand, less experienced operators have to search for historical reports without knowledge of applicable vocabulary. Therefore, it is necessary to adopt an approach that helps operators, whether highly experienced or less experienced, to review historical reports (being the documents available in the operator's predetermined activity), understand them quickly and repair the machine as quickly as possible.
[0009] Using a knowledge graph helps overcome a lack of homogeneity in collective intelligence. In a well-known example, Google uses the structured Wikidata database as a knowledge graph to populate and complete its responses to search queries. It is the global community that has built this database over time. Rules and management tools have been developed in parallel to support its development (see https: / / www.wikidata.Org / wikiAVikidata:Introduction / fr). Initiatives such as the SAREF ontology ("Smart Applications REFerence") (see https: / / saref.etsi.org / index.html) allow advanced management similar to source code management and knowledge graphs. However, they do not allow the automatic generation of a knowledge graph from a text.
[0010] The disclosed invention takes advantage of this type of graph and the representation of the set of meanings that can be associated with a word. It is understood that the term "meaning" refers to the definition of a word in the context of its use. It is also understood that the term "concept" refers to the set of ideas that come around a word in its context (for example, the ideas "the sticks", "the music", "the semi-finished products", and / or "the tire" compared to the word "drum"). From a cognitive point of view (i.e., in the brain), concepts can be associated, in addition to words, with images, smells, sounds, memories and other triggers of understanding and meaning given to a text (see Dounia Lakhzoum, Semantic Organization and Generalization Mechanisms of Abstract Concepts, Psychology, Université Clermont Auvergne; Laboratoire de Psychologie Sociale et Cognitive (LAPSCO)(2021).The notion of learning and the link between concepts are still poorly understood, which explains the difficulty of implementing them in artificial intelligence and the need for humans to validate it. knowledge model. Thus, it is on the generation of this knowledge graph that the disclosed invention applies NLP techniques to historical machine failure reports in order to extract summary data, regardless of the level of experience of the operators concerned. Summary of the invention
[0011] The invention relates to a method for providing services using a conversational robot in a factory, the method implemented by a computer system making it possible to execute programmed instructions stored in a memory of one or more processors of the computer system to construct at least one knowledge graph, characterized in that the method comprises a step of carrying out a process of creating at least one knowledge graph, the process comprising the following steps: - a first step consisting of developing a control vocabulary to encourage the use of the same word for a particular meaning; - a second step consisting of developing a thesaurus whose equivalence of terms used in a predetermined activity makes it possible to identify the terms which relate to a single concept of the predetermined activity; - a third step consisting of creating a taxonomy that defines a hierarchy with parent-child relationships; and - a final step of creating at least one knowledge graph to capture specific instances of the relationship; wherein the processor(s) comprise an analysis application execution module which performs the processing of the terms collected from the documents available in the predetermined activity, wherein the processor(s) are capable of executing programmed instructions stored in the memory to perform the steps of the method.
[0012] In certain embodiments of the method of the invention, the step of creating at least one knowledge graph comprises a step of determining the different links between the terms identified during the second step of the process.
[0013] In some embodiments of the method of the invention, the second step of the process comprises a step of determining, by the computer system, where each term identified in a query received from an operator of the computer system corresponds to one of one or more predetermined ontological entities.
[0014] In some embodiments of the method of the invention, during the last step of the process, the computer system retrieves and provides one or more knowledge graphs based on an automatically constructed updated query.
[0015] In some embodiments of the method of the invention, the second step of the process comprises a step of decomposing the identified terms into words and their concepts, during which the documents entered into the computer system are weighed in a way that most makes use of the words and their associated concepts.
[0016] In some embodiments of the method of the invention, the last step of the process comprises a step of building a model by statistical learning to create a natural language processing (NLP) model based on the documents input to the computer system, such that the constructed model contains proximity values between the identified terms so as to extract the words associated with each other.
[0017] In certain embodiments of the method of the invention, the last step of the process further comprises a step of adding one or more previously created knowledge graphs.
[0018] In certain embodiments of the method of the invention, wherein the predetermined activity comprises manufacturing the tires.
[0019] The invention also relates to a system which carries out a method of providing services using a conversational robot in a factory, in which the system comprises: - a computer system for executing programmed instructions stored in a memory of one or more processors of the computer system to carry out the disclosed method;
[0020] - a knowledge base on which one or more knowledge graphs are linked to a predetermined activity; - at least one communication network incorporating one or more communication servers; and - at least one user interface in communication with the processor(s) of the computer system.
[0021] In some embodiments of the system of the invention, the knowledge base comprises documents available in the predetermined activity.
[0022] The invention further relates to a plant for manufacturing tires, comprising the disclosed system.
[0023] Other aspects of the invention will become apparent from the following detailed description. Brief description of the drawings
[0024] The nature and various advantages of the invention will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings, in which like reference numerals designate like parts throughout, and in which: [Fig.l] [Fig.l] represents an embodiment of a knowledge graph built in the field of tire manufacturing. [Fig.2] [Fig.2] represents an example of terms used in the construction of a knowledge graph in the field of tire manufacturing. [Fig.3] [Fig.3] represents the discriminating terms identified among the terms represented in [Fig.2]. [Fig.4] Figures 4 and 5 represent the relative distances between the terms used in the construction of a knowledge graph in the field of tire manufacturing. Detailed description
[0025] The invention relates to a method for providing services using a conversational robot in a factory (or "method"). The method of the invention is implemented by a computer system (or "system") for executing programmed instructions stored in a memory of one or more processors of the system to construct at least one knowledge graph. The method of the invention comprises carrying out a process for creating one or more knowledge graphs (or "process") implemented by the system to accommodate an unstructured base (i.e., to be understood, not formatted to facilitate the notions of questions / answers). The system requires the following elements: - A knowledge base (including documents available in a predetermined activity); - One or more knowledge graphs linked to a predetermined activity, the graphs of which have been previously created on the basis of the words used in the daily work of a predetermined activity; - At least one user interface; and - A computer structure adapted to work with algorithms called “statistics”.
[0026] Referring now to the figures, in which the same numbers identify identical elements, [Fig.l] represents an embodiment of a knowledge graph constructed in the field of tire manufacturing. A knowledge graph allows knowledge modeling. This model is based on concepts: ideas which are generally identified by a word or expression and which are linked together by a proximity link. It is understood that such a knowledge graph could be constructed with respect to any field.
[0027] As shown in [Fig.l], a BNS manufacturing machine is shown which allows to go from the cylindrical shape to a toric shape, which will be that of a tire. The BNS machine is made up of a DRUM, and it is used to produce tire crowns on a CARCASS (for example, in rap bringing the beads closer to each other while subjecting the central part to pressure which will stretch and bulge the rubber layers). On the CARCASS, a PRODUCT LAYING is carried out in which the crown elements are added (including, without limitation, the reinforcement plies, the crown plies, the smooth profile which will become the tread, the various edge rubbers). Each PRODUCT LAYING must reach a predefined QUALITY standard. In a production session, the mechanics of the BNS machine may be faulty and a component such as the DRUM has a probability of FAILURE. If there is a FAILURE, there is a PROBLEM (for example, a FAILURE can affect a PRODUCT LAYING which threatens QUALITY).
[0028] Referring again to [Fig.l], as an example, the different links are weighted (0.2 between BNS and CARCASS or between BNS and DRUM), which means that, in an industrial context of tire manufacturing, people associate the BNS as much with the DRUM as with the CARCASS.
[0029] When we ask the system a question, it will break down the sentence into words or expressions, and it will search the knowledge graph for the concepts of ranks 1, 2, etc. N (and their weightings) associated with them. This set of words and their weighted concepts is then used for a simple search in the available documents which will be assigned a weight based on the number of occurrences of each word and each concept. The sorting is then carried out by weighing the documents, the most relevant being those which have made the most use of the words and their associated concepts. Thus, a document which refers to all the words in the question will have a high weight. A document which only uses a concept distant from one of the words will be significantly less heavy.
[0030] The robustness of the system of the invention is therefore largely linked to the accuracy of the knowledge graphs. In the disclosed invention, the addition of simple graphs makes it possible to improve the search performance without degrading the design cost and complexity of the system. The system is therefore described as a knowledge graph-based system.
[0031] As an example, we take as input the question "The BNS has a PROBLEM, what to do?" Referring to [Fig.2], if we use only the words BNS and PROBLEM (underlined in [Fig.2]), Document 1 comes out first and Document 4 is not even present in the results. If we use the close terms in the knowledge graph (for example, the terms CARCASS, PRODUCT INSTALLATION, FAILURE and QUALITY underlined in [Fig.2]), Documents 2 and 3 come out before Document 1, and Document 4 is included in the results, which is justified in the context of a tire manufacturing workshop.
[0032] Referring further to [Fig.3], the discriminating terms between Documents 2 and 3 of [Fig.2] are "BREAKDOWN" and "QUALITY" which potentially return very different documents in terms of response, focused on the resolution of breakdowns or quality problems. Starting from the word PROBLEM, we cannot discriminate whether it is a quality problem or a breakdown: the PROBLEM -BREAKDOWN and PROBLEM - QUALITY distances are identical.
[0033] Referring further to Figures 4 and 5, starting from the word BNS, the BNS-FAULT distance is lower than the BNS-QUALITY distance if the term DRUM is included in the graph ([Fig.5]) than if DRUM is not ([Fig.4]). In each case, it is the shortest path that will make the difference and that will direct towards documents oriented towards "FAULT", rather intended for maintenance or "QUALITY" for the development sector. Thus, the work consists of finding the most efficient but least complex graph because complexity will harm the management and updating of the graphs. They can be more or less detailed, but also oriented towards a predetermined sector of activity (here, quality or maintenance) to respond to problems of different trades.
[0034] It is understood that the generation of knowledge graphs of the invention by humans is extremely time-consuming and requires significant business skills as well as mastery of knowledge management tools. A methodology based on a dictionary of a predetermined activity concerns the analysis by statistical algorithms used in NLP to directly obtain the concepts associated with a word. Thus, automatic processing based on NLP makes it possible to accelerate the creation of knowledge graphs.
[0035] The process of constructing knowledge graphs is based on ontologies, i.e. sets of concepts and categories in a field or profession, which show their properties and the relationships between them. By default, NLP will operate by statistical learning to create an NLP model on the documentary base comprising the documents available in the predetermined activity (for example, tire manufacturing). This model contains proximity values between words to be able to extract the words “regularly” associated with each other and thus constitute a weighted knowledge graph which will serve as a basis.
[0036] The method of the invention comprises a step of carrying out a process for creating at least one knowledge graph (or "process"). The process comprises a first step consisting of developing a control vocabulary to encourage the use of the same word for a particular meaning (for example, associating the term "drum" to refer to the large metal cylinder used in the manufacture of tires and not to the large musical cylinder). The next step of the process consists of developing a thesaurus whose equivalence of terms allows to identify terms that relate to a single concept of a predetermined activity (e.g., in cases where the predetermined activity is tire manufacturing, the terms "elastomeric" and "synthetic" refer to the concept of a rubber, but these terms are not synonymous). The next step in the process is to create a taxonomy that defines a hierarchy with parent-child relationships (e.g., one element being classified as part of another, such as a drum being part of a BNS machine). Finally, the process includes a final step of creating a knowledge graph to capture specific instances of the relationship, while the ontology is generic. In the chosen predetermined activity (such as tire manufacturing), the quality of this graph depends on the volume of available documents.
[0037] The data used (e.g., documents 1 to 4 in [Fig.2]) are optimized using machine learning algorithms (including, but not limited to, Naïve Bayes, KNN, logic regression, SVM and decision tree) and / or deep learning algorithms (including, but not limited to, encoders / decoders using LSTM / RNN, BERT, etc.). In addition, tools like SAREF allow graphs to be merged by detecting inconsistencies, which will be resolved by humans. This allows an expert employee to improve a low-quality graph (from NLP processing on the documents) by merging it with one from the dictionary or a public graph dealing with a known domain. This results in a quality graph with substantial time savings.
[0038] Referring to [Fig.6], an example of a knowledge graph is shown, the contents of which are used in a dictionary in the tire manufacturing activity. In this dictionary, the term "Scraper" is associated with a "Blade" applied against a "Cylinder" allowing the unused "Rubber" to be returned to the "Bead". In this dictionary, the term "Bead" is associated with a "Quantity of Mixture", found on the rotating "Cylinders" of a finishing homogenizer (or "HF"), which is necessary and sufficient to obtain a homogeneous and viscoelastic "Mixture". On a "Calender", the bead, by ensuring a regular "Feed", makes it possible to obtain a continuous sheet of mixture.
[0039] In this example, it is obvious that the "contextualized" meanings of the words are directly reusable and the efficiency of the searches is improved. The validation and management of knowledge graphs could rely on tools like SAREF to minimize the cost. The system of the invention therefore produces semi-automated and not totally manual knowledge graphs.
[0040] As used herein, “operator” refers to a single operator or a group of operators. An operator includes, but is not limited to, an individual operator of a predetermined activity, an individual member of a team or group that participates in a predetermined activity, one or more machines associated with an individual or team that participates in at least one task of a predetermined activity, a digital community associated with a predetermined activity, and combinations and equivalents thereof. The operator may be a spectator who witnesses a task, either physically or digitally (e.g., by remotely managing a live predetermined activity in order to observe it in real time). As used herein, “operator” may also refer to one or more others who analyze data collected in another environment. As used herein, “operator” may also refer to any electronic system or device configured to receive control input and configured to automatically send data to at least one other operator.
[0041] As used herein, the term “method” or “process” may include one or more steps performed by at least one computer system having one or more processors to execute instructions that perform the steps (including constructing knowledge graphs). Any sequence of steps is exemplary and does not limit the described methods to any particular sequence unless otherwise indicated.
[0042] The computer system that performs the method of the invention comprises a communication network incorporating one or more communication servers (or "servers") that manage incoming data to the system from various sources (e.g., documents available in the predetermined activity). The communication network may include wired or wireless connections and may implement any data transfer protocol known to a person skilled in the art. Examples of wireless connections may include, but are not limited to, radio frequency (RF), satellite, mobile phone (analog or digital), Bluetooth®, Wi-Fi, infrared, ZigBee, local area network (LAN), WLAN (Wireless Local Area Network), wide area network (WAN), NFC (near field communication), other wireless communication configurations and standards, their equivalents, and a combination thereof.
[0043] The term "processor" (or, alternatively, the term "programmable logic circuit") refers to one or more devices capable of processing and analyzing data and including one or more software programs for processing them (e.g., one or more integrated circuits known to those skilled in the art as being included in a computer, one or more controllers, one or more microcontrollers, one or more microcomputers, one or more programmable logic controllers (or "PLCs"), one or more application-specific integrated circuits, one or more neural networks, and / or one or more other known equivalent programmable circuits). The processor includes software for processing the data captured by the elements associated with the computer system (and the corresponding data obtained) as well as software for the identification and localization of variances and the identification of their sources in order to correct them.
[0044] The processor(s) are operatively connected to a memory configured to store an analysis application of terms representative of the predetermined activity (e.g., the manufacture of tires in a factory comprising the system). The processor(s) comprise an analysis application execution module which performs the processing of the terms collected from the available documents, the processor(s) of which are capable of executing programmed instructions stored in the memory to carry out the steps of the method and the process.
[0045] The memory may include both volatile and non-volatile memory devices. The non-volatile memory may include solid-state memories, such as NAND flash memory, keep-alive memory (KAM) for saving various operating variables while the processor is powered off, magnetic and optical storage media, or any other suitable data storage device that retains data when the system is powered off or loses power. The volatile memory may include static and dynamic RAM that stores program instructions and data, including a learning application.
[0046] The system that performs the method of the invention comprises at least one user interface in communication with the processor(s) of the computer system. The user interface may incorporate one or more types of interfaces, including, but not limited to, a graphical user interface (or "GUI"), a command line interface (or "CLI"), a menu-driven interface (or "MDI"), a form-based interface (or "FBI"), and / or a natural language user interface (or "NLI"). In one embodiment of the user interface, the user interface comprises a graphical user interface that communicates to the operator terms enabling the creation of one or more knowledge graphs based on a query entered by the operator. Based on this, the computer system retrieves and provides one or more knowledge graphs based on an automatically constructed updated query.
[0047] The system of the invention may include preprogramming of the knowledge graph construction information. For example, an operating setting of a BNS machine may be associated with the parameters of the typical physical environment in which the BNS machine operates.
[0048] In embodiments of the invention, the system (and / or a plant comprising the system) may receive audio commands (including voice commands) or other audio data representing, for example, a step or stop of building at least one knowledge graph from the available documents. A request made to the system may include a request for the current state of an ongoing knowledge graph building process. A generated response may be represented audibly, visually, tactilely (e.g., using a haptic interface), and / or virtually and / or augmentedly. This response, together with the corresponding data, may be recorded in a neural network.
[0049] For all embodiments of the system, a monitoring system could be implemented. At least part of the monitoring system may be provided in a portable device such as a mobile network device (e.g., a mobile phone, a laptop, one or more network-connected wearable devices (including "augmented reality" and / or "virtual reality" devices, network-connected wearables, and / or any combinations and / or equivalents). It is envisaged that detection and comparison steps may be performed iteratively.
[0050] The terms "at least one" and "one or more" are used interchangeably. Ranges that are presented as being "between a and b" encompass the values "a" and "b".
[0051] Although particular embodiments of the disclosed apparatus have been illustrated and described, it will be understood that various changes, additions, and modifications may be practiced without departing from the spirit and scope of the present disclosure. Accordingly, no limitations should be imposed on the scope of the disclosed invention except those set forth in the appended claims.
Claims
Claims
1. A system that performs a method of providing services using a chatbot in a factory, wherein the system comprises: - a computer system for executing programmed instructions stored in a memory of one or more processors of the computer system to perform a method comprising a step of performing a process of creating at least one knowledge graph, the process comprising the following steps: - a first step of developing a control vocabulary to encourage the use of the same word for a particular meaning; - a second step of developing a thesaurus whose equivalence of terms used in a predetermined activity makes it possible to identify terms that relate to a unique concept of the predetermined activity; - a third step of producing a taxonomy that defines a hierarchy with parent-child relationships;and - a final step of creating at least one knowledge graph to capture specific instances of the relationship; wherein the processor(s) comprise an analysis application execution module that performs the processing of the terms collected from the documents available in the predetermined activity, the processor(s) of which are capable of executing programmed instructions stored in the memory to perform the steps of the method; - a knowledge base on which one or more knowledge graphs are linked to a predetermined activity; - at least one communication network incorporating one or more communication servers; and - at least one user interface in communication with the processor(s) of the computer system.;
2. The system of claim 1, wherein the knowledge base comprises documents available in the predetermined activity.
3. The system of claim 1 or claim 2, wherein, during the second step of the process, the computer system determines different links between the identified terms.
4. The system of claim 3, wherein, during the second step of the process, the computer system identified each term in a query received from a computer system operator and determines a match to one of one or more predetermined ontological entities.
5. The system of claim 3 or claim 4, wherein, during the last step of the process, the computer system retrieves and provides one or more knowledge graphs based on an automatically constructed updated query.
6. The system of claim 5, wherein, during the second step of the process, the computer system decomposes identified terms into words and their concepts, such that documents input to the computer system are weighed in a manner that most makes use of the words and their associated concepts.
7. The system of claim 6, wherein, during the last step of the process, the computer system builds a model by statistical learning to create a natural language processing (NLP) model based on the documents input to the computer system, such that the built model contains proximity values between the identified terms so as to extract words associated with each other.
8. The system of any one of claims 1 to 7, wherein, during the last step of the process, the computer system adds one or more previously created knowledge graphs.
9. The system of any one of claims 1 to 8, wherein the predetermined activity comprises manufacturing the tires.
10. A plant for manufacturing tires, comprising the system of any one of claims 1 to 10.
