Interaction understanding device and interaction understanding method

The dialogue understanding device addresses dialogue system failures by using a context processing unit with multiple layers and fallback mechanisms to handle non-structured utterances, ensuring robust and interactive dialogue through iterative context filtering.

JP2024119383APending Publication Date: 2024-09-03HONDA MOTOR CO LTD

Patent Information

Application Number
JP2023026245
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Conventional dialogue systems struggle when conversations deviate from expected scenarios or have non-structured utterances, leading to poor performance.

Method used

A dialogue understanding device with a context processing unit that employs multiple layers of processing, including audio and visual inputs, and fallback mechanisms to handle abnormalities, ensuring robust interaction by converting audio signals to text, detecting entities, and adapting to different languages and conversational styles.

Benefits of technology

The device effectively detects and corrects abnormalities in dialogue inputs, providing a more reliable and interactive experience by preprocessing hypotheses and performing iterative context filtering, enhancing the dialogue system's performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119383000001
    Figure 2024119383000001
Patent Text Reader

Abstract

To provide an interaction understanding device capable of detecting abnormality which may break an input to an interaction system, and an interaction understanding method.SOLUTION: An interaction understanding device comprises a sound pickup part which picks up a speech signal, a context processing part, and an interaction system for interacting with a human. A context understanding part comprises a plurality of layers for processing information obtained from the sound pickup part. Each of the plurality of layers comprises a fallback processing part for a case of failure in predetermined processing on the picked-up speech signal. Proceeding to processing of a next layer is made after handling corresponding to fallback processing that the fallback processing part performs so as to input a speech signal after completion of processing at the context understanding part to the interaction system.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 understanding device and a dialogue understanding method. [Background technology]

[0002] In recent years, robots and devices that can give voice instructions and communicate with users through voice have been developed. Dialogue systems, which are voice command processing systems, are very effective when communicating with robots. This allows the robot to understand commands and execute them appropriately. Such dialogue systems use text data obtained from the results of voice recognition. In addition, dialogue systems have, for example, multiple scenarios for expected dialogues, and conduct dialogues based on these scenarios (see Reference 1, for example). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-84598 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the conventional technology, the dialogue system may not function well when the conversation scenario is deviated or the speaker's utterance does not have the expected structure, etc. For example, the dialogue system does not function well when the hypothesis is corrupted or the other person's conversation style does not match the structure of the dialogue input.

[0005] The present invention has been made in consideration of the above problems, and aims to provide a dialogue understanding device and a dialogue understanding method that are capable of detecting abnormalities that may corrupt input to a dialogue system. [Means for solving the problem]

[0006] (1) In order to achieve the above-mentioned object, a dialogue understanding device according to one embodiment of the present invention comprises a sound collection unit that collects a voice signal, a context processing unit, and a dialogue system that engages in dialogue with a human, wherein the context processing unit has a plurality of layers that process information obtained from the sound collection unit, and each of the plurality of layers has a fallback processing unit for when a predetermined processing on the collected voice signal is not successful, and after taking action according to the fallback processing performed by the fallback processing unit, the dialogue understanding device proceeds to processing of the next layer, and inputs the voice signal that has been processed in the context processing unit to the dialogue system.

[0007] (2) In the dialogue understanding device of (1), the context processing unit may convert the collected voice signal into text by performing a predetermined process, detect entities that are proper nouns from the converted phrases, and understand the converted phrases using a language model to infer the speaker's speech intention.

[0008] (3) In the dialogue understanding device according to (1) or (2), the plurality of layers is three layers; The first layer may include an audio trigger unit that detects a wake-up word, and a sound unit that identifies the location of a sound source and performs sound source separation processing. The second layer may include an ASR unit that converts the audio signal resulting from processing by the first layer into text, a speaker identification unit that performs speaker diarization processing to identify the speaker of the audio stream, a model adaptation unit that adapts a speech to text model corresponding to context-dependent input, and a language detection unit that detects the recognized language by referring to a language model provided in the unit. The third layer may include a sentence processing unit that classifies the type of sentence converted to text in the second layer, and a sentence discrimination unit that detects the entity type in the sentence converted to text.

[0009] (4) In the dialogue understanding device of (3), the first fallback processing unit for the first layer may ignore voice input until a wake-up word is detected, the second fallback processing unit for the second layer may ignore an input voice signal as noise when speech recognition processing is not possible in the second layer, perform a predetermined reaction when a change of speaker is detected in the second layer, dynamically switch languages ​​when the language spoken by the speaker is supported in the second layer, and notify the speaker when the speaker speaks in an unsupported language, and the third fallback processing unit for the third layer may insert a specific reaction when an expected question is received, insert a specific reaction when an unexpected question is received, and ask a follow-up question when an entity required for the speaker's sentence is not detected.

