Display device and voice rejection method

By integrating speech and semantic recognition technology in the display device and combining the mutual attention mechanism for speech rejection, the problem of low accuracy of speech rejection in multiple rounds of dialogue is solved, and the accuracy of rejection and interaction efficiency are improved.

CN118588083APending Publication Date: 2024-09-03HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410830912.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing display devices have low speech recognition accuracy during multiple rounds of dialogue, mainly because they fail to refer to the semantics of the speech content and speaker changes, and only make logical judgments through keyword and phrase matching.

Method used

By integrating the display, memory and sound collector in the display device, the controller is used for speech recognition and semantic recognition, generating speech feature vectors and semantic feature vectors, and splicing them into semantic acoustic vectors, and inputting the rejection model to calculate mutual attention Power score, combined with acoustic similarity and semantic matching to make recognition rejection judgments.

Benefits of technology

It improves the accuracy of voice recognition in multiple rounds of dialogue, reduces misrecognition, and enhances interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588083A
    Figure CN118588083A
Patent Text Reader

Abstract

The invention provides a display device and a voice rejection method, and the method responds to a voice instruction input by a user, and controls a display to display interactive dialogue content in a user dialogue interface. And obtaining a feedback dialogue audio input by the user based on the interactive dialogue content, and performing voice recognition to obtain a feedback dialogue text. And generating a voice feature vector according to the acoustic feature of the feedback dialogue audio, performing semantic recognition on the feedback dialogue text to obtain a semantic feature vector, and splicing the voice feature vector and the semantic feature vector to obtain a semantic feature vector. And inputting the semantic feature vectors in the front and back rounds of dialogues into a rejection model, and rejecting feedback of dialogue audio when a rejection score is smaller than a score threshold. According to the method, the speech feature vector and the semantic feature vector are spliced, semantic understanding and speech features are combined in the rejection process, the rejection score is output according to the semantic acoustic vector in the front and back dialogue rounds, and the rejection judgment accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display devices, and in particular to a display device and a voice rejection method. Background Art

[0002] Based on voice control technology, the display device can integrate voice applications, and users can send voice commands to the voice application to control the display device to perform corresponding interactive actions. In order to accurately obtain the user's intention, the voice application also creates multiple rounds of dialogue based on the voice command. The voice application can respond to the voice command in the multiple rounds of dialogue to generate dialogue content, and improve the accuracy of the generated control instructions based on the user's feedback based on the dialogue content.

[0003] In order to improve the accuracy of multi-round conversations, voice applications also have a rejection function. When the user inputs the corresponding voice content in a multi-round conversation, the display device will judge the logic of the voice content. If the voice content does not conform to the conversation logic of the multi-round conversation, the display device will reject the voice content. However, this rejection method only judges the logic of the voice content through keyword and phrase matching, and does not refer to the semantic content corresponding to the voice content and the changes in the speaker of the voice content, resulting in low accuracy of the display device in identifying rejection in multi-round conversations. Summary of the invention

[0004] The present application provides a display device and a voice rejection method to solve the problem of low rejection accuracy of the display device when conducting multiple rounds of conversations.

[0005] In a first aspect, some embodiments of the present application provide a display device, the display device comprising a display, a memory, a sound collector, and a controller, the display being configured to display a user dialogue interface, the memory being used to store a rejection model, the sound collector being configured to acquire audio data, and the controller being configured to:

[0006] In response to a voice command input by a user, controlling the display to display interactive dialogue content in the user dialogue interface;

[0007] Acquiring feedback dialogue audio input by the user based on the interactive dialogue content, and performing speech recognition on the feedback dialogue audio to obtain feedback dialogue text;

[0008] Generating a speech feature vector according to the acoustic features of the feedback dialogue audio, and performing semantic recognition on the feedback dialogue text to obtain a semantic feature vector;

[0009] Concatenating the speech feature vector and the semantic feature vector to obtain a semantic acoustic vector;

[0010] Inputting a first dialogue vector and a second dialogue vector into the rejection model, so that the rejection model outputs a rejection score according to a mutual attention mechanism; the first dialogue vector is a semantic acoustic vector of a current dialogue round, and the second dialogue vector is a semantic acoustic vector of a previous dialogue round;

[0011] If the rejection score is less than the score threshold, the display is controlled to display a rejection prompt message.

[0012] In some embodiments, the controller executes inputting the first conversation vector and the second conversation vector into the rejection model, and is configured to:

[0013] Calculating the acoustic similarity between the first dialogue vector and the second dialogue vector by using the rejection model, and calculating the semantic matching degree between the first dialogue vector and the second dialogue vector;

[0014] A rejection score is output according to the acoustic similarity and the semantic matching degree.

[0015] In some embodiments, the controller outputs a rejection score according to the acoustic similarity and the semantic matching degree, and is configured to:

[0016] When the acoustic similarity is greater than or equal to the similarity threshold, and the semantic matching degree is greater than or equal to the matching threshold, outputting a first rejection score;

[0017] When the acoustic similarity is less than a similarity threshold and the semantic matching degree is greater than or equal to a matching threshold, outputting a second rejection score, wherein the second rejection score is less than the first rejection score;

[0018] When the acoustic similarity is greater than or equal to the similarity threshold and the semantic matching degree is less than the matching threshold, a third rejection score is output, and the third rejection score is less than the second rejection score.

[0019] In some embodiments, the controller performs calculation of the acoustic similarity of the first dialogue vector and the second dialogue vector by using the rejection model, and is configured to:

[0020] Obtaining a first Mel-frequency cepstral coefficient according to the first dialogue vector, and obtaining a second Mel-frequency cepstral coefficient according to the second dialogue vector;

