Dialogue control system and dialogue control method

The dialogue control system efficiently generates dialogue models from document data using a directed graph structure, addressing the challenge of extracting interaction models for dialogue engines, enabling effective OT knowledge delivery to unskilled workers.

JP7575983B2Active Publication Date: 2024-10-30HITACHI CONSTRUCTION MACHINERY CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2021057657
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-30
Publication Date
2024-10-30
Estimated Expiration
2041-03-30

AI Technical Summary

Technical Problem

Existing technologies face challenges in efficiently extracting interaction models from document data for dialogue engines, particularly in constructing directed graphs to provide appropriate responses to user inputs, which is crucial for supporting unskilled personnel in industrial settings with OT knowledge.

Method used

A dialogue control system utilizing a dialogue model with a directed graph structure, including a dialogue model generation unit that segments document data, extracts state transition keywords, and generates a dialogue model based on natural language processing, reducing human burden and man-hours.

Benefits of technology

Enables efficient generation of dialogue models for dialogue engines, allowing unskilled workers to perform tasks with OT knowledge effectively and efficiently, similar to experts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575983000001
    Figure 0007575983000001
  • Figure 0007575983000002
    Figure 0007575983000002
  • Figure 0007575983000003
    Figure 0007575983000003
Patent Text Reader

Abstract

To efficiently generate an interaction model for letting an interaction engine providing information in an interactive manner function based upon document data.SOLUTION: An interactive control system lets a node of an interactive model with a directed graph structure have a transition according to an input sentence of a user to perform interactive processing with the user. An interactive control system is configured to: generate segmented document data as data obtained by dividing document data used for the interactive model into a plurality of segments; extract a state transition keyword as a keyword for generating a state transition between segments from the segmented document data; acquire segment unit data as information extracted respectively from the segments; and generate an interactive model based upon the segment unit data and state transition keyword.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a dialogue control system and a dialogue control method. [Background technology]

[0002] Patent Document 1 describes an information processing device configured for the purpose of acquiring all conditions related to information that the user wishes to search through a dialogue with the user. The information processing device displays a question related to a search target in a first manner on a display of a terminal that narrows down the information that the user wishes to search by repeating displaying a question and acquiring an answer to the question from the user, acquires an answer to the question input by the user through the terminal, displays first information related to the progress of the narrowing down in a second manner above the question, and displays second information related to a guide to the answer to the question in a third manner below the question.

[0003] Patent Document 2 describes a word map creation device that creates an information map that expresses the association between multiple elements that make up one information set by relationship lines connecting the elements. The word map creation device acquires restriction information for the information map, and creates an information map based on the restriction information so that multiple elements expressed on the information map are connected via relationship lines that connect them to other elements. The word map creation device also acquires restriction information set for each element, selects a relationship line to be enabled on the information map based on the restriction information, and displays the information map with the display attribute of the enabled relationship line distinguished from the display attributes of other relationship lines. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-92585 A [Patent Document 2] JP 2004-021913 A Summary of the Invention [Problem to be solved by the invention]

[0005] In recent years, the shortage of skilled workers has become evident at the operation sites of industrial control systems, such as construction sites, factories, and social infrastructure facilities, and there are growing expectations and interest in technology to support on-site work by unskilled workers. To meet these needs, efforts are being made to realize a system that provides OT (Operational Technology) knowledge, such as fault diagnosis procedures and regular inspection procedures, accumulated by skilled workers to unskilled workers through dialogue processing using a dialogue engine (chatbot).

[0006] In order for a dialogue engine like the one above to function effectively, it is necessary to efficiently extract information (hereinafter referred to as a "dialogue model") for proceeding with a dialogue according to a scenario such as a work procedure from data such as manuals that have accumulated OT knowledge. However, complex judgment is required to extract a dialogue model from document data such as manuals that are written in a variety of formats, and in order to return an appropriate response to a user's input, it is necessary to extract information that can configure a directed graph structure, and therefore reducing the human load and workload required for extracting a dialogue model has become an issue.

[0007] Patent Document 1 describes a mechanism in which an information processing device progresses narrowing down of information that a user wishes to search by repeatedly displaying a question and obtaining an answer to the question from the user. However, it does not describe a specific method for creating information (dialogue model) from which the above information is extracted.

[0008] On the other hand, the technology described in Patent Document 2 is not related to a dialogue engine, but describes extracting words that make up a document from document data, and analyzing statistical information and relational information between the extracted words to create an information map (word map). However, the information map disclosed in this document is an undirected graph, and no technology is described for extracting information having a directed graph structure from document data.

[0009] The present invention has been made in consideration of the above background, and aims to provide a dialogue control system and a dialogue control method that are capable of efficiently generating a dialogue model based on document data for functioning a dialogue engine that provides information in a dialogue format. [Means for solving the problem]

[0010] In order to achieve the above object, one aspect of the present invention is a dialogue control system, which is configured using an information processing device and has a dialogue model having a directed graph structure. A response to the input sentence has been set. Nodes can be changed according to user input. Follow the Edge By transitioning between the two, the dialogue is processed and the user is The response a dialogue model generating unit that generates the dialogue model; and a storage unit that stores document data used in generating the dialogue model. According to pre-defined segmentation rules a segmentation unit that generates segmented document data, which is data divided into a plurality of segments; and a state transition keyword that generates a state transition between the segments from the segmented document data. , an identifier of the segment from which the state transition keyword transitions, and an identifier of the segment to which the state transition keyword transitions from each of the segments of the segmented document data. Using natural language processing technology Obtain segment unit data, which is the information to be extracted a response sentence based on the segment unit data is set for each of the nodes corresponding to the segments, and the nodes are connected with edges based on the state transition keyword, the identifier of the segment that is the source of the state transition keyword, and the identifier of the segment that is the destination of the state transition keyword. and a dialogue model generation processing unit that generates the dialogue model.