[0010] (5) In the dialogue understanding device of (3), a photographing unit is provided for photographing an image of the speaker, and the third layer is provided with a spatial vision unit that uses the photographed image to match the direction of the sound source with the position of the tracked person, tracks the movement of the speaker's mouth, and performs gaze direction estimation processing to confirm the conversation between the dialogue system and the speaker, and a first fallback processing unit for the first layer may ignore the voice as noise when the direction of the sound source of the speaker does not spatially match the person detected from the photographed image, ignore the voice as noise when the movement of the speaker's mouth is not detected from the photographed image, and ignore the voice as noise when the speaker is looking at another person or not looking at the dialogue system.

[0011] (6) In any one of the dialogue understanding devices (1) to (5), when the context processing unit is trained, the context processing unit may be configured to receive system information from the dialogue system in a first time, and to construct a different level of understanding or context based on a data structure and other requirements in a second time.

[0012] (7) In order to achieve the above-mentioned object, a dialogue understanding method according to one embodiment of the present invention is a dialogue understanding method in a dialogue understanding device including a sound collection unit, a context processing unit, and a dialogue system, wherein the context processing unit has a plurality of layers that process information obtained from the sound collection unit, and each of the plurality of layers has a fallback processing unit for when a predetermined processing for a voice signal collected in the plurality of layers is not successful, the sound collection unit collects a voice signal, the dialogue system engages in a dialogue with a human, the context processing unit takes action in accordance with the fallback processing performed by the fallback processing unit, and then proceeds to processing of the next layer, and the context processing unit inputs the processed voice signal to the dialogue system. Effect of the Invention

[0013] According to (1)-(7), anomalies that may corrupt the input to the dialogue system can be detected. [Brief description of the drawings]

[0014] [Figure 1] FIG. 2 is a diagram showing an outline of a process according to an embodiment. [Diagram 2] 1 is a diagram illustrating an example of the configuration of a context processing unit according to an embodiment and an overview of an example of a processing procedure. [Diagram 3] 3 is a diagram illustrating an example of the configuration and processing of each unit in FIG. 2. [Figure 4] 3A and 3B are diagrams illustrating configuration examples and processing examples of each fallback unit in FIG. 2. [Diagram 5] FIG. 1 is a diagram showing a first example of a dialogue between a dialogue system and a person. [Figure 6] FIG. 11 is a diagram showing a second example of a dialogue between the dialogue system and a person. [Figure 7] FIG. 13 is a diagram illustrating a third example of a dialogue between a dialogue system and a person. [Figure 8] FIG. 4 is a diagram illustrating an example of a first level process according to the embodiment. [Figure 9] FIG. 11 is a diagram illustrating an example of a second level process according to the embodiment. [Figure 10] FIG. 11 is a diagram illustrating an example of a third level process according to the embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of a fallback process at the first level according to the embodiment. [Figure 12] FIG. 11 is a diagram illustrating an example of a fallback process at a second level according to the embodiment. [Figure 13] FIG. 11 is a diagram illustrating an example of a fallback process at a third level according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the drawings used in the following description, the scale of each component is appropriately changed so that each component is of a recognizable size. In addition, in all the drawings for explaining the embodiments, the same reference numerals are used for the parts having the same functions, and the repeated explanation is omitted. In addition, "based on XX" in this application means "based on at least XX," and includes cases where it is based on other elements in addition to XX. Furthermore, "based on XX" is not limited to cases where XX is used directly, but also includes cases where it is based on XX that has been calculated or processed. "XX" is any element (for example, any information).

[0016] (Processing Overview) First, an outline of the processing in this embodiment will be described. 1 is a diagram showing an outline of the processing in this embodiment. As shown in FIG. 1, a robot 1 includes, for example, a context processing unit 2, a dialogue system 3, a photographing unit 4, a sound collecting unit 5, and a language model 6.

[0017] The robot 1 is an example of a dialogue understanding device, for example a communication robot.

[0018] The language model 6 includes a model that is a probability distribution for word strings for each language (for example, Japanese, English, French, German, Chinese, etc.).

[0019] The contextual processing module 2 receives as input the images captured by the image capture unit 4 and the audio signals collected by the audio collection unit 5. Information is also input to the contextual processing module 2 from the dialogue system 3 twice: the first time, system information is loaded from the dialogue system 3 into the contextual processing module 2; the second time, the contextual processing module 2 builds a different level of understanding and context based on the data structure and other requirements. The contextual processing module 2 performs self-learning through these two processes. This learning process is also performed offline. All other processes are performed online. System information refers to the capabilities of the system, such as what commands and tasks are supported. Data structures refer to how information is parsed and stored, and are the format that allows the system to accept or reject the information and react appropriately. Other requirements are elements that can be freely added to the system and used for acceptance, rejection, or reaction. For example, when adding a new source, you are free to create new requirements related to the new source.

