Generated audio identification and generated region localization method based on phoneme interval sequence

Through multi-scale dynamic feature analysis of phoneme interval sequences, the problem of single spectral features in audio identification is solved, the authenticity identification accuracy of audio signals and the positioning accuracy of generated intervals are improved, and efficient audio identification and interval positioning are achieved.

CN118366478BActive Publication Date: 2024-10-11INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410788550.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-11
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Existing audio identification methods are based on audio spectrum features, which are relatively single and difficult to accurately capture the spectrum anomalies of audio generated in high-quality areas, making it difficult to locate the generated interval and reducing the identification accuracy.

Method used

Using a method based on phoneme interval sequence, the phonemes of the audio signal to be identified are marked, an initial phoneme interval sequence is constructed, and through multi-scale dynamic feature analysis, the authenticity identification accuracy of the audio signal and the positioning accuracy of the generated interval are improved.

Benefits of technology

Through the analysis of the dynamic characteristics of the phoneme interval sequence, the identification accuracy of the generated audio is improved, the generated interval in the generated audio is accurately located, and the problem of difficult positioning of the interval in the traditional method is overcome.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118366478B_ABST
    Figure CN118366478B_ABST
Patent Text Reader

Abstract

The present invention provides a method for generating audio identification and generating area positioning based on a phoneme interval sequence, which can be applied to the field of artificial intelligence technology. The method includes: marking the phonemes of the audio signal to be identified in the generated audio identification request to obtain the marked phonemes; constructing the initial phoneme interval sequence of the audio signal to be identified according to the continuous occurrence frequency of the marked phonemes; processing the initial phoneme interval sequence based on the generated audio identification method carried in the generated audio identification request to obtain the target phoneme interval sequence; inputting the target phoneme interval sequence into the generated audio identification model, and outputting the authenticity identification result of the audio signal to be identified by analyzing the extracted multi-scale dynamic features. The method can be applied to the true and false binary identification of generated audio to obtain the overall authenticity result of the generated audio, and is also applicable to regional forgery detection and positioning to obtain the regional positioning results belonging to the real audio and the generated audio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method for generating audio identification and generating area positioning based on phoneme interval sequences. Background Art

[0002] With the rapid development and continuous optimization of artificial intelligence technology, the audio forged by audio deep fake technology is closer to real audio in terms of naturalness, realism and diversity, which brings challenges to the process of identifying generated audio.

[0003] In the process of realizing the concept of the present invention, the inventors found that the related technologies generally have the following problems: the existing process of identifying generated audio is generally based on the spectral features of the audio, which has relatively simple features. In addition, with the development of AIGC (Artificial Intelligence Generated Content) technology, it is increasingly difficult to capture the spectral anomalies of high-quality regional generated audio, and it is difficult to locate the generated interval. Summary of the invention

[0004] In view of the above problems, the present invention provides a method and device for generating audio identification and generating area positioning based on phoneme interval sequence to improve the accuracy of generated audio identification.

[0005] One aspect of the present invention provides a method for generating audio identification and generating area positioning based on phoneme interval sequence, the method comprising: marking the phonemes of the audio signal to be identified in the generated audio identification request to obtain the marked phonemes; constructing the initial phoneme interval sequence of the audio signal to be identified based on the continuous occurrence frequency of the marked phonemes; processing the initial phoneme interval sequence based on the generated audio identification method carried in the generated audio identification request to obtain a target phoneme interval sequence; inputting the target phoneme interval sequence into the generated audio identification model, and outputting the authenticity identification result of the audio signal to be identified by analyzing the multi-scale dynamic features extracted from the target phoneme interval sequence, wherein the generated audio identification model is associated with the generated audio identification method.

[0006] According to an embodiment of the present invention, the above-mentioned generated audio identification method includes a first identification method and a second identification method, wherein the above-mentioned first identification method is used to obtain the overall authenticity result of the above-mentioned audio signal to be identified, and the above-mentioned second identification method is used to obtain the regional authenticity result of the above-mentioned audio signal to be identified; the above-mentioned generated audio identification method based on the above-mentioned generated audio identification request carries out processing on the above-mentioned initial phoneme interval sequence to obtain the target phoneme interval sequence, including: when the above-mentioned identification method is the above-mentioned first identification method, directly using the above-mentioned initial phoneme interval sequence as the above-mentioned target phoneme interval sequence; when the above-mentioned identification method is the above-mentioned second identification method, dividing the above-mentioned initial phoneme interval sequence into sub-segments in units of frames to obtain a sub-segment set, wherein the above-mentioned sub-segment set is used as the above-mentioned target phoneme interval sequence.

[0007] According to an embodiment of the present invention, the above-mentioned generated audio identification model includes a first area identification model and a second area identification model associated with the above-mentioned second identification method; the above-mentioned target phoneme interval sequence is input into the generated audio identification model, and the multi-scale dynamic features extracted from the above-mentioned target phoneme interval sequence are analyzed to output the authenticity identification result of the above-mentioned audio signal to be identified, including: inputting a first predetermined number of sub-segment pairs randomly selected from the above-mentioned target phoneme interval sequence into the above-mentioned first area identification model, and outputting a first generated audio identification result, wherein the above-mentioned first predetermined number is a positive integer multiple of 2; inputting the above-mentioned target phoneme interval sequence as a whole into the above-mentioned second area identification model, and outputting a second generated audio identification result; generating the authenticity identification result of the above-mentioned audio signal to be identified based on the above-mentioned first generated audio identification result and the first weight value, and the above-mentioned second generated audio identification result and the second weight value.

[0008] According to an embodiment of the present invention, the first region identification model includes a first multi-scale feature extractor and a second multi-scale feature extractor; the first region identification model is trained in the following manner: obtaining a sample phoneme interval sequence constructed based on a sample audio signal; dividing the sample phoneme interval sequence into sample sub-segments in units of frames to obtain a sample sub-segment set; randomly selecting two sample sub-segments from the sample sub-segment set to form a sample pair, wherein the sample pair includes a first sample sub-segment and a second sample sub-segment; using the first multi-scale feature extractor to perform feature extraction on the first sample sub-segment to obtain a feature vector of the first sample sub-segment, and using the second multi-scale feature extractor to perform feature extraction on the second sample sub-segment to obtain a feature vector of the second sample sub-segment; using cosine similarity to calculate the similarity between the feature vector of the first sample sub-segment and the feature vector of the two sample sub-segments to obtain a training similarity; according to the relationship between the training similarity and the true similarity, adjusting the model parameters of the first region identification model until a first preset end condition is reached, wherein the true similarity is obtained based on the label of the first sample sub-segment and the label of the second sample sub-segment.

[0009] According to an embodiment of the present invention, the above-mentioned randomly selecting two sample sub-segments from the above-mentioned sample sub-segment set to form a sample pair includes: grouping the above-mentioned sample sub-segments in the above-mentioned sample sub-segment set according to the labels corresponding to each sample sub-segment to obtain a first sample sub-segment group labeled as real audio and a second sample sub-segment group labeled as generated audio; generating a target sample sub-segment set according to a second predetermined number of sample sub-segments randomly selected from the above-mentioned first sample sub-segment group and a second predetermined number of sample sub-segment groups randomly selected from the above-mentioned second sample sub-segment group, wherein the above-mentioned second predetermined number is a positive integer multiple of 2; and randomly selecting two sample sub-segments from the above-mentioned target sample sub-segment set to form a sample pair.

