Multi-modal detection method and system based on strong and weak supervision
By adopting a multi-modal detection method with strong and weak supervision in audio and video data detection, combining strong supervision and weak supervision conditions, generating false data sets and using cross-modal detectors for processing, it solves the problem of single modal detection in the existing technology. It solves the problem of insufficient and weakly supervised detection performance and achieves higher detection accuracy and efficiency.
Patent Information
- Application Number
- CN202410752873.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-20
AI Technical Summary
Existing audio and video data detection methods mostly focus on a single modality, making it difficult to comprehensively detect data containing different modalities, and the detection performance is poor under weak supervision conditions.
Using a multi-modal detection method based on strong and weak supervision, by constructing two conditional architectures of strong supervision and weak supervision, combining audio and video features, a false data set is generated, and a cross-modal detector is used for binary classification processing to achieve Deep fake detection of audio and video data.
Without losing recognition accuracy, the different modal information of audio and video data are comprehensively considered to improve the accuracy and reliability of detection, effectively extract and fuse the features of audio and video data, and improve detection efficiency.
Smart Images

Figure CN118675548A
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to a multimodal detection method and system based on strong and weak supervision. Background Art
[0002] With the rapid development of information technology, audio and video data have become an indispensable source of information in people's daily lives. However, existing audio and video data detection methods mostly focus on single-modality data, and it is difficult to comprehensively detect data containing different modalities, so key false information may be missed.
[0003] At the same time, modal detection relying solely on weak supervision conditions has poor detection performance in special scenarios and needs to be compensated to a certain extent.
[0004] Therefore, there is an urgent need for a targeted multimodal detection method and system based on strong and weak supervision. Summary of the invention
[0005] The purpose of the present invention is to provide a multimodal detection method and system based on strong and weak supervision, which can perform audio-video multimodal fusion detection by constructing two conditional architectures of strong supervision and weak supervision without losing recognition accuracy, thereby realizing the detection of deep fake audio and video.
[0006] In a first aspect, the present application provides a multimodal detection method based on strong and weak supervision, the method comprising:
[0007] Split video into image sequences and audio;
[0008] The image sequence and audio are processed uniformly to extract image frame features and audio features;
[0009] Generate multimodal false data using real data and false data in each mode;
[0010] Set the size of the false probability P;
[0011] The data used to construct the false data set are screened, and the screening includes: selecting false data with the same background as the real data video modality content, sorting the data from large to small according to the data length, and selecting the first N data lengths, wherein the value of N is positively correlated with the set false probability P;
[0012] Determine the location of false data and generate corresponding true and false labels, which includes the following steps:
[0013] For each piece of false data, use the shortest data length as a benchmark to obtain slices in the time domain;
[0014] According to the false probability, whether the single mode in each slice is false data is determined respectively, and multiple single-mode false slice sequences are obtained;
[0015] Detecting multiple single-modality false slices at the same time, thereby determining the time correspondence between multiple single-modality false slice sequences, generating a multi-modality false slice sequence group with a matching relationship, and constructing a false data set;
[0016] Obtaining boundary information from the multimodal false slice sequence group, and generating true and false labels according to the obtained boundary information;
[0017] A cross-modal detector is constructed based on weak supervision conditions, and the false data set is learned according to the true and false labels to locate the false content in modality and time;
[0018] Using a cross-modal detector, the image frame features and the audio features are subjected to binary classification processing to determine whether the audio and video data is falsified;
[0019] Based on the strong supervision condition, the video is divided into different segments with N as the unit length, the image frame features and audio features of the segments are extracted, and the cross-modal detector is called again to perform binary classification on the image frame features and audio features of the segments, and it is judged again whether the audio and video data is false;
[0020] Combine the results of the two judgments and output the detection result.
[0021] In a second aspect, the present application provides a multimodal detection system based on strong and weak supervision, the system comprising:
[0022] A feature extraction unit is used to divide the video into an image sequence and an audio, process the image sequence and the audio uniformly, and extract image frame features and audio features;
[0023] A generating unit, used for generating multi-modal false data by using real data and false data in each mode, comprising:
[0024] The screening subunit is used to set the size of the false probability P; the data used to construct the false data set are screened, and the screening includes: selecting false data with the same background as the real data video modality content, sorting the data from large to small according to the data length, and selecting the first N data lengths, wherein the value of N is positively correlated with the set false probability P;
[0025] The determination subunit is used to determine the location of the false data and generate corresponding true and false labels, which includes the following steps:
[0026] For each piece of false data, use the shortest data length as a benchmark to obtain slices in the time domain;
[0027] According to the false probability, whether the single mode in each slice is false data is determined respectively, and multiple single-mode false slice sequences are obtained;
[0028] Detecting multiple single-modality false slices at the same time, thereby determining the time correspondence between multiple single-modality false slice sequences, generating a multi-modality false slice sequence group with a matching relationship, and constructing a false data set;
[0029] Obtaining boundary information from the multimodal false slice sequence group, and generating true and false labels according to the obtained boundary information;
[0030] A construction unit, configured to construct a cross-modal detector based on weak supervision conditions, learn the false data set according to the true and false labels, and locate the false content in modality and time;
[0031] A detection unit, used to perform binary classification processing on the image frame features and the audio features using a cross-modal detector to determine whether the audio and video data is false;
[0032] A secondary detection unit is used to divide the video into different segments with N as the unit length based on the strong supervision condition, extract the image frame features and audio features of the segments, call the cross-modal detector again, perform binary classification processing on the image frame features and audio features of the segments, and again determine whether the audio and video data is false;
[0033] The output unit is used to combine the results of the two judgments and output the detection result.
[0034] In a third aspect, the present application provides a multimodal detection system based on strong and weak supervision, the system comprising a processor and a memory:
[0035] The memory is used to store program codes and transmit the program codes to the processor;
[0036] The processor is used to execute any one of the four possible methods of the first aspect according to the instructions in the program code.
[0037] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to be executed by a processor to implement any one of the four possible methods in the first aspect.
[0038] Beneficial Effects
[0039] The present invention provides a multimodal detection method and system based on strong and weak supervision, which can perform audio-video multimodal fusion detection by constructing two conditional architectures of strong supervision and weak supervision without losing recognition accuracy, so as to realize the detection of deep fake audio and video, overcome the problems that the existing detection methods mostly focus on data of a single modality and it is difficult to comprehensively detect data containing different modalities, and the existing detection methods under weak supervision conditions have poor detection performance.
[0040] The multimodal detection method and system based on strong and weak supervision of the present invention have the following advantages and effects:
[0041] Through multimodal fusion detection, the different modal information in the audio and video data can be fully considered to improve the accuracy and reliability of detection; at the same time, the cross-modal detector is used to perform binary classification processing on the image frame features and audio features, which can effectively extract and fuse the features of the audio and video data and improve the efficiency of detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 It is a general flow chart of the multimodal detection method based on strong and weak supervision of the present invention;
[0044] Figure 2 It is an architecture diagram of the multimodal detection system based on strong and weak supervision of the present invention. DETAILED DESCRIPTION
[0045] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0046] Figure 1 A general flow chart of the multimodal detection method based on strong and weak supervision provided in this application, the method comprising:
[0047] Split video into image sequences and audio;
[0048] The image sequence and audio are processed uniformly to extract image frame features and audio features;
[0049] Generate multimodal false data using real data and false data in each mode;
[0050] Set the size of the false probability P;
[0051] The data used to construct the false data set are screened, and the screening includes: selecting false data with the same background as the real data video modality content, sorting the data from large to small according to the data length, and selecting the first N data lengths, wherein the value of N is positively correlated with the set false probability P;
[0052] Determine the location of false data and generate corresponding true and false labels, which includes the following steps:
[0053] For each piece of false data, use the shortest data length as a benchmark to obtain slices in the time domain;
[0054] According to the false probability, whether the single mode in each slice is false data is determined respectively, and multiple single-mode false slice sequences are obtained;
[0055] Detecting multiple single-modality false slices at the same time, thereby determining the time correspondence between multiple single-modality false slice sequences, generating a multi-modality false slice sequence group with a matching relationship, and constructing a false data set;
[0056] Obtaining boundary information from the multimodal false slice sequence group, and generating true and false labels according to the obtained boundary information;
[0057] A cross-modal detector is constructed based on weak supervision conditions, and the false data set is learned according to the true and false labels to locate the false content in modality and time;
[0058] Using a cross-modal detector, the image frame features and the audio features are subjected to binary classification processing to determine whether the audio and video data is falsified;
[0059] Based on the strong supervision condition, the video is divided into different segments with N as the unit length, the image frame features and audio features of the segments are extracted, and the cross-modal detector is called again to perform binary classification on the image frame features and audio features of the segments, and it is judged again whether the audio and video data is false;
[0060] Here, taking N as the unit length means that according to the numerical value of N, the size of N is taken as the unit length.
[0061] Combine the results of the two judgments and output the detection result.
[0062] In some preferred embodiments, the boundary of the time domain slice is represented by the frame number of the image sequence, and adjustments are made within a specified frame range based on the existing time domain slice to achieve randomization of the boundary.
[0063] In some preferred embodiments, the method further includes: if there is no false data in the entire video, regenerating a single-modality false slice sequence based on the false probability and determining whether it is false data for each single-modality mode in the slice to obtain multiple single-modality false slice sequences.
[0064] In some preferred embodiments, the cross-modal detector is constructed based on weak supervision conditions, and the false data set is learned according to the true and false labels, including: using independent feature extractors to extract features of the two modalities of vision and hearing respectively, and after obtaining the features, using a sigmoid function to convert the visual or auditory features into scores.
[0065] Figure 2 The architecture diagram of the multimodal detection system based on strong and weak supervision provided in this application, the system includes:
[0066] A feature extraction unit is used to divide the video into an image sequence and an audio, process the image sequence and the audio uniformly, and extract image frame features and audio features;
[0067] A generating unit, used for generating multi-modal false data by using real data and false data in each mode, comprising:
[0068] The screening subunit is used to set the size of the false probability P; the data used to construct the false data set are screened, and the screening includes: selecting false data with the same background as the real data video modality content, sorting the data from large to small according to the data length, and selecting the first N data lengths, wherein the value of N is positively correlated with the set false probability P;
[0069] The determination subunit is used to determine the location of the false data and generate corresponding true and false labels, which includes the following steps:
[0070] For each piece of false data, use the shortest data length as a benchmark to obtain slices in the time domain;
[0071] According to the false probability, whether the single mode in each slice is false data is determined respectively, and multiple single-mode false slice sequences are obtained;
[0072] Detecting multiple single-modality false slices at the same time, thereby determining the time correspondence between multiple single-modality false slice sequences, generating a multi-modality false slice sequence group with a matching relationship, and constructing a false data set;
[0073] Obtaining boundary information from the multimodal false slice sequence group, and generating true and false labels according to the obtained boundary information;
[0074] A construction unit, configured to construct a cross-modal detector based on weak supervision conditions, learn the false data set according to the true and false labels, and locate the false content in modality and time;
[0075] A detection unit, used to perform binary classification processing on the image frame features and the audio features using a cross-modal detector to determine whether the audio and video data is false;
[0076] A secondary detection unit is used to divide the video into different segments with N as the unit length based on the strong supervision condition, extract the image frame features and audio features of the segments, call the cross-modal detector again, perform binary classification processing on the image frame features and audio features of the segments, and again determine whether the audio and video data is false;
[0077] The output unit is used to combine the results of the two judgments and output the detection result.
[0078] The present application provides a multimodal detection system based on strong and weak supervision, the system comprising: the system comprising a processor and a memory:
[0079] The memory is used to store program codes and transmit the program codes to the processor;
[0080] The processor is used to execute the method described in any one of all embodiments of the first aspect according to the instructions in the program code.
[0081] The present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to be executed by a processor to implement the method described in any one of all the embodiments of the first aspect.
[0082] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the present invention. The storage medium may be a disk, an optical disk, a read-only storage memory (abbreviated as: ROM) or a random access memory (abbreviated as: RAM), etc.
[0083] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0084] The same and similar parts between the various embodiments of this specification can be referred to each other. In particular, for the embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
[0085] The above-described embodiments of the present invention do not limit the protection scope of the present invention.
Claims
1. A multimodal detection method based on strong and weak supervision, It is characterized in that The method comprises: Split video into image sequences and audio; The image sequence and audio are processed uniformly to extract image frame features and audio features; Generate multimodal false data using real data and false data in each mode; Set the size of the false probability P; The data used to construct the false data set are screened, and the screening includes: selecting false data with the same background as the real data video modality content, sorting the data from large to small according to the data length, and selecting the first N data lengths, wherein the value of N is positively correlated with the set false probability P; Determine the location of false data and generate corresponding true and false labels, which includes the following steps: For each piece of false data, use the shortest data length as a benchmark to obtain slices in the time domain; According to the false probability, whether the single mode in each slice is false data is determined respectively, and multiple single-mode false slice sequences are obtained; Detecting multiple single-modality false slices at the same time, thereby determining the time correspondence between multiple single-modality false slice sequences, generating a multi-modality false slice sequence group with a matching relationship, and constructing a false data set; Obtaining boundary information from the multimodal false slice sequence group, and generating true and false labels according to the obtained boundary information; A cross-modal detector is constructed based on weak supervision conditions, and the false data set is learned according to the true and false labels to locate the false content in modality and time; Using a cross-modal detector, the image frame features and the audio features are subjected to binary classification processing to determine whether the audio and video data is falsified; Based on the strong supervision condition, the video is divided into different segments with N as the unit length, the image frame features and audio features of the segments are extracted, and the cross-modal detector is called again to perform binary classification on the image frame features and audio features of the segments, and it is judged again whether the audio and video data is false; Combine the results of the two judgments and output the detection result.
2. The method according to claim 1, Features: The boundaries of the time domain slices are represented by the number of frames in the image sequence, and adjustments are made within the specified frame range based on the existing time domain slices to achieve randomization of the boundaries.
3. The method according to claim 1, Features: The method further includes: if there is no false data in the entire video, regenerating the single-mode false slice sequence.
4. The method according to any one of claims 2 or 3, Features: The cross-modal detector is constructed based on weak supervision conditions, and the false data set is learned according to the true and false labels, including: using independent feature extractors to extract features of the two modalities of vision and hearing respectively, and after obtaining the features, using a sigmoid function to realize the conversion of visual or auditory features into scores.
5. A multimodal detection system based on strong and weak supervision, It is characterized in that The system comprises: A feature extraction unit is used to divide the video into an image sequence and an audio, process the image sequence and the audio uniformly, and extract image frame features and audio features; A generating unit, used for generating multi-modal false data by using real data and false data in each mode, comprising: The screening subunit is used to set the size of the false probability P; the data used to construct the false data set are screened, and the screening includes: selecting false data with the same background as the real data video modality content, sorting the data from large to small according to the data length, and selecting the first N data lengths, wherein the value of N is positively correlated with the set false probability P; The determination subunit is used to determine the location of the false data and generate corresponding true and false labels, which includes the following steps: For each piece of false data, use the shortest data length as a benchmark to obtain slices in the time domain; According to the false probability, whether the single mode in each slice is false data is determined respectively, and multiple single-mode false slice sequences are obtained; Detecting multiple single-modality false slices at the same time, thereby determining the time correspondence between multiple single-modality false slice sequences, generating a multi-modality false slice sequence group with a matching relationship, and constructing a false data set; Obtaining boundary information from the multimodal false slice sequence group, and generating true and false labels according to the obtained boundary information; A construction unit, configured to construct a cross-modal detector based on weak supervision conditions, learn the false data set according to the true and false labels, and locate the false content in modality and time; A detection unit, used to perform binary classification processing on the image frame features and the audio features using a cross-modal detector to determine whether the audio and video data is false; A secondary detection unit is used to divide the video into different segments with N as the unit length based on the strong supervision condition, extract the image frame features and audio features of the segments, call the cross-modal detector again, perform binary classification processing on the image frame features and audio features of the segments, and again determine whether the audio and video data is false; The output unit is used to combine the results of the two judgments and output the detection result.
6. A multimodal detection system based on strong and weak supervision, It is characterized in that The system comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the method according to any one of claims 1 to 4 according to the instructions in the program code.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store program codes, and the program codes are used to be executed by a processor to implement the method according to any one of claims 1 to 4.
Citation Information
Cited By
Content security management and control method based on multi-modal sequence penalty
CN120786101A