[0021] The cosine similarity of the first Mel-spectrum cepstral coefficient and the second Mel-spectrum cepstral coefficient is calculated to obtain the acoustic similarity.

[0022] In some embodiments, the controller performs calculation of the semantic matching degree between the first dialogue vector and the second dialogue vector, and is configured to:

[0023] Acquire a first semantic sequence of the first dialogue vector and a second semantic sequence of the second dialogue vector;

[0024] Acquire a semantic dependency relationship between the first semantic sequence and the second semantic sequence based on a mutual attention mechanism;

[0025] The semantic matching degree is obtained according to the semantic dependency relationship.

[0026] In some embodiments, the controller generates a speech feature vector according to the acoustic features of the feedback dialogue audio, and is configured to:

[0027] Extracting acoustic features from the feedback dialogue audio, wherein the acoustic features include an audio sequence arranged in an audio time sequence;

[0028] Calculating a weight value of the audio sequence based on the acoustic feature based on a self-attention mechanism;

[0029] A weighted sum is performed on the audio sequence based on the weight value to obtain a speech feature vector.

[0030] In some embodiments, the controller performs semantic recognition on the feedback dialogue text and is configured to:

[0031] Performing word segmentation processing on the feedback dialogue text to obtain a word segmentation result, wherein the word segmentation result includes at least two dialogue text segments;

[0032] Get the text type of the dialogue text segment;

[0033] Based on the label database, category labels are added to the dialogue text segments according to the text types, and encoding is performed on the dialogue text segments with the category labels added to obtain semantic feature vectors.

[0034] In some embodiments, the controller is further configured to:

[0035] Acquire sample data, the sample data including sample conversation audio and sample conversation text obtained by speech recognition of the sample conversation audio;

[0036] Generating a sample speech vector according to the acoustic features of the sample conversation audio, and performing semantic recognition on the sample conversation text to obtain a sample semantic vector;

[0037] Inputting the sample speech vector and the sample semantic vector into a model to be trained, so that the model to be trained outputs a loss value based on a loss function;

[0038] When the loss value is less than the loss threshold, outputting the rejected model parameters according to the current parameters of the model to be trained;

[0039] When the loss value is greater than or equal to the loss threshold, the model to be trained is iteratively trained according to the loss value.

[0040] In some embodiments, if the rejection score is greater than or equal to a score threshold, the controller is configured to:

[0041] Create the next conversation turn;

[0042] updating the interactive dialogue content in the next dialogue round according to the semantic information of the first dialogue vector;

[0043] The display is controlled to display updated interactive dialogue content on the user dialogue interface.

[0044] In a second aspect, some embodiments of the present application provide a method for rejecting speech recognition, the method being applied to the display device described in the first aspect, the method comprising:

[0045] In response to a voice command input by a user, controlling the display to display interactive dialogue content in the user dialogue interface;

[0046] Acquiring feedback dialogue audio input by the user based on the interactive dialogue content, and performing speech recognition on the feedback dialogue audio to obtain feedback dialogue text;

[0047] Generating a speech feature vector according to the acoustic features of the feedback dialogue audio, and performing semantic recognition on the feedback dialogue text to obtain a semantic feature vector;

[0048] Concatenating the speech feature vector and the semantic feature vector to obtain a semantic acoustic vector;

[0049] Inputting a first dialogue vector and a second dialogue vector into the rejection model, so that the rejection model outputs a rejection score according to a mutual attention mechanism; the first dialogue vector is a semantic acoustic vector of a current dialogue round, and the second dialogue vector is a semantic acoustic vector of a previous dialogue round;

[0050] If the rejection score is less than the score threshold, the display is controlled to display a rejection prompt message.

[0051] It can be seen from the above technical solutions that the present application provides a display device and a voice rejection method, which controls the display to display the interactive dialogue content in the user dialogue interface in response to the voice command input by the user. The feedback dialogue audio input by the user based on the interactive dialogue content is obtained and voice recognition is performed to obtain the feedback dialogue text. A speech feature vector is generated according to the acoustic features of the feedback dialogue audio, and semantic recognition is performed on the feedback dialogue text to obtain a semantic feature vector, and the speech feature vector and the semantic feature vector are spliced ​​to obtain a semantic feature vector. The semantic feature vectors in the previous and next rounds of dialogue are input into the rejection model, and the feedback dialogue audio is rejected when the rejection score is less than the score threshold. The present application combines semantic understanding and speech features in the rejection process by splicing the speech feature vector and the semantic feature vector, and outputs the rejection score according to the semantic acoustic vectors in the previous and next dialogue rounds, thereby improving the accuracy of judging rejection. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 A schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application;

[0054] Figure 2 A schematic diagram of the hardware configuration of a display device provided in some embodiments of the present application;

[0055] Figure 3 A schematic diagram of software configuration of a display device provided in some embodiments of the present application;

[0056] Figure 4 A schematic diagram of a display device performing multiple rounds of conversations provided in some embodiments of the present application;

[0057] Figure 5 A flowchart of a display device performing speech rejection recognition provided in some embodiments of the present application;

[0058] Figure 6 A flow chart of generating interactive dialogue content for a display device provided in some embodiments of the present application;

[0059] Figure 7 A flowchart of extracting semantic feature vectors for a display device provided in some embodiments of the present application;

[0060] Figure 8A flowchart of extracting speech feature vectors for a display device provided in some embodiments of the present application;

[0061] Fig. 9 A flowchart of a display device ending multiple rounds of conversations provided in some embodiments of the present application;

[0062] Fig.10 A flowchart for calculating the semantic matching degree between two rounds of dialogue in some embodiments of the present application;

[0063] Fig.11 An interface display diagram for creating the next conversation round for a display device in some embodiments of the present application;