[0020] The context processing unit 2 performs a predetermined process on the image captured by the image capturing unit 4 and the audio signal collected by the audio collecting unit 5 to understand the content of the utterance, and outputs audio data created based on the processed results to the dialogue system 3. By looking at various modalities at different levels, the context processing unit 2 utilizes this to perform more robust and interactive corrections, and generates optimal input to the dialogue system 3 through the dialogue system. The context processing unit 2 also performs a fall check, and in the event of a fall, performs a fallback process; each process will be described later.

[0021] The image capturing unit 4 is, for example, an RGB (red-green-blue) camera. The image capturing unit 4 may be an RGBD camera capable of obtaining depth information D. The captured image is added with information on the time when the image was captured (time stamp).

[0022] The sound collection unit 5 is, for example, a microphone array configured with M microphones (M is an integer equal to or greater than 2). Note that the collected sound signal is added with time information (time stamp) indicating when the sound was collected.

[0023] The dialogue system 3 includes, for example, a speaker, an image display unit, etc. The dialogue system 3 dialogues with the speaker based on the information output by the context processing unit 2. It should be noted that the configuration shown in FIG. 1 is merely an example and is merely a schematic diagram, and the configuration is not limited to this.

[0024] (Example of the configuration and processing procedure of the context processing unit) Next, a configuration example and a processing procedure example of the context processing unit 2 will be described with reference to Fig. 2 to Fig. 4. Fig. 2 is a diagram showing an overview of a configuration example and a processing procedure example of the context processing unit according to this embodiment. Fig. 3 is a diagram showing a configuration example and a processing example of the processing unit in Fig. 2. Fig. 4 is a diagram showing a configuration example and a processing example of each fallback unit (fallback processing unit) in Fig. 2.

[0025] 2 to 4, the context processor 2 performs three-stage processing (Level 1 to 3). The context processor 2 performs a fall check for each level, and if it is not determined to be a fall, it proceeds to the processing of the next level, and if it is determined to be a fall, it performs fallback processing for each level.

[0026] I. First Processing Section (First Layer) The first processing unit 21, which is level 1, receives collected audio signals and captured images. The first processing unit 21 includes an audio trigger unit 211, a sound unit 212, and a spatial vision unit 213. When the check results of each unit are determined to be not a fall, the first processing unit 21 outputs information that associates information detected or extracted by each unit of the first processing unit 21 to the second processing unit 22. When an error occurs in the detection or extraction of each unit, the first processing unit 21 outputs the information to the first fallback unit 24. As shown in FIG. 1, the first processing unit 21 and the first fallback unit 24 are paired and perform processing in cooperation with each other.

[0027] The audio trigger unit 211 detects a wake-up word or a specific voice trigger for a short voice input. The wake-up word is a predetermined word or phrase, for example, "Hey robot!". Alternatively, the wake-up word may be, for example, an audio signal with a predetermined volume and a predetermined duration.

[0028] The sound unit 212 performs sound source location and separation processing.

[0029] The spatial vision unit 213 has three modules. The first module 2131 matches the direction of the sound source with the position of the tracked person. The second module 2132 tracks the movement of the speaker's mouth. The third module 2133 performs gaze direction estimation processing to confirm the conversation between the robot 1 and the speaker.

[0030] II. Second Processing Section (Second Layer) The second processing unit 22, which is level 2, receives as input information detected or extracted and associated from the first processing unit 21. The second processing unit 22 includes an ASR unit 221, a speaker identification unit 222, a model adaptation unit 223, and a language detection unit 224. When the check results of each unit are determined to be not a fall, the second processing unit 22 outputs information that associates the information detected or extracted by the second processing unit to the third processing unit 23. When an error occurs in the detection or extraction of each unit, the second processing unit 22 outputs the information to the second fallback unit 25. As shown in FIG. 1, the second processing unit 22 and the second fallback unit 25 are paired and perform processing in cooperation with each other.

[0031] The ASR unit 221 converts the voice signal resulting from the processing by the first processing unit 21 from voice to text.

[0032] The speaker identification unit 222 performs speaker diarization processing for speaker identification of the audio stream. The speaker diarization processing is a process of estimating "who spoke and when" for a voice signal in which the speaker and the number of speakers are unknown. The model adaptation unit 223 adapts the speech to text model to accommodate context-dependent input.

[0033] The language detection unit 224, for example, performs a syntax analysis of the converted text, and further refers to the language model 6 to detect what language has been recognized.

[0034] III. Third Processing Section (Third Layer) The third processing unit 23, which is at level 3, receives information associated with the detected or extracted information from the second processing unit 22. The third processing unit 23 includes a sentence processing unit 231 and a sentence discrimination unit 232. When the check result of each unit is determined to be not a fall, the third processing unit 23 outputs information associated with the detected or extracted information by the third processing unit 23 to the dialogue system 3. When an error occurs in the detection or extraction of each unit, the third processing unit 23 outputs the information to the third fallback unit 26. As shown in FIG. 1, the third processing unit 23 and the third fallback unit 26 are paired and perform processing in cooperation with each other.

[0035] The text processing unit 231 classifies the types of textual sentences.