[0010] According to an embodiment of the present invention, the second region identification model includes a third multi-scale feature extractor; the second region identification model is trained in the following manner: using the third multi-scale feature extractor to extract features from all sample sub-fragments in the sample sub-fragment set so that each of the sample sub-fragments has its own feature vector; performing cluster analysis on the feature vector of each of the sample sub-fragments to obtain a training similarity matrix; and adjusting the model parameters of the second region identification model according to the relationship between the training similarity matrix and the true similarity matrix until a second preset end condition is reached, wherein the true similarity matrix is ​​obtained by performing cluster analysis on the labels of each of the sample sub-fragments.

[0011] According to an embodiment of the present invention, the above method also includes: during the same round of training, the model parameters of the above-mentioned first region identification model and the model parameters of the above-mentioned second region identification model are the same; after the same round of training is completed, the model parameters of the above-mentioned first region identification model and the model parameters of the above-mentioned second region identification model are synchronously updated.

[0012] According to an embodiment of the present invention, the above-mentioned generated audio identification model includes a true and false binary identification model associated with the above-mentioned first identification method; the above-mentioned true and false binary identification model is trained in the following manner: the above-mentioned sample phoneme interval sequence is input into the above-mentioned true and false binary identification model, and the training identification result of the above-mentioned sample phoneme interval sequence is output; according to the above-mentioned training identification result and the label of the above-mentioned sample phoneme interval sequence, the model parameters of the above-mentioned true and false binary identification model are adjusted until the third preset end condition is met.

[0013] According to an embodiment of the present invention, the first preset end condition, the second preset end condition and the third preset end condition all include at least one of the following: the training rounds of the model reach the predetermined training rounds, the error between the training similarity and the true similarity is within the first error threshold range, the error between the training similarity matrix and the true similarity matrix is ​​within the second error threshold range, and the error between the training identification result and the label of the sample phoneme interval sequence is within the third error threshold range.

[0014] Another aspect of the present invention provides a generated audio identification and generated area positioning device based on a phoneme interval sequence, the device comprising: a marking module, used to mark the phonemes of the audio signal to be identified in the generated audio identification request to obtain the marked phonemes; a construction module, used to construct the initial phoneme interval sequence of the audio signal to be identified according to the continuous occurrence frequency of the marked phonemes; a processing module, used to process the initial phoneme interval sequence based on the generated audio identification method specified in the generated audio identification request to obtain a target phoneme interval sequence; a first input module, used to input the target phoneme interval sequence into the generated audio identification model, and output the authenticity identification result of the audio signal to be identified by analyzing the multi-scale dynamic features extracted from the target phoneme interval sequence, wherein the generated audio identification model is associated with the generated audio identification method.

[0015] According to the method and device for generating audio identification and generating area positioning based on phoneme interval sequence provided by the embodiment of the present invention, the phonemes of the audio signal to be identified in the generated audio identification request are marked; the initial phoneme interval sequence is constructed according to the connection frequency of the marked phonemes; the target phoneme interval sequence obtained after processing the initial phoneme interval sequence based on the generated audio identification method is input into the generated audio identification model, and the multi-scale dynamic features extracted from the target phoneme interval sequence are analyzed to output the authenticity identification result of the audio signal. Since in the process of identifying the audio signal, the phoneme interval sequence is constructed according to the continuous occurrence frequency of the marked phonemes, and the phoneme interval sequence is used to identify the authenticity of the audio signal, and the continuous occurrence frequency of the phonemes can be closer to the user's real pronunciation habits, the authenticity of the audio signal can be more accurately identified, and the generation interval in the generated audio can be accurately located, so the method for generating audio identification and generating area positioning based on phoneme interval sequence provided by the embodiment of the present invention at least partially overcomes the problem of difficulty in locating the generation interval of the generated audio in the related technology, thereby achieving the technical effect of efficiently locating the generation interval of the generated audio and efficiently identifying the accuracy of the generated audio. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0017] Figure 1 A diagram showing an application scenario of a method and device for generating audio identification and generating area positioning based on a phoneme interval sequence according to an embodiment of the present invention;

[0018] FIG2 shows a flow chart of a method for generating audio identification and generating region positioning based on a phoneme interval sequence according to an embodiment of the present invention;

[0019] Figure 3 An architecture diagram of a true and false binary discrimination task scenario applicable to generating audio according to an embodiment of the invention is shown;

[0020] Figure 4 An architecture diagram applicable to regional forgery detection and positioning task scenarios according to an embodiment of the present invention is shown;

[0021] Figure 5 A schematic diagram showing a regional forgery positioning result according to an embodiment of the present invention is shown;

[0022] Figure 6 The structure block diagram of the device for generating audio identification and generating area positioning based on phoneme interval sequence according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0023] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.

[0024] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0025] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0026] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0027] In the technical solution of the present invention, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0028] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present invention provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating an individual's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.

[0029] With the rapid iteration and optimization of AI-generated content technology, the audio forged by audio deep fake technology is gradually approaching real audio in terms of naturalness, realism and diversity, which brings challenges to audio deep fake identification technology. At present, audio deep fake technology generally generates generated audio based on imitation of sound, recording playback, audio splicing, audio synthesis and other aspects. Correspondingly, the identification of generated audio can also be based on imitation of sound, recording playback, audio splicing, and audio synthesis.

[0030] At present, most of the existing methods for identifying generated audio are based on audio spectrum features. In one example, a pseudo audio identification method based on rhythm and pronunciation features aims to capture more general audio signal features from the dimensions of rhythm, pronunciation and wav2vec (a convolutional neural network that takes raw audio as input and calculates a general representation that can be input into a generated audio identification system). This method may involve clustering the features of audio data using a K-means clustering algorithm, and based on an attention mechanism, merging rhythm and pronunciation features with wav2vec features to improve the generalization ability of pseudo audio identification patterns.

[0031] In this method, the pseudo-labels obtained by clustering the audio data through the K-means clustering algorithm have a low coupling with the phonemes in the audio data. In different rounds of model training, the same phoneme may not correspond to the same label. However, the label is substituted into the attention mechanism module as a computable value for subsequent authenticity identification. Since the same phoneme may not correspond to the same label, the physical meaning of the attention mechanism module may be blurred, making it impossible for the network to learn the true feature similarity relationship, thereby reducing the training accuracy of the model for identifying the generated audio, thereby reducing the accuracy of the related model in identifying the generated audio.

[0032] In view of this, an embodiment of the present invention provides a method for generating audio identification and generating region positioning based on a phoneme interval sequence, which aims to construct a feature space by capturing the changes in the dynamic characteristics of the phoneme interval sequence in the real audio and the generated audio, thereby improving the accuracy of identifying the audio signal while providing a new method for the forgery identification of the overall audio signal and the forgery positioning of the regional audio signal. Specifically, the method includes: marking the phonemes of the audio signal to be identified in the generated audio identification request to obtain the marked phonemes; constructing the initial phoneme interval sequence of the audio signal to be identified according to the continuous occurrence frequency of the marked phonemes; processing the initial phoneme interval sequence based on the generated audio identification method carried in the generated audio identification request to obtain a target phoneme interval sequence; inputting the target phoneme interval sequence into the generated audio identification model, and outputting the authenticity identification result of the audio signal to be identified by analyzing the multi-scale dynamic characteristics extracted from the target phoneme interval sequence, wherein the generated audio identification model is associated with the generated audio identification method.

