Multimodal feature-based spoken dialogue processing method, device, and electronic device

The multimodal feature-based method in voice dialogue systems addresses the challenge of premature or delayed speakership takeover by analyzing semantic, audio, and temporal features, ensuring smooth human-machine interaction.

JP2024537904AActive Publication Date: 2024-10-16JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024523243
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-09
Filing Date
2022-08-19
Publication Date
2024-10-16
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

Existing voice dialogue systems struggle to accurately determine when to take over speakership, leading to either premature takeover during user thought processes or delayed response due to fixed silent period thresholds, disrupting smooth human-machine interaction.

Method used

A multimodal feature-based approach that combines semantic, audio, and temporal features using models like Transformer and deep residual networks to analyze user input, determining the appropriate time to take over speakership by integrating word meaning, acoustic characteristics, and speech duration.

Benefits of technology

Enhances the accuracy of determining when to take over speakership, ensuring seamless human-machine interaction by accurately capturing user intent and response timing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024537904000001_ABST
    Figure 2024537904000001_ABST
Patent Text Reader

Abstract

A method, device (300) and electronic device for speech dialogue processing based on multimodal features. The method includes a step (101) of acquiring first speech information including a silent section currently input by a user during a dialogue exchange with the user, a step (102) of determining semantic feature information of the text information based on text information of the first speech information and historical context information of the first speech information, a step (103) of determining speech feature information of the first speech information based on a speech fragment preceding the silent section in the first speech information, a step (104) of acquiring temporal feature information of the first speech information, and a step (105) of determining whether the user has finished speech input based on the semantic feature information, the speech feature information and the temporal feature information.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application relates to the field of computer technology, and in particular to a method, device and electronic device for multimodal feature-based speech dialogue processing.

[0002] This application is based on and claims priority to the Chinese patent application having application number 202111337746.8 and filing date November 9, 2021, the entire contents of which are hereby incorporated by reference into this application. [Background technology]

[0003] In a spoken dialogue system, when a user speaks, the spoken dialogue system needs to determine the appropriate time to take over the speaking role, i.e., to make the man-machine interaction smooth and natural, the spoken dialogue system should switch between the characters of listener and speaker.

[0004] Currently, many voice dialogue systems detect the silent time length of a user by voice activity detection (VAD), and when the silent time length of the user exceeds a threshold (e.g., 0.8s to 1s), the system takes over the speaking right. However, in such a method in which the silent time length is fixed, when the silent time length exceeds the threshold while the user has not finished speaking and is still thinking, the system's reaction is too fast and sensitive. On the other hand, when the user's exchange is fast and concise, if the system waits for the silent time length to reach a set threshold before taking over the speaking right, the system's reaction will be slow, which may lead to the user repeating his or her answer. Therefore, how a voice dialogue system determines when to take over the speaking right is currently an issue that needs to be solved urgently. Summary of the Invention

[0005] This application proposes a method, device and electronic device for speech dialogue processing based on multimodal features.

[0006] In one embodiment of the present application, a multimodal feature-based speech dialogue processing method is proposed, including the steps of: acquiring first speech information including a silent interval currently input by a user during a dialogue exchange with a user; determining semantic feature information of the text information based on text information of the first speech information and historical context information of the first speech information; determining speech feature information of the first speech information based on a speech fragment preceding the silent interval in the first speech information; acquiring temporal feature information of the first speech information; and determining whether the user should end speech input based on the semantic feature information, the speech feature information, and the temporal feature information.

[0007] In one embodiment of the present application, the step of determining semantic feature information of the text information based on text information of the first speech information and historical context information of the first speech information includes: performing speech recognition on the first speech information to obtain text information of the first speech information; obtaining historical context information of the first speech information; and inputting the text information and the historical context information into a semantic display model to obtain semantic feature information of the text information.

[0008] In one embodiment of the present application, the step of determining speech feature information of the first speech information based on a speech fragment preceding the silent section in the first speech information includes: obtaining a speech fragment of a first predetermined time length preceding the silent section in the first speech information; dividing the speech fragment according to a second predetermined time length to obtain a plurality of speech fragments; extracting acoustic feature information corresponding to each of the plurality of speech fragments, and combining the acoustic feature information corresponding to each of the plurality of speech fragments respectively to obtain a combined feature corresponding to each of the plurality of speech fragments; and inputting the combined feature into a deep residual network to obtain the speech feature information of the first speech information.