[0064] Fig.12 Flowchart for training a rejection model for some embodiments of the present application. DETAILED DESCRIPTION

[0065] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.

[0066] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0067] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0068] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0069] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0070] In the embodiment of the present application, the display device 200 generally refers to a device with image display and data processing capabilities. For example, the display device 200 includes but is not limited to a smart TV, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.

[0071] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , a user can operate the display device 200 through touch operation, the mobile terminal 300 and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that can be recognized and responded to by the display device 200. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.

[0072] The mobile terminal 300 can be used as a control device for performing human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device for establishing a communication connection with the display device 200 and performing data interaction. In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to achieve a synchronous display function.

[0073] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application program for controlling the display device 200 .

[0074] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0075] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.

[0076] Figure 2 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.

[0077] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0078] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0079] In some embodiments, the display 260 includes a display function component for presenting a picture, and a driving component for driving an image display. The display 260 is used to receive an image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, and components of a menu control interface and a user control UI interface.

[0080] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. For example, when the display device 200 supports wireless network communication, the display device 200 may be provided with a communication device 220 including a WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including a Bluetooth function.

[0081] The communication device 220 can enable the display device 200 to communicate with the external device or server 400 by wireless or wired connection. Among them, the wired connection can connect the display device 200 with the external device through components such as data cables and interfaces. The wireless connection can connect the display device 200 with the external device through wireless signals or wireless networks. The display device 200 can establish a connection relationship with the external device directly, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.

[0082] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first interface to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.

[0083] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0084] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).

[0085] In some embodiments, the audio output device 270 may be a local speaker of the display device 200, or may be an external audio output device of the display device 200. In particular, for the external audio output device of the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device may be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.

[0086] In some embodiments, the user input interface 280 may be used to receive instructions from a user.

[0087] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can control the display device to provide a user interface, for example, the operating system can directly control the display device to provide a user interface, or can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.

[0088] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.

[0089] The operating system can be divided into different modules or layers according to the functions implemented, such as Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the system library layer and the kernel layer.

[0090] In some embodiments, the application layer is used to provide services and interfaces for applications so that the display device 200 can run applications and interact with users based on the applications. At least one application can be run in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. that come with the operating system; they can also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.

[0091] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.

[0092] like Figure 3 As shown, in the embodiment of the present application, the application framework layer includes a view system, managers, content providers, etc., wherein the view system can design and implement the interface and interaction of the application, and the view system includes lists, grids, text boxes, buttons, etc. The manager includes at least one of the following modules: an activity manager for interacting with all activities running in the system; a location manager for providing system services or applications with access to system location services; a package manager for retrieving various information related to the application package currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0093] In some embodiments, the activity manager is used to manage the life cycle of each application and the usual navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes, for example, reducing the display window, shaking the display, distorting the display, etc.

[0094] In some embodiments, the system runtime layer can provide support for the framework layer. When the framework layer is used, the operating system will run the instruction library contained in the system runtime layer, such as the C / C++ instruction library, to implement the functions to be implemented by the framework layer.

[0095] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. Figure 3 As shown, the kernel layer may be configured with hardware drivers, and the drivers included in the kernel layer may be at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0096] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.

[0097] In some embodiments, the display device 200 may also have a voice interaction function, and the user may send a voice command to the display device 200. The display device 200 may perform voice recognition on the voice command to obtain the command text, and then obtain the semantic understanding result of the command text through natural language processing technology to generate a control command according to the semantic understanding result. The display device 200 can recognize the obtained control command accordingly and perform the corresponding interactive action.

[0098] In order to facilitate the user to use the voice interaction function of the display device 200, the display device 200 can also integrate a voice application, which can quickly recognize the voice commands sent by the user to improve the interaction efficiency. The display device 200 can integrate a voice application on the display device 200 through a software development kit (SDK). The voice application is an application that implements the voice interaction function through voice recognition and natural language processing technology. When the user sends a voice command to the display device 200, the voice application can recognize the voice command, thereby controlling the display device 200 to perform the corresponding functional operation, such as searching for programs, playing music, querying information, etc.

[0099] In some embodiments, the voice application can also create a dialogue process based on the user's voice command. In the dialogue process, the voice application can simulate human dialogue to generate dialogue interaction content based on the semantic understanding results of the voice command, so as to achieve natural and coherent human-computer interaction and improve the accuracy of obtaining user needs. Figure 4 As shown, the user can send a voice command "Please check the weather" to the display device 200, and the voice assistant can generate a dialogue interaction content "Please confirm to query today's weather or the weather in the next few days" based on the content of the voice command, thereby creating a dialogue process. In the dialogue process, the user can generate feedback content based on the dialogue interaction content to choose to query today's weather or the weather in the next few days.

[0100] The voice application can execute the conversation content between the voice application and the user through the full-duplex multi-round dialogue interaction technology. The full-duplex multi-round dialogue interaction technology can enable bidirectional transmission of dialogue data, that is, the interactive user end and the voice application can send and receive data at the same time, thereby performing multiple interactive rounds of human-computer dialogue, wherein each dialogue round includes the dialogue input of the user end and the dialogue output of the voice application. In the process of conducting multiple rounds of dialogue, when the dialogue input of the user does not match the logic of the dialogue output of the current dialogue round, the voice application will recognize the wrong semantic understanding result, thereby generating an erroneous dialogue output. These logically inconsistent dialogue contents and erroneous dialogue outputs are all invalid dialogue contents. Too many invalid dialogues will affect the interaction efficiency of the voice application. In order to improve the accuracy of multiple rounds of dialogue, the voice application also has a rejection function. When the user inputs the corresponding voice content in the multiple rounds of dialogue, the display device 200 will judge the logic of the voice content. If the voice content does not conform to the dialogue logic of the multiple rounds of dialogue, the display device 200 will reject the voice content, reducing the probability of the voice application making predictions based on the erroneous dialogue input.