[0033] Figure 1 A diagram showing an application scenario of a method and device for generating audio identification and generating area positioning based on a phoneme interval sequence according to an embodiment of the present invention.

[0034] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0035] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, such as sending a request to generate audio identification, or receiving the authenticity identification result of the audio signal. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as audio identification generation applications, shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0036] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0037] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for the generated audio identification request sent by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the generated audio identification request, and feed back the processing result (such as the authenticity identification result of the audio signal obtained or generated according to the generated audio identification request, web page, information, or data, etc.) to the terminal device.

[0038] It should be noted that the method for generating audio identification and generating area positioning based on the phoneme interval sequence provided in the embodiment of the present invention can generally be executed by the server 105. Accordingly, the device for generating audio identification and generating area positioning based on the phoneme interval sequence provided in the embodiment of the present invention can generally be set in the server 105. The method for generating audio identification and generating area positioning based on the phoneme interval sequence provided in the embodiment of the present invention can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the device for generating audio identification and generating area positioning based on the phoneme interval sequence provided in the embodiment of the present invention can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0039] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0040] The following will be based on Figure 1 The scene described by Figure 2~Figure 5 The method for generating audio identification and generating area positioning based on phoneme interval sequence according to an embodiment of the present invention is described in detail.

[0041] Figure 2 A flow chart of a method for generating audio identification and generating area positioning based on a phoneme interval sequence according to an embodiment of the present invention is shown.

[0042] like Figure 2 As shown, the method for generating audio identification and generating area positioning based on a phoneme interval sequence of this embodiment includes operations S210 to S240.

[0043] In operation S210, the phonemes of the audio signal to be identified in the generated audio identification request are marked to obtain marked phonemes.

[0044] In operation S220, an initial phoneme interval sequence of the audio signal to be identified is constructed according to the continuous occurrence frequency of the marked phonemes.

[0045] In operation S230, based on the generated audio identification mode carried in the generated audio identification request, the initial phoneme interval sequence is processed to obtain a target phoneme interval sequence.

[0046] In operation S240, the target phoneme interval sequence is input into the generated audio identification model, and the multi-scale dynamic features extracted from the target phoneme interval sequence are analyzed to output the authenticity identification result of the audio signal to be identified, wherein the generated audio identification model is associated with the generated audio identification method.

[0047] Optionally, generating an audio identification request may be a request initiated by a target object in order to identify the authenticity of an unknown audio signal. In one embodiment, the audio signal may include speech. The target object may include a user or an intelligent robot that has a need to identify the authenticity of an audio signal. Generating an audio identification request may include an audio signal to be identified sent by the target object, and a desired identification method. In one embodiment, the identification method may include a first identification method and a second identification method. The first identification method may obtain a result that the audio signal to be identified is authentic as a whole, or is forged as a whole. The second identification method performs regional identification on the audio signal to be identified. Regional identification may include regional forgery detection and positioning of the audio signal to be identified, and obtains the area of ​​the audio signal to be identified that belongs to the real audio, and the area position that belongs to the generated audio, etc. Optionally, the generating audio identification request may also include both of these audio generation identification methods.

[0048] Optionally, a phoneme can be the smallest audio unit (e.g., a speech unit) divided according to the natural properties of an audio signal (e.g., speech), and one pronunciation action can form a phoneme. In response to the generation of an audio identification request, phonemes can be extracted from the audio signal to be identified that marks the generation of the audio identification request, and the extracted phonemes are processed to obtain the marked phonemes. The initial phoneme interval sequence can be constructed using the continuous occurrence frequency of the marked phonemes. Exemplarily, in the audio signal to be identified, the marked phonemes are phoneme 1, phoneme 2, and phoneme 3, and the audio signal segment is phoneme 1, phoneme 1, phoneme 1, phoneme 2, phoneme 2, phoneme 3, phoneme 3, phoneme 3, phoneme 3. Then the continuous occurrence frequency of phoneme 1 is 3, the continuous occurrence frequency of phoneme 2 is 2, and the continuous occurrence frequency of phoneme 3 is 4. The initial phoneme interval sequence can be constructed based on these phonemes and continuous occurrence frequencies.

[0049] Optionally, since different generated audio identification methods described above can obtain different forms of audio signal authenticity identification results, when processing the initial phoneme interval sequence, different forms can be used to process and obtain the target phoneme interval sequence, so as to facilitate the use of different generated audio identification models to process the target phoneme interval sequence to obtain the audio signal authenticity identification result associated with the generated audio identification method. Exemplarily, the target phoneme interval sequence can be the initial phoneme interval sequence, or it can be a set of sub-segments obtained by segmenting the initial phoneme interval sequence in units of frames.

[0050] Optionally, in order to facilitate different generated audio identification methods to obtain different forms of audio signal authenticity identification results, different generated audio identification models can be used to process the target phoneme interval sequence to obtain different forms of audio signal authenticity identification results. In one embodiment, a multi-scale feature extractor can be configured in the generated audio identification model to extract multi-scale features from the target phoneme interval sequence to obtain a feature vector, and the authenticity identification result of the audio signal is analyzed by the feature vector.

[0051] According to the method and device for generating audio identification and generating area positioning based on phoneme interval sequence provided by the embodiment of the present invention, the phonemes of the audio signal to be identified in the generated audio identification request are marked; the initial phoneme interval sequence is constructed according to the connection frequency of the marked phonemes; the target phoneme interval sequence obtained after processing the initial phoneme interval sequence based on the generated audio identification method is input into the generated audio identification model, and the multi-scale dynamic features extracted from the target phoneme interval sequence are analyzed to output the authenticity identification result of the audio signal. Since in the process of identifying the audio signal, the phoneme interval sequence is constructed according to the continuous occurrence frequency of the marked phonemes, and the phoneme interval sequence is used to identify the authenticity of the audio signal, and the continuous occurrence frequency of the phonemes can be closer to the user's real pronunciation habits, the authenticity of the audio signal can be more accurately identified, and the generation interval in the generated audio can be accurately located, so the generated audio identification method provided by the embodiment of the present invention at least partially overcomes the problem that the generation interval of the generated audio is difficult to locate in the related art, thereby achieving the technical effect of efficiently locating the generation interval of the generated audio and efficiently identifying the accuracy of the generated audio.

[0052] The generated audio identification and generated area positioning method based on the phoneme interval sequence provided in the embodiment of the present invention can be applied to two scenarios. One is the task of identifying the true and false binary value of the generated audio, and the overall authenticity result of the generated audio is obtained, that is, through the above-mentioned first identification method, the identification result that the audio signal to be identified is true as a whole, or is generated as a whole is obtained. The other can be a regional forgery detection and positioning task, and the regional positioning results belonging to the real audio and the generated audio are obtained, that is, through the above-mentioned second identification method, the identification results of the regional position belonging to the real audio and the regional position belonging to the generated audio in the audio signal to be identified are obtained.