[0011] Other problems and solutions disclosed in the present application will be made clear in the description of the preferred embodiment and the drawings. Effect of the Invention

[0012] According to the present invention, a dialogue model for operating a dialogue engine that provides information in a dialogue format can be efficiently generated based on document data. [Brief description of the drawings]

[0013] [Figure 1] FIG. 2 is a system flow diagram illustrating the main configuration of the dialogue control system. [Figure 2A] FIG. 2 is a diagram illustrating an example of a dialogue model. [Figure 2B] This is an example of the dialogue model TBL. [Diagram 3] 11 is a flowchart illustrating an interaction process. [Figure 4] FIG. 2 is a diagram illustrating a function of a dialogue model generation unit. [Figure 5A] 1 is an example of document data in a flowchart format. [Figure 5B] 1 is an example of document data in bullet-list format. [Figure 6] 1 is an example of a segmentation rule TBL. [Figure 7] 1 is an example of segmented document data. [Figure 8] 11 is a flowchart illustrating a segmentation process. [Figure 9] 1 is an example of a state transition keyword label TBL. [Figure 10] 11 is an example of state transition keyword data. [Figure 11] 13 is a flowchart illustrating a state transition keyword extraction process. [Figure 12] 13 is an example of a state transition keyword label setting screen. [Figure 13] 1 is an example of segment unit data. [Figure 14] 13 is a flowchart illustrating a dialogue model generation process. [Figure 15] 13 is an example of a dialogue model confirmation screen. [Figure 16] 1 is an example of an information processing device used to realize a dialogue control system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, the embodiments will be described with reference to the drawings. Note that the following description and drawings are examples for explaining the present invention, and are omitted or simplified as appropriate for clarity of explanation. The present invention can be implemented in various other forms. Unless otherwise specified, each component may be singular or plural.

[0015] In the following explanation, the same or similar configurations may be given the same reference numerals and duplicate explanations may be omitted. In addition, in the following explanation, the letter "S" before a reference numeral denotes a processing step. In addition, in the following explanation, various types of information may be explained using expressions such as "table" and "information", but the various types of information may be expressed using data structures other than these. In addition, in the following explanation, "table" may be written as "TBL".

[0016] Below, as one embodiment, we will explain an information processing system (hereinafter referred to as "dialogue control system 1") that uses a dialogue engine (chatbot) using a dialogue model to provide workers working on-site with information such as OT (Operational Technology) knowledge related to work procedures such as fault diagnosis procedures and regular inspection procedures in an interactive format at industrial control system operation sites such as construction sites, factories, and social infrastructure facilities.

[0017] FIG. 1 is a diagram showing the main configuration of a dialogue control system 1. As shown in the figure, the dialogue control system 1 includes a dialogue control unit 100 and a dialogue model generation unit 200. The speech control system 1 stores a dialogue model TBL 101 which is the substance of a dialogue model, document data 201, a segmentation rule TBL 202, and a state transition keyword label TBL 203.

[0018] Among the above functions, the dialogue control unit 100 receives an input sentence from a user via the user device 2, acquires a response sentence to the received input sentence based on a dialogue model, and transmits the acquired response sentence to the user device 2. The input sentence may be, for example, a sentence input by a user using a character input device such as a keyboard or a touch panel, or a sentence obtained by converting a user's utterance acquired by a voice input device such as a microphone into a character string using a voice recognition technology.

[0019] The dialogue model (dialogue model TBL101) is information (dialogue scenario, rule base) generated by the dialogue model generation unit 200, and is generated based on document data 201 containing OT knowledge, such as a manual showing work procedures used at the operation site of an industrial control system.

[0020] FIG. 2A shows an example of a dialogue model, and FIG. 2B shows a dialogue model TBL101 corresponding to the dialogue model of FIG. 2A.

[0021] As shown in FIG. 2A, the dialogue model has a directed graph structure that allows selective tracing of response sentences (hereinafter also referred to as "output keywords") to input sentences according to the content of a question sentence. Each node of the directed graph represents a response sentence to an input sentence. Each edge of the directed graph (hereinafter, also referred to as a "directed edge") indicates a node of a response sentence to an input sentence. In the figure, the node marked with the letter "S" is the start node (root node), and the node marked with the letter "E" is the end node.

[0022] The dialogue model shown as an example is related to a fault diagnosis procedure for construction machinery, and returns a response sentence "front idler, check" in response to an input sentence from a user, "What is the diagnosis procedure?". The dialogue model also returns a user input sentence " The dialogue model returns the response "The front idler is broken" in response to the above response "Front idler, check", and returns the response "Bolt torque, check" in response to the user's input "No abnormality" in response to the above response "Front idler, check". The dialogue model also returns the response "Bolt torque is insufficient" in response to the above response "Bolt torque, check", and returns the response "Upper load torque is insufficient" in response to the user's input "Sufficient torque" in response to the above response "Bolt torque, check". The message "la,confirm" is returned.