[0101] However, the rejection function only judges the logic of the voice content through keyword and phrase matching, that is, it extracts based on the keywords of the dialogue interaction content or the keywords of the previous rounds. If the feedback content does not contain the corresponding keywords, the voice application determines that the feedback content is an invalid dialogue. This rejection function does not refer to the semantic content corresponding to the voice content and the changes in the speaker of the voice content when making a rejection judgment. When different speakers input words that contain keywords but do not conform to the logic of the dialogue, the display device 200 cannot accurately perform rejection based on the keywords, resulting in the display device 200 having low accuracy in identifying rejection during multiple rounds of dialogue.

[0102] In order to solve the problem of low rejection accuracy of the display device 200 during multi-round dialogue, some embodiments of the present application provide a display device 200, which includes a display 260, a memory, a sound collector and a controller 250, wherein the display 260 is used to display a user dialogue interface. The memory is used to store a rejection model, the sound collector is used to obtain audio data, and the controller 250 is configured to execute a voice rejection method. Figure 5 A flow chart of a display device performing voice rejection according to an embodiment of the present application. Figure 5 , the method comprises the following contents:

[0103] S100: In response to a voice command input by a user, controlling the display to display interactive dialogue content in the user dialogue interface.

[0104] The voice command may be a control command for controlling the display device 200 to perform the interactive action specified by the voice command. Some voice commands may trigger multiple rounds of dialogue, so the voice commands may be classified into dialogue commands and non-dialogue commands. Among them, the dialogue command may be a voice command for triggering at least two feedback options. For example, the display device 200 includes a first player and a second player. When the user inputs a voice command for playing media, the display device 200 generates interactive dialogue content according to the feedback options, i.e., the first player and the second player. For example, "Please select the first player to play the media or the second player to play the media". The interactive dialogue content is the dialogue output of the display device 200 in multiple rounds of dialogue. After generating the interactive dialogue content, the display device 200 may control the display 260 to display the interactive dialogue content in the user dialogue interface to guide the user to interact in multiple rounds of dialogue based on the interactive dialogue content.

[0105] The dialogue instruction can also be a question-and-answer instruction. For example, the question-and-answer instruction can be "Any good movies you recommend?" The display device 200 can obtain the semantic understanding result of the question-and-answer instruction, and control the display 260 to display the recommended movies on the user dialogue interface according to the semantic understanding result. Alternatively, the display device 200 can also generate interactive dialogue content for selecting movie categories according to the semantic understanding result, so as to determine the user's movie-watching needs by increasing the number of dialogue rounds.

[0106] The display device 200 can generate a user dialogue interface in response to a voice command and display the user dialogue interface in the user interface. The user dialogue interface can be displayed on the upper layer of the user interface in a variety of display forms, such as a pop-up window display, a floating window display, a full-screen overlay display, or a split-screen display, etc., to prompt the user to respond to the dialogue.

[0107] In some embodiments, the conversation interaction content can be in multiple formats, such as text format, audio format, etc. The display device 200 can control the display 260 to display the conversation interaction content on the user conversation interface, and can also synchronously output the conversation interaction content through the audio output device 270 while displaying the conversation interaction content.

[0108] S200: Acquire feedback dialogue audio input by the user based on the interactive dialogue content, and perform speech recognition on the feedback dialogue audio to obtain feedback dialogue text.

[0109] When the interactive dialogue content is displayed in the user dialogue interface, the user can input feedback dialogue audio based on the interactive dialogue content. The feedback dialogue audio is the dialogue input of multiple rounds of dialogue. The display device 200 can adjust the generated interactive dialogue content according to the feedback dialogue audio. Figure 6 As shown, when the user says "play comedy movies" based on the movie category displayed by the display device 200 to feedback the dialogue audio, the display device 200 can generate interactive dialogue content based on "comedy movies", such as "10 comedy movies have been found for you". When the user says "play action movies", the display device 200 can generate interactive dialogue content for searching for "action movies".

[0110] After the user inputs the feedback conversation audio, in order to ensure the logical continuity between multiple rounds of conversations, the display device 200 needs to perform a rejection detection on the feedback conversation audio to reduce the possibility that the display device 200 cannot understand the feedback conversation audio and outputs erroneous interactive conversation content.

[0111] During the rejection detection process, the display device 200 can determine the logic of the feedback dialogue audio in the multi-round dialogue by obtaining the semantic information of the feedback dialogue audio. In order to facilitate the acquisition of the semantic information of the feedback dialogue audio, the display device 200 can perform speech recognition on the feedback dialogue audio to obtain the feedback dialogue text. In this embodiment, the memory of the display device 200 can also store an ASR (Automatic Speech Recognition) model, and the ASR model can feedback the predicted text sequence of the dialogue audio, thereby outputting the feedback dialogue text.

[0112] S300: Generate a speech feature vector according to the acoustic features of the feedback dialogue audio, and perform semantic recognition on the feedback dialogue text to obtain a semantic feature vector.

[0113] To improve the accuracy of rejection detection, the display device 200 can perform rejection judgment on the feedback dialogue audio in combination with the semantic information of the feedback dialogue text. To obtain semantic information, the display device 200 can perform semantic recognition on the feedback dialogue text through a text semantic model to obtain a semantic feature vector.