[0036] The sentence discrimination unit 232 detects the type of an entity in a sentence. Note that an entity is a known proper noun or the like.

[0037] IV. First fallback processing section When the first processing unit 21 determines that a fall has occurred, information indicating that an error has occurred during detection or extraction in each section of the first processing unit 21 is input from the first processing unit 21 to the first fallback unit 24, which is the first level. The first fallback unit 24 includes an audio trigger unit 241 and a spatial and visual unit 242.

[0038] The audio trigger unit 241 ignores voice input until the wake-up word is detected.

[0039] The spatial and visual unit 242 includes three modules. The first module 2421 ignores the voice as noise if the direction of the speaker's sound source does not spatially match the person detected from the captured image. The second module 2422 ignores the voice as noise if the movement of the person's mouth is not detected. The third module 2423 ignores the voice as noise if the speaker is looking at another person or not looking at the robot 1.

[0040] When the second processing unit 22 judges it to be a fall, the second fallback unit 25, which is the second level, receives information from the second processing unit 22 indicating that an error has occurred during detection or extraction in each unit of the second processing unit 22. The second fallback unit 25 includes an ASR unit 251, a speaker identification unit 252, and a language detection unit 253.

[0041] If ASR unit 251 is unable to perform voice recognition processing, it ignores the input voice signal as noise.

[0042] When the speaker identification unit 252 detects a change in speaker, it performs a specific reaction. Note that the specific reaction is a predetermined process, such as greeting the person who has taken over as the speaker.

[0043] The language detection unit 253 comprises two modules: a first module 2531 dynamically switches the language if the language spoken by the speaker is supported, and a second module 2532 notifies the speaker if the speaker is speaking in an unsupported language.

[0044] When the third processing unit 23 judges that a fall has occurred, information indicating that an error has occurred during detection or extraction in each section of the third processing unit 23 is input from the third processing unit 23 to the third fallback unit 26, which is the third level. The third fallback unit 26 includes a sentence processing unit 261 and a sentence discrimination unit 262.

[0045] The text processing unit 261 inserts a specific reaction when an expected question is received, or when an unexpected question is received, the text processing unit 261 inserts a specific reaction.

[0046] If the sentence discrimination unit 262 does not detect a necessary entity in the sentence of the speaker, it asks a follow-up question. Note that the follow-up question is a question for eliciting a necessary entity, such as "What did you do?" based on a verb in the included sentence.

[0047] (Example of dialogue between a dialogue system and a person) Next, an example of a dialogue between a dialogue system and a person, and an example of processing during the dialogue will be described with reference to FIGS. Fig. 5 is a diagram showing a first example of a dialogue between a dialogue system and a person. Note that the dialogue examples in Fig. 5 to Fig. 7 are dialogue examples after detection of a wake-up word. First, the dialogue system 3 utters, "Do you have a pet?" The intent of this utterance is "question," "has," and "pet" (g101). Assume that the result of the context processor 2 recognizing the speaker's speech and converting it into text is "Yes, I have a pet dragon." In this utterance, the context processor 2 understands that "dragon" is a type of "pet" and an Entity. The context processor 2 also understands that the intention of this utterance is "reply," "has," "pet," and "ys" (g102). The dialogue system 3 issues a voice signal "Dragon a good pet! What's their name?" based on the output of the context processor 2. The intention of this utterance is "question", "pet" and "name" (g103).

[0048] FIG. 6 is a diagram showing a second example of a dialogue between the dialogue system and a person. First, the dialogue system 3 utters, "What country are you from?" The intention of this utterance is "question," "country," and "origin" (g111). Assume that the result of the context processor 2 recognizing the speaker's speech and converting it into text is "I am from the United of America." In this utterance, the context processor 2 understands that "the United of America" ​​is a type of "country" and an Entity. The context processor 2 also understands that the intention of this utterance is "reply," "country," and "origin" (g112). Based on the output of the context processor 2, the dialogue system 3 issues a speech signal saying, "I want to visit! Do you still live there?" The intentions of this utterance are "question," "country," "origin," and "reside" (g113).

[0049] FIG. 7 is a diagram showing a third example of a dialogue between the dialogue system and a person. First, Dialogue System 3 utters, "Let's change topics and discuss weather?" The intentions of this utterance are "question," "topics," and "weather" (g121). The result of speech recognition and text conversion of the speaker's utterance by the context processor 2 is "No, I want to talk about hobbies lnstead." In this utterance, the context processor 2 understands that "hobbies" is "topics" and an entity. The context processor 2 also understands that the intention of this utterance is "change," "topics," and "hobbies" (g122). The dialogue system 3 issues a voice signal "OK! What is your favorite hobby?" based on the output of the context processor 2. The intentions of this utterance are "question," "favorite," and "hobby" (g123). Note that the dialogue examples and understanding result examples shown in FIGS. 5 to 7 are merely examples, and the present invention is not limited to these.