[0009] In one embodiment of the present application, the step of obtaining temporal feature information of the first audio information includes obtaining a speech time length, a speaking rate and a text length of the first audio information, and inputting the speech time length, the speaking rate and the text length into a pre-trained multi-layer perceptron MLP model so as to obtain the temporal feature information of the first audio information.

[0010] In one embodiment of the present application, the step of determining whether the user has terminated speech input based on the semantic feature information, the speech feature information, and the temporal feature information includes: inputting the semantic feature information, the speech feature information, and the temporal feature information into a multimodal fusion model; and determining whether the user has terminated speech input based on an output result of the multimodal fusion model.

[0011] In one embodiment of the present application, when it is determined that the user has terminated voice input, the method further includes determining first reply voice information corresponding to the first voice information and outputting the first reply voice information.

[0012] In one embodiment of the present application, when it is determined that the user has not finished voice input, the method further includes obtaining second voice information to be input again by the user, determining corresponding second reply voice information based on the first voice information and the second voice information, and outputting the second reply voice information.

[0013] In another embodiment of the present application, a multimodal feature-based voice interaction processing device is proposed, including: a first acquisition module that acquires first voice information including a silent interval currently input by a user during a dialogue exchange with the user; a first decision module that determines semantic feature information of the text information based on text information of the first voice information and historical context information of the first voice information; a second decision module that determines voice feature information of the first voice information based on a voice fragment preceding the silent interval in the first voice information; a second acquisition module that acquires temporal feature information of the first voice information; and a third decision module that determines whether the user will end voice input based on the semantic feature information, the voice feature information and the temporal feature information.

[0014] In one embodiment of the present application, the first determination module is specifically used for performing speech recognition on the first speech information, so as to obtain text information of the first speech information; obtaining historical context information of the first speech information; and inputting the text information and the historical context information into a semantic display model, so as to obtain semantic feature information of the text information.

[0015] In one embodiment of the present application, the second determination module is specifically used for obtaining a speech fragment of a first predetermined time length before the silent section in the first speech information, dividing the speech fragment according to a second predetermined time length to obtain a plurality of speech fragments, extracting acoustic feature information corresponding to each of the plurality of speech fragments, respectively combining the acoustic feature information corresponding to each of the plurality of speech fragments to obtain a combined feature corresponding to each of the plurality of speech fragments, and inputting the combined feature into a deep residual network to obtain speech feature information of the first speech information.

[0016] In one embodiment of the present application, the second acquisition module is specifically used for acquiring the speech duration, speaking rate and text length of the first speech information, and inputting the speech duration, speaking rate and text length into a pre-trained multi-layer perceptron MLP model so as to obtain temporal feature information of the first speech information.

[0017] In one embodiment of the present application, the third determination module includes: a multimodal processing unit that inputs the semantic feature information, the speech feature information, and the temporal feature information into a multimodal fusion model; and a determination unit that determines whether the user terminates speech input based on an output result of the multimodal fusion model.

[0018] In one embodiment of the present application, the device further includes a first processing module, which is used for determining first reply voice information corresponding to the first voice information and outputting the first reply voice information when it is determined that the user has terminated the voice input.

[0019] In one embodiment of the present application, the method further includes a third acquisition module for acquiring second voice information input again by the user when it is determined that the user has not finished voice input, and a second processing module for determining corresponding second reply voice information based on the first voice information and the second voice information, and outputting the second reply voice information.

[0020] In another embodiment of the present application, there is proposed an electronic device comprising a memory and a processor, the memory storing computer instructions which, when executed by the processor, implement the multimodal feature based speech dialogue processing method of the embodiment of the present application.

[0021] In another embodiment of the present application, a non-transitory computer-readable recording medium is proposed, on which computer instructions are stored for causing the computer to execute the multimodal feature-based speech dialogue processing method disclosed in the embodiment of the present application.

[0022] Another embodiment of the present application provides a computer program product which, when executed by an instruction processor therein, implements the multimodal feature based speech dialogue processing method of the embodiment of the present application.

