Comprehensive quality assessment method and device for multimodal generated data
By constructing indicator dimension diagrams and comprehensive quality scores, the problem of multi-modal generated data evaluation is solved, comprehensive quality evaluation of multi-modal data and high-quality data screening are achieved, and the cost of training the detection model is reduced.
Patent Information
- Application Number
- CN202311426027.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-10-31
AI Technical Summary
It is difficult to comprehensively and effectively evaluate the quality of multi-modal generated data (such as video, audio, and pictures) with existing technology, and the cost of generating data for training detection models is high.
By determining the evaluation indicators and index values corresponding to each modality, an indicator dimension diagram is constructed, the comprehensive quality score is calculated, the training data is screened based on the score, and multi-dimensional objective evaluation indicators are used for quantitative evaluation.
It achieves comprehensive and reliable quality assessment of multi-modal generated data, reduces the cost of training detection models, and improves the intuitiveness of data classification through visualization effects.
Smart Images

Figure CN117591815B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision, and in particular to a comprehensive quality assessment method and device for multimodal generated data. Background Art
[0002] With the development of computer vision and other related technologies, their value in areas such as image generation and audio and video synthesis is increasing. However, the quality of the generated data is often difficult to control. The evaluation of such data is still mainly based on subjective assessments or single indicators. At the same time, the generated data presents multiple modalities such as video, audio, and images, and the corresponding evaluation indicators have different principles and properties. It is particularly important to achieve comprehensive and effective quality assessment of data generated from different modalities, and to select data for training detection models to reduce training costs. Summary of the Invention
[0003] In view of the above problems, the present invention provides a comprehensive quality assessment method and device for multimodal generated data. By integrating multi-dimensional evaluation indicators of data generated by different modalities, comprehensive and quantitative data quality assessment is achieved, laying the foundation for generating data quality grading and further training detection models.
[0004] According to a first aspect of the present invention, a comprehensive quality assessment method for multimodal generated data is provided, comprising:
[0005] Determining an evaluation metric corresponding to a modality of generated data, and an metric value corresponding to the evaluation metric;
[0006] constructing an indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator, wherein the indicator dimension graph includes a first area and a second area, and the first area includes the second area;
[0007] Calculating a comprehensive quality score of the generated data based on the areas of the first region and the second region;
[0008] Based on the comprehensive quality score of the generated data, the training data for training the detection model is screened.
[0009] Optionally, the modality of the generated data includes picture modality, audio modality and video modality;
[0010] The evaluation indicators corresponding to the video modality and the picture modality include at least one of the distance score FID, structural similarity SSIM, peak signal-to-noise ratio PSNR, kernel perception distance KID, image perception similarity LPIPS, and mean opinion score MOS;
[0011] The evaluation index corresponding to the audio modality includes at least one of Mel-frequency Cepstral Distortion (MCD), MOS, and Perceptual Audio Quality (PEAQ).
[0012] Optionally, constructing an indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator includes:
[0013] Select n evaluation indicators from the evaluation indicators corresponding to the modalities of the generated data, where n is a positive integer;
[0014] If n=1, then directly calculate the relevant index value and perform normalization;
[0015] If n=2, the corresponding indicators are normalized and the average value is calculated;
[0016] If n ≥ 3, the calculation is performed as follows:
[0017] For the n evaluation indicators, set the central origin;
[0018] Construct a regular n-gon with the radius from the center origin to the vertex as 1;
[0019] On each of the radial directions, plotting an index point according to the index value of the evaluation index, and calculating the coordinates of the index point;
[0020] Based on all the index points, an irregular n-gon is formed.
[0021] Optionally, before constructing the indicator dimension graph based on the evaluation indicator and the indicator value corresponding to the evaluation indicator, the method includes:
[0022] The indicator value is normalized.
[0023] Optionally, the normalizing the indicator value includes:
[0024] When the evaluation index includes FID, 1-FID is used as the index value corresponding to FID for mapping;
[0025] When the evaluation index includes LPIPS, 1-LPIPS is used as the index value corresponding to LPIPS for mapping;
[0026] When the evaluation index includes SSIM, (SSIM + 1) / 2 is used as the index value corresponding to SSIM for mapping;
[0027] When the evaluation metric includes PSNR, Mapping is performed as the index value corresponding to PSNR. Indicates the maximum value of PSNR;
[0028] Optionally, calculating a comprehensive quality score of the generated data based on the areas of the first region and the second region includes:
[0029] The ratio of the area of the second region to the area of the first region is multiplied by a preset constant to obtain a comprehensive quality score of the generated data.
[0030] Optionally, the screening of training data for training the depth detection model based on the comprehensive quality score of the generated data includes:
[0031] The generated data having a comprehensive quality score within a preset range is selected as the training data.
[0032] A second aspect of the present invention provides a comprehensive quality assessment device for multimodal generated data, comprising:
[0033] a determination module, configured to determine an evaluation index corresponding to a modality of generated data, and an index value corresponding to the evaluation index;
[0034] A construction module, configured to construct an indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator, wherein the indicator dimension graph includes a first area and a second area, and the first area includes the second area;
[0035] a calculation module, configured to calculate a comprehensive quality score of generated data based on the areas of the first region and the second region;
[0036] A screening module is used to screen the training data used to train the detection model based on the comprehensive quality score of the generated data.
[0037] The third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.
[0038] A fourth aspect of the present invention further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above method.
[0039] According to the comprehensive quality assessment method and device for multimodal generated data provided by the present invention, on the one hand, the present invention improves the current situation in which the evaluation of generated data is mainly subjective and qualitative; on the other hand, it introduces objective data evaluation indicators of multiple dimensions to carry out comprehensive quantitative evaluation, and the quality assessment is more comprehensive and reliable, and can be extended to any modality such as audio, video, and pictures; on the other hand, the detection model training based on some high-quality data obtained after quality grading can effectively reduce the training cost; on the other hand, the method has good visualization effect, and the quality of the data can be more intuitively displayed through the front-end interface when implemented in the software, laying a methodological foundation for the development of software plug-ins such as data grading. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] 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:
[0041] Figure 1 The flowchart of the comprehensive quality assessment method for multimodal generated data according to an embodiment of the present invention is schematically shown;
[0042] Figure 2 Schematically illustrates a dimensional graph established based on audio data evaluation indicators according to an embodiment of the present invention;
[0043] Figure 3 Schematically illustrates a dimensional graph established based on image data evaluation indicators according to an embodiment of the present invention;
[0044] Figure 4 The following schematically shows a structural block diagram of a comprehensive quality assessment device for multimodal generated data according to an embodiment of the present invention;
[0045] Figure 5 The block diagram schematically shows an electronic device suitable for implementing a comprehensive quality assessment method for multimodal generated data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] Hereinafter, 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 the concept of the present invention.
[0047] 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 presence of the features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
[0048] All terms used herein (including technical and scientific terms) 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.
[0049] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning 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.).
[0050] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision, invention and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0051] In the technical solution of the present invention, the acquisition, collection, storage, use, processing, transmission, provision, invention and application of data comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0052] Figure 1 The flowchart of the comprehensive quality assessment method for multimodal generated data according to an embodiment of the present invention is schematically shown.
[0053] like Figure 1 As shown, the comprehensive quality assessment method for multimodal generated data of this embodiment includes operations S110 to S140.
[0054] In operation S110 , an evaluation index corresponding to a modality of generated data and an index value corresponding to the evaluation index are determined.
[0055] In operation S120 , an indicator dimension graph is constructed according to the evaluation indicator and the indicator value corresponding to the evaluation indicator. The indicator dimension graph includes a first region and a second region, and the first region includes the second region.
[0056] In operation S130 , a comprehensive quality score of the generated data is calculated based on the areas of the first region and the second region.
[0057] In operation S140 , training data for training a detection model is screened based on the comprehensive quality score of the generated data.
[0058] First, the typical subjective and objective evaluation indicators of the three modalities of pictures, audio, and video are sorted out and divided. Since video can be regarded as multiple frames of pictures, it can be regarded as a picture modality for video quality assessment. Usually, pictures of key frames of the video are selected for evaluation, and their evaluation indicators are basically the same as those of pictures.
[0059] In one embodiment, the modalities of the generated data include image and audio modalities. The evaluation metrics corresponding to the image modality include at least one of the following: FID (Finally Inferred Image), SSIM (Structural Similarity), PSNR (Peak Signal-to-Noise Ratio), KID (Kernel Perceptual Distance), LPIPS (Perceptual Image Similarity), and MOS (Mean Opinion Score). The evaluation metrics corresponding to the audio modality include at least one of MCD (Mel-Cepstral Distortion), MOS (Mean Opinion Score), and PEAQ (Perceptual Audio Quality). The evaluation metrics for each modality are shown in Table 1 below.
[0060] Table 1
[0061]
[0062] FID uses the Inception v3 network to extract the feature vectors of the target image and the synthesized image and calculates the Fréchet distance between the two vectors. The smaller the FID value, the closer the distribution of the two images is, and the better the generated quality.
[0063] SSIM is a method for measuring image similarity based on human eye perception. It divides the target image and the generated image into several small blocks, compares the brightness, contrast and structural similarity between each small block, and finally averages the similarity of all small blocks to obtain the similarity value of the entire image. The larger the value, the closer the two images are and the better the quality. The calculation formula is
[0064]
[0065] Where x and y represent the generated image and the target image respectively. They represent the x-mean, y-mean, x-standard deviation, y-standard deviation, and covariance of x and y, respectively.
[0066] PSNR is an indicator that measures the quality of an image or video. It is usually used to compare the similarity between two images or video sequences. The similarity between them is evaluated by calculating the mean square error (MSE) between the two images. The smaller the MSE, the higher the similarity between the two images. Its calculation formula is:
[0067]
[0068] in, is the maximum value of the input image (usually , n is the number of sample bits. For 8-bit images, MAX=255). MSE is the mean square error between the two input images, that is, the mean of the square of the L2 distance is calculated point by point. The specific calculation is as follows:
[0069]
[0070] KID (Kernel Inception Distance) is a metric used to evaluate the quality of generative models, particularly for evaluating images generated by generative adversarial networks (GANs). KID measures the difference between generated and real images based on the feature representations of the Inception model. It uses the Inception model as a feature extractor to extract representations of the generated and real images in a high-level feature space. The KID score is then calculated by calculating the kernel distance between the feature representations of the generated and real images. Lower KID scores indicate greater similarity between the feature representations of the generated and real images, indicating higher-quality generative models. Conversely, higher KID scores indicate greater discrepancies between the feature representations of the generated and real images, indicating lower-quality generative models.
[0071] MOS (Mean Opinion Score) is a commonly used subjective evaluation metric used to measure the average human rating of a given perceived quality. MOS is commonly used to assess perceived quality in fields such as audio, video, and voice communications, including sound quality, image quality, and speech clarity. MOS evaluation is performed by collecting subjective ratings from a group of reviewers or subjects. Reviewers or subjects are asked to rate a given perceived experience, typically using a predefined rating scale, such as 1 to 5 or 1 to 10. Each reviewer provides their own rating of the perceived experience, and these ratings are aggregated to calculate the average score, the MOS.
[0072] LPIPS is an evaluation metric based on perceptual distance. Its principle is similar to FID. It uses a pre-trained convolutional neural network (such as VGG or AlexNet) to extract the feature vectors of the target image and the synthesized image, and then calculates the Euclidean distance or cosine similarity between these feature vectors. These distances can be regarded as the perceptual distance between the two images. The value of LPIPS ranges from 0 to 1. The smaller the value, the smaller the perceptual distance between the two images and the higher the similarity between the images.
[0073] PEAQ (Perceptual Evaluation of Audio Quality) is an objective audio quality assessment algorithm used to measure the subjective perceived quality of audio signals. It is an evaluation method defined in the international standard ITU-R BS.1387. PEAQ calculates a subjective audio quality score by comparing the differences between original audio and compressed or otherwise processed audio. The algorithm is based on the principles of human auditory perception and considers a range of auditory factors, including audio's time domain characteristics, frequency domain characteristics, and sound coding characteristics. The PEAQ algorithm divides the audio signal into a series of frames, calculates the feature differences within each frame, and uses these differences to calculate a subjective audio quality score. The score typically ranges from 1 (worst) to 5 (best), indicating the audio quality level.
[0074] In the audio field, Mel Cepstral Distortion (MCD) is a commonly used objective evaluation metric for measuring the spectral distortion between two audio sources. MCD is primarily used in speech synthesis and speech conversion tasks to assess the difference between the generated and target audio sources. MCD is calculated by first converting the original and generated audio sources into Mel Cepstral Coefficients (MCPs), then calculating the Euclidean distance between the two audio sources. Lower MCDs indicate lower spectral distortion between the generated and target audio sources, indicating better quality.
[0075] Select appropriate metrics based on the generated data. For example, using image data as the generated data, select paired target and generated images, and choose FID, LPIPS, SSIM, and PSNR as the evaluation metrics, and calculate them separately. The corresponding metric values can be obtained through the above process.
[0076] In one embodiment, before constructing the indicator dimension graph based on the evaluation indicator and the indicator value corresponding to the evaluation indicator, the indicator value is normalized. The indicator value is normalized so that the indicator value is between [0, 1], where 1 represents the highest value of the current indicator and 0 represents the lowest value of the current indicator. For indicators such as FID and LPIPS, their values are originally between [0, 1], but 0 represents the optimal performance. In this invention, 1-FID is used as the indicator value corresponding to FID for mapping, and 1-LPIPS is used as the indicator value corresponding to LPIPS for mapping. The formula is as follows: , .
[0077] For SSIM, its value range is [-1, 1]. The relevant indicators can be mapped, that is, (SSIM + 1) / 2 is processed into the relevant indicator result value. The formula is as follows: .
[0078] For PSNR, its value range is [0, PSNRmax], and the same mapping process is performed. The formula is as follows: .
[0079] In one embodiment, constructing the indicator dimension graph based on the evaluation indicator and the indicator value corresponding to the evaluation indicator includes: selecting n evaluation indicators from the evaluation indicators corresponding to the modality of the generated data, where n is a positive integer; if n=1, directly calculating the relevant indicator value and performing normalization processing; if n=2, normalizing the corresponding indicator and calculating the average value;
[0080] If n ≥ 3, the calculation is performed as follows: for the n evaluation indicators, a central origin is set; a regular n-gon is constructed with the radius from the central origin to the vertex as 1, where n is a positive integer; on each of the radiuses, an indicator point is drawn according to the indicator value of the evaluation indicator, and the coordinates of the indicator point are calculated; based on all the indicator points, an irregular n-gon is formed.
[0081] Figure 2 The figure schematically shows a dimensional graph established according to audio data evaluation indicators according to an embodiment of the present invention. Figure 3 The figure schematically shows a dimensional graph established based on image data evaluation indicators according to an embodiment of the present invention.
[0082] like Figure 2 and Figure 3 As shown, the area enclosed by the deformation is the first region, which is a regular polygon. The shaded area is the second region, which is also a polygon. After creating the dimensional graph, further calculate the data quality displayed in the dimensional graph. Calculate the area of the second region based on the coordinates of the four vertices of the second region, and simultaneously calculate the area of the first region. To calculate the area of an irregular polygon, use the following S1-S3:
[0083] S1: Calculated based on the coordinates of the polygon vertices. First, the coordinates of each vertex (x1, y1), (x2, y2)…(xn, yn) are solved based on the distance from each vertex to the origin.
[0084] S2: Calculate the area of the first region and the area of the second region based on the coordinates of each vertex. The running code is as follows:
[0085] def shoelace_formula(vertices):
[0086] n = len(vertices)
[0087] area = 0.0
[0088] for i in range(n):
[0089] x1, y1 = vertices[i]
[0090] x2, y2 = vertices[(i+1) % n]
[0091] area += (x1 * y2 – x2 * y1)
[0092] return abs(area) / 2.0
[0093] S3: The ratio of the area of the second region to the area of the first region is multiplied by a preset constant (the constant A represents the set maximum score) to obtain the comprehensive quality score of the generated data. The comprehensive data quality assessment score is calculated as follows: d The larger the value, the better the data quality, and vice versa.
[0094]
[0095] In one embodiment, screening the training data for training the detection model based on the comprehensive quality score of the generated data includes screening generated data with a comprehensive quality score within a preset range as the training data. By grading data based on the comprehensive quality score, higher-quality data can be used when training detection models such as XceptionNet and EfficientNet, effectively reducing the sample size of the training set, lowering model training costs, and achieving better practical application results.
[0096] Based on the above-mentioned comprehensive quality assessment method for multimodal generated data, the present invention also provides a comprehensive quality assessment device for multimodal generated data. Figure 5 The device is described in detail.
[0097] Figure 4 The structure of the comprehensive quality assessment device for multimodal generated data according to an embodiment of the present invention is schematically shown.
[0098] like Figure 4 As shown, the wavelength routing device 400 of this embodiment includes a determination module 410 , a construction module 420 , a calculation module 430 and a screening module 440 .
[0099] The determination module 410 is configured to determine an evaluation index corresponding to the modality of the generated data and an index value corresponding to the evaluation index. In one embodiment, the determination module 410 may be configured to perform the operation S110 described above, which will not be described in detail herein.
[0100] A construction module 420 is configured to construct an indicator dimension graph based on the evaluation indicator and the indicator value corresponding to the evaluation indicator, wherein the indicator dimension graph includes a first region and a second region, wherein the first region includes the second region. In one embodiment, construction module 420 may be configured to perform operation S120 described above and will not be further described herein.
[0101] The calculation module 430 is configured to calculate a comprehensive quality score of the generated data based on the areas of the first region and the second region. In one embodiment, the calculation module 430 may be configured to perform the operation S130 described above, which will not be described in detail herein.
[0102] The screening module 440 is configured to screen the training data for training the detection model based on the comprehensive quality score of the generated data. In one embodiment, the screening module 440 may be configured to perform the operation S140 described above, which will not be described in detail herein.
[0103] According to an embodiment of the present invention, the modality of the generated data includes picture modality, audio modality and video modality;
[0104] The evaluation indicators corresponding to the video modality and the image modality include at least one of the distance score FID, structural similarity SSIM, peak signal-to-noise ratio PSNR, kernel perceptual distance KID, image perceptual similarity LPIPS, and mean opinion score MOS;
[0105] The evaluation index corresponding to the audio modality includes at least one of Mel-frequency Cepstral Distortion (MCD), MOS, and Perceptual Audio Quality (PEAQ).
[0106] According to an embodiment of the present invention, constructing an indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator includes:
[0107] Select n evaluation indicators from the evaluation indicators corresponding to the modalities of the generated data, where n is a positive integer;
[0108] If n=1, then directly calculate the relevant index value and perform normalization;
[0109] If n=2, the corresponding indicators are normalized and the average value is calculated;
[0110] If n ≥ 3, the calculation is performed as follows:
[0111] For the n evaluation indicators, set the center origin;
[0112] With the radius from the center origin to the vertex as 1, construct a regular n-gon;
[0113] On each of the paths, an index point is drawn according to the index value of the evaluation index, and the coordinates of the index point are calculated;
[0114] Based on all the index points, an irregular n-gon is formed.
[0115] According to an embodiment of the present invention, before constructing the indicator dimension graph based on the evaluation indicator and the indicator value corresponding to the evaluation indicator, the method includes:
[0116] Normalize the indicator value.
[0117] According to an embodiment of the present invention, the normalizing the indicator value includes:
[0118] When the evaluation index includes FID, 1-FID is used as the index value corresponding to FID for mapping;
[0119] When the evaluation index includes LPIPS, 1-LPIPS is used as the index value corresponding to LPIPS for mapping;
[0120] When the evaluation index includes SSIM, (SSIM + 1) / 2 is used as the index value corresponding to SSIM for mapping;
[0121] When the evaluation metric includes PSNR, Mapping is performed as the index value corresponding to PSNR. Indicates the maximum value of PSNR;
[0122] According to an embodiment of the present invention, calculating a comprehensive quality score of generated data based on the areas of the first region and the second region includes:
[0123] The ratio of the area of the second region to the area of the first region is multiplied by a preset constant to obtain a comprehensive quality score of the generated data.
[0124] According to an embodiment of the present invention, screening the training data for training the detection model based on the comprehensive quality score of the generated data includes:
[0125] The generated data with a comprehensive quality score within a preset range is selected as the training data.
[0126] According to embodiments of the present invention, any multiple modules among determination module 410, construction module 420, calculation module 430, and screening module 440 may be combined into a single module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in a single module. According to embodiments of the present invention, at least one of determination module 410, construction module 420, calculation module 430, and screening module 440 may 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 may be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or may be implemented in any one of software, hardware, and firmware, or any appropriate combination of these. Alternatively, at least one of determination module 410, construction module 420, calculation module 430, and screening module 440 may be at least partially implemented as a computer program module that, when executed, performs the corresponding functionality.
[0127] Figure 5 The block diagram schematically shows an electronic device suitable for implementing a comprehensive quality assessment method for multimodal generated data according to an embodiment of the present invention.
[0128] like Figure 5 As shown, an electronic device 500 according to an embodiment of the present invention includes a processor 501, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 502 or programs loaded from a storage unit 508 into a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or related chipsets and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.
[0129] Various programs and data required for the operation of the electronic device 500 are stored in the RAM 503. The processor 501, ROM 502, and RAM 503 are connected to each other via a bus 504. The processor 501 performs various operations according to the method flow of the embodiment of the present invention by executing the programs in the ROM 502 and / or RAM 503. It should be noted that the programs may also be stored in one or more memories other than the ROM 502 and RAM 503. The processor 501 may also perform various operations according to the method flow of the embodiment of the present invention by executing the programs stored in the one or more memories.
[0130] According to an embodiment of the present invention, electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to bus 504. Electronic device 500 may also include one or more of the following components connected to I / O interface 505: an input unit 506 including a keyboard, mouse, etc.; an output unit 507 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage unit 508 including a hard disk; and a communication unit 509 including a network interface card such as a LAN card or modem. Communication unit 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. Removable media 511, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 510 as needed, so that computer programs read from the removable media can be installed into storage unit 508 as needed.
[0131] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present invention.
[0132] According to an embodiment of the present invention, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present invention, a computer-readable storage medium may include the ROM 502 and / or RAM 503 described above, and / or one or more memories other than ROM 502 and RAM 503.
[0133] The embodiments of the present invention further include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to cause the computer system to implement the method provided by the embodiments of the present invention.
[0134] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when the computer program is executed by the processor 501. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0135] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 509, and / or installed from a removable medium 511. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0136] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 509 and / or installed from the removable medium 511. When the computer program is executed by the processor 501, the above-described functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.
[0137] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).
[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that 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 flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0139] Those skilled in the art will appreciate that the features described in the various embodiments of the present invention may be combined and / or coupled in various ways, even if such combinations and / or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention may be combined and / or coupled in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or couplings fall within the scope of the present invention.
[0140] The above describes embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. 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 comprehensive quality assessment method for multimodal generated data, characterized in that: include: Determining an evaluation metric corresponding to a modality of generated data, and an indicator value corresponding to the evaluation metric; According to the evaluation indicator and the indicator value corresponding to the evaluation indicator, an indicator dimension graph is constructed, and a comprehensive quality score of the generated data is obtained based on the indicator dimension graph, and the comprehensive quality score of the generated data is used to screen training data for training a detection model; The step of constructing an indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator includes: Select n evaluation indicators from the evaluation indicators corresponding to the modes of generated data, where n is a positive integer greater than or equal to 1; If n=1, the relevant index values are directly calculated and normalized; If n=2, the corresponding indicators are normalized and the average value is calculated; If n≥3, for the n evaluation indicators, a central origin is set; a regular n-gon is constructed with a radius from the central origin to the vertex as 1 to form a first region; on each of the radiuses, an indicator point is drawn according to the indicator value of the evaluation indicator, and the coordinates of the indicator point are calculated; based on all the indicator points, an irregular n-gon is enclosed to form a second region; Wherein, obtaining the comprehensive quality score of the generated data based on the indicator dimension graph includes: If n≥3, the ratio of the area of the second region to the area of the first region is multiplied by a preset constant to obtain a comprehensive quality score of the generated data.
2. The comprehensive quality assessment method for multimodal generated data according to claim 1, characterized in that: The modalities of the generated data include picture modality, audio modality and video modality; The evaluation indicators corresponding to the video mode and the picture mode include at least one of the distance score FID, the structural similarity SSIM, the peak signal-to-noise ratio PSNR, the kernel perception distance KID, the image perception similarity LPIPS, and the mean opinion score MOS; The evaluation index corresponding to the audio modality includes at least one of Mel-frequency Cepstral Distortion (MCD), MOS, and Perceptual Audio Quality Assessment (PEAQ).
3. The comprehensive quality assessment method for multimodal generated data according to claim 1, characterized in that: Before constructing the indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator, the method includes: The index value is normalized.
4. The comprehensive quality assessment method for multimodal generated data according to claim 3, characterized in that: The normalizing process of the index value comprises: When the evaluation index includes FID, 1-FID is used as the index value corresponding to FID for mapping; When the evaluation index includes LPIPS, 1-LPIPS is used as the index value corresponding to LPIPS for mapping; When the evaluation index includes SSIM, (SSIM + 1) / 2 is used as the index value corresponding to SSIM for mapping; In the case where the evaluation metric includes PSNR, As the index value corresponding to PSNR, it is mapped. Indicates the maximum value of PSNR.
5. The comprehensive quality assessment method for multimodal generated data according to claim 1, characterized in that: The screening of training data for training the detection model based on the comprehensive quality score of the generated data includes: The generated data with a comprehensive quality score within a preset range is selected as the training data.
6. A comprehensive quality assessment device for multimodal generated data, characterized in that: include: A determination module, used to determine an evaluation index corresponding to the modality of the generated data, and an index value corresponding to the evaluation index; A construction module is used for, according to the evaluation index and the index value corresponding to the evaluation index, Constructing an indicator dimension graph, and obtaining a comprehensive quality score of the generated data based on the indicator dimension graph, wherein the comprehensive quality score of the generated data is used to screen training data for training a detection model; The step of constructing an indicator dimension graph according to the evaluation indicator and the indicator value corresponding to the evaluation indicator includes: Select n evaluation indicators from the evaluation indicators corresponding to the modes of generated data, where n is a positive integer greater than or equal to 1; If n=1, the relevant index values are directly calculated and normalized; If n=2, the corresponding indicators are normalized and the average value is calculated; If n≥3, for the n evaluation indicators, a central origin is set; a regular n-gon is constructed with a radius from the central origin to the vertex as 1 to form a first region; on each of the radiuses, an indicator point is drawn according to the indicator value of the evaluation indicator, and the coordinates of the indicator point are calculated; based on all the indicator points, an irregular n-gon is enclosed to form a second region; Wherein, obtaining the comprehensive quality score of the generated data based on the indicator dimension graph includes: If n≥3, multiplying the ratio of the area of the second region to the area of the first region by a preset constant to obtain a comprehensive quality score of the generated data; A calculation module is used to multiply the ratio of the area of the second region to the area of the first region by a preset constant to obtain a comprehensive quality score of the generated data, and the comprehensive quality score of the generated data is used to screen training data for training a detection model.
7. The comprehensive quality assessment device for multimodal generated data according to claim 6, characterized in that: The modalities of the generated data include picture modality, audio modality and video modality; The evaluation indicators corresponding to the video mode and the picture mode include at least one of the distance score FID, the structural similarity SSIM, the peak signal-to-noise ratio PSNR, the kernel perception distance KID, the image perception similarity LPIPS, and the mean opinion score MOS; The evaluation index corresponding to the audio modality includes at least one of Mel-frequency Cepstral Distortion (MCD), MOS, and Perceptual Audio Quality Assessment (PEAQ).
Citation Information
Patent Citations
Regional voltage quality comprehensive evaluation method based on multi-attribute decision
CN110782130A
Voice separation quality evaluation method and device and computer storage medium
CN111816208A
Method, device and equipment for determining image quality evaluation result
CN112102309A
Neural network improvement demand automatic generation method and device based on efficiency evaluation
CN112580807A
Algorithm performance evaluation method based on multi-dimensional model
CN112700158A