[0053] Optionally, for these two scenarios, the embodiments of the present invention also have different processing procedures for the initial phoneme interval sequence. Specifically, the process of processing the initial phoneme interval sequence into a target phoneme interval sequence may include the following operations: when the identification method is the first identification method, directly using the initial phoneme interval sequence as the target phoneme interval sequence; when the identification method is the second identification method, dividing the initial phoneme interval sequence into sub-segments in units of frames to obtain a sub-segment set, wherein the sub-segment set is used as the target phoneme interval sequence.

[0054] Figure 3 The invention shows an architecture diagram of a true and false binary discrimination task scenario suitable for generating audio according to an embodiment of the invention.

[0055] like Figure 3 As shown, the audio signal to be identified 301 can be preprocessed to obtain an initial phoneme interval sequence 305. Optionally, the preprocessing process may include the following operations: input the audio signal to be identified 301 into a phoneme representation model 302 based on a pre-trained model (for example, Hu-BERT (Hidden-Unit BERT (Bidirectional EncoderRepresentations from Transformers, language representation model) generates an audio identification pre-trained model), so as to extract and mark the phonemes in the audio signal to be identified 301 using the phoneme representation model 302 based on the pre-trained model, and output a sequence 303 containing the marked phonemes; the sequence 303 of the marked phonemes can be input into a phoneme interval sequence generation model 304, and the phoneme interval sequence generation model 304 can output an initial phoneme interval sequence 305 according to the continuous occurrence frequency of the marked phonemes.

[0056] Optionally, in Figure 3In the scenario shown, the initial phoneme interval sequence 305 can be input into the multi-scale feature extractor 306 as the target phoneme interval sequence, and the multi-scale feature vector 307 is output. The multi-scale feature vector 307 can be input into the true and false binary identification model 308, and the true and false binary identification model 308 outputs a true or false result.

[0057] Optionally, the process of extracting multi-scale dynamic features by the multi-scale feature extractor 306 can refer to the process of extracting multi-scale dynamic features in the related art. In one embodiment, the multi-scale dynamic features can be extracted using the multi-scale entropy (MSE) method, which aims to characterize the dynamic characteristics of the analyzed sequence at different time scales by measuring the complexity of the time series at different scales, that is, the measurement of the ordered (periodic)-disordered (random) state of the sequence structure. The calculation process of this method can be as follows.

[0058] Operation 1: Determine the value of the multi-scale parameter (scale) and perform coarse-graining on the original sequence. When scale = 1, the processed sequence is equal to the original sequence. When scale = n (n is an integer greater than 1), the n adjacent numbers in the original sequence are averaged, and the sequence length becomes 1 / n of the previous one.

[0059] Operation 2: For the time series after coarse-graining processing:

[0060] , through phase space reconstruction Transformation to multidimensional state space ,in, , is the time delay and m is the embedding dimension.

[0061] Operation 3: For each state vector , calculate it and reconstruct the multidimensional state space Other state vectors in distance.

[0062] Operation 4: For each ,definition To record and The number of vectors whose distance is within the threshold r. To examine the sequence The self-matching situation within the specified range is the measurement sequence An important indicator of uncertainty. Generally, ,in For sequence The standard deviation of .

[0063] Repeat operations 2 to 4 to calculate the matching situation in the m+1 dimension ,have .

[0064] Calculate sample entropy: , if the calculated entropy value is larger, it indicates that the complexity is greater.

[0065] After a series of multi-scale calculations, for example, the value of scale ranges from 1 to 20, a multi-scale feature vector with a dimension of 20 can be obtained, which is the multi-scale dynamic feature of the sequence extracted by the embodiment of the present invention. It can be understood that the scale is just a parameter with a value ranging from 1 to 20. The physical meaning is equivalent to extracting sequence features at different granularities, which is similar to the downsampling technology.

[0066] Optionally, Figure 3 The true and false binary identification model 308 shown can be implemented by using an identification model based on a light convolutional neural network (LCNN). The convolution model can be trained in the following manner: inputting a sample phoneme interval sequence into the convolution network model, outputting a training identification result of the sample phoneme interval sequence; adjusting the model parameters of the convolution network model according to the training identification result and the label of the sample phoneme interval sequence until the third preset end condition is met.

[0067] Optionally, the sample data used to train the true and false binary discrimination model can be obtained from a sample database. In one embodiment, the sample database may store sample audio signals (e.g., sample speech) with real labels, such as real audio and generated audio. The sample audio signal is preprocessed, for example, the sample audio signal is processed using a phoneme representation model 302 based on a pre-trained model, the phonemes in the sample audio signal are extracted, and the phonemes are marked, and a sequence containing the marked phonemes is output; the continuous occurrence frequency of the phonemes in the marked phoneme sequence is counted using a phoneme interval sequence generation model 304 to obtain an initial sample phoneme interval sequence. When training the true and false binary discrimination model, the initial sample phoneme interval sequence can be directly input into the true and false binary discrimination model for training, and the model parameters of the true and false binary discrimination model are continuously adjusted according to the result output by the true and false binary discrimination model and the real label of the sample phoneme interval sequence until the third preset end condition is reached.

[0068] Optionally, the third preset end condition may refer to that the training round of the true and false binary discrimination model reaches a predetermined training round, or that the difference between the output result of the true and false binary discrimination model and the true label of the sample phoneme interval sequence is within a third error threshold. Both the predetermined training round and the third error threshold can be adaptively adjusted according to actual needs.

[0069] Optionally, the trained true-false binary identification model can be used to determine the true-false identification result of the audio signal to be identified. For example, the target phoneme interval sequence generated based on the audio signal to be identified can be input into the true-false binary identification model, and the audio signal true-false identification result of the audio signal to be identified can be input.

[0070] According to the embodiment of the present invention, since the phoneme interval sequence is more in line with the actual pronunciation habits, the method of identifying the audio signal based on the phoneme interval sequence can improve the accuracy of the generated audio identification.

[0071] Optionally, when the identification method is the second identification method, the initial phoneme interval sequence can be divided into sub-segments in units of frames to obtain a sub-segment set, wherein the sub-segment set can be used as the target phoneme interval sequence.

[0072] Figure 4 The following is an architecture diagram applicable to regional forgery detection and positioning task scenarios according to an embodiment of the present invention.

[0073] like Figure 4 As shown, the architecture suitable for regional forgery detection and positioning task scenarios can also have a preprocessing part, for example, the audio signal to be identified 401 is input into a phoneme representation model 402 based on a pre-trained model, so as to use the phoneme representation model 402 based on the pre-trained model to extract and mark the phonemes in the audio signal to be identified 401, and output a sequence 403 containing marked phonemes; the sequence 403 of the marked phonemes can be input into a phoneme interval sequence generation model 404, and the phoneme interval sequence generation model 404 can output an initial phoneme interval sequence 405 according to the continuous occurrence frequency of the marked phonemes.

[0074] Optionally, by dividing the initial phoneme interval sequence 405 into frames to obtain a sub-segment set 406, and using the sub-segment set 406 as the target phoneme interval sequence, the regional forgery detection and positioning task can be achieved more accurately and efficiently to obtain real regional audio signals (such as real regional speech) and forged regional audio signals (such as forged regional speech).

[0075] Optionally, when training the regional generated audio identification model in the current regional forgery detection and positioning task scenario, two methods can be used for training to achieve the effect of accelerating model training. Specifically, Figure 4 In the illustrated architecture diagram, the model used to identify the target phoneme interval sequence may include two region identification models: a first region identification model 407 and a second region identification model 408 .

[0076] The first region identification model 407 may include a first multi-scale feature extractor 4071 and a second multi-scale feature extractor 4072, a first fully connected layer (FC) 4073 for processing the output result of the first multi-scale feature extractor 4071, and a second fully connected layer 4074 for processing the output result of the second multi-scale feature extractor 4072. The first multi-scale feature extractor 4071 and the second feature extractor 4072 may be used to extract multi-scale dynamic features in the target phoneme interval sequence using a multi-scale entropy algorithm, and the first fully connected layer 4073 and the second fully connected layer 4074 may be used to cooperate with the first feature extractor 4071 and the second feature extractor 4072 to complete feature modeling.

[0077] The first region identification model can be trained in the following manner: obtaining a sample phoneme interval sequence constructed based on a sample audio signal; dividing the sample phoneme interval sequence into sample sub-segments in units of frames to obtain a set of sample sub-segments; randomly selecting two sample sub-segments from the set of sample sub-segments to form a sample pair, wherein the sample pair includes a first sample sub-segment and a second sample sub-segment; using a first multi-scale feature extractor to perform feature extraction on the first sample sub-segment to obtain a feature vector of the first sample sub-segment, and using a second multi-scale feature extractor to perform feature extraction on the second sample sub-segment to obtain a feature vector of the second sample sub-segment; using cosine similarity to calculate the similarity between the feature vector of the first sample sub-segment and the feature vector of the second sample sub-segment to obtain a training similarity; adjusting the model parameters of the first region identification model according to the relationship between the training similarity and the true similarity until a first preset end condition is reached, wherein the true similarity is obtained based on the label of the first sample sub-segment and the label of the second sample sub-segment.

[0078] Optionally, the sample data for training the first region identification model can also be obtained from a sample database. In one embodiment, the sample database may store sample audio signals with real labels, such as real audio and generated audio. The sample audio signal is preprocessed, for example, the sample audio signal is processed using a phoneme representation model 402 based on a pre-trained model, the phonemes in the sample audio signal are extracted, and the phonemes are marked, and a sequence containing the marked phonemes is output; the continuous occurrence frequency of the phonemes in the marked phoneme sequence is counted using a phoneme interval sequence generation model 404 to obtain an initial sample phoneme interval sequence. The initial sample phoneme interval sequence is divided into sample sub-segments in units of frames to obtain a set of sample sub-segments.

[0079] Optionally, two sample sub-segments may be randomly selected from the sample sub-segment set to form a sample pair. In one embodiment, the process may include the following operations: grouping the sample sub-segments in the sample sub-segment set according to the labels corresponding to the sample sub-segments to obtain a first sample sub-segment group labeled as real audio and a second sample sub-segment group labeled as generated audio; generating a target sample sub-segment set according to a second predetermined number of sample sub-segments randomly selected from the first sample sub-segment group and a second predetermined number of sample sub-segment groups randomly selected from the second sample sub-segment group, wherein the second predetermined number is a positive integer multiple of 2; and randomly selecting two sample sub-segments from the target sample sub-segment set to form a sample pair.

[0080] Optionally, the label corresponding to the sample sub-segment may be the same as the real label of the sample audio signal, for example, the real sample sub-segment of the real sample audio signal and the fake sample sub-segment of the fake sample audio signal. Alternatively, the sample sub-segments of the fake sample audio signal may all be fake sample sub-segments, or may be a combination of fake sample sub-segments and real sample sub-segments.

[0081] Optionally, the sample sub-segment of the real audio label may be a first sample sub-segment group, and the sample sub-segment of the generated audio label may be a second sample sub-segment group. A second predetermined number of sample sub-segments are randomly selected from the first sample sub-segment group, and a second predetermined number of sample sub-segments are randomly selected from the second sample sub-segment group to obtain a target sample sub-segment set, and two sample sub-segments can be randomly selected from the target sample sub-segment set to form a sample pair. The second predetermined number may be a positive integer multiple of 2, and may be adaptively adjusted according to actual needs.

[0082] Optionally, the sample pair may include a first sample sub-segment and a second sample sub-segment, but the first sample sub-segment may come from the first sample sub-segment group or the second sample sub-segment group. Similarly, the second sample sub-segment may come from the first sample sub-segment group or the second sample sub-segment group.

[0083] Continue to refer to Figure 4 , the first sample sub-segment 4075 in the sample pair can be input into the first multi-scale feature extractor 4071, and feature extraction is performed using the multi-scale entropy method to obtain a feature vector 4077 of the first sample sub-segment. The second sample sub-segment 4076 in the sample pair can be input into the second multi-scale feature extractor 4072, and feature extraction is performed using the multi-scale entropy method to obtain a feature vector 4078 of the second sample sub-segment.

[0084] The similarity between the feature vector 4077 of the first sample sub-segment and the feature vector 4078 of the second sample sub-segment is calculated using cosine similarity to obtain a training similarity. According to the training similarity and the relationship between the real similarity between the labels of the first sample sub-segment 4075 and the second sample sub-segment 4076 (for example, the label of the first sample sub-segment 4075 and the label of the second sample sub-segment 4076 are calculated using the above-mentioned cosine similarity) (for example, if the first sample sub-segment and the second sample sub-segment have the same label, the similarity is 1; if they have different labels, the similarity is -1), the model parameters of the first region identification model 407 are adjusted, for example, the model parameters of the first multi-scale feature extractor 4071 and the second multi-scale feature extractor 4072 are adjusted until the training process reaches the first preset end condition.

[0085] Optionally, the first preset end condition may refer to the training round of the first region identification model reaching a predetermined training round, or the error between the training similarity and the true similarity being within a first error threshold range. Both the predetermined training round and the first error threshold may be adaptively adjusted according to actual needs.

[0086] Optionally, the second region identification model may be trained in a different manner from the first region identification model. Figure 4 As shown, the second region identification model 408 may include a third multi-scale feature extractor 4081 and a third fully connected layer 4082 for processing the output result of the third multi-scale feature extractor 4081.

[0087] In one embodiment, the second region identification model can be trained in the following manner: using a third multi-scale feature extractor to extract features from all sample sub-fragments in the sample sub-fragment set so that each sample sub-fragment has its own feature vector; performing cluster analysis on the feature vector of each sample sub-fragment to obtain a training similarity matrix; and adjusting the model parameters of the second region identification model according to the relationship between the training similarity matrix and the true similarity matrix until a second preset end condition is reached, wherein the true similarity matrix is ​​obtained by performing cluster analysis on the labels of each sample sub-fragment.

[0088] Optionally, in the training of the second region identification model, the input sample data may not be a sample pair, but a whole sample sub-segment set, that is, all sample sub-segments in the sample sub-segment set are input into the third multi-scale feature extractor 4081, and the multi-scale entropy method is used to extract features from each sample sub-segment, so that each sample sub-segment has a corresponding multi-scale feature vector; the multi-scale feature vector of each sample sub-segment is input into the third fully connected layer 4082 to obtain an output result 4083. By performing cluster analysis on the output result 4083, that is, the multi-scale feature vector after full connection, a training similarity matrix 4084 can be obtained. According to the relationship between the training similarity matrix and the real similarity matrix 4085 obtained based on the real label of each sample sub-segment in the sample sub-segment set (for example, the real label of each sample sub-segment in the sample sub-segment set is clustered by the above-mentioned cluster analysis method), the model parameters of the second region identification model 408 are adjusted, for example, the model parameters of the third multi-scale feature extractor 4081 are adjusted until the training process reaches the second preset end condition.

[0089] Optionally, the second preset end condition may refer to the training round of the second region identification model reaching a predetermined training round, or the error between the training similarity matrix and the true similarity matrix is ​​within a second error threshold range. Both the predetermined training round and the second error threshold can be adaptively adjusted according to actual needs.

[0090] Optionally, during the process of training the first region identification model and the second region identification model, in the same round of training of the first region identification model and the second region identification model, the model parameters of the first region identification model and the model parameters of the second region identification model can be the same, and after the same round of training is completed, the model parameters of the first region identification model and the model parameters of the second region identification model can be synchronously updated.

[0091] According to an embodiment of the present invention, a generated audio identification method suitable for regional forgery detection and positioning tasks is provided, and generated audio identification is performed based on phoneme interval sequences and the similarity between frames, so as to obtain regional positions belonging to real audio and regional positions belonging to generated audio. This not only provides a diversified identification method for generated audio identification, but also enables audio signals to be identified at a fine granularity, thereby improving the accuracy of generated audio identification.

[0092] Optionally, the trained first region identification model and the second region identification model can be used to implement the regional forgery detection and positioning tasks of the audio signal to be identified, so as to output the authenticity identification result of the audio signal to be identified. In one embodiment, the process may include the following operations: inputting a first predetermined number of sub-segment pairs randomly selected from the target phoneme interval sequence into the first region identification model, and outputting a first generated audio identification result; inputting the target phoneme interval sequence as a whole into the second region identification model, and outputting a second generated audio identification result; generating the authenticity identification result of the audio signal to be identified based on the first generated audio identification result and the first weight value, and the second generated audio identification result and the second weight value.

[0093] Optionally, the first predetermined number may be a positive integer multiple of 2. The first region identification model may determine the authenticity result of the audio signal to be identified based on the similarity between the sub-segment pairs. For example, non-zero even numbered sample sub-segments extracted from the target phoneme interval sequence obtained by frame segmentation of the initial phoneme interval sequence are input into the first region identification model in pairs to obtain the first generated audio identification result of these sample sub-segments. The target phoneme interval sequence is input as a whole into the second region identification model, and the second generated audio identification result of the audio signal to be identified may be output. Optionally, the first generated audio identification result may have a first weight value, and the second generated audio identification result may have a second weight value. By adding the product of the first generated audio identification result and the first weight value and the product of the second generated audio identification result and the second weight value, the authenticity identification result of the audio signal to be identified may be obtained. The first weight value and the second weight value may be adaptively adjusted according to actual needs.

[0094] Optionally, in one embodiment, since the second region identification model may be input with all target phoneme interval sequences, the first weight value may be 0 and the second weight value may be 1, that is, only the second generated audio identification result output by the second region identification model may be used. In this case, it is not necessary to use the first region model to output the first generated audio identification result to improve resource utilization.

[0095] Figure 5 A schematic diagram showing a regional forged positioning result according to an embodiment of the present invention is shown.

[0096] like Figure 5 As shown, taking the audio signal as speech as an example, the speech in the first area 501 and the fourth area 504 may be closer to the real pronunciation, and the speech in the second area 502 and the third area 503 may be closer to the real pronunciation. The speech in the fifth area 505 and the sixth area 506 may be completely different from the real pronunciation, so in the corresponding audio signal to be identified, the part corresponding to the fifth area 505 and the sixth area 506 is the forged regional speech, and the part corresponding to the first area 501, the fourth area 504, the second area 502 and the third area 503 is the real regional speech.

[0097] Optionally, in one embodiment, the present application selects the Hu-BERT model using model parameters that have been pre-trained in the LibriSpeech corpus, the number of scales in the MSE method is set to 20, and the hidden layer feature dimension is 128. Figure 3 and Figure 4 After the model is built, the model training is performed according to the training process provided by the embodiment of the present invention. After the training is completed, the audio signal to be identified is input Figure 3 and Figure 4 The model shown is used to obtain different generated audio identification results according to different scenarios.

[0098] The generated audio identification and generated area positioning method based on the phoneme interval sequence provided in the embodiment of the present invention realizes audio forgery identification based on the dynamic feature changes of the phoneme interval sequence, which can at least partially avoid the troubles caused by the coupling relationship in the training of the traditional method based on phoneme pseudo-labels. The generated audio identification and generated area positioning method based on the phoneme interval sequence provided in the embodiment of the present invention can realize the modeling of the pronunciation habits of the audio source. Different from the traditional method using the spectral features of the audio signal, the generated audio identification and generated area positioning method based on the phoneme interval sequence provided in the embodiment of the present invention can realize the overall identification of the generated audio or the interval detection and positioning of the generated audio by capturing the differences in the dynamic features of the phoneme interval sequence. The generated audio identification and generated area positioning method based on the phoneme interval sequence provided in the embodiment of the present invention has fewer models involved, and thus less training parameters involved, so that the training efficiency is higher.

[0099] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.

[0100] Based on the above-mentioned generated audio identification and generated area positioning method based on phoneme interval sequence, the present invention also provides a generated audio identification and generated area positioning device based on phoneme interval sequence. Figure 6 The device is described in detail.

[0101] Figure 6 The structure block diagram of the device for generating audio identification and generating area positioning based on phoneme interval sequence according to an embodiment of the present invention is shown.

[0102] like Figure 6 As shown, the apparatus 600 for identifying and locating generated audio regions based on a phoneme interval sequence in this embodiment includes a marking module 610 , a construction module 620 , a processing module 630 and a first input module 640 .

[0103] The marking module 610 is used to mark the phonemes of the audio signal to be identified in generating the audio identification request to obtain marked phonemes.

[0104] The construction module 620 is used to construct an initial phoneme interval sequence of the audio signal to be identified according to the continuous occurrence frequency of the marked phonemes.

[0105] The processing module 630 is used to process the initial phoneme interval sequence based on the generated audio identification mode carried in the generated audio identification request to obtain a target phoneme interval sequence.

[0106] The first input module 640 is used to input the target phoneme interval sequence into the generated audio identification model, and output the authenticity identification result of the audio signal to be identified by analyzing the multi-scale dynamic features extracted from the target phoneme interval sequence, wherein the generated audio identification model is associated with the generated audio identification method.

[0107] According to the method and device for generating audio identification and generating area positioning based on phoneme interval sequence provided by the embodiment of the present invention, the phonemes of the audio signal to be identified in the generated audio identification request are marked; the initial phoneme interval sequence is constructed according to the connection frequency of the marked phonemes; the target phoneme interval sequence obtained after processing the initial phoneme interval sequence based on the generated audio identification method is input into the generated audio identification model, and the multi-scale dynamic features extracted from the target phoneme interval sequence are analyzed to output the authenticity identification result of the audio signal. Since in the process of identifying the audio signal, the phoneme interval sequence is constructed according to the continuous occurrence frequency of the marked phonemes, and the phoneme interval sequence is used to identify the authenticity of the audio signal, and the continuous occurrence frequency of the phonemes can be closer to the user's real pronunciation habits, the authenticity of the audio signal can be more accurately identified, and the generation interval in the generated audio can be accurately located, so the generated audio identification and generating area positioning method based on phoneme interval sequence provided by the embodiment of the present invention at least partially overcomes the problem that the generation difference of the generated audio is difficult to locate in the related art, thereby achieving the technical effect of efficiently locating the generation interval of the generated audio and efficiently identifying the accuracy of the generated audio.

[0108] According to an embodiment of the present invention, the processing module may include a first processing submodule and a second processing submodule.

[0109] The first processing submodule is used to directly use the initial phoneme interval sequence as the target phoneme interval sequence when the identification method is the first identification method.

[0110] The second processing submodule is used to divide the initial phoneme interval sequence into sub-segments in units of frames to obtain a sub-segment set when the identification method is the second identification method, wherein the sub-segment set is used as the target phoneme interval sequence.

[0111] According to an embodiment of the present invention, the first input module may include a first input submodule, a second input submodule and a generating submodule.

[0112] The first input submodule is used to input a first predetermined number of sub-segment pairs randomly selected from the target phoneme interval sequence into a first region identification model, and output a first generated audio identification result, wherein the first predetermined number is a positive integer multiple of 2.

[0113] The second input submodule is used to input the target phoneme interval sequence as a whole into the second region identification model and output a second generated audio identification result.

[0114] The generating submodule is used to generate an authenticity identification result of the audio signal to be identified according to the first generated audio identification result and the first weight value, and the second generated audio identification result and the second weight value.

[0115] According to an embodiment of the present invention, the apparatus for generating audio identification and generating area positioning based on phoneme interval sequence may further include an acquisition module, a segmentation module, a selection module, a first extraction module, a calculation module and a first adjustment module.

[0116] The acquisition module is used to acquire a sample phoneme interval sequence constructed based on the sample audio signal.

[0117] The segmentation module is used to segment the sample phoneme interval sequence into sample sub-segments in units of frames to obtain a sample sub-segment set.

[0118] The selection module is used to randomly select two sample sub-segments from the sample sub-segment set to form a sample pair, wherein the sample pair includes a first sample sub-segment and a second sample sub-segment.

[0119] The first extraction module is used to perform feature extraction on the first sample sub-segment using the first multi-scale feature extractor to obtain a feature vector of the first sample sub-segment, and to perform feature extraction on the second sample sub-segment using the second multi-scale feature extractor to obtain a feature vector of the second sample sub-segment.

[0120] The calculation module is used to calculate the similarity between the feature vector of the first sample sub-segment and the feature vector of the second sample sub-segment by using cosine similarity to obtain training similarity.

[0121] The first adjustment module is used to adjust the model parameters of the first region identification model according to the relationship between the training similarity and the true similarity until a first preset end condition is reached, wherein the true similarity is obtained according to the label of the first sample sub-segment and the label of the second sample sub-segment.

[0122] According to an embodiment of the present invention, the selection module may include a grouping submodule, a first selection submodule and a second selection submodule.

[0123] The grouping submodule is used to group the sample sub-segments in the sample sub-segment set according to the labels corresponding to the sample sub-segments to obtain a first sample sub-segment group whose labels are real audio and a second sample sub-segment group whose labels are generated audio.

[0124] The first selection submodule is used to generate a target sample sub-segment set according to a second predetermined number of sample sub-segments randomly selected from the first sample sub-segment group and a second predetermined number of sample sub-segment groups randomly selected from the second sample sub-segment group, wherein the second predetermined number is a positive integer multiple of 2.

[0125] The second selection submodule is used to randomly select two sample sub-segments from the target sample sub-segment set to form a sample pair.

[0126] According to an embodiment of the present invention, the apparatus for identifying generated audio and locating generated areas based on a phoneme interval sequence may further include a second extraction module, an analysis module, and a second adjustment module.

[0127] The second extraction module is used to use a third multi-scale feature extractor to perform feature extraction on all sample sub-segments in the sample sub-segment set, so that each sample sub-segment has its own feature vector.

[0128] The analysis module is used to perform cluster analysis on the feature vector of each sample sub-segment to obtain a training similarity matrix.

[0129] The second adjustment module is used to adjust the model parameters of the second region identification model according to the relationship between the training similarity matrix and the real similarity matrix until the second preset end condition is reached, wherein the real similarity matrix is ​​obtained by clustering analysis of the labels of each sample sub-segment.

[0130] According to an embodiment of the present invention, the apparatus for generating audio identification and generating region positioning based on a phoneme interval sequence may further include an updating module.

[0131] The updating module is used to ensure that the model parameters of the first region identification model and the model parameters of the second region identification model are the same during the same round of training, and to synchronously update the model parameters of the first region identification model and the model parameters of the second region identification model after the same round of training is completed.

[0132] According to an embodiment of the present invention, the apparatus for generating audio identification and generating area positioning based on a phoneme interval sequence may further include a second input module and a third adjustment module.

[0133] The second input module is used to input the sample phoneme interval sequence into the true and false binary identification model, and output the training identification result of the sample phoneme interval sequence.

[0134] The third adjustment module is used to adjust the model parameters of the true and false binary identification model according to the training identification results and the labels of the sample phoneme interval sequence until the third preset end condition is met.

[0135] According to an embodiment of the present invention, any multiple modules among the marking module 610, the construction module 620, the processing module 630 and the first input module 640 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the marking module 610, the construction module 620, the processing module 630 and the first input module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the marking module 610, the construction module 620, the processing module 630 and the first input module 640 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0136] It should be noted that the part of the apparatus for generating audio identification and generating area positioning based on phoneme interval sequence in the embodiment of the present invention corresponds to the part of the method for generating audio identification and generating area positioning based on phoneme interval sequence in the embodiment of the present invention. The description of the part of the apparatus for generating audio identification and generating area positioning based on phoneme interval sequence specifically refers to the part of the method for generating audio identification and generating area positioning based on phoneme interval sequence, which will not be repeated here.

