Generating goal-oriented dialogues from documents
Abstract
Provided is a computer-implemented method, system, and computer program product for generating a goal-oriented dialogue from a grounding document. A processor may analyze a corpus of text. The processor may identify, based on the analyzing, one or more semantic structures that can be used to simulate a dialogue. The processor may generate, based on the identifying, a simulated dialogue, the simulated dialogue including one or more utterances from a simulated agent and one or more utterances from a simulated user to form a dialogue flow.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method for generating a goal-oriented dialogue, the method comprising: receiving a corpus comprising a grounding document and historic dialogue data pair, the corpus including a grounding document having structured text organized by a set of semantic structures defining text spans of related text within the corpus, the corpus further including historic dialogue data related to the grounding document and generated by human agents and users; generating, by a natural language understanding system, a document graph from the set of semantic structures of the grounding document; analyzing, by the natural language understanding system, the received corpus and the generated document graph for contextual data corresponding to the set of semantic structures; identifying, based on the analyzing, one or more semantic structures for use by a transformer-based sequence-to-sequence model to make dialogue predictions; correlating, by a dialogue engine, the contextual data and th
- Claim 2Depends on #1
The computer-implemented method of claim 1, further comprising: generating, by the dialogue engine, a data distribution for evaluating the simulated dialogue, the data distribution being a basis for determining the accuracy level; and modifying, by the dialogue engine and based on the accuracy level, the simulated dialogue to a second simulated dialogue, the second simulated dialogue including augmented content of the simulated dialogue; wherein: responsive to the accuracy threshold being met by the second simulated dialogue, training the conversational model to respond to the actual user queries, the training based on the second simulated dialogue.
- Claim 3Depends on #2
The computer-implemented method of claim 2, wherein the second simulated dialogue includes at least one alternative utterance by the simulated agent and/or the simulated user.
- Claim 4Independent Claim
A system comprising: a processor; and a computer-readable storage medium communicatively coupled to the processor and storing program instructions which, when executed by the processor, cause the processor to perform a method comprising: receiving a corpus comprising a grounding document and historic dialogue data pair, the corpus including a grounding document having structured text organized by a set of semantic structures defining text spans of related text within the corpus, the corpus further including historic dialogue data related to the grounding document and generated by human agents and users; generating, by a natural language understanding system, a document graph from the set of semantic structures of the grounding document; analyzing, by the natural language understanding system, the received corpus and the generated document graph for contextual data corresponding to the set of semantic structures; identifying, based on the analyzing, one or more semantic structures for u
- Claim 5Depends on #4
The system of claim 4, wherein the method performed by the processor further comprises: generating, by the dialogue engine, a data distribution for evaluating the simulated dialogue, the data distribution being a basis for determining the accuracy level; and modifying, by the dialogue engine and based on the accuracy level, the simulated dialogue to a second simulated dialogue, the second simulated dialogue including augmented content of the simulated dialogue; wherein: responsive to the accuracy threshold being met by the second simulated dialogue, training the conversational model to respond to the actual user queries, the training based on the second simulated dialogue.
- Claim 6Independent Claim
A computer program product comprising a computer-readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising: receiving a corpus comprising a grounding document and historic dialogue data pair, the corpus including a grounding document having structured text organized by a set of semantic structures defining text spans of related text within the corpus, the corpus further including historic dialogue data related to the grounding document and generated by human agents and users; generating, by a natural language understanding system, a document graph from the set of semantic structures of the grounding document; analyzing, by the natural language understanding system, the received corpus and the generated document graph for contextual data corresponding to the set of semantic structures; identifying, based on the analyzing, one or more semantic structures for use by a tra
- Claim 7Depends on #6
The computer program product of claim 6, wherein the method performed by the processor further comprises: generating, by the dialogue engine, a data distribution for evaluating the simulated dialogue, the data distribution being a basis for determining the accuracy level; and modifying, by the dialogue engine and based on the accuracy level, the simulated dialogue to a second simulated dialogue, the second simulated dialogue including augmented content of the simulated dialogue; wherein: responsive to the accuracy threshold being met by the second simulated dialogue, training the conversational model to respond to the actual user queries, the training based on the second simulated dialogue.
- Claim 8Depends on #1
The computer-implemented method of claim 1, wherein generating the document graph includes: determining relevant context of the grounding document; and extracting semantic relationships from the set of semantic structures defining text spans of related text within the corpus.
Technical Overview & Description
BACKGROUND The present disclosure relates generally to the field of natural language understanding and, more specifically, to generating goal-oriented dialogues from documents. Natural language understanding (NLU) is a subfield of natural language processing (NLP), which involves transforming human language into a machine readable format. Both NLP and NLU aim to make sense of unstructured data, but there is a difference between the two. NLP is concerned with how computers are programmed to process language and facilitate “ natural ” back-and-forth communication between computers and humans. NLU, on the other hand, focuses on a machine's ability to understand the human language. NLU refers to how unstructured data is rearranged so that machines may “ understand ” and analyze it. Put another way, before a computer can process unstructured text into a machine-readable format, first machines need to understand the peculiarities of the human language. SUMMARY Embodiments of the present disclosure include a computer-implemented method, system, and computer program product for generating a goal-oriented dialogue from a structured document. A processor may analyze a corpus of text. The processor may identify, based on the analyzing, one or more semantic structures that can be used to simulate a dialogue. The processor may generate, based on the identifying, a simulated dialogue, wherein the simulated dialogue comprises one or more utterances from a simulated agent and one or more utterances from a simulated user to form a dialogue flow. The above summary is not intended to describe each illustrated embodiment or every implementation of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS The drawings included in the present disclosure are incorporated into, and form part of, the specification. They illustrate embodiments of the present disclosure and, along with the description, serve to explain the principles of the disclosure. The drawings are only illustrative of ty
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (26)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Feng, S., Wan, H., Gunasekara, C., Patel, S. S., Joshi, S.,
- &
- Lastras, L. A. (2020). doc2dial: A goal-oriented document-grounded dialogue dataset. arXiv preprint arXiv:2011.06623. (Year: 2020).
- Asri et al.,
- “
- A Sequence-to-Sequence Model for User Simulation in Spoken Dialogue Systems,
- ”
- https://arxiv.org/pdf/1607.00070.pdf, Jun. 30, 2016, 5 pgs.
- Fabbri et al.,
- “