[0050] (First level processing) Next, the first level processing will be further described with reference to Fig. 8. Fig. 8 is a diagram showing an example of the first level processing according to this embodiment. Note that in the following processing example, an example in which there is one speaker will be described, but there may be multiple speakers. In that case, the process detects that the speaker has been replaced midway and performs the process.

[0051] (Step S101) The sound collection unit 5 collects the voice signal of the speaker.

[0052] (Step S102) The first processing unit 21 of the context processing unit 2 converts the collected voice signal from an analog signal to a digital signal and extracts acoustic features from the converted digital signal by a well-known method. The acoustic features are, for example, Mel spectrum and MFCC (Mel Frequency Cepstral Coefficients).

[0053] (Step S103) The audio trigger unit 211 of the first processing unit 21 performs speech recognition processing (syntactic analysis is not required) using the audio signal and acoustic features, converts the speech into text, and detects the presence or absence of a wake-up word from the text.

[0054] (Step S104) The sound unit 212 of the first processing unit 21 performs sound source localization processing and sound source separation processing on the audio signal and the acoustic feature amount by using, for example, a beamforming method or the like.

[0055] (Step S105) The imaging unit 4 images the speaker.

[0056] (Step S106) The first processing unit 21 converts the captured image from an analog signal to a digital signal and extracts image features from the converted digital signal by a well-known method. The image features include, for example, local image features, face and body contour information, and the like.

[0057] (Step S107) The spatial and visual unit 213 of the first processing unit 21 refers to a database of features for each person registered internally or externally for the extracted image features, and extracts the name of the person if it is included in the registered data, or determines that the person is not registered if it is not registered.

[0058] (Step S108) The spatial and visual unit 213 of the first processing unit 21 extracts the speaker's gaze by a well-known method based on the image feature amount. The first processing unit 21 may be configured to track the movement of the gaze.

[0059] (Step S109) The spatial and visual unit 213 of the first processing unit 21 tracks the movement of the speaker's mouth using a known method based on the image feature amount.

[0060] (Step S110) The first processing unit 21 associates the wake-up word, the sound source localization result (including the acoustic signal), the information about the line of sight, and the information about the mouth detected or extracted in steps S103, S104, S107, S108, and S109.

[0061] (Step S111) The first processing unit 21 determines, based on the associated information, whether or not the speaker has made an utterance for dialogue.

[0062] (Step S112) When the first processing unit 21 determines that the speaker has made an utterance for dialogue, the process proceeds to the second level. The first processing unit 21 outputs information that associates the information detected or extracted at the first level to the second processing unit 22 at the second level.

[0063] (Step S113) When the first processing unit 21 determines that the speaker has not made an utterance for dialogue, the process proceeds to a first level of fallback processing.

[0064] The above-described processing order and processing contents are merely examples, and are not limited to these. For example, the processing for the audio signal and the processing for the image may be reversed, or may be performed simultaneously.

[0065] (Second level processing) Next, the second level processing will be further described with reference to Fig. 9. Fig. 9 is a diagram showing an example of the second level processing according to this embodiment. Note that in the following processing example, an example in which there is one speaker will be described, but there may be multiple speakers. In that case, the process detects that the speaker has been replaced midway and performs the process.

[0066] (Step S201) The second processing unit 22 of the context processing unit 2 acquires from the first processing unit 21 information in which the wake-up word, the sound source localization result (including the acoustic signal), information regarding the line of sight, and information regarding the mouth are associated with each other.

[0067] (Step S202) The ASR unit 221 of the second processing unit 22 performs a sound source separation process and a sound recognition process on the sound source localization result (including the sound signal) acquired from the first processing unit 21, and converts the recognized voice signal into text. The second processing unit 22 may also perform a noise suppression process and a speech period detection process.

[0068] (Step S203) The speaker identifying unit 222 of the second processing unit 22 performs a speaker dialization process.

[0069] (Step S204) The language detection unit 224 of the second processing unit 22 performs syntax analysis on the converted text, and further refers to the language model 6 to detect what language has been recognized.

[0070] (Step S205) The second processing unit 22 associates the speaker's speech history (USER HISTORY), speech (UTTERANCES), language information (LANGUAGE), and metadata (META DATA) detected or extracted in steps S202, S203, and S204. The speech history is a history of speech between the speaker and the robot 1, and may also include a history of speech in past conversations. The metadata is information including the speaker's gaze information, the speaker's mouth movement, audio signals of other speakers included in the collected audio signal, images of other speakers included in the captured image, and the like.

[0071] (Step S206) The second processing unit 22 monitors the extracted utterance. For example, the second processing unit 22 monitors when the utterance cannot be detected or when the language used in the utterance is switched.

[0072] (Step S207) If it is determined that no trouble (fault) has been detected as a result of the monitoring, the second processing unit 22 advances the process to the third level. The second processing unit 22 outputs to the third processing unit 23 information that associates the utterance history (USER HISTORY), utterances (UTTERANCES), language information (LANGUAGE), and metadata (META DATA) of the detected or extracted speaker.