[0137] 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 invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0138] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or combined in various ways, even if such combinations and / or combinations are not explicitly described in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in various ways. All of these combinations and / or combinations fall within the scope of the present invention.

[0139] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination advantageously. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A method for identifying generated audio and locating generated areas based on phoneme interval sequences, characterized in that: The method comprises: Marking the phonemes of the audio signal to be identified in the generated audio identification request to obtain marked phonemes; constructing an initial phoneme interval sequence of the audio signal to be identified according to the continuous occurrence frequency of the marked phonemes; Based on the generated audio identification mode carried in the generated audio identification request, the initial phoneme interval sequence is processed to obtain a target phoneme interval sequence; Inputting the target phoneme interval sequence into a generated audio identification model, and outputting the authenticity identification result of the audio signal to be identified by analyzing the multi-scale dynamic features extracted from the target phoneme interval sequence, wherein the generated audio identification model is associated with the generated audio identification method; The generated audio identification method includes a first identification method and a second identification method, wherein the first identification method is used to obtain the overall authenticity result of the audio signal to be identified, and the second identification method is used to obtain the regional authenticity result of the audio signal to be identified; the generated audio identification method based on the generated audio identification request is used to process the initial phoneme interval sequence to obtain the target phoneme interval sequence, including: when the identification method is the first identification method, directly using the initial phoneme interval sequence as the target phoneme interval sequence; when the identification method is the second identification method, dividing the initial phoneme interval sequence into sub-segments in units of frames to obtain a sub-segment set, wherein the sub-segment set is used as the target phoneme interval sequence; Among them, the generated audio identification model includes a first area identification model and a second area identification model associated with the second identification method; the target phoneme interval sequence is input into the generated audio identification model, and the multi-scale dynamic features extracted from the target phoneme interval sequence are analyzed to output the authenticity identification result of the audio signal to be identified, including: inputting a first predetermined number of sub-segment pairs randomly selected from the target phoneme interval sequence into the first area identification model, and outputting a first generated audio identification result, wherein the first predetermined number is a positive integer multiple of 2; inputting the target phoneme interval sequence as a whole into the second area identification model, and outputting a second generated audio identification result; generating the authenticity identification result of the audio signal to be identified based on the first generated audio identification result and the first weight value, and the second generated audio identification result and the second weight value.