[0023] 2B, the dialogue model TBL 101 is made up of a plurality of entries (records) each having each of the following items: a segment ID 1011, an output keyword 1012, an end flag 1013, a first input candidate 1014, a first transition destination segment ID 1015, a second input candidate 1016, and a second transition destination segment ID 1017. One entry in the dialogue model TBL 101 corresponds to one node in the dialogue model.

[0024] Of the above items, the segment ID 1011 stores a segment ID that is an identifier for a node.

[0025] The response sentence associated with the node is stored in the output keyword 1012. Note that the output keyword 1012 of the start node (the node whose segment ID 1011 is "211") contains the symbol " <s>" is stored.

[0026] An end flag indicating whether the node is an end node or not is stored in the end flag 1013. In this example, if the node is an end node, the end flag 1013 stores "1", and if the node is not an end node, the end flag 1013 stores "0".

[0027] A candidate for an input sentence from the user (hereinafter referred to as the "first input candidate") is stored in the first input candidate 1014. A segment ID of a transition destination node when the input sentence from the user corresponds to the first input candidate (hereinafter referred to as the "first transition destination segment ID") is stored in the first transition destination segment ID 1015.

[0028] Another candidate for the input sentence from the user (hereinafter referred to as the "second input candidate") is stored in the second input candidate 1016. The segment ID of the transition destination node when the input sentence from the user corresponds to the second input candidate (hereinafter referred to as the "second transition destination segment ID") is stored in the second transition destination segment ID 1017.

[0029] In this embodiment, the maximum number of branch destinations of a node is "2", but the maximum number of branch destinations of a node may be "3" or more.

[0030] 1, for example, a user obtains necessary information (e.g., OT knowledge such as fault diagnosis procedures and regular inspection procedures) by interacting with the interaction control unit 100 while operating the user device 2 at the work site, and proceeds with the work using the obtained information. This allows, for example, even an unskilled worker to proceed with the work efficiently and appropriately in the same way as an expert worker.

[0031] FIG. 3 is a flowchart for explaining the process (hereinafter referred to as "dialogue process S300") performed by the dialogue control unit 100 when engaging in dialogue with a user. The dialogue process S300 will be explained below with reference to FIG. The dialogue process S300 is started, for example, when the user performs a predetermined start operation on the user device 2 (a start operation on a keyboard or touch panel, starting to speak into a microphone, etc.). Note that in the following explanation, during execution of the dialogue process S300, the dialogue control unit 100 uses the segment ID 1011 of the current node in the dialogue model TBL 101 as a pointer (hereinafter referred to as "pointer") as information indicating the current node in the dialogue model. Hereinafter, this information is referred to as the "current node."

[0032] First, the dialogue control unit 100 writes the segment ID of the start node of the dialogue model TBL 101 (the symbol " <s>" is stored in the segment ID 1011) of Set (S311).

[0033] Next, the dialogue control unit 100 acquires an input sentence from the user (S312), compares the acquired input sentence with the dialogue model TBL101, and selects an input candidate corresponding to the input sentence (the first input candidate 1014 or the second input candidate 1016) (S313).

[0034] Whether an input candidate corresponds to an input sentence or not is determined based on, for example, whether the input candidate is identical or similar to the input sentence. In this case, the determination of whether the input candidate is identical or similar is performed based on, for example, whether the similarity (cosine similarity, Levenshtein distance, etc.) between the input candidate and the input sentence exceeds a preset threshold value.

[0035] Next, the dialogue control unit 100 sets the segment ID of the input candidate selected in S313 in the dialogue model TBL 101 (in this example, the first transition destination segment ID 1016 or the second transition destination segment ID 1017) to the current node (S314).

[0036] Next, the dialogue control unit 100 transmits the output keyword 1012 of the entry indicated by the current node in the dialogue model TBL 101 as a response sentence to the user device 2 (S315).

[0037] Next, the dialogue control unit 100 refers to the dialogue model TBL 101 and checks the end flag 1013 of the entry for the current node (S316). If the end flag 1013 stores "0" (off) (S316: NO), the process returns to S312, and the dialogue control unit 100 performs the same process for the next input sentence. On the other hand, if the end flag 1013 stores "1" (on) (S316: YES), the dialogue process S300 ends.

[0038] 4 is a diagram for explaining the functions of the dialogue model generation unit 200. As shown in the figure, the dialogue model generation unit 200 has the functions of a segmentation unit 211, a state transition keyword extraction unit 212, and a dialogue model generation processing unit 213.

[0039] Of these, the segmentation unit 211 refers to a segmentation rule TBL 202 (to be described later) and divides sentences included in the document data 201 into a plurality of segments to generate segmented document data 20. 5 Generate.

[0040] The document data 201 divided into segments by the segmentation unit 211 may be, for example, text data, data in a predetermined format used in applications such as document editing software, or data written in a markup language (HTML (HyperText Markup Language)) in which manuals and the like are written. Data written in XML (Extensible Markup Language), manuals, etc. The document data 201 is image data captured from a computer, etc., by an optical image reading device (image scanner) etc. The document data 201 is managed, for example, as a table in a database or a file in a file system.

[0041] 5A and 5B show examples of document data 201. The document data 201 shown in Fig. 5A is written in a flow chart format and includes figures (figures representing flow components) and text (text written in the flow components). On the other hand, the document data 201 shown in Fig. 5B includes text written in bullet points.

[0042] 4, the segmentation rule TBL 202 is data that the segmentation unit 211 refers to when segmenting the document data 201. The segmentation rule TBL 202 manages information indicating a method for segmenting the document data 201 (hereinafter referred to as a "segmentation rule"). The contents of the segmentation rule TBL 202 are set in advance by, for example, a user.