[0023] Other effects of the above-mentioned selectable configurations will be described below in conjunction with specific examples.

[0024] The accompanying drawings are provided for a better understanding of the present technical solution, but are not intended to limit the present application. [Brief description of the drawings]

[0025] [Figure 1] FIG. 1 is a flow chart illustrating a multimodal feature based speech dialogue processing method according to one embodiment of the present application. [Diagram 2] FIG. 2 is a diagram for explaining a voice dialogue processing method according to one specific embodiment of the present application, in conjunction with a model framework diagram. [Diagram 3] FIG. 3 is a diagram showing a configuration of a speech dialogue processing apparatus based on multimodal features according to one embodiment of the present application. [Figure 4] FIG. 4 is a diagram showing the configuration of a speech dialogue processing apparatus based on multimodal features according to another embodiment of the present invention. [Diagram 5] FIG. 5 is a diagram illustrating an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026] The following is a detailed description of the embodiments of the present disclosure. Examples of such embodiments are shown in the accompanying drawings, and identical or similar elements, or elements having identical or similar functions, are indicated by the same or similar symbols throughout the text. The embodiments described below with reference to the accompanying drawings are illustrative and are used to explain the present application, but are not to be construed as limiting the present application.

[0027] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a multimodal feature-based speech dialogue processing method, device, and electronic device according to embodiments of the present application will be described with reference to the accompanying drawings.

[0028] 1 is a flowchart showing a multimodal feature-based speech dialogue processing method according to an embodiment of the present application. The main body that executes the multimodal feature-based speech dialogue processing method proposed in the embodiment of the present application is a multimodal feature-based speech dialogue processing device, which can be realized by software and / or hardware. In the speech dialogue system of the multimodal feature-based speech dialogue processing device according to the embodiment of the present application, the speech dialogue system can be arranged in an electronic device. Examples of the electronic device include a terminal device and a server.

[0029] As shown in FIG. 1, the multi-modal feature based speech dialogue processing method may include steps 101 to 105.

[0030] In step 101, first voice information including a silent section currently input by the user during a dialogue exchange with the user is acquired.

[0031] In step 102, semantic feature information of the text information is determined based on the text information of the first speech information and historical context information of the first speech information.

[0032] In one embodiment of the present application, speech recognition may be performed on the first speech information to obtain text information of the first speech information, and historical context information of the first speech information may be obtained, and the text information and historical context information may be input into a semantic display model to obtain semantic feature information of the text information.

[0033] In some embodiments, the above-mentioned semantic representation model includes a Transformer model based on a self-attention mechanism to capture long-distance dependencies between text information and historical context information and accurately determine semantic feature information of the text information based on the long-distance dependencies.

[0034] In some embodiments, the Transformer model may include multiple coding layers, each of which includes a Transformer-based coding structure, encodes input content using a corresponding coding structure, and inputs the output result to a corresponding next coding layer for processing.

[0035] In some embodiments, an exemplary embodiment of obtaining historical context information of the first voice information includes obtaining a plurality of historical voice dialogue pieces prior to the first voice information, and obtaining the historical context information of the first voice information based on the plurality of historical voice dialogue pieces.

[0036] In step 103, audio feature information of the first audio information is determined based on an audio fragment preceding the silent section in the first audio information.

[0037] In some embodiments, a speech fragment of a first predetermined time length before a silent section in the first speech information is obtained, the speech fragment is divided according to a second predetermined time length to obtain a plurality of speech fragments, acoustic feature information corresponding to each of the plurality of speech fragments is extracted, the acoustic feature information corresponding to each of the plurality of speech fragments is combined respectively to obtain a combined feature corresponding to each of the plurality of speech fragments, and the combined feature is input to a deep residual network to obtain speech feature information of the first speech information.

[0038] In some embodiments, the first predetermined time length is preset. For example, the above-mentioned first predetermined time length may be 2 seconds. That is, a voice fragment having a time length of 2 seconds can be cut out before a silent section in the first voice information.

[0039] In some embodiments, the second predetermined length of time is preset. The first predetermined length of time is longer than the second predetermined length of time, for example, if the first predetermined length of time is 2 seconds, the second predetermined length of time may be 50 milliseconds (ms). In some embodiments, after cutting a voice segment having a length of 2 seconds, the voice segment may be divided by 50 ms to obtain a plurality of voice segments each having a length of 50 ms.