[0073] (Step S208) If the second processing unit 22 determines that a trouble (fall) has been detected as a result of the monitoring, the second processing unit 22 proceeds to a second level fallback process. In the second level fallback process, the second fallback unit 25 determines that the language has changed or that the problem is not speech but noise, and returns the determination result to the second processing unit 22.

[0074] The above-mentioned process order and process contents are merely examples, and are not limited to these. For example, the process order of steps S202 to S204 may be reversed, or steps may be performed simultaneously.

[0075] (Third level processing) Next, the third level processing will be further described with reference to Fig. 10. Fig. 10 is a diagram showing an example of the third level processing according to this embodiment. Note that in the following processing example, an example in which there is one speaker will be described, but there may be multiple speakers. In that case, the process detects that the speaker has been replaced midway and performs the process.

[0076] (Step S301) The third processing unit 23 of the context processing unit 2 acquires from the second processing unit 22 information associating the speech history, speech, language information, and metadata of the detected or extracted speaker.

[0077] (Step S302) The text processing unit 231 of the third processing unit 23 classifies the type of the text sentence. As a result, the text processing unit 231 estimates the intention (INTET) of the utterance.

[0078] (Step S303) The sentence discrimination unit 232 of the third processing unit 23 detects an entity type in the sentence.

[0079] (Step S304) The third processing unit 23 understands the speech of the acquired speaker based on the results of detection, extraction, and judgment at the first to third levels.

[0080] (Step S305) The third processing unit 23 associates the extracted or detected utterances (UTTERANCES), (INTENTS), proper noun information (ENTITINES), and dialogue history (CONV. HISTORY).

[0081] (Step S306) The third processing unit 23 determines, for example, whether or not an utterance corresponding to the utterance uttered by the dialogue system 3 has been obtained, that is, whether or not a dialogue has been established.

[0082] (Step S307) If the dialogue is established, the third processing unit 23 continues the dialogue.

[0083] (Step S308) If the dialogue is not established, the third processing unit 23 proceeds to the third fallback process of the third level. For example, when the utterance uttered by the dialogue system 3 is different from the speaker's intention to dialogue, the third fallback unit 26 instructs to change the utterance to a theme that matches the speaker's intention, or to ask again in the case of an unexpected reply.

[0084] (Example of fallback processing during first level text analysis processing) Next, an example of fallback processing at the first level will be described. Fig. 11 is a diagram showing an example of fallback processing at the first level according to this embodiment. In the example shown in Fig. 11, "fallback number", "fallback explanation (hereinafter referred to as "explanation")", "system prompt, specific action, and other details (hereinafter referred to as "response")" are shown.

[0085] I. First Fallback Description: A fallback that ignores voice input until the wake-up word is detected. Response: The system shall ignore all voice input other than the predefined wake-up word.

[0086] II. Second Fallback Description: If no spatial match with a person can be confirmed, ignore the audio as noise. Response: If the system cannot confirm that the sound is coming from the direction of a human being, it should ignore all audio input as noise. In addition, the person should be tracked using a dedicated skeleton tracking depth camera or similar.

[0087] III. The third fallback Description: If no mouth movement is detected, ignore the audio as noise. Response: The system will ignore any voice input from a person as background noise if their face is visible and no mouth movement is detected, making the system more resistant to background noise coming from behind the person.

[0088] IV. Fourth Fallback Explanation: If the speaker is looking at someone else or not looking at the robot (the dialogue system 3), ignore the voice as noise. Response: If a speaker is spatially visible to other people (e.g., other people in the room) the system shall ignore all voice input from that particular person.

[0089] (An example of fallback processing during second level text analysis processing) Next, an example of fallback processing at the second level will be described below. Fig. 12 is a diagram showing an example of fallback processing at the second level according to this embodiment.

[0090] I. First Fallback Description: Speech input that does not generate text is ignored as noise. Response; The system MUST ignore as noise any voice input that does not produce valid text.

[0091] II. Second Fallback Description; the specific reaction when a speaker change is detected. Response: If the speaker changes, the system must recognize and detect this. For example, it can put a "face" on a new speaker or add something like "nice to hear your opinion too" to a generated reply.

[0092] III. The third fallback Description: If the language is switched and the switched language is supported, the language will be dynamically switched. Respond; Instead of relying on a default fallback, the system needs to be able to respond when the speaker switches languages ​​during speech input. In these cases, prompt with a phrase in the previous language, such as "Oh, did you just switch to Spanish? Of course I will," and then continue the dialogue.

[0093] IV. Fourth Fallback Description: Notify speaker when language is switched and the switched language is not supported. Response; If the speaker is using an unsupported language, the system should be able to detect this and offer to switch to a supported language.

[0094] (Example of fallback processing during third level text analysis processing) Next, a description will be given of an example of fallback processing at the third level. Fig. 13 is a diagram showing an example of fallback processing at the second level according to this embodiment.