[0043] 6 shows an example of the segmentation rule TBL 202. As shown in the figure, the segmentation rule TBL 202 is composed of one or more entries (records) having each item of a document ID 2021, a rule 2022, and an ID assignment method 2023. One entry in the segmentation rule TBL 202 corresponds to one segmentation rule.

[0044] Of the above items, the document ID 2021 stores a document ID that is an identifier for the document data 201 .

[0045] In the same figure, a segmentation rule called "rectangular area extraction" stored in rule 2022 with document ID 2021 of "1" means extracting text (text in one rectangular area) written in each rectangular area (for example, an area in which components of a flowchart are written) of document data 201 as one segment. Also, a segmentation rule called "list item extraction" stored in rule 2022 with document ID 2021 of "2" means extracting text in one item (item distinguished by item number or symbol "·") in a list of document data 201 as one segment.

[0046] Information indicating the method of assigning a segment ID to each extracted segment is stored in the ID assignment method 2023. In the figure, the ID assignment method 2023 "automatic" for document ID 2021 "1" means that a segment ID is automatically assigned to each segment. Also, the "item number" stored in the ID assignment method 2023 for document ID 2021 "2" means that the item number assigned to each sentence in the bullet points is assigned to each segment as the segment ID for each sentence.

[0047] Returning to Figure 4, the segmented document data 20 5 In the segmentation section 212, the content of the segmentation of the document data 201 by the segmentation unit 211 in accordance with the segmentation rules is managed.

[0048] Figure 7 shows the segmented document data 20 5 As shown in the figure, the segmented document data 20 5 The segmented document data 20 is made up of a plurality of entries (records) each having a document ID 2051, a segment ID 2052, and a text 2053. 5 Each entry in corresponds to one segment.

[0049] The document ID of the document data 201 from which the segment was extracted is stored in the document ID 2051. The segment ID of the segment is stored in the segment ID 2052. The text 2053 stores the sentence of the segment (text data in this example).

[0050] 8 is a flowchart for explaining the process (hereinafter referred to as "segmentation process S800") performed by the segmentation unit 211 when generating segmented document data 205. The segmentation process S800 will be explained below with reference to FIG. 8. The segmentation process S800 is executed, for example, when new document data 201 is input by a user or the like and it becomes necessary to generate or update a dialogue model (dialogue model TBL101) based on the document data 201.

[0051] First, the segmentation unit 211 acquires the contents of an entry (segmentation rule) corresponding to the document ID of the document data 201 to be segmented from the segmentation rule TBL 202 (S811).

[0052] Next, the segmentation unit 211 segments the target document data 201 according to the segmentation rule of the rule 2022 of the acquired entry (S812). For example, if the rule 2022 is "rectangular area extraction", the segmentation unit 211 identifies each rectangular area (each area of ​​a flow component of the flow chart image) of the document data 201 (in flow chart format), acquires the contents of the text written in each identified rectangular area, and generates a segment for each acquired rectangular area. Also, for example, if the rule 2022 is "bullet item extraction", the segmentation unit 211 generates a segment corresponding to each bullet item.

[0053] If the document data 201 is image data, the segmentation unit 211 identifies a rectangular area by, for example, a pattern recognition method. If the document data 201 is written in a markup language, the segmentation unit 211 identifies a rectangular area based on a tag. If the document data 201 is image data, the segmentation unit 211 converts the contents of the text into text data or the like by optical character recognition (OCR).

[0054] Next, the segmentation unit 211 assigns a segment ID to each segment in accordance with the ID assignment method 2023 of the acquired entry (S813). For example, when the ID assignment method 2023 is "automatic", the segmentation unit 211 automatically assigns a natural number segment ID to each segment in ascending order according to the order of appearance in the original document data 201. Also, for example, when the ID assignment method 2023 is "item number", the segmentation unit 211 assigns each item number of the list in the original document data 201 as the segment ID of each segment.

[0055] Next, the segmentation unit 211 generates segmented document data 205 based on the contents of each segment generated as described above (S814).

[0056] As described above, the segmentation unit 211 segments the document data 201 according to the segmentation rules set for the target document data 201. Therefore, by setting appropriate segmentation rules according to the format of the document data 201, it is possible to flexibly handle document data 201 in various formats.

[0057] Returning to Figure 4, the state transition keyword extraction unit 212 uses the state transition keyword label TBL 203 to extract keywords that cause state transitions (hereinafter referred to as "state transition keywords") from the segmented document data 205, and generates state transition keyword data 206.

[0058] More specifically, the state transition keyword extraction unit 212 extracts state transition keywords by inputting the segmented document data 205 into a machine learning model (hereinafter referred to as the “state transition keyword extraction model”) that has been trained using the state transition keyword label TBL 203 as training data, and generates state transition keyword data 206.

[0059] 9 shows an example of the state transition keyword label TBL 203. As shown in the figure, the state transition keyword label TBL 203 is composed of a plurality of entries (records) having the following items: document ID 2031, keyword 2032, transition source segment ID 2033, and transition destination segment ID 2034. One entry of the state transition keyword label TBL 203 constitutes one piece of learning data of the state transition keyword extraction model. The state transition keyword label TBL 203 is set in advance by, for example, a user.

[0060] Of the above items, the document ID 2031 stores the document ID of the document data 201 that is the input of the state transition keyword extraction model.