[0040] In some implementations, the acoustic feature information includes, but is not limited to, power, volume, pitch, number of zero crossings, and the like.

[0041] In step 104, the time feature information of the first audio information is obtained.

[0042] In some embodiments, a voice duration, a speaking rate and a text length of the first voice information are obtained, and the voice duration, the speaking rate and the text length are input into a pre-trained Multi Layer Perceptron (MLP) model to obtain temporal feature information of the first voice information.

[0043] In some implementations, the text length is determined based on text information corresponding to the first audio information.

[0044] In step 105, it is determined whether the user has finished speech input based on the semantic feature information, the speech feature information, and the time feature information.

[0045] In some embodiments, in order to accurately determine whether a user has terminated speech input, semantic feature information, speech feature information and temporal feature information are input into a multimodal fusion model, and whether a user has terminated speech input is determined based on the output result of the multimodal fusion model.

[0046] In some embodiments, when the multimodal fusion model acquires semantic feature information, speech feature information, and temporal feature information, weights corresponding to each of the above-mentioned semantic feature information, speech feature information, and temporal feature information are acquired, and weighting processing is performed on the semantic feature information, speech feature information, and temporal feature information based on the weights, and the weighting results are input to the activation function of the multimodal fusion model so as to obtain an output result of the multimodal fusion model.

[0047] In some embodiments, if the output result of the multimodal fusion model indicates that the user has finished the speech input, the dialogue system determines that the user has finished the speech input, and then determines that the dialogue system can take over the speaking right. In some other embodiments, if the output result of the multimodal fusion model indicates that the user has not finished the speech input, the dialogue system determines that the user has not finished the speech input, and then the dialogue system continues listening and responds after it is determined that the user has finished the input.

[0048] According to the embodiment of the present application, the method for processing speech dialogue based on multimodal features, during dialogue with the user, combines text information of the speech information currently input by the user and historical context information of the first speech information to determine semantic feature information of the text information, determines speech feature information of the first speech information based on a speech fragment before a silent section in the first speech information, and obtains temporal feature information of the first speech information. Based on the semantic feature information, speech feature information, and temporal feature information, it is determined whether the user terminates speech input. Thus, during dialogue with the user, the system accurately determines whether the system can take over the speaking right by combining the semantic feature information, speech feature information, and temporal feature information.

[0049] Based on the above-mentioned embodiments, in order to enable the dialogue system to accurately respond to the voice information input by the user, in some embodiments, when it is determined that the user has ended the voice input, first reply voice information corresponding to the first voice information is determined and the first reply voice information is output.

[0050] In some other embodiments, when it is determined that the user has not finished the voice input, second voice information is obtained for the user to re-input, and corresponding second reply voice information is determined based on the first voice information and the second voice information, and the second reply voice information is output, so that the first voice information currently input by the user and the second voice information to be re-input are combined to provide an accurate reply.

[0051] In order to make the present application clear to those skilled in the art, the method of this embodiment is further described below in conjunction with FIG.

[0052] As shown in Fig. 2, in the process of determining whether or not the user should end the speech input, in this embodiment, features in three different dimensions, namely, speech feature information, semantic feature information, and time feature information, are used to determine whether or not the user should end the speech input. That is, in this embodiment, features in three different dimensions, namely, semantic feature information, speech feature information, and time feature information, are used to determine whether or not the dialogue system can take over the speaking right, that is, whether or not the dialogue system should output a corresponding reply.

[0053] The process of acquiring the semantic feature information, the speech feature information, and the time feature information will be described below.

[0054] 1) Acquisition of semantic feature information Among them, semantic feature information is obtained from text information after speech recognition, and the importance of semantic feature information in determining the speaker's right goes without saying, especially considering that "semantic completeness" is a fundamental element of speaker's right switching. This means that the system can usually take over the speaker's right after it is determined that the user has completely expressed his / her intention. Semantic completeness is generally determined according to the context. For example, let's look at the following simple example. [Table 1] In the example on the left, the user has given a clear reply with clear meaning, at which point the dialogue system can take over the speaker. In the example on the right, the user hesitates for a moment, but based on what the user is currently typing it can be determined that the user is not finished speaking, at which point the dialogue system can choose to continue listening and wait for the user to finish speaking.