[0095] I. First Fallback Explanation: If you receive a question that you expected, insert a specific reaction. Or, if you receive an unexpected question, insert a specific reaction. Response; for example, if the system expects a speaker to speak but receives a question instead, the system will guide the speaker to answer the question.

[0096] II. Second Fallback Explanation: If the required entities are not detected in the transcript of the speaker's speech, follow-up questions are asked. Response; if the system's intent is to understand the value of an entity type and that value is necessary to continue the conversation, the system will ask follow-up questions and attempt to extract the missing entity.

[0097] The context processor 2 does not take all of the fallback actions shown in Fig. 11 to Fig. 13, but takes necessary actions depending on the contents of the fall. Also, the explanations and actions shown in Fig. 11 to Fig. 13 are merely examples, and are not limited to these.

[0098] In the above example, an example in which an image captured by the image capture unit 4 is used has been described, but the context processor 2 does not need to use an image. In this case, the context processor 2 does not need to detect the speaker's gaze or mouth movement, or perform fallback processing associated with these detections. In the above example, the context processor 2 performs processing using three levels (three layers). However, the number of levels (layers) may be two or more, and may be four or more.

[0099] (Comparison with conventional technology) Dialogue systems, which are voice command processing systems, are very useful when humans communicate with robots. They allow the robot to understand commands and execute them appropriately. However, traditional dialogue systems are highly dependent on the quality of the input, i.e. hypotheses from ASR (audio-speech recognition). For example, if the hypotheses are corrupted or the other party's conversational style does not match the structure of the dialogue input, the dialogue system will not work well.

[0100] As a result, in conventional voice command communication systems used in smart speakers and mobile devices, none of the systems provide feedback on the quality of voice capture and the accuracy of ASR text-to-text. Additionally, conventional technologies do not provide a fallback strategy in case the voice quality is low or the voice transcription result is unsatisfactory.

[0101] Such an approach may be justified for short, single-utterance voice inputs such as commands, where the cost of retries is low and is a typical use case for voice assistants. However, human-device (smart speakers, mobile devices, robots, etc.) interactions require not only processing short commands but also maintaining longer conversations.

[0102] In contrast, in the present embodiment, the hypotheses from the ASR are pre-processed and context filtering is performed iteratively and iteratively to improve the quality of the hypotheses before inputting them to the dialogue system 3. This approach solves the problems of corrupted hypotheses and user conversational style, and by correcting these, it is possible to ensure optimized input for the dialogue system to perform well.

[0103] Additionally, the present embodiment uses a multi-level fallback approach, which allows the present embodiment to provide a universally better experience for the end user, and also allows the speaker to be more informed about the robot's understanding, helping to create a sense of machine intelligence that is not present in prior art devices.

[0104] The understanding levels at the first to third levels (see FIG. 2 for example) refer to different levels of context checks and sanity checks to confirm whether the input to the dialogue system is correct. The context processor 2 takes in the data structure of the dialogue system as input, and performs different levels of context checks and creates iterative and interactive queries to correct erroneous or freestyle inputs.

[0105] In this embodiment, the speaker's speech is understood in three stages, and fallback processing is performed at each stage. In this embodiment, the audiovisual modality is utilized to detect anomalies that may corrupt the input to the dialogue system, and three levels of fallback ensure that each modality is utilized to correct the input hypothesis to the dialogue system.

[0106] In addition, in this embodiment, the three understanding level hypotheses are pre-processed and contextual filtering is performed iteratively and iteratively to improve the quality of hypotheses from the ASR 211 before inputting them into the dialogue system. This approach aims to solve the problem of corrupted hypotheses and user conversational style, and by correcting these, ensures an optimized input for the dialogue system to perform well.

[0107] The present embodiment also provides a multimodal approach to fallback mechanisms, providing a way to combine subsystems leading to a multimodal layer of fallback execution that ensures more reliable input to the dialogue system.

[0108] In addition, a program for realizing some or all of the functions of the context processor 2 and the dialogue system 3 in the present invention may be recorded in a computer-readable recording medium, and the program recorded in the recording medium may be read into a computer system and executed to perform all or part of the processes performed by the context processor 2 and the dialogue system 3. Note that the term "computer system" as used herein includes hardware such as an OS and peripheral devices. The term "computer system" also includes a WWW system equipped with a homepage providing environment (or display environment). The term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into a computer system. The term "computer-readable recording medium" also refers to a storage device that holds a program for a certain period of time, such as a volatile memory (RAM) inside a computer system that becomes a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line.

[0109] The above program may also be transmitted from a computer system in which the program is stored in a storage device or the like to another computer system via a transmission medium, or by transmission waves in the transmission medium. Here, the "transmission medium" that transmits the program refers to a medium that has the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The above program may also be for realizing part of the above-mentioned functions. Furthermore, it may be a so-called difference file (difference program) that can realize the above-mentioned functions in combination with a program already recorded in the computer system.