[0114] In some embodiments, Figure 7As shown, the controller 250 can perform semantic recognition on the feedback dialogue text through the text semantic model. In this process, the text semantic model can perform word segmentation processing on the feedback dialogue text to obtain a word segmentation result, wherein the word segmentation result includes at least two dialogue text segments. For example, the feedback dialogue text is "I want to watch a movie starring actor A". The text semantic model can obtain two dialogue text segments "A actor" and "movie" based on the feedback dialogue text word segmentation, and these two dialogue text segments together form the word segmentation result. When the feedback dialogue text is "I want to watch a movie starring character A and character B", the text semantic model can obtain three dialogue text segments "A character", "B character" and "movie" through word segmentation. The text semantic model can automatically identify the text type of the dialogue text segment. For example, for the dialogue text segment of "character A" or "character B", the text semantic model can identify it as a character type, and for the dialogue text segment of "movie", the text semantic model can identify it as a media asset type.

[0115] After obtaining the text type of the dialogue text segment, the controller 250 can search for the category tag corresponding to the dialogue text segment based on the tag database, and add the category tag to the dialogue text segment according to the text type. The tag database may include multiple category tags, and when the display device 200 is connected to the server 400, the type and quantity of the category tags can be updated according to the media information and data updated by the server 400 to maintain the tag database. The category tag is used to characterize the type of the dialogue text segment. For example, an actor category tag can be added for "A character", and a media category tag can be added for "movie". After adding the category tag to the dialogue text segment, the controller 250 can encode the dialogue text segment with the added category tag through an encoder to obtain a semantic feature vector.

[0116] The display device 200 can calculate the correlation between the semantic information and the semantic information of the interactive dialogue content in the previous round of dialogue, and judge the dialogue logic of the feedback dialogue text according to the correlation. In order to accurately judge the dialogue logic, the display device 200 can set a correlation threshold. When the correlation is greater than or equal to the correlation threshold, the display device 200 can judge that the feedback dialogue text conforms to the dialogue logic, and generate the interactive dialogue content of the current round of dialogue based on the feedback dialogue text.

[0117] In the scenario of voice interaction dialogue, there may be only one user interacting with the display device 200, or there may be multiple users interacting with the display device 200. When multiple users and the display device 200 are in the same area, the display device 200 can obtain audio data from each user through the sound collector. During the process of multiple rounds of dialogue between one user and the display device 200, the display device 200 may mistakenly judge the audio spoken by other users as feedback dialogue audio, resulting in deviations in the logic of multiple rounds of dialogue.

[0118] Therefore, the display device 200 can also perform rejection detection based on the semantic feature vector and the voice feature. To this end, the display device 200 can also extract the acoustic features of the feedback dialogue audio. In order to improve the accuracy of acoustic feature extraction, the display device 200 can also perform preprocessing on the feedback dialogue audio to filter out noise in the feedback dialogue audio to reduce invalid acoustic features.

[0119] like Figure 8 As shown, in some embodiments, the display device 200 may also extract a speech feature vector of the feedback dialogue audio through a speech acoustic model. In this process, the speech acoustic model may extract acoustic features from the feedback dialogue audio. The acoustic features may include short-time energy, short-time zero-crossing rate, Mel frequency cepstrum coefficients, etc. In order to focus on the timing information of the feedback dialogue audio, the acoustic features are arranged in the form of an audio sequence according to the audio timing, thereby enhancing the timing of the acoustic features.

[0120] After obtaining the acoustic features, the speech acoustic model can calculate the weight values ​​of the audio sequence based on the acoustic features based on the self-attention mechanism, and obtain the embedding vector sequence by embedding the acoustic feature sequence into a high-dimensional space. Then, the dot product between the embedded vectors is calculated to measure the similarity or correlation between different positions in the sequence, and the weight values ​​are obtained through the softmax function. These weight values ​​can reflect the importance of different acoustic features in the time series. After calculating the weight values, the speech acoustic model can perform weighted summation on the audio sequence based on the weight values ​​to obtain the speech feature vector.

[0121] S400: concatenating the speech feature vector and the semantic feature vector to obtain a semantic acoustic vector.

[0122] In the process of splicing vectors, the display device 200 can obtain the audio time sequence of the feedback dialogue audio, which is the time sequence of the user speaking the feedback dialogue audio. The display device 200 can splice the speech feature vector and the semantic feature vector according to the audio time sequence to obtain a semantic acoustic vector. The semantic acoustic vector includes the acoustic features of the feedback dialogue audio and also includes the semantic information of the feedback dialogue text.

[0123] S500: Inputting the first dialogue vector and the second dialogue vector into the rejection model, so that the rejection model outputs a rejection score according to the mutual attention mechanism.

[0124] The first dialogue vector is the semantic acoustic vector of the current dialogue round, and the second dialogue vector is the semantic acoustic vector of the previous dialogue round. The user dialogue interface may include multiple dialogue rounds in one dialogue, wherein the first dialogue round is the voice command input by the user, and the interactive dialogue content generated by the display device 200 based on the voice command. After the first dialogue round, the feedback dialogue audio input by the user and the corresponding interactive dialogue content may be one dialogue round.

[0125] In a conversation, Fig. 9 As shown, the display device 200 can start the conversation timing after displaying the interactive conversation content in any round of conversation on the user conversation interface, obtain the timing duration, and detect the feedback conversation audio during the timing process. If the feedback conversation audio is not detected when the timing duration reaches the preset duration threshold, the conversation is terminated. If the feedback conversation audio is detected when the timing duration reaches the preset duration threshold, new interactive conversation content is generated according to the feedback conversation audio, and the timing duration is reset.

[0126] When the display device 200 obtains the first dialogue vector, it can extract the second dialogue vector according to the previous dialogue round of the current round. Before inputting the first dialogue vector and the second dialogue vector into the rejection model, the display device 200 can also encode the first dialogue vector and the second dialogue vector through an encoder to improve the processing speed of the rejection model for the first dialogue vector and the second dialogue vector.