[0055] In order to model such semantic completeness, the process of a user's dialogue interaction with a dialogue system can be summarized, and after obtaining the voice information currently input by the user, voice recognition can be performed on the voice information to obtain current text information, and historical context information of the currently input voice information and current text information can be encoded to obtain semantic feature information of the text information.

[0056] In some implementations, a self-attention based Transformer model is used to encode historical context information of the currently input speech information and text information corresponding to the current text information.

[0057] Among them, the self-attention mechanism in the Transformer model can be understood as being able to capture the long-distance dependencies between the historical context and the text information. The final semantic features are expressed as follows:

number

[0058] 2) Acquisition of voice feature information It is understandable that in the process of dialogue, certain voice features, such as changes in pitch and volume, are important clues for determining whether to switch speaking rights. Therefore, in the process of dialogue with a user, after obtaining the voice information currently input by the user, the voice (2s) before the user goes silent is cut out from the voice information, and then it is divided into small fragments of fixed length, that is, frame division (1 frame is 50ms). Next, for the voice of each frame, corresponding acoustic features such as power, volume, pitch, and zero crossing number are extracted and combined into a one-dimensional vector to obtain the feature representation f of the voice of each frame described below. i Finally, we obtain the sequence frame features F = [f1, f2, …, f n ] is fed into a multi-layer deep residual network (ResNet). The final speech features are expressed as follows:

number

[0059] 3) Time characteristics It is important to understand that the time features (e.g., duration, speech rate, text length, etc. of the speech fragment) also play a certain role in determining whether the speaker right is to be switched. For example, in a system-driven outbound dialogue scenario, the system can take over the speaker right in many cases after the user gives a short reply. In most cases, the system needs to listen because the user gives a long reply due to hesitation or other reasons. Therefore, in order for the dialogue system to accurately determine whether it can take over the speaker right, it obtains the speech time length, speech rate, and text length of the speech information currently input by the user during the dialogue exchange with the user, performs bucketing processing on the speech time length, speech rate, and text length, and inputs the processed speech time length, speech rate, and text length into the MLP model so as to obtain low-dimensional temporal feature information of the speech information.

[0060] Among them, the low-dimensional features extracted through the multi-layer sensing network are expressed as follows:

number

[0061] 4) Multimodal feature fusion In some implementations, after obtaining the feature representation of each modality, it is input into a multi-modal fusion model to fuse the three different features to make the speaker right decision.

number

[0062] Among them, the multimodal fusion model mentioned above can be constructed based on a feedforward neural network.

[0063] In one embodiment of the present application, a multimodal feature-based speech dialogue processing device is further provided, which corresponds to the multimodal feature-based speech dialogue processing method provided in the above-mentioned several embodiments. Since the multimodal feature-based speech dialogue processing device provided in the embodiments of the present application corresponds to the multimodal feature-based speech dialogue processing method provided in the above-mentioned several embodiments, the embodiment of the multimodal feature-based speech dialogue processing method is also applied to the multimodal feature-based speech dialogue processing device provided in the embodiments of the present application.

[0064] FIG. 3 is a diagram showing a configuration of a speech dialogue processing apparatus based on multimodal features according to one embodiment of the present application.

[0065] As shown in FIG. 3 , the multi-modal feature based spoken dialogue processing apparatus 300 includes a first acquisition module 301 , a first determination module 302 , a second determination module 303 , a second acquisition module 304 and a third determination module 305 .

[0066] The first acquisition module 301 is used for acquiring first voice information including a silent section currently input by a user during a dialogue exchange with the user.

[0067] The first determination module 302 is used for determining semantic feature information of the text information based on the text information of the first speech information and the historical context information of the first speech information.

[0068] The second determination module 303 is used for determining the audio feature information of the first audio information according to the audio fragment before the silent period in the first audio information.

[0069] The second acquiring module 304 is used for acquiring time feature information of the first audio information.

[0070] The third determination module 305 is used for determining whether the user terminates the voice input based on the semantic feature information, the speech feature information and the time feature information.

