The invention relates to a method for retrieving a recommendation from a knowledge database of a ticketing system in response to a received query.
Industrial assets such as power plants, production lines, machines, in particular turbines, have to undergo service and/or maintenance procedures to avoid unplanned outages or diminished outputs. Pre-emptive maintenance measures have to be performed to avoid an unwanted outage of an industrial system which can comprise one or several machines. It is an established process to report issues concerning industrial systems to a service provider. These issues comprise descriptions of symptoms which may hint to an operational anomaly of the technical system or its subsystems. This reporting usually leads to textual descriptions of the issue in a ticketing system. The reported issue or query is then investigated by service experts who can evaluate the received query to provide recommended actions or solutions for the reported issue. The recommended actions or solutions are usually attached to the reported issues and form a valuable knowledge database on how to resolve issues concerning the respective technical system or its subsystems. Since industrial assets or systems tend to be similar over various installations and since they do not normally change quickly it can be expected that issues having occurred over various installations may be recurring.
Conventional methods use machine learning and statistical tools such as Latent Dirichlet Allocation for documents clustering and cosine similarity to first learn document topics (representation) in generative and unsupervised paradigm and then the similarity is computed using topical features or latent representations learned. Conventional issue tracking systems propose machine learning based approaches for ticket classification. These issue tracking systems annotate the issue type with a class label which restricts them to predefined classes. Consequently, the conventional issue tracking system is not capable to scale in general application domains. Conventional issue tracking systems are not flexible and cannot be applied to different domain applications. Further, they require a high degree of human intervention to provide solutions for the reported issue.
Accordingly, it is an object of the present invention to provide a method and a system for retrieving automatically a fitting recommendation from a knowledge database of a ticketing system in response to a received query concerning a technical system or a subsystem.
This object is achieved according to a first aspect of the present invention by a method comprising the features of claim 1.
The invention provides according to a first aspect a method for retrieving a recommendation from a knowledge database of a ticketing system in response to a received query, the method comprising:
performing a semantic textual similarity learning in textual description pairs by calculating similarity scores for similarities between the received query and tickets stored in the knowledge database,
wherein each textual description pair includes a textual description of the received query and a textual description of a ticket of a plurality of tickets stored in the knowledge database and
identifying the ticket having the maximum similarity score and reading a solution of the identified ticket as the retrieved recommendation for the received query.
In a possible embodiment of the method according to the first aspect of the present invention, the received query comprises as a textual description at least a subject text and/or a description text.
In a further possible embodiment of the method according to the first aspect of the present invention, each ticket stored in the knowledge database comprises as a textual description at least a subject text, a description text and/or a solution text.
In a further possible embodiment of the method according to the first aspect of the present invention, for each textual description of the received query and for each textual description of the ticket at least one associated representation is calculated.
In a possible embodiment of the method according to the first aspect of the present invention, the representation of the textual description comprises a hidden state of an associated neural network.
In a further possible embodiment of the method according to the first aspect of the present invention, the representation of the textual description comprises a word embedding.
In a still further possible embodiment of the method according to the first aspect of the present invention, multi-level symmetric representation differences and/or cross-level asymmetric representation differences between the received query and tickets stored in the knowledge database are calculated.
In a further possible embodiment of the method according to the first aspect of the present invention, the similarity score indicating a degree of similarity between the received query and a ticket stored in the knowledge database is calculated on the basis of the multi-level symmetric representation differences and/or on the basis of the cross-level asymmetric representation differences using a predetermined similarity metric.
In a further possible embodiment of the method according to the first aspect of the present invention, the similarity metric comprises a Manhattan similarity metric.
In a further possible embodiment of the method according to the first aspect of the present invention, the representation of the textual description comprises a hidden state of a bidirectional Long Short Term Memory, LSTM, network.
In a further possible embodiment of the method according to the first aspect of the present invention, each ticket stored in the knowledge database further comprises a timestamp, metadata, information data and/or control data.
In a still further possible embodiment of the method according to the first aspect of the present invention, the query is input by a user.
In a further possible embodiment of the method according to the first aspect of the present invention, the query is generated by a controller of a machine in response to a monitored state of the respective machine.
In a still further possible embodiment of the method according to the first aspect of the present invention, the solution of the identified ticket read from the knowledge database as the retrieved recommendation for the received query comprises a solution text of the identified ticket for a user and/or control data of the identified ticket which controls the machine automatically.
In a still further possible embodiment of the method according to the first aspect of the present invention, the representations of the textual description of a ticket are updated during training of the associated neural networks and precalculated for evaluation in response to a received query.
The invention further provides according to a further aspect a ticketing system comprising the features of claim 15.
The invention provides according to the second aspect a ticketing system adapted to retrieve a recommendation from a knowledge database in response to a received query, said ticketing system comprising:
a processor adapted to perform semantic similarity learning in textual description pairs by calculating similarity scores for similarities between the received query and tickets stored in the knowledge database of said ticketing system,
wherein each textual description pair includes a textual description of the received query and a textual description of a ticket of a plurality of tickets stored in the knowledge database of said ticketing system,
wherein the ticket having the maximum similarity score is identified and a solution of the identified ticket is output as the retrieved recommendation for the received query by said ticketing system.
In the following, possible embodiments of the different aspects of the present invention are described in more detail with reference to the enclosed figures.
As can be seen in the schematic diagram of
In the illustrated example of
For each textual description of the received query Q and for each textual description of the ticket T at least one associated representation is calculated.
In a possible embodiment, the calculated representation of the textual description comprises a hidden state of an associated neural network. This neural network can comprise a recurrent neural network RNN. In a possible implementation, the neural network can comprise a bidirectional Long Short Term Memory, LSTM, network. In a further possible embodiment, the representation of the textual description can comprise a word embedding E. The number of representations for each textual description can vary. In a possible embodiment, the representations calculated for a textual description can comprise a hidden state h of an associated neural network and/or a word embedding E.
In a possible embodiment of the ticketing system 1 as illustrated in
In a further possible embodiment, a ticket T stored in the knowledge database 3 of the ticketing system 1 can further comprise a timestamp, metadata, information data and/or control data.
In a possible embodiment, a query Q can be input by a user or a technician by means of a user interface of the ticketing system 1. In a further possible embodiment, the query Q can also be generated by a controller of a machine in response to a monitored state of the machine and supplied to the ticketing system 1 via a logical data network.
In a further possible embodiment of the ticketing system 1, the solution SOL of the identified ticket T read from the knowledge database 3 as the retrieved recommendation REC for the received query Q can comprise a solution text of the identified ticket output to a user or a technician and/or control data of the identified ticket T which can be used to control the machine having caused the query Q automatically.
The representation of the textual descriptions of a ticket T stored in the knowledge database 3 can be updated during training of the associated neural networks and precalculated for evaluation in response to a received query Q.
In a possible implementation, the internal states of the machine M are monitored and queries Q concerning issues or an abnormal behaviour of the machine M are generated automatically depending on the monitored state of the machine M. The generated query Q can be supplied by the machine M for instance via a data network DNW to an input interface of the ticketing system 1 as illustrated in
The ticketing system 1 receives the query Q from the machine M or from the user interface UI to retrieve a recommendation REC from a knowledge database 3 in response to a received query Q. In a possible embodiment, the solution of the identified ticket T read from the knowledge database 3 as the retrieved recommendation REC for the received query Q can comprise a solution text of the identified ticket for a user or a technician but also in a possible embodiment control data CTRL of the identified ticket T which can be used to control the machine M automatically, in particular to address the reported issue. For instance, the recommendation REC can comprise control data CTRL to switch off automatically a subsystem or component of the machine M. The solution text can be output via a display to a user or a technician and can include a recommendation for the user how to handle the reported issue and may optionally also inform him of any automatic action performed by the ticketing system 1 in response to the received query Q.
In a first step S1, a semantic textual similarity learning is performed in textual description pairs by calculating similarity scores y for similarities between a received query Q and tickets T stored in a knowledge database 3. Each description pair includes a textual description of the received query Q and a textual description of a ticket T of a plurality of tickets stores in the knowledge database 3.
In a further step S2, the ticket T having the maximum similarity score is identified and a solution SOL of the identified ticket is read from the knowledge database 3 as the retrieved recommendation REC for the received query Q.
As illustrated, the query Q, i.e. the reported issue, can consist of a subject Q-SUB and a description Q-DESC. The subject Q-SUB normally comprises several words w. In contrast, the description Q-DESC comprises in a possible embodiment a sequence of sentences each consisting of a set of words. Each ticket T stored in the knowledge database 3 of the ticketing system 1 consists of a subject, description and a solution as illustrated in
As can be seen in the detailed architecture illustrated in
Further, the system illustrated in
In the illustrated example of
Further, in the illustrated embodiment of
In a possible embodiment, the ticketing system 1 use a Siamese LSTM network for multi-level and cross-level or asymmetric textual similarity learning. In a possible embodiment, word embeddings are introduced in similarity learning metrics along with hidden representations from LSTM networks. The ticketing system 1 provides a real-world application of semantic textual similarity learning and retrieving of similar tickets based on a deep learning architecture. It can use char-word embeddings generated via bidirectional LSTM networks for handling technical vocabulary and typos. The ticketing system 1 according to the present invention can be used for any kind of industrial system or industrial domain. The system 1 helps in generating additional annotated and supervised or labelled data from a large unsupervised corpus. The ticketing system 1 can reduce human efforts and expert knowledge to manually annotate large corpus required in supervised modelling tasks. The ticketing system 1 according to the present invention allows to automate the solution recommendations for query tickets via semantic textual similarity learning. The system 1 helps in empowering similarity learning tools, in particular question and answering tools. The ticketing system 1 according to the present invention allows for preemptive maintenance and reduces the probability that a technical system or subsystem may fail during operation. In a possible embodiment, the ticketing system 1 according to the present invention can be integrated in a machine M or subsystem for providing automatically recommendations to resolve any kind of abnormal behaviour of a subsystem or a component of the monitored machine M. In a further possible embodiment, several machines M belonging to the same technical system can be connected to a common ticketing system 1 via a data network. In a possible embodiment, the ticketing system 1 is a local ticketing system which can be used for one or several machines M of an industrial plant. In a further possible embodiment, the ticketing system 1 can also comprise a remote system connected to different machines M located on the same or different sites via a data network such as the internet. The ticketing system 1 according to the present invention can provide textual recommendations advising users how to resolve a technical problem concerning a machine M. Further, the technical system 1 can also provide control data CTRL and/or control signals helping or supporting the user or technician in solving reported issues concerning a machine. In a possible embodiment, depending whether the recommendation REC provided by the ticketing system 1 was helpful in addressing the reported issue, the generated recommendation REC can be stored in the knowledge database 3 as an additional ticket T for further processing.
Number | Date | Country | Kind |
---|---|---|---|
201711010017 | Mar 2017 | IN | national |
17169904.4 | May 2017 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2018/051520 | 1/23/2018 | WO | 00 |