Dialogue system, dialogue program, and dialogue method
The dialogue system enhances voice interactions by incorporating speech patterns and redundant expressions, addressing the limitations of existing systems to create more natural and engaging voice conversations.
Patent Information
- Application Number
- JP2023023145
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing dialogue systems struggle to adapt to voice-based interactions, failing to replicate human-like conversations due to differences between text and voice dialogues, and lack the ability to incorporate speech patterns unique to spoken dialogue.
A dialogue system that includes a user comment acquisition unit, a response sentence creation unit, a statement intention labeling unit, and an additional sentence intention label selection unit to add specific speech patterns and redundant expressions to response sentences, utilizing a conversation database and deep learning models to enhance voice dialogue.
The system enables human-like voice conversations by adding specified information and redundant expressions, improving the naturalness and engagement of voice interactions.
Smart Images

Figure 2024117199000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a dialogue system for engaging in a dialogue with a user. [Background technology]
[0002] Communication through conversation with others plays an important role in building and maintaining interpersonal relationships. For example, for the elderly in particular, maintaining opportunities for social interaction through conversation is thought to contribute to various health benefits, such as improving quality of life (QOL) and maintaining memory.
[0003] On the other hand, in recent years, opportunities for communication such as "neighborhood relationships" have become scarce due to the effects of the declining birthrate and aging population, the trend toward nuclear families, and the shrinking of local community activities. As a result, there is a challenge in that, despite the desire to "talk" with others, there are not as many opportunities to communicate as one would expect.
[0004] In response to the issue of few opportunities to communicate, attempts have been made to use dialogue systems, such as robots equipped with artificial intelligence and conversational agents, to act as substitute conversation partners.
[0005] Dialogue systems equipped with artificial intelligence can be broadly categorized into two types. One type is a system such as a smart speaker that speaks in response to a task, such as "Tell me about today's weather" or "Tell me about XX." This type of system is called a task-type dialogue system. The other type is a system that does not have a clear task, such as everyday conversation or casual chat, and can converse as an activity to spend time with the other person. This type of system is called a non-task type dialogue system.
[0006] Non-task-type dialogue systems have a much higher degree of freedom in the choice of words compared to task-type dialogue systems, so there is a high possibility of dialogue breakdowns occurring due to a lack of consistency in the dialogue content with the user. For this reason, in recent years, dialogue systems have been proposed that use deep learning technology to make dialogue breakdowns less likely by learning from vast amounts of text data. For example, in 2020, Facebook (Meta) announced BlenderBot, which is based on Transformer (Non-Patent Document 1). Transformer-based dialogue models, including BlenderBot, mainly use text data as learning data. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2014-48443 A [Non-patent literature]
[0008] [Non-Patent Document 1] Roller et al. Recipes for building an open-domain chatbot, arXiv:2004.13637(2020) [Non-Patent Document 2] Riyo Fujiwara et al., "ILYS aoba bot: A chat dialogue system integrating a large-scale neural response generation model and a rule base," 90th Japanese Society for Artificial Intelligence, Language, Speech Understanding and Dialogue Processing Research Group (11th Dialogue System Symposium) (2020) Summary of the Invention [Problem to be solved by the invention]
[0009] However, it is believed that there are differences in the content and patterns of speech between text-based dialogue collected using messaging apps and voice-based dialogue. Therefore, using a deep learning-based dialogue model alone is difficult, especially when applied to voice-based dialogue systems, and it is difficult to realize "human-like conversations" like those that humans actually have.
[0010] Meanwhile, a speech synthesis system adapted to speech dialogue has been proposed by adding redundant expressions such as fillers (um, ah, etc.), hesitations, and synonyms to responses generated based on actual conversation data between humans (Patent Document 1). This technology is characterized by its ability to realize natural speech even when outputting text data as speech by inserting redundant expression data that represents redundant expressions in a conversation into spoken language text contained in text data.
[0011] However, this technology merely adds redundant expressions to text data to make it resemble a spoken dialogue, and it does not add specific speech content based on the speech patterns and tendencies unique to spoken dialogue.
[0012] The present invention has been made in consideration of the above circumstances, and its object is to provide a dialogue system, dialogue program, and method that can realize a dialogue between a user that is similar to a voice conversation with a real person. [Means for solving the problem]
[0013] The inventors of the present application have discovered that in order to realize human-like dialogue that is unique to voice in a dialogue system, it is effective to determine the intention of the response sentence created in response to a user's utterance, and then, depending on the intention of the utterance, add additional sentences from a database of human conversation to the response sentence so that it becomes a specific speech pattern, and have completed the present invention.
[0014] In other words, the present invention is a dialogue system for interacting with a user, comprising a user utterance acquisition unit for acquiring user utterances, a response sentence creation unit for creating a response sentence to the user utterance acquired by the user utterance acquisition unit, a utterance intention label assignment unit for estimating the utterance intention of the response sentence created by the response sentence creation unit and assigning a utterance intention label to the response sentence as meta-information, an additional sentence intention label selection unit for selecting an additional sentence intention label of an additional sentence to be added to the response sentence based on the utterance intention label assigned by the utterance intention label assignment unit, and an additional sentence assignment unit for adding an additional sentence to the response sentence based on the additional sentence intention label selected by the additional sentence intention label selection unit. Effect of the Invention
[0015] According to the present invention, it is possible to add not only simple response sentences, but also additional sentences such as providing specified information and redundant expressions. In other words, it is possible to provide a response that is more suited to the user, thereby realizing a dialogue between the user and the system that is similar to a voice conversation with a real person. [Brief description of the drawings]
[0016] [Figure 1] Functional block diagram of the dialogue system [Diagram 2] Diagram explaining the difference between voice dialogue and text dialogue [Diagram 3] Flowchart explaining the operation of the dialogue system [Figure 4] FIG. 1 is a diagram for explaining an example of a dialogue using a dialogue system. [Diagram 5] Acceptability evaluation results DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] An interactive system according to an embodiment of the present invention will be described with reference to the drawings, in which: Fig. 1 is a functional block diagram of the interactive system.
[0018] As shown in FIG. 1, the dialogue system 1 includes a user utterance acquisition unit 10 that acquires utterances from a user, a response sentence creation unit 20 that creates a response sentence in response to the user utterance acquired by the user utterance acquisition unit 10, a utterance intention label assignment unit 30 that estimates the utterance intention of the response sentence created by the response sentence creation unit 20 and assigns a utterance intention label to the response sentence as meta-information, an additional sentence intention label selection unit 40 that selects an additional sentence intention label of an additional sentence to be added to the response sentence based on the utterance intention label assigned by the utterance intention label assignment unit 30, a dialogue theme extraction unit 50 that extracts a dialogue theme of the user utterance acquired by the user utterance acquisition unit 10, an additional sentence assignment unit 60 that assigns an additional sentence to the response sentence based on the additional sentence intention label selected by the additional sentence intention label selection unit 40, and an audio output unit 70 that outputs the response sentence to which the additional sentence has been assigned by the additional sentence assignment unit 60 by audio.
[0019] The dialogue system 1 may be implemented in any form. The dialogue system 1 may be implemented by installing a program in a conventionally known computer equipped with a main processing unit, a main storage unit, an auxiliary storage unit, etc. The dialogue system 1 may also be implemented as dedicated hardware. The dialogue system 1 may also be implemented by distributing the above-mentioned units 10 to 70 in a plurality of devices. As will be described later, the units 10 to 70 of the dialogue system 1 may have some of their functions implemented in other devices. The dialogue system 1 may also be incorporated as a part of another system. For example, the dialogue system 1 may be incorporated as a part of a robot.
[0020] The user utterance acquisition unit 10 acquires user utterances via a predetermined input means and outputs the user utterances as text data. An example of the input means is a microphone 10a that acquires voice data from the user's speech. In this case, the user utterance acquisition unit 10 has a voice recognition function that identifies text from voice data and converts it into text data. The voice recognition function may be provided within the dialogue system 1, or a voice recognition function provided in an external device may be used. In the latter case, for example, a voice recognition function implemented in a computer that can communicate via a network, such as a so-called cloud server, may be used. The user utterance acquisition unit 10 may have a recording function unit that temporarily records and records voice data in order to perform voice recognition processing within itself or to use voice recognition processing in an external device.
[0021] The input means may be a means for acquiring text data input by the user, rather than the user's voice. Examples of the input means include input devices such as a keyboard, a mouse, and a touch pad.
[0022] Furthermore, the input means for acquiring the voice data may be provided within the dialogue system 1, or an externally arranged input means may be used. For example, various input devices communicably connected to the dialogue system 1 by wire or wirelessly may be used. Also, for example, various input devices provided in or connected to an external computer communicably connected to the dialogue system 1 may be used.
[0023] The response sentence creation unit 20 has a response sentence creation function that uses a user utterance consisting of text data acquired by the user utterance acquisition unit 10 as an input and creates a response sentence consisting of text data in response to the user utterance. In this embodiment, the response sentence creation unit 20 creates a response sentence related to a non-task type dialogue. The response sentence creation function may be provided in the dialogue system 1, or a response sentence creation function provided in an external device may be used. In the latter case, a response sentence creation function implemented in a computer that can communicate via a network, such as a so-called cloud server, may be used. The response sentence creation unit 20 can store the input user utterance as history data. In this case, the response sentence creation unit 20 can add one or more recent user utterances stored as history data to the user utterance acquired by the user utterance acquisition unit 10 to create input data. The response sentence creation unit 20 may create multiple response sentences per input.
[0024] Various known algorithms can be used to create a response sentence. For example, a response sentence can be generated using a Transformer-based deep learning technology such as BlenderBot (Non-Patent Document 1). A Transformer-based dialogue model for Japanese (ILYS-aoba-bot) has been made public by Tohoku University (Non-Patent Document 2). In this embodiment, a publicly available Transformer-based dialogue model for Japanese is used to generate a response sentence. This dialogue model mainly uses text data as learning data.
[0025] Also, as used in conventional Q&A chatbots (task-based chatbots), it is possible to prepare a database that stores the user's intention and the corresponding reply phrase, and create a response sentence based on the database. For example, assume that a database containing a set of the user's intention and reply phrase, such as "(I'm hungry)" and the corresponding reply phrase "There's a restaurant nearby" is prepared in advance. When a user says "I'm hungry," it is possible to select the reply phrase "There's a restaurant nearby," which is a phrase that corresponds to the intention of "(I'm hungry)," as a response sentence. When using this method of determining the user's intention and creating a corresponding phrase as a response sentence, it is also possible to create the response sentence by using a cloud-based API service that extracts information from machine learning, such as Microsoft's LUIS (Language Understanding).
[0026] The utterance intention label assigning unit 30 estimates the utterance intention of the response sentence created by the response sentence creating unit 20, and assigns a utterance intention label to the response sentence as meta information. The utterance intention estimation function of the utterance intention label assigning unit 30 may be provided in the dialogue system 1, or a utterance intention estimation function provided in an external device may be used. In the latter case, for example, a utterance intention estimation function implemented in a computer capable of communicating via a network, such as a so-called cloud server, may be used.
[0027] The utterance intention label assignment unit 30 can assign multiple utterance intention labels to one response sentence created by the response sentence creation unit 20. Furthermore, when there are multiple response sentences created by the response sentence creation unit 20, the utterance intention label assignment unit 30 can assign one or multiple utterance intention labels to each response sentence. Furthermore, when there are multiple response sentences created by the response sentence creation unit 20, it can assign fewer utterance intention labels than the number of response sentences to a group consisting of multiple response sentences. In other words, please note that the relationship between the number of response sentences and the number of utterance intention labels is not necessarily one-to-one.
[0028] Various algorithms can be used for the utterance intention estimation algorithm by the utterance intention label assignment unit 30. The utterance intention label assignment unit 30 includes a conversation database in which utterance intention labels indicating the type of utterance intention and example sentences corresponding to each utterance intention label are stored, and the utterance intention label assignment unit 30 estimates the utterance intention of the response sentence created by the response sentence creation unit 20 by referring to the conversation database, and assigns the utterance intention label to the response sentence as meta information. Specifically, the utterance intention label assignment unit 30 creates a utterance intention estimation model using a data set of utterance intentions and corresponding sentences, and obtains the utterance intention label of the response sentence created by the response sentence creation unit 20 from the model.
[0029] Here, a utterance intention label is information that indicates the type of intention of a utterance, and concisely expresses the intention of the utterance in a few words. An example of a utterance intention label is shown in Table 1. Table 1 lists 14 types of utterance intention labels. The utterance intention labels may be symbolized, for example, as shown in the table. Note that the types of utterance intention labels are not limited to the 14 types listed in the table below, but by roughly classifying the intention of utterances in daily conversations with elderly people into these 14 types, it is possible to make utterances that capture the other person's intention.
[0030] [Table 1]
[0031] Table 2 below shows example sentences of utterances corresponding to the utterance intention labels. The utterance intention labels and their example sentences are stored in a database in correspondence with each other, and the intention of the user's utterance can be inferred by referring to the database for the response sentence created by the response sentence creation unit 20.
[0032] [Table 2]
[0033] In addition, in order to estimate the intention of the response sentence created by the response sentence creation unit 20, the utterance intention label assignment unit 30 may create a utterance intention estimation model from a database in which utterance intention labels correspond to their example sentences, and use this utterance intention estimation model. The utterance intention estimation model can be created using a Transformer-based machine learning method such as BERT (Bidirectional Encoder Representations from Transformers). It can also be created using a cloud-based API service such as LUIS (Language Understanding) by Microsoft Corporation described above. In this embodiment, a utterance intention estimation model created based on BERT is used. Specifically, a database in which utterance intention labels correspond to their example sentences is used as learning data, and the utterance intention estimation model is prepared by learning in advance using these data, and is used for utterance intention estimation of the response sentence.
[0034] The additional sentence intention label selection unit 40 selects an additional sentence intention label of an additional sentence to be added to the response sentence based on the utterance intention label assigned by the utterance intention label assignment unit 30. Here, the additional sentence intention label is information indicating the type of intention of the utterance related to the additional sentence, and concisely expresses the utterance intention in a few words. The types of additional sentence intention labels are the same as those shown in Table 2 above, and the additional sentence intention label selection unit 40 selects one or more labels from Table 2 above as the additional sentence intention labels of the additional sentence to be added to the response sentence.
[0035] The additional sentence intention label selection unit 40 can select one or more additional sentence intention labels for one utterance intention label assigned by the utterance intention label assignment unit 30. When there are multiple utterance intention labels assigned by the utterance intention label assignment unit 30, the additional sentence intention label selection unit 40 can select one or more additional sentence intention labels for each utterance intention label. Furthermore, when there are multiple utterance intention labels assigned by the utterance intention label assignment unit 30, the additional sentence intention label selection unit 40 can assign fewer additional sentence intention labels than the number of utterance intention labels to a group consisting of multiple utterance intention labels. In other words, it should be noted that the relationship between the number of utterance intention labels and the number of additional sentence intention labels is not necessarily one-to-one.
[0036] The selection algorithm of the additional sentence intention label by the additional sentence intention label selection unit 40 will be described. The applicant observed actual voice dialogue between humans and found a speech pattern specific to voice dialogue regarding a certain user's utterance and a response to the utterance. This speech pattern means a relationship between the utterance intention label related to the user's utterance and the utterance intention label of the response to the utterance. In other words, this speech pattern is an appearance pattern of each utterance intention for a plurality of sentences included in a response to a user's utterance obtained by analyzing a voice conversation in advance. The additional sentence intention label selection unit 40 selects an additional sentence intention label of an additional sentence to be added to the response sentence based on the utterance intention label of the response sentence assigned by the utterance intention label assignment unit 30 so that the response to the user's utterance conforms to the utterance pattern.
[0037] In order to find speech patterns specific to voice dialogue, the applicant compared the differences in speech labels between two dialogue formats, voice dialogue and text dialogue, for the same test participants. Specifically, one man in his 30s was set as the "listener" and 52 women in their 60s and 70s were set as the "speakers," and one-on-one dialogues were conducted in two formats: face-to-face voice dialogue (5 minutes) and text dialogue in chat format (15 minutes), and the utterances of the "listeners" were compared. The theme of the dialogue was "recent hobbies and recent interests."
[0038] The total number of listener intention labels in the two formats is shown in Figure 2. Compared to text dialogue, spoken dialogue showed a higher percentage of listener intention labels, whereas the percentage of listener intention labels was lower.
[0039] Therefore, in this embodiment, in order to create an utterance pattern specific to a voice dialogue, the non-task-type response sentence creation unit 20 focuses on the following two points when adding a new response sentence to the response sentence created.
[0040] First, when neither the "reaction (Re)" label nor the "agreement (Ag)" label is included among the utterance intention labels estimated from the response sentence created by the non-task-type response sentence creation unit 20, an additional sentence related to the "reaction (Re)" label is added to the beginning of the sentence. This is because, from the two forms of speech described above, there are more "reaction (Re)" labels in voice dialogues compared to text dialogues, and this is particularly noticeable at the beginning of sentences. As a result, it is thought that even with a Transformer model trained on text data, it is possible to reproduce utterance patterns unique to voice dialogues by adding a new additional sentence when the "reaction (Re) label" is not seen as an utterance intention.
[0041] In this embodiment, the newly added additional sentence intention labels described above are defined as “reaction (Re)” labels, and these also include lexical responses such as “I see” and “That’s true”, reactions such as “I see”, “I see”, “Uh”, “Ah”, “Ah”, “Wow”, “That’s interesting”, and interjections such as “Uh huh”, “Yeah”, and “Yes”.
[0042] Secondly, when the "question (Q)" label is not included among the utterance intention labels estimated from the response sentence created by the non-task-type response sentence creation unit 20, an additional sentence related to the "question (Q)" label is added to the end of the sentence. This is because in text dialogues, there are many "my stories and thoughts (My)" labels, and a Transformer model trained on text data may stick to one's own stories. By adding a new additional sentence to the "question (Q)", it is thought that it may be possible to dig deeper into the user's topic and develop the conversation in the same way as a voice dialogue.
[0043] The ages of the "speaker" and "listener" when collecting data may be determined according to the age of the user expected to have a dialogue with the dialogue system 1. For example, by setting the "speakers" when collecting data to children and the "listeners" to school teachers and staff, data can be obtained that enables the dialogue system 1 to continue a human-like voice dialogue with the children.
[0044] Also, an additional sentence intention label different from that in this embodiment may be added based on the acquired data. For example, if it is desired to generate a response sentence that evokes empathy from the user, this can be realized by adding this label to the beginning of the sentence if the utterance intention label of the response sentence does not include the “Agree (Ag)” label, and adding the corresponding additional sentence in the additional sentence adding unit 60 described later.
[0045] As described above, in this embodiment, the added sentence intention label selection unit 40 performs a process of selecting an added sentence intention label using the utterance intention label of the response sentence as a condition. The correspondence relationship between the condition of the utterance intention label of the response sentence and the added sentence intention label can be set as a static 1:1 relationship based on the above knowledge. Also, the correspondence relationship between the condition of the utterance intention label of the response sentence and the added sentence intention label can be a 1:N (N: a natural number equal to or greater than 2) correspondence relationship based on the above knowledge.
[0046] The dialogue theme extraction unit 50 extracts dialogue themes to be explored from the user's utterances acquired by the user utterance acquisition unit 10. In this embodiment, the dialogue theme extraction unit 50 extracts dialogue themes using morphological analysis. Here, morphological analysis is an analysis method that divides an input sentence into the smallest units that have linguistic meaning based on information such as the parts of speech of words registered in advance based on a dictionary or the like. For example, when the user's input sentence is "I often go shopping, but...", it can be divided into morphemes such as "I often go shopping, but..." by using an open source morphological analysis engine called Mecab. The dialogue theme extraction unit 50 extracts dialogue themes for the extracted morphemes based on a database that includes words stored in advance and theme names corresponding to the words. In addition, the dialogue theme extraction unit 50 adds the words from which the dialogue theme was extracted as additional information to the dialogue theme. An example of the database is shown in Table 3. Note that if none of the morphemes included in the user's utterances include a morpheme that corresponds to a theme, the dialogue theme is not assigned.
[0047] [Table 3]
[0048] For example, when a user says, "I like baseball," the word "baseball" is extracted by morphological analysis. "Baseball" is included in a database containing pre-stored words and corresponding theme names, and the corresponding theme name, "sports," is extracted.
[0049] The additional sentence adding unit 60 creates an additional sentence to be added to the response sentence based on the additional sentence intention label selected by the additional sentence intention label selection unit 40, and adds the created additional sentence to the response sentence created by the response sentence creation unit 20. When a plurality of additional sentence intention labels are selected by the additional sentence intention label selection unit 40, the additional sentence adding unit 60 creates an additional sentence for each additional sentence intention label and adds it to the response sentence. The additional sentence adding unit 60 can perform different additional sentence determination processes depending on the additional sentence intention label.
[0050] As described above, in this embodiment, one of the additional sentence intention labels selected by the additional sentence intention label selection unit 40 is the "reaction (Re)" label. The additional sentence assignment unit 60 creates an additional sentence by referring to a database in which additional sentences are stored in advance and randomly selecting one of the additional sentences stored in the database for the additional sentence related to the "reaction (Re)" label. An example of the database is shown in Table 4. In Table 4, [Named Entity] is a notation for citing a named entity such as "Kao Museum" when the user uses it in the previous utterance. In this embodiment, the words added to the dialogue theme extracted by the dialogue theme extraction unit 50 can be used. The additional sentence corresponding to the reply label "reaction (Re)" may be determined by a method using a Transformer-based deep learning technology.
[0051] [Table 4]
[0052] In this embodiment, one of the added sentence intention labels selected by the added sentence intention label selection unit 40 is a "question (Q)" label. For an added sentence related to the "question (Q)" label, the added sentence attachment unit 60 creates an added sentence using the dialogue theme of the user's utterance extracted by the dialogue theme extraction unit 50. Specifically, the added sentence attachment unit 60 refers to a database including pre-stored theme names and one or more question sentences in each theme, selects one question sentence from the dialogue theme of the user's utterance extracted by the dialogue theme extraction unit 50, and sets this question sentence as the added sentence. An example of the database is shown in Table 5. In Table 5, [word] is a notation for quoting a word added to the dialogue theme extracted by the dialogue theme extraction unit 50.
[0053] [Table 5]
[0054] For example, if the conversation theme extracted by the conversation theme extraction unit 50 is "sports," a question is randomly selected from the questions on the theme of "sports" contained in the database, and as an example, the question "What was the reason that you became interested in baseball?" is selected as the additional sentence.
[0055] The additional sentence adding unit 60 can perform processing not to create an additional sentence if a dialogue theme is not extracted by the dialogue theme extracting unit 50 described later. Also, the additional sentence adding unit 60 can store and hold several turns of dialogue themes from past utterances, and create an additional sentence using the stored dialogue theme even if a dialogue theme is not extracted by the dialogue theme extracting unit 50 described later.
[0056] The voice output unit 70 generates a voice signal from the response sentence, which is text data to which the additional sentence has been added by the additional sentence adding unit 60, and outputs the voice signal from a predetermined output means such as a speaker 70a. Various conventionally known means can be used to generate a voice signal from text data.
[0057] Next, the operation of the dialogue system 1 according to the present embodiment will be described with reference to the flowchart of FIG. 3. As shown in FIG. 1, first, the user utterance acquisition unit 10 acquires a user utterance (step S1). Next, the response sentence creation unit 20 creates a response sentence to the user utterance (step S2). Next, the utterance intention label assignment unit 30 estimates the utterance intention of the response sentence and assigns a utterance intention label to the response sentence as meta information (step S3). Next, the additional sentence intention label assignment unit 40 selects an additional sentence intention label of an additional sentence to be added to the response sentence based on the utterance intention label of the response sentence (step S4). Meanwhile, the dialogue theme extraction unit 50 extracts a dialogue theme based on the user utterance (step S5). Then, the additional sentence assignment unit 60 creates an additional sentence based on the additional sentence intention label and assigns the additional sentence to the response sentence (step S6). At this time, the additional sentence assignment unit 60 creates an additional sentence by referring to the dialogue theme according to the type of the additional sentence intention label. Finally, the voice output unit 70 outputs the response sentence to which the additional sentence has been added by voice (step S7). Note that the timing of step S5 does not matter so long as it is after step S1 and before step S6. EXAMPLES
[0058] An example of the dialogue system 1 according to the present embodiment will be described with reference to Fig. 4. Fig. 4 shows an example in which a user utters "I often go shopping" to the dialogue system 1.
[0059] First, an utterance "I often go shopping" is acquired as a user utterance (step S11). Next, in response to the user utterance "I often go shopping," a response sentence "I often go shopping, too" is generated (step S12).
[0060] Next, the response sentence "I often go shopping, too," is assigned the utterance intention label "My story or thought (My)" by referring to the stored database (utterance intention estimation model) (step S13). Note that since there was only one sentence this time, only one utterance intention label was assigned, but if the response sentence is multiple sentences, multiple utterance intention labels will be assigned. For example, in the case of the generated sentence "Is that so? I often go shopping, too," two utterance intention labels, "reaction (Re)" and "my story or thought (My)," are assigned.
[0061] Next, for the sentence "I often go shopping, too," only one utterance intention label, "My thoughts and opinions (My)," is determined in step S13, and none of the utterance intention labels, "Reaction (Re)," "Agreement (Ag)," or "Question (Q)," are included. Therefore, "Reaction (Re)" and "Question (Q)" are selected as additional sentence intention labels (step S14).
[0062] On the other hand, in response to a user utterance "I often go shopping," the conversation theme "shopping" is extracted (step S15).
[0063] Next, as an additional sentence corresponding to the "Reaction (Re)" label, the additional sentence "You're going shopping, aren't you?" is added to the beginning of the response sentence (step S16). Next, as an additional sentence corresponding to the "Question (Q)" label, the dialogue theme "shopping" is referenced, and the additional sentence "Is there a good place nearby?" is added to the end of the response sentence (step S17).
[0064] Then, the response sentence with the additional sentence added thereto, "You're going shopping, aren't you? I often go shopping too. Is there a good place nearby?" is output as speech (step S18).
[0065] In this way, in a dialogue using only the Transformer model, the only response phrase output was "I often go shopping, too," whereas in this system the response was "So you're going shopping? I often go shopping, too. Are there any good places nearby?", which is an utterance with a speech pattern specific to voice dialogue.
[0066] <Acceptability evaluation> An impression evaluation of system utterances was carried out for the dialogue system according to this embodiment (this system) and a conventional voice dialogue system (conventional system) that does not add additional sentences as in the present invention.
[0067] Videos were prepared in advance in which one woman and one man conversed with the two types of systems about hobbies (four videos in total). The women conversed with two systems about their hobby of shopping, and the men conversed with two systems about their hobby of tennis. These videos were viewed by 12 test participants, who then conducted an impression evaluation of the content of each system's speech.
[0068] The impression evaluation was conducted by asking the test participants four questions: Q1 "The response was natural," Q2 "They listened to what the other person was saying," Q3 "They were interested in what the other person was saying," and Q4 "They dug deeper into what the other person was saying." For each item, they answered on a four-point scale: "I felt this system was stronger," "I felt this system was somewhat stronger," "I felt the conventional system was somewhat stronger," or "I felt the conventional system was stronger." The answer results are shown in Figure 5.
[0069] When the results of the impression evaluation were checked, the present system received higher ratings for all impression evaluation items. In particular, the present system received higher ratings for items such as Q3 "interested in what the other person is saying" and Q4 "digging deeper into what the other person is saying." Therefore, by using speech patterns specific to voice dialogue according to the present invention, it is possible to show interest in what the other person is saying and dig deeper into what the other person is saying, which shows the possibility of realizing a more human-like conversation.
[0070] As described above, according to the dialogue system 1 of this embodiment, a utterance intention label indicating the intention of a response sentence once created in response to a user utterance is added as meta-information to a response sentence created in response to a user utterance, an additional sentence intention label of an additional sentence is selected for the response sentence based on this utterance intention label, and the additional sentence is added to the response sentence based on this additional sentence intention label. This makes it possible to add not only a simple response sentence, but also the provision of specified information, redundant expressions, and the like as additional sentences. In other words, it becomes possible to provide a response that is more desirable to the user, thereby realizing a dialogue between the user and the system that is similar to a voice conversation with a real person.
[0071] Although one embodiment of the present invention has been described in detail above, the present invention is not limited to the above embodiment, and various improvements and modifications may be made without departing from the spirit and scope of the present invention.
[0072] For example, the dialogue system 1 in the above embodiment is equipped with a dialogue theme extraction unit 50 that extracts a dialogue theme from a user's utterance in order to add a question in line with the dialogue theme as an additional sentence to the response sentence, but if the additional sentence does not need to be related to the dialogue theme, the dialogue theme extraction unit 50 is not necessarily required.
[0073] In addition, while the dialogue system 1 according to the above embodiment is configured to conduct a dialogue with a user via voice, the present invention can also be applied to a dialogue system that dialogues with a user via text, such as a so-called chatbot. [Explanation of symbols]
[0074] 1. Dialogue system 10...User comment acquisition section 20…Response sentence creation section 30…Utterance intention labeling section 40…Additional sentence intent label selection section 50…Dialogue theme extraction section 60…Additional text section 70...Audio output section
Claims
1. A dialogue system for dialogue with a user, comprising: a user comment acquisition unit for acquiring user comments; a response sentence creation unit that creates a response sentence in response to the user's comment acquired by the user comment acquisition unit; a statement intention label assignment unit that estimates a statement intention of the response sentence created by the response sentence creation unit and assigns a statement intention label to the response sentence as meta information; an additional sentence intention label selection unit that selects an intention label of an additional sentence to be added to the response sentence based on the utterance intention label assigned by the utterance intention label assignment unit; An additional sentence adding unit that adds an additional sentence to the response sentence based on the additional sentence intention label selected by the additional sentence intention label selection unit. A dialogue system characterized by:
2. The user comment acquisition unit acquires a comment of the user from a speech voice of the user, a voice output unit that outputs the response sentence to which the additional sentence has been added by the additional sentence adding unit by voice; 2. The dialogue system according to claim 1 .
3. the response sentence creation unit creates the response sentence consisting of text data, The statement intention label assignment unit estimates a statement intention of the response sentence made up of the text data and assigns a statement intention label to the response sentence as meta information.
3. The dialogue system according to claim 1 or 2.
4. The additional sentence intention label includes at least one of a reaction, a response, and a backchannel expression.
4. The dialogue system according to claim 1, wherein the dialogue system comprises:
5. a conversation theme extraction unit that extracts a conversation theme of the user's comments acquired by the user comment acquisition unit, The additional sentence adding unit adds an additional sentence including a question to the user regarding the dialogue theme.
5. A dialogue system according to claim 1, wherein the dialogue system comprises:
6. the additional sentence intention label selection unit selects the additional sentence intention label based on an appearance pattern of each utterance intention of a plurality of sentences included in a response to a user's utterance obtained by analyzing a voice conversation in advance; The additional sentence adding unit adds the additional sentence using a conversation database that stores the additional sentence intention label and a sentence example corresponding to the additional sentence intention label.
6. A dialogue system according to claim 1, wherein the dialogue system comprises:
7. A computer is caused to function as the dialogue system according to any one of claims 1 to 6. An interactive program characterized by:
8. A method for interacting with a user in a dialogue system that interacts with the user, comprising: The dialogue system (1) a first step of acquiring user utterances; (2) a second step of creating a response sentence to the user's utterance obtained in the first step; (3) a third step of estimating the intention of the response sentence created in the second step and assigning a statement intention label to the response sentence as meta-information; (4) a fourth step of selecting an additional sentence intention label of an additional sentence to be added to the response sentence based on the utterance intention label assigned in the third step; and (5) A fifth step of creating an additional sentence based on the additional sentence intention label selected in the fourth step and adding the additional sentence to the response sentence.
13. A method of interaction comprising:
Citation Information
Patent Citations
Voice synthesis system, voice synthesis method, and voice synthesis program
JP2014048443A