[0071] In one embodiment of the present application, the first determination module 302 is specifically used for performing speech recognition on the first speech information, so as to obtain text information of the first speech information, obtaining historical context information of the first speech information, and inputting the text information and the historical context information into a semantic display model, so as to obtain semantic feature information of the text information.

[0072] In one embodiment of the present application, the second determination module 303 is specifically used for obtaining a voice fragment of a first predetermined time length before a silent section in the first voice information, dividing the voice fragment according to a second predetermined time length to obtain a plurality of voice fragments, extracting acoustic feature information corresponding to each of the plurality of voice fragments, respectively combining the acoustic feature information corresponding to each of the plurality of voice fragments to obtain a combined feature corresponding to each of the plurality of voice fragments, and inputting the combined feature into a deep residual network to obtain the voice feature information of the first voice information.

[0073] In one embodiment of the present application, the second acquisition module 304 is specifically used for acquiring the speech duration, speaking rate and text length of the first speech information, and inputting the speech duration, speaking rate and text length into a pre-trained multi-layer perceptron MLP model so as to obtain temporal feature information of the first speech information.

[0074] In one embodiment of the present application, based on the embodiment of the device shown in FIG. 3, as shown in FIG. 4, the third determination module 305 includes a multi-modal processing unit 3051 and a determination unit 3052.

[0075] The multi-modal processing unit 3051 is used to input the semantic feature information, the speech feature information and the temporal feature information into the multi-modal fusion model.

[0076] The determining unit 3052 is used for determining whether the user terminates the voice input according to the output result of the multi-modal fusion model.

[0077] In one embodiment of the present application, as shown in FIG. 4, the multi-modal feature based spoken dialogue processing apparatus 300 further includes a first processing module 306 .

[0078] The first processing module 306 is used for determining first reply voice information corresponding to the first voice information and outputting the first reply voice information when it is determined that the user has finished the voice input.

[0079] In one embodiment of the present application, as shown in FIG. 4, the multi-modal feature based spoken dialogue processing apparatus 300 includes a third acquisition module 307 and a second processing module 308 .

[0080] The third acquiring module 307 is used for acquiring second voice information input by the user again when it is determined that the user has not finished the voice input.

[0081] The second processing module 308 is used for determining corresponding second reply voice information according to the first voice information and the second voice information, and outputting the second reply voice information.

[0082] In an embodiment of the present application, a multimodal feature-based speech dialogue processing device, during dialogue with a user, combines text information of the speech information currently input by the user and historical context information of the first speech information to determine semantic feature information of the text information, determines speech feature information of the first speech information based on a speech fragment before a silent section in the first speech information, obtains temporal feature information of the first speech information, and determines whether the user should end speech input based on the semantic feature information, the speech feature information and the temporal feature information. Thus, during dialogue with the user, the system accurately determines whether the system can take over the speaking right by combining the semantic feature information, the speech feature information and the temporal feature information.

[0083] According to an embodiment of the present application, the present application further provides an electronic device and a readable recording medium.

[0084] FIG. 5 is a diagram showing an electronic device according to an embodiment of the present invention.

[0085] As shown in FIG. 5, the electronic device includes a memory 501, a processor 502, and computer instructions stored in the memory 501 and executable on the processor 502.

[0086] When the processor 502 executes the instructions, it implements the multi-modal feature based speech interaction processing method provided in the above-mentioned embodiments.

[0087] Furthermore, the electronic device further includes a communication interface 503 for communication between the memory 501 and the processor 502 .

[0088] The memory 501 is used to store computer instructions that are executable on the processor 502 .

[0089] The memory 501 may include high speed RAM memory, and may also include non-volatile memory, for example at least one disk memory.

[0090] The processor 502 is used to implement the multi-modal feature-based speech dialogue processing method in the above-mentioned embodiment when executing the program.

[0091] When the memory 501, the processor 502, and the communication interface 503 are realized independently, the communication interface 503, the memory 501, and the processor 502 are connected to each other via a bus, and can communicate with each other. Examples of the bus include an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, and an Extended Industry Standard Architecture (EISA) bus. The bus is divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, FIG. 5 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0092] In some embodiments, when the memory 501, the processor 502 and the communication interface 503 are integrated and implemented on a single chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other via an internal interface.

[0093] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits arranged to implement embodiments of the present invention.