2. The method according to claim 1, characterized in that The first region identification model includes a first multi-scale feature extractor and a second multi-scale feature extractor; The first region identification model is trained in the following manner: Obtaining a sample phoneme interval sequence constructed based on the sample audio signal; Dividing the sample phoneme interval sequence into sample sub-segments in units of frames to obtain a set of sample sub-segments; Randomly selecting two sample sub-segments from the sample sub-segment set to form a sample pair, wherein the sample pair includes a first sample sub-segment and a second sample sub-segment; Using the first multi-scale feature extractor to extract features from the first sample sub-segment to obtain a feature vector of the first sample sub-segment, and using the second multi-scale feature extractor to extract features from the second sample sub-segment to obtain a feature vector of the second sample sub-segment; Calculating the similarity between the feature vector of the first sample sub-segment and the feature vector of the second sample sub-segment using cosine similarity to obtain training similarity; According to the relationship between the training similarity and the true similarity, the model parameters of the first region identification model are adjusted until a first preset end condition is reached, wherein the true similarity is obtained according to the label of the first sample sub-segment and the label of the second sample sub-segment.

3. The method according to claim 2, characterized in that The randomly selecting two sample sub-segments from the sample sub-segment set to form a sample pair includes: The sample sub-segments in the sample sub-segment set are grouped according to labels corresponding to the sample sub-segments to obtain a first sample sub-segment group whose labels are real audio and a second sample sub-segment group whose labels are generated audio; generating a target sample sub-segment set according to a second predetermined number of sample sub-segments randomly selected from the first sample sub-segment group and a second predetermined number of sample sub-segment groups randomly selected from the second sample sub-segment group, wherein the second predetermined number is a positive integer multiple of 2; Two sample sub-segments are randomly selected from the target sample sub-segment set to form a sample pair.

