Method and system for intelligent quality inspection of audio data
Through speech recognition and text semantic understanding technology, combined with deep learning of the schema encoding mechanism, illegal content in audio data is automatically detected, solving the problem of difficulty in identifying obscure illegal audio content in the existing technology, and achieving real-time and efficient violation detection. .
Patent Information
- Application Number
- CN202410796933.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing technologies are difficult to effectively detect and identify in real time obscure illegal audio content on live webcasts and social media platforms, making it difficult to stop illegal content in a timely manner during its spread.
The speech recognition module is used to perform speech recognition on audio data, combined with a text semantic understander and a semantic enhancer based on a schema encoding mechanism, and deep learning is conducted through inter-word semantic association topology guidance to automatically detect illegal content in audio data.
It realizes automatic detection and identification of illegal content in audio data, improves detection efficiency and accuracy, can promptly prevent the spread of bad information, and protects users from negative impacts.
Smart Images

Figure CN118366480B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio data processing, and in particular to a method and system for intelligent quality inspection of audio data. Background Art
[0002] In today's digital age, the speed and scope of audio content dissemination are unprecedented, providing people with a rich source of information and entertainment. However, this also brings some challenges, especially how to ensure the compliance and security of audio content.
[0003] With the rise of live streaming and social media platforms, a large amount of audio content has been generated and shared, including some that contain illegal content, which can easily bring negative impacts. Moreover, some illegal audio content becomes more concealed during the actual dissemination process. For example, illegal content is often covered up by obscure language, specific sound effects, etc., making manual detection difficult. At the same time, manual detection methods are also difficult to meet the real-time requirements of audio content quality inspection, and are inefficient, and may not be able to prevent the spread of illegal content in a timely manner.
[0004] Therefore, an optimized method and system for intelligent quality inspection of audio data is desired to solve the above-mentioned problems. Summary of the invention
[0005] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0006] In a first aspect, the present disclosure provides a method for intelligent quality inspection of audio data, the method comprising:
[0007] Get audio data;
[0008] Using a speech recognition module to perform speech recognition on the audio data to obtain an audio speech recognition result;
[0009] Processing the audio speech recognition result using a text semantic understander to obtain a sequence of audio text description word granularity semantic encoding feature vectors;
[0010] Using a semantic enhancer based on a schema coding mechanism, the sequence of word-granular semantic coding feature vectors of the audio text description is subjected to semantic feature guided constraint enhancement to obtain a sequence of word-granular semantic coding feature vectors guided by inter-word semantic association topology;
[0011] The detection result is determined based on the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology.
[0012] Optionally, the audio speech recognition results are processed using a text semantic understander to obtain a sequence of audio text description word granularity semantic coding feature vectors, including: performing word segmentation processing on the audio speech recognition results and then passing them through a word embedding encoder to obtain a sequence of audio text description word embedding coding vectors; passing the sequence of audio text description word embedding coding vectors through a context encoder to obtain a sequence of audio text description word granularity semantic coding feature vectors.
[0013] Optionally, the word embedding encoder is a word2vec model.
[0014] Optionally, the context encoder is a Transformer structure.
[0015] Optionally, a semantic enhancer based on a schema coding mechanism is used to perform semantic feature-guided constraint enhancement on the sequence of audio text description word granularity semantic coding feature vectors to obtain a sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology, including: calculating the cosine similarity between any two audio text description word granularity semantic coding feature vectors in the sequence of audio text description word granularity semantic coding feature vectors to obtain an inter-word semantic association topology matrix; passing the sequence of audio text description word granularity semantic coding feature vectors and the inter-word semantic association topology matrix through a semantic enhancement encoder to obtain a sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology.
[0016] Optionally, the cosine similarity between any two audio text description word granularity semantic encoding feature vectors in the sequence of the audio text description word granularity semantic encoding feature vectors is calculated to obtain an inter-word semantic association topology matrix, including: calculating the cosine similarity between every two audio text description word granularity semantic encoding feature vectors in the sequence of the audio text description word granularity semantic encoding feature vectors to obtain a sequence of cosine similarities; and arranging the sequence of cosine similarities in two dimensions to obtain the inter-word semantic association topology matrix.
[0017] Optionally, the cosine similarity between every two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors is calculated to obtain a sequence of cosine similarities, including: calculating the sum of the position-by-position element-by-element dot products of the previous audio text description word granularity semantic coding feature vector and the next audio text description word granularity semantic coding feature vector in every two audio text description word granularity semantic coding feature vectors to obtain an element-by-element correlation projection fusion value between audio text description words; after respectively calculating the Euclidean norms of the previous audio text description word granularity semantic coding feature vector and the next audio text description word granularity semantic coding feature vector, multiplying the two obtained Euclidean norms to obtain a semantic interaction fusion value between audio text description word granularities; dividing the element-by-element correlation projection fusion value between audio text description words by the semantic interaction fusion value between audio text description word granularities to obtain the cosine similarity.
[0018] Optionally, the semantic enhancement encoder is a graph convolutional neural network model.
[0019] Optionally, the detection result is determined based on the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology, including: passing the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology through a classifier-based illegal content detector to obtain the detection result, and the detection result is used to indicate whether there is illegal content.
[0020] In a second aspect, the present disclosure provides a system for intelligent quality inspection of audio data, the system comprising:
[0021] An audio data acquisition module, used for acquiring audio data;
[0022] A speech recognition module, used to perform speech recognition on the audio data using the speech recognition module to obtain an audio speech recognition result;
[0023] A text semantic understanding module, used for processing the audio speech recognition result using a text semantic understander to obtain a sequence of audio text description word granularity semantic encoding feature vectors;
[0024] A semantic feature guided constraint reinforcement module, used for using a semantic enhancer based on a schema coding mechanism to perform semantic feature guided constraint reinforcement on the sequence of word-granular semantic coding feature vectors of the audio text description to obtain a sequence of word-granular semantic coding feature vectors guided by the topology of semantic association between words;
[0025] The detection result determination module is used to determine the detection result based on the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology.
[0026] By adopting the above technical scheme, the acquired audio data is subjected to speech recognition by using a speech recognition module to obtain an audio speech recognition result; the audio speech recognition result is processed by a text semantic understander to obtain a sequence of audio text description word granularity semantic coding feature vectors; the sequence of audio text description word granularity semantic coding feature vectors is subjected to semantic feature guided constraint reinforcement by a semantic enhancer based on a schema coding mechanism to obtain a sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology; the detection result is determined based on the sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology, thereby automatically detecting and identifying illegal content in the audio data to protect users from the influence of bad information.
[0027] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:
[0029] Figure 1 The present invention is a flowchart of a method for intelligent quality inspection of audio data according to an exemplary embodiment.
[0030] Figure 2 The invention is a block diagram of a system for intelligent quality inspection of audio data according to an exemplary embodiment.
[0031] Figure 3 It is a block diagram of an electronic device according to an exemplary embodiment.
[0032] Figure 4 It is an application scenario diagram of a method for intelligent quality inspection of audio data according to an exemplary embodiment. DETAILED DESCRIPTION
[0033] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0034] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0035] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0036] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0037] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0038] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0039] The popularity of live streaming and social media platforms has provided people with a space to express and share content freely, but it has also brought management challenges, especially the management of illegal audio content. Due to the real-time and wide dissemination of audio content, effective audio content management is crucial to maintaining network security.
[0040] Moreover, audio content that is vulgar or involves sensitive topics may be harmful to the audience and pollute the network environment. With the development of technology, the spread of some illegal content has become more covert, which has put forward higher requirements for audio content management. For example, the disseminator of illegal content may use obscure language, specific sound effects, symbolic images and other means to cover up the true intention of the content, making it difficult to detect the illegal content. The real-time dissemination of audio and video content requires the management system to respond quickly. Manual detection methods often cannot meet this requirement, resulting in some illegal content being widely disseminated before being detected.
[0041] To address these issues, many platforms have begun to adopt automated audio detection technologies, such as AI-based speech recognition, image recognition, and natural language processing technologies, to improve the efficiency and accuracy of detection; the ability to identify obscure illegal content can be improved by training machine learning models, which can learn the characteristics of illegal content and be trained and optimized on large amounts of data. It is also possible to combine multiple information such as audio, video, and text to improve the accuracy of illegal content detection, for example, by considering visual information in the video while analyzing the audio content. Improving the ability to understand language and cultural context can help better identify obscure illegal content, which requires a deep understanding of different languages and cultural backgrounds. Establishing an effective user feedback mechanism to encourage users to report suspicious content can serve as a supplement to automated detection and help to promptly detect and deal with illegal content.
[0042] To meet this challenge, many platforms have begun to adopt artificial intelligence technologies, including image and voice recognition, natural language processing, etc., to automatically identify and filter inappropriate content.
[0043] In order to solve the above problems, the present disclosure provides a method and system for intelligent quality inspection of audio data, which uses a speech recognition module to perform speech recognition on the acquired audio data to obtain an audio speech recognition result; uses a text semantic understander to process the audio speech recognition result to obtain a sequence of audio text description word granularity semantic coding feature vectors; uses a semantic enhancer based on a schema coding mechanism to perform semantic feature guided constraint enhancement on the sequence of audio text description word granularity semantic coding feature vectors to obtain a sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology; determines the detection result based on the sequence of word granularity semantic coding feature vectors guided by the inter-word semantic association topology, which can automatically detect and identify illegal content in the audio data to protect users from the influence of bad information.
[0044] The specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0045] Figure 1 is a flow chart of a method for intelligent quality inspection of audio data according to an exemplary embodiment. Figure 1 As shown, the method includes:
[0046] Step 101: Acquire audio data;
[0047] Step 102: Use a speech recognition module to perform speech recognition on the audio data to obtain an audio speech recognition result;
[0048] Step 103: Process the audio speech recognition result using a text semantic understander to obtain a sequence of audio text description word granularity semantic encoding feature vectors;
[0049] Step 104: using a semantic enhancer based on a schema coding mechanism to perform semantic feature guided constraint enhancement on the sequence of the audio text description word-scale semantic coding feature vectors to obtain a sequence of word-scale semantic coding feature vectors guided by the inter-word semantic association topology;
[0050] Step 105 : determining the detection result based on the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology.
[0051] In response to the above technical problems, the technical concept of the present application is: by acquiring audio data, and combining advanced speech recognition technology and text processing technology with intelligent deep learning algorithms to convert the audio data into text information, it is then subjected to in-depth text semantic analysis and understanding, thereby mining the deep semantic connotation expression in the audio data, and further realizing intelligent detection of illegal audio, which can automatically detect and identify illegal content in audio data to protect users from the impact of bad information.
[0052] Based on this, in the technical solution of the present application, audio data is first obtained. Among them, obtaining the audio data is a prerequisite for content review, and only after the data is obtained can subsequent illegal content detection be performed. In an embodiment of the present application, the audio data can be obtained by real-time transmission by the server of the live broadcast platform. In addition, many live broadcast platforms provide API interfaces to allow third-party applications to access and obtain audio data.
[0053] Then, the audio data is subjected to speech recognition using a speech recognition module to obtain an audio speech recognition result. It should be understood that the audio data can be converted into text information, i.e., the audio speech recognition result, by using the speech recognition module. Compared to artificial audiometry, automated speech recognition can greatly improve processing speed and achieve rapid processing of a large amount of audio data. In an embodiment of the present application, a suitable speech recognition engine can be selected to perform speech recognition on the audio data using a speech recognition module, such as Google Speech-to-Text, IBM Watson Speech to Text, Amazon Transcribe, etc.
[0054] In one embodiment of the present disclosure, the audio speech recognition results are processed using a text semantic understander to obtain a sequence of audio text description word granularity semantic coding feature vectors, including: performing word segmentation processing on the audio speech recognition results and then passing them through a word embedding encoder to obtain a sequence of audio text description word embedding coding vectors; passing the sequence of audio text description word embedding coding vectors through a context encoder to obtain a sequence of audio text description word granularity semantic coding feature vectors.
[0055] In one embodiment of the present disclosure, the word embedding encoder is a word2vec model.
[0056] In one embodiment of the present disclosure, the context encoder is a Transformer structure.
[0057] Next, the audio speech recognition result is processed by word segmentation and then passed through a word embedding encoder based on the word2vec model to obtain a sequence of audio text description word embedding encoding vectors. Among them, word2vec is a popular natural language processing (NLP) model. Specifically, it is an algorithm for generating word embeddings that can convert vocabulary into numerical vectors. The core idea of the word2vec model is to capture the semantic relationship between words by learning the context of the words in the text. In practical applications, word2vec usually has two architectures: continuous bag of words (CBOW) and skip-gram. More specifically, the goal of the continuous bag of words model is to predict the target word based on the words in the context, while the skip-gram model uses a target word to predict the context words around it. In the technical solution of the present application, the text content of the audio semantic recognition result can be converted into a vector representation that is convenient for subsequent processing and analysis through word segmentation and word embedding processing.
[0058] Subsequently, the sequence of the audio text description word embedding encoding vectors is passed through a context encoder based on a Transformer structure to obtain a sequence of audio text description word granular semantic encoding feature vectors. Among them, the core of the Transformer structure is the self-attention mechanism, which allows the model to directly associate any two positions in the sequence when processing sequence data, no matter how far apart they are. This mechanism enables the Transformer to capture long-distance dependencies, which is very important for understanding the semantics of language. In other words, the context encoder based on the Transformer structure can capture the long-distance semantic dependencies between each word in the text, which is crucial for understanding the deep semantics of text expression in audio data.
[0059] In one embodiment of the present disclosure, a semantic enhancer based on a schema coding mechanism is used to perform semantic feature-guided constraint enhancement on the sequence of audio text description word granularity semantic coding feature vectors to obtain a sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology, including: calculating the cosine similarity between any two audio text description word granularity semantic coding feature vectors in the sequence of audio text description word granularity semantic coding feature vectors to obtain an inter-word semantic association topology matrix; passing the sequence of audio text description word granularity semantic coding feature vectors and the inter-word semantic association topology matrix through a semantic enhancement encoder to obtain a sequence of word granularity semantic coding feature vectors guided by inter-word semantic association topology.
[0060] Then, the cosine similarity between any two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors is calculated to obtain the inter-word semantic association topology matrix. In the technical solution of the present application, the semantic similarity and correlation between text words can be quantified by calculating the cosine similarity between any two audio text description word granularity semantic coding feature vectors, and the inter-word semantic association topology matrix composed of the various cosine similarities can describe and characterize the semantic correlation relationship between the various text words, thereby comprehensively characterizing the overall text semantic meaning in the audio data, which helps to identify potential violation patterns contained in the text content. For example, the illegal words will not be directly mentioned in the live broadcast room, but the possible violation can be inferred through the association analysis between the contextual semantics. More specifically, for example, the illegal live broadcast room may construct a violation scene by using a series of related words.
[0061] In a specific example of the present application, the specific encoding process of calculating the cosine similarity between any two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors to obtain the inter-word semantic association topology matrix includes: first, calculating the cosine similarity between every two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors to obtain a sequence of cosine similarities; and then arranging the sequence of cosine similarities in two dimensions to obtain the inter-word semantic association topology matrix.
[0062] More specifically, in an embodiment of the present application, the process of calculating the cosine similarity between every two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors to obtain a sequence of cosine similarities includes: first calculating the sum of the position-by-position element-by-element dot products of the previous audio text description word granularity semantic coding feature vector and the next audio text description word granularity semantic coding feature vector in every two audio text description word granularity semantic coding feature vectors to obtain an element-by-element correlation projection fusion value between audio text description words; then, respectively calculating the Euclidean norms of the previous audio text description word granularity semantic coding feature vector and the next audio text description word granularity semantic coding feature vector, multiplying the two obtained Euclidean norms to obtain a semantic interaction fusion value between audio text description word granularities; finally, dividing the element-by-element correlation projection fusion value between audio text description words by the semantic interaction fusion value between audio text description word granularities to obtain the cosine similarity.
[0063] The cosine similarity between every two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors is calculated using the following cosine formula to obtain a sequence of cosine similarities; wherein the cosine formula is:
[0064] ;
[0065] in, and Respectively represent any two audio text description word granularity semantic coding feature vectors in the sequence of the audio text description word granularity semantic coding feature vectors, and Respectively represent the feature values of the k-th position of each two audio text description word granular semantic coding feature vectors in the sequence of the audio text description word granular semantic coding feature vectors, n is the total number of feature values, Represents the cosine similarity between every two audio text description word granularity semantic encoding feature vectors in the sequence of the audio text description word granularity semantic encoding feature vectors.
[0066] Furthermore, the sequence of word-granular semantic encoding feature vectors describing the audio text and the word-inter-word semantic association topology matrix are passed through a semantic enhancement encoder based on a graph convolutional neural network model to obtain a sequence of word-granular semantic encoding feature vectors under the guidance of word-inter-word semantic association topology. Among them, the graph convolutional neural network is a neural network architecture that is particularly suitable for processing graph structure data. In text analysis, the text semantic features expressed by each word can be regarded as nodes in the graph data, and the semantic association features between words can be regarded as edges. The graph convolutional neural network can use this graph structure to model the complex semantic relationship between words, so that local neighborhood information and global text structure information can be considered simultaneously in the process of text semantic understanding, which helps to understand the text content more comprehensively and strengthen the cognition of the semantic association relationship between words in the text. Then, the sequence of word-granular semantic encoding feature vectors under the guidance of the word-inter-word semantic association topology is passed through a classifier-based illegal content detector to obtain a detection result, and the detection result is used to indicate whether there is illegal content.
[0067] Among them, the semantic enhancement encoder is a graph convolutional neural network model.
[0068] In a specific example of the present application, a detection result is determined based on a sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology, including: passing the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology through a classifier-based illegal content detector to obtain the detection result, and the detection result is used to indicate whether there is illegal content.
[0069] Among them, the sequence of the audio text description word granularity semantic encoding feature vectors and the inter-word semantic association topology matrix are on the model parallel branch pipeline, and the text semantics of the audio speech recognition result are represented by associated features under different feature representation dimensions in the local semantic space dimension and the global semantic space dimension respectively.
[0070] Therefore, in order to solve the problem of regressing specific features of the sequence of granular semantic encoding feature vectors of the audio text description words and the model parallel branch pipeline of the inter-word semantic association topology matrix, and improving the aggregation of its graph neural network fusion representation while maintaining the distinguishability of its data sequence association features, the following embodiment is proposed.
[0071] The sequence of word-granularity semantic coding feature vectors guided by the inter-word semantic association topology is passed through a classifier-based illegal content detector to obtain a detection result, specifically including: cascading the sequence of word-granularity semantic coding feature vectors guided by the inter-word semantic association topology into a word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology; dot-multiplying the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology with the length of the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology, and then subtracting the dot-multiplying the dot-multiplying the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology with the one-norm of the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology to obtain the word-granularity full semantic joint coding feature vector guided by the inter-word semantic association topology; dot-multiplying the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology with the square root of the length of the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology, and then subtracting the dot-multiplying the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology with the two-norm of the word-granularity joint semantic coding feature vector guided by the inter-word semantic association topology to obtain the word-granularity semi-semantic joint coding feature vector guided by the inter-word semantic association topology; respectively calculating the word-granularity joint semantic coding feature vectors guided by the inter-word semantic association topology. The square root of the absolute value of each eigenvalue of the word-granularity full semantic joint coding feature vector and the word-granularity semi-semantic joint coding feature vector guided by the inter-word semantic association topology is taken, and the logarithm with base 2 is calculated using the square root to obtain the word-granularity full semantic joint information feature vector guided by the inter-word semantic association topology and the word-granularity semi-semantic joint information feature vector guided by the inter-word semantic association topology, which are used as the weighted coefficients of the hyperparameters and the word-granularity full semantic joint information feature vector guided by the inter-word semantic association topology and the word-granularity semi-semantic joint information feature vector guided by the inter-word semantic association topology are calculated. The weighted sum of the joint information feature vectors is obtained to obtain an optimized word-granularity joint semantic coding feature vector under the guidance of inter-word semantic association topology; the word-granularity joint semantic coding feature vector under the guidance of the optimized word-granularity semantic association topology is split into a sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology according to the cascade of the sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology; the sequence of word-granularity semantic coding feature vectors under the guidance of the optimized word-granularity semantic association topology is passed through a classifier-based illegal content detector to obtain a detection result.
[0072] That is, the sequence of word-granular semantic coding feature vectors under the guidance of the inter-word semantic association topology is taken as a feature set, wherein the change semantic representation is based on the feature value of the sequence of word-granular semantic coding feature vectors under the guidance of the inter-word semantic association topology. In order to dynamically aggregate the semantic set as a whole composed of different change semantics of the sequence of word-granular semantic coding feature vectors under the guidance of the inter-word semantic association topology without ignoring the individual semantic change information, the individual features of the sequence of word-granular semantic coding feature vectors under the guidance of the inter-word semantic association topology and the collective expression of their joint semantic feature scale are taken as the full-width and half-width feature representations. The invention discloses a method for dynamically adjusting the semantic information change relationship of the sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology, thereby improving the overall semantic information expression aggregation of the sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology, and improving the classification convergence efficiency of the sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology when the classification is performed based on the classifier.
[0073] In summary, the above scheme is adopted to obtain audio data, and combine advanced speech recognition technology and text processing technology with intelligent deep learning algorithms to convert audio data into text information, and then conduct in-depth text semantic analysis and understanding on it, so as to mine the deep semantic connotation expression in the audio data, and further realize intelligent violation detection. In this way, the illegal content in the audio data is automatically detected and identified to protect users from the influence of bad information.
[0074] Figure 2 FIG. 1 is a block diagram of a system for intelligent quality inspection of audio data according to an exemplary embodiment. Figure 2 As shown, the system 200 includes:
[0075] The audio data acquisition module 201 is used to acquire audio data.
[0076] The speech recognition module 202 is used to use the speech recognition module to perform speech recognition on the audio data to obtain an audio speech recognition result.
[0077] The text semantic understanding module 203 is used to process the audio speech recognition result using a text semantic understander to obtain a sequence of audio text description word granularity semantic encoding feature vectors.
[0078] The semantic feature guided constraint strengthening module 204 is used to use a semantic enhancer based on a schema coding mechanism to perform semantic feature guided constraint strengthening on the sequence of word-granular semantic coding feature vectors of the audio text description to obtain a sequence of word-granular semantic coding feature vectors guided by the inter-word semantic association topology.
[0079] The detection result determination module 205 is used to determine the detection result based on the sequence of word-granularity semantic encoding feature vectors guided by the inter-word semantic association topology.
[0080] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0081] like Figure 3 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0082] Typically, the following devices may be connected to the I / O interface 605: an input device 606 such as a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0083] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0084] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus or device.
[0085] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. The function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or the flow chart, and the combination of the square boxes in the block diagram and / or the flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of special hardware and computer instructions.
[0086] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0087] Figure 4 FIG. 1 is an application scenario diagram of a method for intelligent quality inspection of audio data according to an exemplary embodiment. Figure 4 As shown, in this application scenario, first, audio data is obtained (for example, Figure 4 Then, the acquired audio data is input to a server that is deployed with an intelligent quality inspection algorithm for audio data (for example, Figure 4 In the S) shown in , the server is capable of processing the audio data based on an intelligent quality inspection algorithm for audio data to determine a detection result.
[0088] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0089] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0090] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. Methods for intelligent quality inspection of audio data, It is characterized in that include: Get audio data; Using a speech recognition module to perform speech recognition on the audio data to obtain an audio speech recognition result; Processing the audio speech recognition result using a text semantic understander to obtain a sequence of audio text description word granularity semantic encoding feature vectors; The audio speech recognition result is processed by word segmentation and then passed through a word embedding encoder to obtain a sequence of audio text description word embedding encoding vectors; Passing the sequence of the audio text description word embedding encoding vectors through a context encoder to obtain a sequence of the audio text description word granular semantic encoding feature vectors; Using a semantic enhancer based on a schema coding mechanism, the sequence of word-granular semantic coding feature vectors of the audio text description is subjected to semantic feature guided constraint enhancement to obtain a sequence of word-granular semantic coding feature vectors guided by inter-word semantic association topology; Determine the detection result based on the sequence of word-granular semantic encoding feature vectors guided by the inter-word semantic association topology; Determining the detection result based on the sequence of word-granular semantic encoding feature vectors guided by the inter-word semantic association topology includes: Passing the sequence of word-granular semantic encoding feature vectors guided by the inter-word semantic association topology through a classifier-based illegal content detector to obtain the detection result, wherein the detection result is used to indicate whether there is illegal content; The sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology is passed through a classifier-based illegal content detector to obtain a detection result, including: cascading the sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology into a word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology; dot-multiplying the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology with the length of the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology, and then subtracting it from the first norm of the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology to obtain the word-granularity full semantic joint coding feature vector under the guidance of the inter-word semantic association topology; dot-multiplying the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology with the square root of the length of the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology, and then subtracting it from the second norm of the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology to obtain the word-granularity semi-semantic joint coding feature vector under the guidance of the inter-word semantic association topology; respectively calculating the word-granularity joint semantic coding feature vector under the guidance of the inter-word semantic association topology The square root of the absolute value of each eigenvalue of the word-granularity full semantic joint encoding feature vector and the word-granularity semi-semantic joint encoding feature vector under the guidance of the inter-word semantic association topology is calculated, and the logarithm with base 2 is calculated with the square root to obtain the word-granularity full semantic joint information feature vector under the guidance of the inter-word semantic association topology and the word-granularity semi-semantic joint information feature vector under the guidance of the inter-word semantic association topology, which are used as the weighted coefficients of the hyperparameters and the word-granularity full semantic joint information feature vector under the guidance of the inter-word semantic association topology and the word-granularity semi-semantic joint information feature vector under the guidance of the inter-word semantic association topology are calculated. The weighted sum of the joint information feature vectors is obtained to obtain an optimized word-granularity joint semantic coding feature vector under the guidance of inter-word semantic association topology; the word-granularity joint semantic coding feature vector under the guidance of the optimized word-granularity semantic association topology is split into a sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology according to the cascade of the sequence of word-granularity semantic coding feature vectors under the guidance of the inter-word semantic association topology; the sequence of word-granularity semantic coding feature vectors under the guidance of the optimized word-granularity semantic association topology is passed through a classifier-based illegal content detector to obtain a detection result.
2. The method for intelligent quality inspection of audio data according to claim 1, It is characterized in that The word embedding encoder is a word2vec model.
3. The method for intelligent quality inspection of audio data according to claim 2, It is characterized in that The context encoder is a Transformer structure.
4. The method for intelligent quality inspection of audio data according to claim 3, It is characterized in that Using a semantic enhancer based on a schema coding mechanism, the sequence of the audio text description word-granular semantic coding feature vectors is subjected to semantic feature guided constraint enhancement to obtain a sequence of word-granular semantic coding feature vectors guided by the inter-word semantic association topology, including: Calculating the cosine similarity between any two audio text description word granularity semantic encoding feature vectors in the sequence of the audio text description word granularity semantic encoding feature vectors to obtain an inter-word semantic association topology matrix; The sequence of word-granular semantic encoding feature vectors describing the audio text and the word-inter-word semantic association topology matrix are passed through a semantic enhancement encoder to obtain a sequence of word-granular semantic encoding feature vectors guided by the word-inter-word semantic association topology.
5. The method for intelligent quality inspection of audio data according to claim 4, It is characterized in that Calculating the cosine similarity between any two audio text description word granular semantic encoding feature vectors in the sequence of the audio text description word granular semantic encoding feature vectors to obtain an inter-word semantic association topology matrix, including: Calculating the cosine similarity between every two audio text description word granularity semantic encoding feature vectors in the sequence of the audio text description word granularity semantic encoding feature vectors to obtain a sequence of cosine similarities; The cosine similarity sequence is arranged in two dimensions to obtain the inter-word semantic association topology matrix.
6. The method for intelligent quality inspection of audio data according to claim 5, It is characterized in that Calculating the cosine similarity between every two audio text description word granularity semantic encoding feature vectors in the sequence of the audio text description word granularity semantic encoding feature vectors to obtain a sequence of cosine similarities, including: Calculate the sum of the position-by-position element-by-element dot products of the granular semantic coding feature vector of the previous audio text description word and the granular semantic coding feature vector of the next audio text description word in each of the two audio text description word granular semantic coding feature vectors to obtain an element-by-element correlation projection fusion value between the audio text description words; After respectively calculating the Euclidean norms of the semantic coding feature vector of the previous audio text description word granularity and the semantic coding feature vector of the next audio text description word granularity, the two obtained Euclidean norms are multiplied to obtain a semantic interaction fusion value between audio text description word granularities; The cosine similarity is obtained by dividing the element-by-element correlation projection fusion value between the audio text description words by the semantic interaction fusion value between the audio text description word granularities.
7. The method for intelligent quality inspection of audio data according to claim 6, It is characterized in that The semantic enhancement encoder is a graph convolutional neural network model.
8. A system for intelligent quality inspection of audio data. It is characterized in that include: An audio data acquisition module, used for acquiring audio data; A speech recognition module, used to perform speech recognition on the audio data using the speech recognition module to obtain an audio speech recognition result; A text semantic understanding module, used for processing the audio speech recognition result using a text semantic understander to obtain a sequence of audio text description word granularity semantic encoding feature vectors; The audio speech recognition result is processed by word segmentation and then passed through a word embedding encoder to obtain a sequence of audio text description word embedding encoding vectors; Passing the sequence of the audio text description word embedding encoding vectors through a context encoder to obtain a sequence of the audio text description word granular semantic encoding feature vectors; A semantic feature guided constraint reinforcement module, used for using a semantic enhancer based on a schema coding mechanism to perform semantic feature guided constraint reinforcement on the sequence of word-granular semantic coding feature vectors of the audio text description to obtain a sequence of word-granular semantic coding feature vectors guided by the topology of semantic association between words; A detection result determination module, used to determine the detection result based on the sequence of word granularity semantic encoding feature vectors guided by the inter-word semantic association topology; The detection result determination module is used to: Passing the sequence of word-granular semantic encoding feature vectors guided by the inter-word semantic association topology through a classifier-based illegal content detector to obtain the detection result, wherein the detection result is used to indicate whether there is illegal content; The detection result determination module is used to: cascade the sequence of word-granularity semantic coding feature vectors under the guidance of the word-semantic association topology into a word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology; perform dot multiplication of the word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology with the length of the word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology, and then perform dot subtraction with the one-norm of the word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology to obtain the word-granularity full semantic joint coding feature vector under the guidance of the word-semantic association topology; perform dot multiplication of the word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology with the square root of the length of the word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology, and then perform dot subtraction with the two-norm of the word-granularity joint semantic coding feature vector under the guidance of the word-semantic association topology to obtain the word-granularity semi-semantic joint coding feature vector under the guidance of the word-semantic association topology; respectively calculate the word-granularity full semantic joint coding feature vector under the guidance of the word-semantic association topology and the word-semantic association topology. The square root of the absolute value of each eigenvalue of the word-granularity semi-semantic joint coding feature vector under the guidance of semantic association topology is taken, and the logarithmic value with base 2 is calculated by using the square root to obtain the word-granularity full semantic joint information feature vector and the word-granularity semi-semantic joint information feature vector under the guidance of word-semantic association topology, which are used as the weighted coefficients of the hyperparameters and the weighted sum of the word-granularity full semantic joint information feature vector and the word-granularity semi-semantic joint information feature vector under the guidance of word-semantic association topology is calculated to obtain the optimized word-granularity joint semantic coding feature vector under the guidance of word-semantic association topology; the optimized word-granularity joint semantic coding feature vector under the guidance of word-semantic association topology is split into a sequence of optimized word-granularity semantic coding feature vectors under the guidance of word-semantic association topology according to the cascade of the sequence of word-granularity semantic coding feature vectors under the guidance of word-semantic association topology; the sequence of the optimized word-granularity semantic coding feature vectors under the guidance of word-semantic association topology is passed through a classifier-based illegal content detector to obtain a detection result.
Citation Information
Patent Citations
Game voice detection method, device and equipment and computer readable storage medium
CN114863917A
Virtual reality man-machine interaction method and system based on artificial intelligence
CN117234341A