[0127] After the encoded first dialogue vector and the encoded second dialogue vector are input into the rejection model, the rejection model will use the second dialogue vector as the query matrix and the first dialogue vector as the key matrix and the query matrix based on the mutual attention mechanism to calculate the mutual attention mechanism. During the calculation process, the dialogue information between the previous and next rounds can be combined to output a rejection score based on the correlation between the dialogue information.

[0128] In some embodiments, since both the first dialogue vector and the second dialogue vector include a speech feature vector and a semantic feature vector, the rejection model can calculate the correlation between the speech features and the correlation between the semantic features, respectively. To this end, after the first dialogue vector and the second dialogue vector are input into the rejection model, the display device 200 can calculate the acoustic similarity of the first dialogue vector and the second dialogue vector through the rejection model.

[0129] In the process of calculating the acoustic similarity, the rejection model may align the dimensions of the first dialogue vector and the second dialogue vector to form a sequence pair between the dialogue vectors, the sequence pair including a first dialogue sequence of the first dialogue vector and a second dialogue sequence of the second dialogue vector at a corresponding position of the first dialogue sequence. The rejection model may calculate the similarity between the first dialogue sequence and the second dialogue sequence, and perform a weighted summation on the sequence pair to obtain the acoustic similarity between the first dialogue vector and the second dialogue vector.

[0130] In the process of calculating the acoustic similarity between the first dialogue vector and the second dialogue vector, the controller 250 is configured to calculate the acoustic similarity based on the Mel-frequency cepstral coefficients of the dialogue vectors. In the present embodiment, since the first dialogue vector and the second dialogue vector are semantic acoustic vectors of different dialogue turns, the controller 250 needs to extract the first Mel-frequency cepstral coefficient of the first dialogue vector and the second Mel-frequency cepstral coefficient of the second dialogue vector, respectively.

[0131] After obtaining the first mel-spectrum cepstral coefficient and the second mel-spectrum cepstral coefficient, the controller 250 may compare the similarity between the sequences of the first dialogue vector and the second dialogue vector by cosine similarity. To this end, the controller 250 may calculate the cosine similarity of the first mel-spectrum cepstral coefficient and the second mel-spectrum cepstral coefficient, and set a first range value of the cosine similarity and a second range value greater than the first range value.

[0132] The first range value and the second range value form a judgment interval of cosine similarity, and the cosine similarity is in direct proportion to the acoustic similarity, that is, the higher the cosine similarity, the higher the acoustic similarity. The controller 250 can output the corresponding acoustic similarity according to the position of the cosine similarity in the judgment interval. For example, the value of cosine similarity is between [-1,1], where -1 is the first range value, when the cosine similarity is the first range value, the controller 250 outputs the first acoustic similarity, 1 is the second range value, when the cosine similarity is the second range value, the controller 250 outputs the second acoustic similarity, where the first acoustic similarity is less than the second acoustic similarity.

[0133] After aligning the dimensions, the rejection model can also calculate the semantic matching degree of the first dialogue sequence and the second dialogue sequence based on the sequence pair to obtain the semantic matching degree of the first dialogue vector and the second dialogue vector, thereby outputting a rejection score according to the acoustic similarity and the semantic matching degree.

[0134] In the process of calculating the semantic matching degree, the controller 250 may convert the first dialogue vector and the second dialogue vector into first text data and second text data respectively, and generate a first semantic sequence and a second semantic sequence respectively according to the first text data and the second text data.

[0135] In the process of generating the first semantic sequence, the controller 250 can perform text preprocessing operations on the first text data, such as word segmentation, stop word removal, etc., and then combine the first word segmentation data after the preprocessing operation according to the text order in the first text data, and encode it through a recurrent neural network or a self-attention mechanism to obtain a first semantic sequence. Since the process of generating a semantic sequence according to text data is the same, this embodiment only uses the generation of a first semantic sequence according to the first text data as an exemplary description, and the controller 250 can also refer to the above steps to generate a second semantic sequence according to the second text data.

[0136] After obtaining the first semantic sequence and the second semantic sequence, since the first semantic sequence comes from the first dialogue vector and the second semantic sequence comes from the second dialogue vector, if Fig.10 As shown, the controller 250 can obtain the semantic dependency between the first semantic sequence and the second semantic sequence based on the mutual attention mechanism. In this process, the controller 250 can create a first attention matrix and a second attention matrix, wherein the first attention matrix is ​​used to measure the degree of attention of the first semantic sequence of the first dialogue vector to the second semantic sequence of the second dialogue vector, and the second attention matrix is ​​used to measure the degree of attention of the second semantic sequence of the second dialogue vector to the first semantic sequence of the first dialogue vector. Thus, the semantic dependency between the first semantic sequence and the second semantic sequence is obtained according to the first attention matrix and the second attention matrix. For example, for the first word in the first dialogue vector, the word or words with the largest correlation based on the semantic dependency in the second dialogue vector can be queried, and these words form the semantic dependency of the first word in the second dialogue vector. The controller 250 can calculate the semantic matching degree between the first dialogue sequence and the second dialogue sequence according to the semantic dependency by means of cosine similarity, Euclidean distance, etc.

[0137] S600: If the rejection score is less than the score threshold, control the display to display a rejection prompt message.

[0138] The display device 200 can set a score threshold to reject the feedback conversation audio. When the rejection score is less than the score threshold, the display device 200 determines that the feedback conversation audio is invalid audio, rejects the feedback conversation text corresponding to the feedback conversation audio, and generates and controls the display 260 to display a rejection prompt message to remind the user that the current feedback conversation audio is rejected.