[0061] A set of a keyword 2032, a transition source segment ID 2033, and a transition destination segment ID 2034 is a label (correct answer data) that is compared with the output of the state transition keyword extraction model when the model is trained. A state transition keyword is stored in the keyword 2032, a segment ID of a transition source segment by the keyword 2032 is stored in the transition source segment ID 2033, and a segment ID of a transition destination segment by the keyword 2032 is stored in the transition destination segment ID 2034.

[0062] The state transition keyword extraction unit 212 inputs a portion of the sentences in the document data 201 identified by the document ID 2031 into the state transition keyword extraction model. Then, the state transition keyword extraction unit 212 compares the output of the state transition keyword extraction model for that input with the labels (keywords 2032, transition source segment ID 2033, and transition destination segment ID 2034) corresponding to that input, and adjusts the parameters (feature amounts and feature weights) of the state transition keyword extraction unit 212 based on the difference, thereby learning the state transition keyword extraction model.

[0063] 10 shows an example of state transition keyword data 206 generated by state transition keyword extraction unit 212. As shown in the figure, the illustrated state transition keyword data 206 is composed of multiple entries (records) having the following items: document ID 2061, keyword 2062, transition source segment ID 2063, and transition destination segment ID 2064. One entry of state transition keyword data 206 corresponds to one state transition keyword extracted by inputting segmented document data 205 into a state transition keyword extraction model.

[0064] Of the above items, the document ID 2061 stores the document ID of the document data 201 from which the keyword was extracted. The keyword 2062 stores a state transition keyword extracted by the state transition keyword extraction unit 212. The transition source segment ID 2063 stores the segment ID of the transition source segment due to the keyword 2062, and the transition destination segment ID 2064 stores the segment ID of the transition destination segment due to the keyword 2062.

[0065] 11 is a flowchart for explaining the process (hereinafter referred to as "state transition keyword extraction process S1100") in which the state transition keyword extraction unit 212 extracts state transition keywords from the segmented document data 205 to generate state transition keyword data 206. The state transition keyword extraction process S1100 will be explained below with reference to the same figure. Note that the state transition keyword extraction process S1100 is executed after the segmentation process S800 is executed.

[0066] First, the state transition keyword extraction unit 212 acquires the segmented document data 205 (S1111).

[0067] Next, the state transition keyword extraction unit 212 acquires the state transition keyword label TBL 203 (S1112).

[0068] Next, the state transition keyword extraction unit 212 selects one entry (learned data) from the state transition keyword label TBL 203 (S1113).

[0069] Next, the state transition keyword extraction unit 212 extracts the keyword 2032 (or a keyword similar to the keyword 2032) of the state transition keyword label TBL 203 from a portion of the sentences of the segmented document data 205 used for extracting the feature amount (S1114).

[0070] Next, the state transition keyword extraction unit 212 extracts features for the extracted keyword, such as segments adjacent to the segment containing the keyword, figures adjacent to the figure in which the segment is written, and words and sentences surrounding the keyword, and adjusts the parameters (features, weights of each feature) of the state transition keyword extraction model based on the extracted features (S1115).

[0071] Next, the state transition keyword extraction unit 212 determines whether or not all entries (learned data) have been selected from the state transition keyword label TBL 203 in S1113 (S1116). If all entries have not been selected (S1116: NO), the process returns to S1113. If all entries have been selected (S1116: YES), the process proceeds to S1117.

[0072] In S1117, the state transition keyword extraction unit 212 generates a state transition keyword extraction model based on the adjusted parameters.

[0073] Next, the state transition keyword extraction unit 212 generates state transition keyword data 206 by inputting sentences of the segmented document data 205 other than the portion of the segmented document data 205 targeted in S1113 into the state transition keyword extraction model generated in S1117 (S1118).

[0074] This ends the state transition keyword extraction process S1100.

[0075] Incidentally, in order to reduce the burden on the user in setting the state transition keyword label TBL203, for example, the dialogue model generation unit 200 may display the document data 201 and provide a user interface that allows the user to specify each item of the state transition keyword label TBL203 (state transition keyword, source segment, destination segment).

[0076] 12 shows an example of a screen constituting the above user interface (hereinafter, referred to as a "state transition keyword label setting screen 1200.") As shown in the figure, the illustrated state transition keyword label setting screen 1200 has a document ID input field 1210, a segmented document data display field 1220, a transition source / transition destination setting field 1230, and a registration button 1240.

[0077] When the user inputs a document ID in the document ID input field 1210, the contents of the segment corresponding to that document ID in the segmented document data 205 are displayed in the segmented document data display field 1220. When the user performs an operation to specify a keyword in the segmented document data display field 1220 (such as dragging the mouse), the specified keyword is displayed in the transition source / transition destination setting field 1230. The user inputs the segment IDs of the transition source and transition destination segments for each keyword in the transition source / transition destination setting field 1230. When the user operates the register button 1240, the contents of the transition source / transition destination setting field 1230 are reflected in the state transition keyword label TBL 203.

[0078] By using the state transition keyword label setting screen 1200 , the user can efficiently set the state transition keyword label TBL 203 while checking the contents of the segmented document data 205 .

[0079] In the above, a case where a state transition keyword extraction model is trained using a set of a keyword, a transition source segment ID, and a transition destination segment ID as labels has been exemplified, but the label setting method and the machine learning method are not necessarily limited. For example, a state transition keyword extraction model may be configured by combining machine learning models trained using one or two of a keyword, a transition source segment ID, and a transition destination segment ID as labels.