4. The method according to claim 2, characterized in that: The second region identification model includes a third multi-scale feature extractor; The second region identification model is trained in the following manner: Using the third multi-scale feature extractor to perform feature extraction on all the sample sub-segments in the sample sub-segment set, so that each of the sample sub-segments has its own feature vector; Performing cluster analysis on the feature vector of each of the sample sub-segments to obtain a training similarity matrix; According to the relationship between the training similarity matrix and the true similarity matrix, the model parameters of the second region identification model are adjusted until a second preset end condition is reached, wherein the true similarity matrix is ​​obtained by clustering analysis of the labels of each of the sample sub-segments.

5. The method according to claim 4, characterized in that The method further comprises: During the same round of training, the model parameters of the first region identification model and the model parameters of the second region identification model are the same. After the same round of training, the model parameters of the first region identification model and the model parameters of the second region identification model are synchronously updated.

6. The method according to claim 4, characterized in that The generated audio identification model includes a true and false binary identification model associated with the first identification method; The true and false binary identification model is trained in the following way: Inputting the sample phoneme interval sequence into the true-false binary discrimination model, and outputting the training discrimination result of the sample phoneme interval sequence; According to the training identification result and the label of the sample phoneme interval sequence, the model parameters of the true and false binary identification model are adjusted until a third preset end condition is met.