[0094] The present application further proposes a computer program product which, when an instruction processor therein is executed, realizes the multimodal feature based speech dialogue processing method in the embodiments of the present application.

[0095] In the description of this specification, a description referring to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in accordance with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, descriptions indicating the meaning of the above terms do not necessarily have to be for the same embodiment or example. In addition, the specific features, structures, materials, or characteristics described can be appropriately combined in any one or more embodiments or examples. In addition, if not mutually inconsistent, a person skilled in the art can combine different embodiments or examples described in this specification and features of different embodiments or examples.

[0096] Additionally, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying a relative importance or a number of the indicated technical features, thereby expressly or implying that the feature qualified by "first" or "second" includes at least one of said features. In the present description, the meaning of "plurality" means at least two, e.g., two, three, etc., unless otherwise clearly and specifically limited.

[0097] Any process or method description depicted in a flow chart or otherwise described herein will be understood to represent modules, fragments, or portions thereof, including one or more code executable instructions for implementing customized logical functions or process steps, and the scope of the preferred embodiments of the present application includes additional embodiments that perform functions in a substantially simultaneous manner or in reverse order based on such functions, not necessarily in the order shown or discussed, as would be understood by one of ordinary skill in the art to which the embodiments of the present application pertain.

[0098] The logic and / or steps depicted in the flow charts or otherwise described herein may, for example, be an executable sequential listing of instructions for implementing logical functions, and may be embodied in any computer-readable medium for use with or in combination with an instruction execution system, device, or apparatus (e.g., a computer-based system, a system including a processor, or a system that receives and executes instructions from another instruction execution system, device, or apparatus). As used herein, a "computer-readable medium" is any device capable of storing, storing, communicating, disseminating, or transmitting a program for use with or in combination with an instruction execution system, device, or apparatus. More specific examples (non-exhaustive list) of computer-readable media include electrical connections with one or more wires (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable-writeable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CD-ROM). A computer-readable medium may also be paper or other suitable medium upon which a program may be printed. For example, paper or other media may be optically scanned, and then edited, decrypted, or processed in any other suitable manner, if necessary, to obtain an electronic version of the program, which may then be stored in a computer's memory.

[0099] It should be understood that each part of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, some steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, when implemented in hardware as in the other embodiments, it can be implemented by one or a combination of the following techniques known in the art: discrete logic circuits having logic gate circuits that implement logic functions on data signals, application specific integrated circuits having appropriate combinatorial logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0100] As can be understood by those skilled in the art, all or part of the steps of the method of the above-mentioned embodiment can be completed by instructing relevant hardware by a program, which is stored in a computer-readable medium, and includes one or a combination of the steps of the method of the embodiment when the program is executed.