[0110] The above describes the form for carrying out the present invention using an embodiment, but the present invention is not limited to such an embodiment, and various modifications and substitutions can be made within the scope that does not deviate from the gist of the present invention. [Explanation of symbols]

[0111] 1...robot, 2...context processing unit, 3...dialogue system, 4...capturing unit, 5...sound collection unit, 6...language model, 21...first processing unit, 22...second processing unit, 23...third processing unit, 24...first fallback unit, 25...second fallback unit, 26...third fallback unit, 211...audio trigger unit, 212...sound unit, 213...visual-spatial unit, 221...ASR unit, 222...speaker identification unit, 223...model adaptation unit, 224...language detection unit, 231...sentence processing unit, 232...sentence discrimination unit, 241...audio trigger unit, 242...spatial and visual unit, 251...ASR unit, 252...speaker identification unit, 253...language detection unit, 261...sentence processing unit, 262...sentence discrimination unit

Claims

1. A sound pickup unit that picks up an audio signal; A context processor; A dialogue system for dialogue with a human being, The context processing unit includes a plurality of layers for processing information obtained from the sound collection unit, A fallback processing unit is provided for each of the plurality of layers in the case where a predetermined process for a picked-up audio signal is not successful, After taking action according to the fallback processing performed by the fallback processing unit, the process proceeds to the next layer; inputting the speech signal that has been processed by the context processing unit into the dialogue system; Dialogue understanding device.

2. The context processing unit converts the collected speech signal into text by performing a predetermined process, detects entities, which are proper nouns, from the converted phrases, and estimates the speaker's speech intention by understanding the converted phrases using a language model. The dialogue understanding device according to claim 1 .

3. said plurality of layers being three layers; The first layer includes an audio trigger unit that detects a wake-up word and a sound unit that performs sound source location and sound source separation processing. The second layer includes an ASR unit that converts the speech signal resulting from the processing by the first layer into text, a speaker identification unit that performs a speaker diarization process for speaker identification of the audio stream, a model adaptation unit that adapts a speech to text model corresponding to a context-dependent input, and a language detection unit that detects the recognized language by referring to a language model included in the second layer. The third layer includes a sentence processing unit that classifies the type of the sentence converted into text in the second layer, and a sentence discrimination unit that detects an entity type in the sentence converted into text. The dialogue understanding device according to claim 1 or 2.

4. a first fallback processor for the first layer that ignores voice input until a wake-up word is detected; a second fallback processing unit for the second layer that ignores an input voice signal as noise when speech recognition processing cannot be performed in the second layer, performs a predetermined reaction when a change of speaker is detected in the second layer, dynamically switches languages ​​when the language spoken by the speaker is supported in the second layer, and notifies a speaker when the speaker speaks in an unsupported language; a third fallback processing unit for the third layer inserts a specific reaction when an expected question is received, inserts a specific reaction when an unexpected question is received, and asks a follow-up question when a required entity is not detected in the sentence of the speaker; The dialogue understanding device according to claim 3 .

5. A photographing unit is provided for photographing an image of a speaker, The third layer includes a spatial vision unit that uses the captured image to match the direction of the sound source with the position of the tracked person, tracks the mouth movement of the speaker, and performs gaze direction estimation processing to confirm the conversation between the dialogue system and the speaker; a first fallback processing unit for the first layer, which ignores the voice as noise when a sound source direction of the speaker does not spatially match a person detected from a captured image, which ignores the voice as noise when mouth movement of the speaker is not detected from the captured image, and which ignores the voice as noise when the speaker looks at another person or does not look at the dialogue system; The dialogue understanding device according to claim 3 .

6. During training of the context processor, the context processor is first fed with system information from the dialogue system, and secondly builds different levels of understanding or context based on data structures and other requirements. The dialogue understanding device according to claim 1 or 2.

7. A dialogue understanding method in a dialogue understanding device including a sound collection unit, a context processing unit, and a dialogue system, comprising: The context processing unit includes a plurality of layers for processing information obtained from the sound collection unit, and a fallback processing unit is provided for each of the layers when a predetermined process for the sound signal collected in each of the plurality of layers is not successful, The sound pickup unit picks up the audio signal, The dialogue system engages in dialogue with humans, the context processing unit performs a process corresponding to the fallback process performed by the fallback processing unit, and then proceeds to a process of a next layer; the context processor inputs the processed speech signal into the dialogue system; How to understand dialogue.

Citation Information

Patent Citations

  • Speaker identifying device and video conference system provided with speaker identifying device

    JP2003189273A

  • Information processing device, electronic apparatus, control method, and control program

    WO2018207483A1

  • Information processing device and information processing method

    WO2019142418A1

  • Audio processing device, audio processing method, and recording medium

    WO2020003851A1

  • Robot dialogue system and method for controlling robot dialogue system

    JP2019084598A

Cited By

  • Dialogue support system, method and program

    JP2026123565A