7. The method according to claim 6, characterized in that The first preset end condition, the second preset end condition and the third preset end condition each include at least one of the following: The training rounds of the model reach the predetermined training rounds, the error between the training similarity and the true similarity is within a first error threshold range, the error between the training similarity matrix and the true similarity matrix is ​​within a second error threshold range, and the error between the training identification result and the label of the sample phoneme interval sequence is within a third error threshold range.

8. A device for identifying generated audio and locating generated areas based on phoneme interval sequences, characterized in that: The device comprises: A marking module, used for marking the phonemes of the audio signal to be identified in the generated audio identification request to obtain marked phonemes; A construction module, used for constructing an initial phoneme interval sequence of the audio signal to be identified according to the continuous occurrence frequency of the marked phonemes; A processing module, configured to process the initial phoneme interval sequence based on the generated audio identification mode specified in the generated audio identification request to obtain a target phoneme interval sequence; A first input module is used to input the target phoneme interval sequence into a generated audio identification model, and output the authenticity identification result of the audio signal to be identified by analyzing the multi-scale dynamic features extracted from the target phoneme interval sequence, wherein the generated audio identification model is associated with the generated audio identification method; The audio identification method includes a first identification method and a second identification method, wherein the first identification method is used to obtain the overall authenticity result of the audio signal to be identified, and the second identification method is used to obtain the regional authenticity result of the audio signal to be identified; the processing module includes a first processing submodule and a second processing submodule; the first processing submodule is used to directly use the initial phoneme interval sequence as the target phoneme interval sequence when the identification method is the first identification method; the second processing submodule is used to divide the initial phoneme interval sequence into sub-segments in units of frames to obtain a sub-segment set when the identification method is the second identification method, wherein the sub-segment set is used as the target phoneme interval sequence; Among them, the generated audio identification model includes a first area identification model and a second area identification model associated with the second identification method, and the first input module may include a first input sub-module, a second input sub-module and a generation sub-module; the first input sub-module is used to input a first predetermined number of sub-segment pairs randomly selected from the target phoneme interval sequence into the first area identification model, and output a first generated audio identification result, wherein the first predetermined number is a positive integer multiple of 2; the second input sub-module is used to input the target phoneme interval sequence as a whole into the second area identification model, and output a second generated audio identification result; the generation sub-module is used to generate the authenticity identification result of the audio signal to be identified based on the first generated audio identification result and the first weight value, and the second generated audio identification result and the second weight value.