[0139] If the rejection score is greater than or equal to the score threshold, the display device 200 does not perform a rejection operation on the feedback dialogue audio, and can generate new interactive dialogue content based on the semantic information of the first dialogue vector. Fig.11As shown, the display device 200 can also create the next dialogue round based on the user dialogue interface to provide a display position for the new interactive dialogue content. In the process of creating the next dialogue round, the display device 200 can generate interactive dialogue content according to the semantic information of the first dialogue vector to update the interactive dialogue content in the current user dialogue interface, and after creating the next dialogue round, control the display 260 to display the new interactive dialogue content at the next dialogue round position of the user dialogue interface.

[0140] In the above embodiment, in order for the rejection model to obtain the above technical effect, a specific training process needs to be performed on the rejection model. To this end, the display device 200 can also obtain sample data input by the user. The sample data is used to train the rejection model, including sample conversation audio and sample conversation text obtained by speech recognition sample conversation audio.

[0141] Since in the aforementioned embodiment, the display device 200 can extract the semantic feature vector of the feedback dialogue text through the text semantic model, and can extract the speech feature vector of the feedback dialogue audio through the speech acoustic model. Therefore, during the training process, the display device 200 can also jointly train the rejection model, the text semantic model and the speech acoustic model at the same time, wherein the sample dialogue text can be used in the training process of the text semantic model, and the text semantic model performs semantic recognition on the sample dialogue text to obtain a sample semantic vector. The sample dialogue audio can be used in the training process of the speech acoustic model, and the speech acoustic model generates a sample speech vector according to the acoustic features of the sample dialogue audio.

[0142] like Fig.12 As shown, after obtaining the sample semantic vector and the sample speech vector, the sample speech vector and the sample speech vector can be concatenated, and the obtained sample concatenated vector can be encoded and input into the model to be trained. The model to be trained is a rejection model that has not been trained to convergence and has the same neural network structure as the rejection model. The model to be trained can output a loss value based on the rejection score of the model to be trained and the rejection score of the true label based on the loss function to evaluate the current performance of the model to be trained.

[0143] The rejection model can be a binary classification model, and the output of the binary classification model is a vector Z = [z1, z2...zi], where zi represents the model's prediction score for the i-th category. The softmax function converts Z into a probability distribution P = [p1, p2...pi], where pi represents the model's prediction probability for the i-th category. The calculation formula is as follows:

[0144] pi=e^zi / Σ_j e^zj;

[0145] Wherein, Σ_j e^zj represents the sum of the predicted scores of all categories j after exponential operation. The display device 200 may define a true label vector Y=[y1, y2...yi], where yi represents the true label of the ith category, and the true label may be a one-hot vector.

[0146] In some embodiments, the model to be trained can use a cross entropy loss function to calculate the difference between the probability distribution P and the true label Y, thereby outputting a loss value. The cross entropy loss function is shown in the following formula:

[0147] L = -Σ_i yi*log_pi;

[0148] The display device 200 can set a loss threshold to determine the convergence of the model to be trained. When the loss value is less than the loss threshold, it means that the training of the model to be trained has converged, and the model parameters to be rejected can be output according to the current parameters of the model to be trained. When the loss value is greater than or equal to the loss threshold, it means that the model to be trained can also reduce the loss value through iterative training. Therefore, the display device 200 can iteratively train the model to be trained according to the loss value and update the current parameters of the model to be trained.

[0149] Some embodiments of the present application also provide a voice rejection method, which is applied to the display device 200 recorded in the above embodiment. The display device 200 should at least include a display 260, a memory, a sound collector and a controller 250. The method includes:

[0150] S100: In response to a voice command input by a user, controlling the display to display interactive dialogue content in the user dialogue interface;

[0151] S200: Acquire feedback dialogue audio input by the user based on the interactive dialogue content, and perform speech recognition on the feedback dialogue audio to obtain feedback dialogue text.

[0152] S300: Generate a speech feature vector according to the acoustic features of the feedback dialogue audio, and perform semantic recognition on the feedback dialogue text to obtain a semantic feature vector.

[0153] S400: concatenating the speech feature vector and the semantic feature vector to obtain a semantic acoustic vector.

[0154] S500: Inputting the first dialogue vector and the second dialogue vector into the rejection model, so that the rejection model outputs a rejection score according to the mutual attention mechanism.

[0155] The first dialogue vector is a semantic acoustic vector of a current dialogue round, and the second dialogue vector is a semantic acoustic vector of a previous dialogue round.

[0156] S600: If the rejection score is less than the score threshold, control the display to display a rejection prompt message.

[0157] It can be seen from the above technical solutions that the present application provides a display device and a voice rejection method, which controls the display to display the interactive dialogue content in the user dialogue interface in response to the voice command input by the user. The feedback dialogue audio input by the user based on the interactive dialogue content is obtained and voice recognition is performed to obtain the feedback dialogue text. A speech feature vector is generated according to the acoustic features of the feedback dialogue audio, and semantic recognition is performed on the feedback dialogue text to obtain a semantic feature vector, and the speech feature vector and the semantic feature vector are spliced ​​to obtain a semantic feature vector. The semantic feature vectors in the previous and next rounds of dialogue are input into the rejection model, and the feedback dialogue audio is rejected when the rejection score is less than the score threshold. The present application combines semantic understanding and speech features in the rejection process by splicing the speech feature vector and the semantic feature vector, and outputs the rejection score according to the semantic acoustic vectors in the previous and next dialogue rounds, thereby improving the accuracy of judging rejection.

[0158] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.

[0159] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.