[0080] Returning to FIG. 4, the dialogue model generation processor 213 generates segment unit data 207 based on the segmented document data 205 , and generates a dialogue model TBL 101 based on the state transition keyword data 206 and the segment unit data 207 .

[0081] 13 shows an example of the segment unit data 207. In the segment unit data 207, information (words in this example) extracted from each segment of the segmented document data 205 is managed for each segment ID. The dialogue model generation processor 213 extracts the above information from the text 2053 of each segment of the segmented document data 205 using a natural language processing technique such as named entity extraction.

[0082] As shown in the figure, the illustrated segment unit data 207 is made up of a plurality of entries (records) having the following items: document ID 2071, segment ID 2072, body part name 2073, and action name 2074. One entry of the segment unit data 207 corresponds to one segment.

[0083] Of the above items, the document ID 2071 stores the document ID of the document data 201 from which the segment was extracted. The segment ID 2072 stores the segment ID of the segment. The body part name 2073 and the action name 2074 each store information extracted from the text 2053 of each segment of the segmented document data 205. In this example, the body part name 2073 and the action name 2074 are extracted as the above information, but the information extracted from the dialogue model generation processing unit 213 is selected depending on the type and content of the task targeted by the dialogue control system 1.

[0084] 14 is a flowchart for explaining the process (hereinafter referred to as "dialogue model generation process S1400") that the dialogue model generation processing unit 213 performs when generating the dialogue model TBL101. The dialogue model generation process S1400 will be explained below with reference to the same figure. The dialogue model generation process S1400 is executed after the state transition keyword extraction process S1100 is executed.

[0085] First, the dialogue model generation processor 213 acquires the segmented document data 205 (S1411).

[0086] Next, the dialogue model generation processor 213 extracts information for each segment of the segmented document data 205, and generates segment unit data 207 (S1412).

[0087] Next, the dialogue model generation processor 213 acquires the state transition keyword data 206 (S1413).

[0088] Next, the dialogue model generation processing unit 213 generates the dialogue model TBL101 (see, for example, FIG. 2B) based on the state transition keyword data 206 and the segment unit data 207 (S1414).

[0089] Next, the dialogue model generation processor 213 adds the symbol " <s>" is stored, and "1" is stored in the end flag 1013 of the entry for the end node in the dialogue model TBL 101 (S1415).

[0090] This is the end of the dialogue model generation process S1400. The dialogue model generation processing unit 213 presents the contents of the dialogue model TBL101 generated by the dialogue model generation process S1400 to the user via a user interface.

[0091] 15 is an example of a screen (hereinafter referred to as an "dialogue model confirmation screen 1500") that the dialogue model generation processing unit 213 displays when presenting to the user the contents of the generated dialogue model TBL 101. As shown in the figure, the dialogue model confirmation screen 1500 has a display field 1510 for a directed graph, a display field 1520 for a dialogue model TBL, an edit button 1530, and a register button 1540.

[0092] A directed graph display field 1510 displays a directed graph corresponding to the contents of the dialogue model TBL 101. By looking at the directed graph, the user can intuitively grasp the contents of the dialogue model TBL 101. A display field 1520 of the dialogue model TBL displays the contents of the dialogue model TBL 101.

[0093] When the user operates the edit button 1530, a user interface for editing the contents of the display field 1520 of the dialogue model TBL is displayed, and the user can use this to edit the contents of the dialogue model TBL 101.

[0094] When the user operates the registration button 1540, the content of the display field 1520 of the displayed dialogue model TBL (after editing if edited) is reflected in the dialogue model TBL 101.

[0095] In this way, the user can visually check the generated dialogue model TBL101 via the dialogue model confirmation screen 1500. Furthermore, the user can also edit the contents of the dialogue model TBL101 via the dialogue model confirmation screen 1500, if necessary.

[0096] 16 shows an example of an information processing device used in the configuration of the above-described dialogue control system 1. As shown in the figure, the illustrated information processing device 10 includes a processor 11, a main memory device 12, an auxiliary memory device 13, an input device 14, an output device 15, and a communication device 16.

[0097] The dialogue control system 1 may be realized, for example, by using a plurality of information processing devices 10 connected to each other so as to be able to communicate with each other. In addition, all or a part of the information processing devices 10 may be realized by using virtual information processing resources provided by using a virtualization technique, a process space separation technique, or the like, such as a virtual server provided by a cloud system. In addition, all or a part of the functions provided by the information processing devices 10 may be provided by services provided by the cloud system via an API (Application Programming Interface), for example. Therefore, this may be realized.

[0098] Furthermore, all or part of the functions provided by the information processing device 10 may be realized using, for example, Software as a Service (SaaS), Platform as a Service (PaaS), Infrastructure as a Service (IaaS), or the like.

[0099] The processor 11 shown in the figure is, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit), It is composed of AI (Artificial Intelligence) chips, etc.

[0100] The main memory device 12 is a device for storing programs and data, and is, for example, a ROM (Read Only Memory). These include Non-volatile Memory (NORAM), Random Access Memory (RAM), and Non-volatile RAM (NVRAM).

[0101] The auxiliary storage device 13 is, for example, a solid state drive (SSD) or a hard disk drive. The auxiliary storage device 13 may be a hard disk, an optical storage device (CD (Compact Disc), DVD (Digital Versatile Disc), etc.), a storage system, a reading / writing device for a recording medium such as an IC card, an SD card, or an optical recording medium, a storage area of ​​a cloud server, etc. Programs and data can be read into the auxiliary storage device 13 via a recording medium reading device or a communication device 16. The programs and data stored (memorized) in the auxiliary storage device 13 are read into the main storage device 12 as needed.