[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it may be stored in a computer-readable storage medium.

[0102] The above-mentioned storage medium may include a read-only memory, a magnetic disk, an optical disk, etc. Although the above-mentioned embodiments of the present application have been shown and described, it is to be understood that the above-mentioned embodiments are illustrative and should not be understood as limiting the present application, and a person skilled in the art may make changes, modifications, substitutions and variations to the above-mentioned embodiments within the scope of the present application.

Claims

1. acquiring first speech information including a silent section currently input by the user during a dialogue with the user; determining semantic feature information of the text information based on text information of the first speech information and historical context information of the first speech information; determining speech feature information of the first speech information based on a speech fragment preceding the silent interval in the first speech information; obtaining time feature information of the first audio information; determining whether the user has finished speech input based on the semantic feature information, the speech feature information, and the time feature information; A multimodal feature based speech dialogue processing method, comprising:

2. determining semantic feature information of the text information based on text information of the first speech information and historical context information of the first speech information, performing speech recognition on the first speech information to obtain text information of the first speech information; obtaining historical context information of the first audio information; inputting the text information and the historical context information into a semantic representation model to obtain semantic feature information of the text information; The method of claim 1 , comprising:

3. determining speech feature information of the first speech information based on a speech fragment preceding the silent interval in the first speech information, obtaining a speech fragment having a first predetermined time length before the silent section in the first speech information; dividing the speech segment according to a second predetermined time length to obtain a plurality of speech segments; extracting acoustic feature information corresponding to each of the plurality of speech fragments, and combining the acoustic feature information corresponding to each of the plurality of speech fragments, respectively, to obtain a combined feature corresponding to each of the plurality of speech fragments; inputting the combined features into a deep residual network to obtain speech feature information of the first speech information; The method of claim 1 , comprising:

4. The step of acquiring temporal feature information of the first audio information includes: Obtaining a voice time length, a speech rate, and a text length of the first voice information; inputting the speech time length, the speaking rate and the text length into a pre-trained multi-layer perceptron MLP model to obtain temporal feature information of the first speech information; The method of claim 1 , comprising:

5. the step of determining whether the user has finished speech input based on the semantic feature information, the speech feature information, and the time feature information, inputting the semantic feature information, the speech feature information and the temporal feature information into a multimodal fusion model; determining whether the user terminates speech input based on an output result of the multimodal fusion model; The method of claim 1 , comprising:

6. when it is determined that the user has finished the voice input, determining first reply voice information corresponding to the first voice information, and outputting the first reply voice information; The method of any one of claims 1 to 5, further comprising:

7. If it is determined that the user has not finished the voice input, acquiring second voice information to be input again by the user; determining corresponding second reply voice information based on the first voice information and the second voice information, and outputting the second reply voice information; The method of any one of claims 1 to 5, further comprising:

8. A first acquisition module that acquires first voice information including a silent section currently input by a user during a dialogue exchange with the user; a first determination module for determining semantic feature information of the text information based on text information of the first speech information and historical context information of the first speech information; a second determination module for determining speech feature information of the first speech information based on a speech fragment preceding the silent interval in the first speech information; a second acquisition module for acquiring time feature information of the first audio information; a third determination module for determining whether the user has finished speech input based on the semantic feature information, the speech feature information, and the time feature information; A multimodal feature based speech interaction processing apparatus comprising:

9. The first determination module specifically comprises: performing speech recognition on the first speech information to obtain text information of the first speech information; obtaining historical context information of the first audio information; inputting the text information and the historical context information into a semantic representation model to obtain semantic feature information of the text information; The device according to claim 8 .

10. The second determination module specifically comprises: obtaining a speech fragment having a first predetermined time length before the silent section in the first speech information; dividing the speech segment according to a second predetermined time length to obtain a plurality of speech segments; extracting acoustic feature information corresponding to each of the plurality of speech fragments, and combining the acoustic feature information corresponding to each of the plurality of speech fragments, respectively, to obtain a combined feature corresponding to each of the plurality of speech fragments; inputting the combined features into a deep residual network to obtain speech feature information of the first speech information; The device according to claim 8 .

11. The second acquisition module specifically includes: Obtaining a voice time length, a speech rate, and a text length of the first voice information; inputting the speech time length, the speaking rate and the text length into a pre-trained multi-layer perceptron MLP model to obtain temporal feature information of the first speech information; The device according to claim 8 .

12. The third determination module: a multimodal processing unit for inputting the semantic feature information, the speech feature information, and the temporal feature information into a multimodal fusion model; A decision unit for deciding whether the user finishes speech input according to an output result of the multimodal fusion model; The apparatus of claim 8 , comprising:

13. a first processing module, which is used for determining first reply voice information corresponding to the first voice information and outputting the first reply voice information when it is determined that the user terminates the voice input; The apparatus of any one of claims 8 to 12, further comprising:

14. a third acquisition module for acquiring second voice information input by the user again when it is determined that the user has not finished the voice input; a second processing module for determining corresponding second reply voice information based on the first voice information and the second voice information, and outputting the second reply voice information; The apparatus of any one of claims 8 to 12, further comprising:

15. A memory and a processor, The electronic device, wherein the memory stores computer instructions which, when executed by the processor, implement a multi-modal feature based speech dialogue processing method according to any one of claims 1 to 7.

16. A non-transitory computer-readable recording medium having stored thereon computer instructions for causing a computer to execute the method for multimodal feature-based speech dialogue processing according to any one of claims 1 to 7.

17. 1. A computer program product comprising: A computer program product which, when executed by an instruction processor of the computer program product, implements the method for multimodal feature based speech dialogue processing according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Dialogue system and program

    JP2021051172A

  • SYSTEM AND METHOD FOR MANAGING INTERACTIVE SESSIONS - Patent application

    JP2021503625A