[0160] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0161] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that: include: a display configured to display a user dialogue interface; A memory configured to store a recognition rejection model; A sound collector is configured to obtain audio data; The controller is configured as: In response to a voice command input by a user, controlling the display to display interactive dialogue content in the user dialogue interface; Acquiring feedback dialogue audio input by the user based on the interactive dialogue content, and performing speech recognition on the feedback dialogue audio to obtain feedback dialogue text; Generating a speech feature vector according to the acoustic features of the feedback dialogue audio, and performing semantic recognition on the feedback dialogue text to obtain a semantic feature vector; Concatenating the speech feature vector and the semantic feature vector to obtain a semantic acoustic vector; Inputting the first dialogue vector and the second dialogue vector into the rejection model, so that the rejection model outputs a rejection score according to the mutual attention mechanism; The first dialogue vector is a semantic acoustic vector of a current dialogue round, and the second dialogue vector is a semantic acoustic vector of a previous dialogue round; If the rejection score is less than the score threshold, the display is controlled to display a rejection prompt message.

2. The display device according to claim 1, characterized in that The controller executes inputting the first dialogue vector and the second dialogue vector into the rejection model, and is configured to: Calculating the acoustic similarity between the first dialogue vector and the second dialogue vector by using the rejection model, and calculating the semantic matching degree between the first dialogue vector and the second dialogue vector; A rejection score is output according to the acoustic similarity and the semantic matching degree.

3. The display device according to claim 2, characterized in that The controller outputs a rejection score according to the acoustic similarity and the semantic matching degree, and is configured to: When the acoustic similarity is greater than or equal to the similarity threshold, and the semantic matching degree is greater than or equal to the matching threshold, outputting a first rejection score; When the acoustic similarity is less than a similarity threshold and the semantic matching degree is greater than or equal to a matching threshold, outputting a second rejection score, wherein the second rejection score is less than the first rejection score; When the acoustic similarity is greater than or equal to the similarity threshold and the semantic matching degree is less than the matching threshold, a third rejection score is output, and the third rejection score is less than the second rejection score.

4. The display device according to claim 2, characterized in that The controller calculates the acoustic similarity of the first dialogue vector and the second dialogue vector by using the rejection model, and is configured to: Obtaining a first Mel-frequency cepstral coefficient according to the first dialogue vector, and obtaining a second Mel-frequency cepstral coefficient according to the second dialogue vector; The cosine similarity of the first Mel-spectrum cepstral coefficient and the second Mel-spectrum cepstral coefficient is calculated to obtain the acoustic similarity.

5. The display device according to claim 2, characterized in that The controller calculates the semantic matching degree between the first dialogue vector and the second dialogue vector, and is configured to: Acquire a first semantic sequence of the first dialogue vector and a second semantic sequence of the second dialogue vector; Acquire a semantic dependency relationship between the first semantic sequence and the second semantic sequence based on a mutual attention mechanism; The semantic matching degree is obtained according to the semantic dependency relationship.

6. The display device according to claim 1, characterized in that The controller generates a speech feature vector according to the acoustic features of the feedback dialogue audio, and is configured to: Extracting acoustic features from the feedback dialogue audio, wherein the acoustic features include an audio sequence arranged in an audio time sequence; Calculating a weight value of the audio sequence based on the acoustic feature based on a self-attention mechanism; A weighted sum is performed on the audio sequence based on the weight value to obtain a speech feature vector.

7. The display device according to claim 1, characterized in that The controller performs semantic recognition on the feedback dialogue text and is configured to: Performing word segmentation processing on the feedback dialogue text to obtain a word segmentation result, wherein the word segmentation result includes at least two dialogue text segments; Get the text type of the dialogue text segment; Based on the label database, category labels are added to the dialogue text segments according to the text types, and encoding is performed on the dialogue text segments with the category labels added to obtain semantic feature vectors.

8. The display device according to claim 1, characterized in that The controller is also configured to: Acquire sample data, the sample data including sample conversation audio and sample conversation text obtained by speech recognition of the sample conversation audio; Generating a sample speech vector according to the acoustic features of the sample conversation audio, and performing semantic recognition on the sample conversation text to obtain a sample semantic vector; Inputting the sample speech vector and the sample semantic vector into a model to be trained, so that the model to be trained outputs a loss value based on a loss function; When the loss value is less than the loss threshold, outputting the rejected model parameters according to the current parameters of the model to be trained; When the loss value is greater than or equal to the loss threshold, the model to be trained is iteratively trained according to the loss value.

9. The display device according to claim 1, characterized in that: If the rejection score is greater than or equal to the score threshold, the controller is configured to: Create the next conversation turn; updating the interactive dialogue content in the next dialogue round according to the semantic information of the first dialogue vector; The display is controlled to display updated interactive dialogue content on the user dialogue interface.

10. A method for rejecting speech recognition, characterized in that: The display device according to any one of claims 1 to 9 comprises a display configured to display a user dialogue interface, a memory configured to store a rejection model, and a sound collector configured to obtain audio data, wherein the method comprises: In response to a voice command input by a user, controlling the display to display interactive dialogue content in the user dialogue interface; Acquiring feedback dialogue audio input by the user based on the interactive dialogue content, and performing speech recognition on the feedback dialogue audio to obtain feedback dialogue text; Generating a speech feature vector according to the acoustic features of the feedback dialogue audio, and performing semantic recognition on the feedback dialogue text to obtain a semantic feature vector; Concatenating the speech feature vector and the semantic feature vector to obtain a semantic acoustic vector; Inputting a first dialogue vector and a second dialogue vector into the rejection model, so that the rejection model outputs a rejection score according to a mutual attention mechanism; the first dialogue vector is a semantic acoustic vector of a current dialogue round, and the second dialogue vector is a semantic acoustic vector of a previous dialogue round; If the rejection score is less than the score threshold, the display is controlled to display a rejection prompt message.

Citation Information

Cited By

  • Display device and interactive content display method

    CN120812330A