[0102] The input device 14 is an interface that accepts input from the outside, and is, for example, a keyboard, a mouse, a touch panel, a card reader, a pen-input tablet, a voice input device, or the like.

[0103] The output device 15 is an interface that outputs various information such as the process progress and the process result. The output device 15 is, for example, a display device (liquid crystal monitor, LCD (Liquid Crystal Display), graphic card, etc.) that visualizes the above-mentioned various information, a device that converts the above-mentioned various information into voice (voice output device (speaker, etc.)), and a device that converts the above-mentioned various information into text (printer, etc.). For example, the information processing device 10 may be configured to input and output information to and from other devices via the communication device 16.

[0104] The input device 14 and the output device 15 constitute a user interface that realizes interactive processing with the user (receiving information, presenting information, etc.).

[0105] The communication device 16 is a device that realizes communication with other devices. The communication device 16 is connected to a communication network 5 (LAN (Local Area Network), WAN (Wide Area Network), Internet A communication interface is a wired or wireless communication interface that realizes communication with other devices via a network (Internet, public communication network, dedicated line, etc.), such as a NIC (Network Interface Card), a wireless communication module, a USB module, etc.

[0106] The information processing device 10 may be implemented with, for example, an operating system, a file system, a DBMS (DataBase Management System) (relational database, NoSQL, etc.), a KVS (Key-Value Store), etc. The various pieces of information (data) are stored as, for example, a table of a database or a file managed by a file system. The main storage device 12 and the auxiliary storage device 13 function as storage units that store various pieces of data managed by the dialogue control system 1.

[0107] The various functions provided by the dialogue control system 1 are realized by the processor 11 reading and executing a program stored in the main memory device 12, or by the hardware (FPGA, ASIC, AI chip, etc.) that constitutes the dialogue control system 1 itself.

[0108] The various functions of the dialogue control system 1 include, for example, various known data mining methods such as text data mining, various known natural language processing methods (morphological analysis, syntactic analysis, semantic analysis, context analysis, feature extraction, word distributed representation, named entity extraction, text classification, sequence labeling), various known machine learning methods (deep learning (DNN (Deep Neural Network ), RNN (Recurrent Neural Network), etc.

[0109] As described above in detail, according to the dialogue control system 1 of this embodiment, a dialogue model (dialogue model TBL101) with a directed graph structure required for operating a dialogue engine that provides information in a dialogue format can be efficiently generated based on document data such as a manual. Therefore, a mechanism for providing information such as OT knowledge in a dialogue format with a small workload can be realized.

[0110] Although one embodiment of the present invention has been described above, it goes without saying that the present invention is not limited to the above embodiment and can be modified in various ways without departing from the gist of the present invention. For example, the above embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to an embodiment having all of the configurations described. In addition, it is possible to add, delete, or replace part of the configuration of the above embodiment with other configurations.

[0111] For example, in the above, various processes are performed in units of documents (document data 201), but the unit of processing is not necessarily limited, and the dialogue control system 1 of this embodiment can perform similar processing in units of sentences (sentences consisting of one or more sentences) instead of documents.

[0112] Furthermore, for example, the dialogue control unit 100 may be provided with a mechanism for correcting or amending variations in the input sentence or partial errors in the input sentence, for example, by using a machine learning model or a predetermined algorithm, as a preprocessing step when comparing the user's input sentence with the dialogue model.

[0113] In addition, the above-mentioned configurations, functional units, processing units, processing means, etc. may be realized in part or in whole by hardware, for example, by designing them as integrated circuits. In addition, the above-mentioned configurations, functions, etc. may be realized in software by a processor interpreting and executing a program that realizes each function. Information such as the programs, tables, and files that realize each function can be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), It can be placed on recording media such as IC cards, SD cards, and DVDs.

[0114] The above-described layouts of the various functional units, processing units, and databases of each information processing device are merely examples, and may be changed to optimal layouts in terms of the performance, processing efficiency, and communication efficiency of the hardware and software included in these devices.

[0115] Furthermore, the configuration (schema, etc.) of the database that stores the various types of data described above can be flexibly changed from the perspective of efficient use of resources, improved processing efficiency, improved access efficiency, improved search efficiency, and the like. [Explanation of symbols]

[0116] 1 Dialogue control system, 2 User device, 100 Dialogue control unit, 101 Dialogue model TBL, 200 Dialogue model generation unit, 201 Document data, 202 Segmentation rule TB L, 203 state transition keyword label TBL, 205 segmented document data, 206 state transition keyword data, 207 segment unit data, 211 segmentation unit, 212 state transition keyword extraction unit, 213 dialogue model generation processing unit, S300 dialogue processing, S800 segmentation processing, S1100 state transition keyword extraction processing, 1200 state transition keyword label setting screen, S1400 dialogue model generation processing, 1500 dialogue model confirmation screen< / s> < / s> < / s>

Claims

1. The information processing device is configured to: a dialogue control unit that performs dialogue processing by transitioning nodes, in which response sentences to input sentences are set, along edges in response to a user's input in a dialogue model having a directed graph structure, and provides the response sentences to the user; a dialogue model generation unit for generating the dialogue model; a storage unit that stores document data used to generate the dialogue model; Equipped with The dialogue model generation unit a segmentation unit that generates segmented document data by dividing the document data into a plurality of segments in accordance with a preset segmentation rule; a state transition keyword extraction unit that extracts, from the segmented document data, a state transition keyword that is a keyword that causes a state transition between the segments, an identifier of the segment that is a transition source of the state transition keyword, and an identifier of the segment that is a transition destination of the state transition keyword; a dialogue model generation processing unit that acquires segment unit data, which is information extracted from each of the segments of the segmented document data using a natural language processing technique, sets response sentences based on the segment unit data to each of the nodes corresponding to the segments, and generates the dialogue model by connecting the nodes with edges based on the state transition keyword, an identifier of the segment that is the source of the state transition keyword, and an identifier of the segment that is the destination of the state transition keyword; having Dialogue control system.

2. The dialogue control system according to claim 1, the state transition keyword extraction unit extracts the state transition keywords, the identifiers of the segments that are the source of the state transition keywords, and the identifiers of the segments that are the destination of the state transition keywords from sentences other than the portion of the sentences in the segmented document data, based on a state transition keyword extraction model, which is a machine learning model trained using learning data in which the state transition keywords included in the portion of the document, the identifiers of the segments that are the source of the state transition keywords, and the identifiers of the segments that are the destination of the state transition keywords are associated as labels with the portion of the sentences included in the segmented document data; Dialogue control system.

3. The dialogue control system according to claim 2, the state transition keyword extraction model is configured by parameters having information described around the state transition keyword, which is the label, as a feature value in the segmented document data; Dialogue control system.

4. The dialogue control system according to claim 1, storing a segmentation rule, which is information indicating a method of dividing the document data into the segments, for each of the document data; the segmentation unit divides the document data into the segments in accordance with the segmentation rule for the document data; Dialogue control system.

5. The dialogue control system according to claim 4, the document data is data in a form of a flowchart, The segmentation rule specifies that a sentence described in each region of each component part of the flowchart is to be extracted as one of the segments. Dialogue control system.

6. The dialogue control system according to claim 4, the document data is in bullet-item format, The segmentation rule specifies that a sentence of one item in the bullet list is to be extracted as one of the segments. Dialogue control system.

7. The dialogue control system according to claim 1, the dialogue model generation processing unit generates a screen showing the contents of the generated dialogue model and presents the screen to a user. Dialogue control system.

8. The dialogue control system according to claim 2, the dialogue model generation unit accepts the label setting from a user while presenting a screen for accepting the label setting; Dialogue control system.

9. The dialogue control system according to claim 1, the response sentence provided to the user by the dialogue control unit indicates a procedure for the work at a site where the user performs the predetermined work; Dialogue control system.

10. An information processing device, storing document data used to generate a dialogue model having a directed graph structure; generating segmented document data, the segmented document data being data obtained by dividing the document data into a plurality of segments in accordance with a preset segmentation rule; extracting, from the segmented document data, a state transition keyword which is a keyword that causes a state transition between the segments, an identifier of the segment which is a transition source of the state transition keyword, and an identifier of the segment which is a transition destination of the state transition keyword; acquiring segment unit data, which is information extracted from each of the segments of the segmented document data using a natural language processing technique, setting response sentences based on the segment unit data to each of the nodes corresponding to the segments of the dialogue model, and generating the dialogue model by connecting the nodes with edges based on the state transition keyword, an identifier of the segment that is the source of the state transition keyword, and an identifier of the segment that is the destination of the state transition keyword; performing an interactive process by transitioning the nodes along the edges in response to a user's input, and providing the response sentence to the user; The method for controlling dialogue is as follows.

11. The dialogue control method according to claim 10, In the step in which the information processing device extracts from the segmented document data a state transition keyword, which is a keyword that causes a state transition between the segments, an identifier of the segment that is the source of the state transition keyword, and an identifier of the segment that is the destination of the state transition keyword, the information processing device extracts the state transition keyword, the identifier of the segment that is the source of the state transition keyword, and the identifier of the segment that is the destination of the state transition keyword from sentences other than the portion of sentences in the segmented document data based on a state transition keyword extraction model, which is a machine learning model trained using learning data in which the state transition keyword, the identifier of the segment that is the source of the state transition keyword, and the identifier of the segment that is the destination of the state transition keyword contained in the portion of sentences in the segmented document data are associated as labels with the state transition keyword contained in the portion of sentences in the segmented document data. Dialogue control methods.

12. The dialogue control method according to claim 11, the state transition keyword extraction model is configured by parameters having information described around the state transition keyword, which is the label, as a feature value in the segmented document data; Dialogue control methods.

13. The dialogue control method according to claim 10, The information processing device, storing, for each of the document data, a segmentation rule which is information indicating a method of dividing the document data into the segments; dividing the document data into the segments according to the segmentation rules for the document data; The dialogue control method further comprises:

14. A dialogue control method according to claim 13, comprising: the document data is data in a form of a flowchart, The segmentation rule specifies that a sentence described in each region of each component part of the flowchart is to be extracted as one of the segments. Dialogue control methods.

15. A dialogue control method according to claim 13, comprising: the document data is in bullet-item format, The segmentation rule specifies that a sentence of one item in the bullet list is to be extracted as one of the segments. Dialogue control methods.

Citation Information

Patent Citations

  • Apparatus and method for information processing

    JP1997016667A

  • Method for preparing information map

    JP2004021913A

  • Equipment inspection support system, equipment inspection support method, and program therefor

    JP2007149070A

  • Document management system, document management method, and computer program

    JP2010267062A

  • Computer and response generation method

    JP2018041336A