Quality degradation face image authentic identification method based on orthogonal moment space
By converting the image into Chebyshev-Fourier moment space and constructing a high-frequency forgery perception network, and using the mutual adaptation module for interactive learning, the problem of reduced face recognition ability under the degradation of image quality is solved, and the problem of face recognition in complex scenes is achieved. High-precision face forgery detection.
Patent Information
- Application Number
- CN202410920510.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technology is difficult to provide high-precision face identification in scenarios where image quality is degraded, resulting in a decline in model identification capabilities.
A quality-degraded face image forgery detection method based on orthogonal moment space is adopted. By converting the original color image into Chebyshev-Fourier moment space, a high-frequency forgery perception network is constructed, and the mutual adaptation module is used for interactive learning. Optimize the prediction results of forgery identification and face analysis tasks, and improve the model's perception of high-frequency forgery features.
It effectively improves the identification accuracy of face counterfeiting in scenes with degraded image quality, ensures that the model maintains high accuracy of face counterfeiting in complex cross-domain scenarios, and enhances the ability to identify images with degraded quality.
Smart Images

Figure CN118570884A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image processing, and in particular to a method for detecting fakes in quality-degraded facial images based on orthogonal moment space. Background Art
[0002] With the explosive growth of data and the gradual improvement of hardware performance, artificial intelligence has entered a new era of rapid development. It has brought great opportunities for social progress, but also brought many risks. Face is one of the most common and important targets in multimedia data. Perceiving facial expressions and authenticating facial identities have become key means to understand these visual data. However, deep fake technology for faces has rapidly emerged in recent years. By tampering with facial content, it can achieve fake effects such as identity replacement, expression modification, and attribute editing, subverting people's traditional knowledge that "seeing is believing". The new self-media communication method closely surrounding the new Internet has intensified the breeding and abuse of deep fake face data in cyberspace, providing new tools for political smears, economic crimes, and even terrorist actions between countries, and bringing many risks to national security fields such as politics, economy, and public.
[0003] Given the serious negative impact of deep fake faces, achieving high-precision face authentication has important research significance and application value. However, image quality degradation can easily destroy the model's identification ability, making it impossible for the model to provide high-precision authentication results in quality-degraded scenarios. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a quality-degraded face image authentication method based on orthogonal moment space, utilizing the good stability of PCHFMs to maintain the consistency of the deep network space mapping relationship, and ensuring that the model provides high-precision forgery authentication on quality-degraded images.
[0005] The present invention adopts the following technical solutions to achieve the invention objectives: The method for detecting fake face images with quality degradation based on orthogonal moment space is characterized by comprising the following steps: S1: transform the original color image pixel space to Chebyshev-Fourier moment space; S11: For the original color image , in pixels Create a fixed size for the center Color window image of : (1); S12: Color window image Decomposes into red ( ),green( ),blue( ) Grayscale window image of three channels , and then calculate the pseudo-Chebyshev-Fourier moment of each channel: (2); in: Represents the color channel; is the window image; is the order; is the repeatability; is an imaginary unit; is the radial basis function: S13: For each channel’s pseudo-Chebyshev-Fourier moment, randomly select a moment value , and calculate its amplitude : (3); The amplitude Replaces the image with new pixel values The central pixel value of is: (4); S14: merging the processed new pixel values of each red, green and blue channel to obtain a new color image pixel value; S15: When the entire image is traversed, the mapping transformation from the image pixel space to the Chebyshev-Fourier moment space can be realized to obtain the face image in the Chebyshev-Fourier moment space ; S2: Construct a high-frequency forgery perception network in Chebyshev-Fourier moment space, which includes T stages, interactively learns face parsing and forgery identification, continuously optimizes the prediction results of the two tasks, and gradually improves the model's perception of high-frequency forgery features; S21: In the first stage, the Xception backbone network is used to analyze the face image in Chebyshev-Fourier moment space. The full connection layer and 1×1 convolution layer are used to extract features and predict the initial forgery identification results. And face analysis results , as the initial output result of the first stage dual task: (5); S22: In the second stage, we build an inter-adaptive module through two tasks: forgery identification and face analysis , for interactive learning: (6); Among them: ILM is the mutual adaptation module, and the input of ILM is the prediction result of the previous stage and ,The same ILM structure is used in each stage; S23: Passed Interactive learning in two stages optimizes the prediction results of the two tasks: (7); Finally, the forged identification result is obtained And face analysis results ; S24: The final face identification is performed through cross-forgery classification, which can be expressed as: (8); in: Labels representing faces; Represents the result predicted by the discriminator, 0 represents true and 1 represents false; Indicates the category of face authenticity classification; The final face parsing result identification is performed through cross entropy face parsing, which can be expressed as: (9); in: Parse labels for real faces; is the prediction graph; is the number of image pixels; is the number of semantic categories; The total loss can then be expressed as: (10); in: is the weight for controlling the loss.
[0006] As a further limitation of the present technical solution, in S12, The expression is: ; in: is the radial distance of polar coordinates; is the order of the polynomial; Is an integer.
[0007] As a further limitation of the present technical solution, in S21, the Xception backbone network includes multiple convolutional layers, pooling layers and depthwise separable convolutional layers, and the depthwise separable convolution consists of a depthwise convolutional layer and a pointwise convolutional layer.
[0008] As a further limitation of the present technical solution, in S22, the mutual adaptation module includes two adapters and two dynamic convolution modules, and the adapter is a false detection parameter adapter. With parsing parameter adapter ,The structures of the two adapters are consistent and are both implemented through a simple CNN, i.e., three layers of convolution and two layers of maximum pooling.
[0009] As a further limitation of the present technical solution, the SVD method is used to decompose the authentication parameter adapter With parsing parameter adapter Parameters: (11); in: is the parameter basis; Represents the convolution operation; Represents channel-by-channel convolution operation; and Adapter for detecting fake parameters With parsing parameter adapter The original parameters of , in this way, the number of parameters of both can be reduced; Using dynamic convolution and The next step of calculation is achieved by replacing the static convolution kernel with the predicted dynamic convolution kernel in the traditional convolution layer: (12); in: and is a dynamic representation learned from the guidance information of the counterpart of the task, i.e. Learning face parsing The dynamic representation of Learn to identify counterfeit Dynamic representation of is the initial forgery identification result; is the face analysis result; Prediction results for the next stage and It can be expressed as: (13).
[0010] Compared with the prior art, the advantages and positive effects of the present invention are as follows: 1. The present invention takes improving the identification ability of deep face authentication in quality degradation scenes as the overall goal, considers combining the high stability of Chebyshev-Fourier moments (PCHFMs) and the strong learning ability of deep learning, constructs a face authentication method based on PCHFMs, effectively improves the identification accuracy of face authentication in image quality degradation scenes, and ensures that the model maintains a high face authentication accuracy in complex cross-domain scenes. 2. The present invention converts the original color image pixel space into a more stable PCHFMs space, and enhances the identification accuracy of the face authentication model for quality degradation images. A mutual adaptation module is designed, which can effectively utilize the advantages between the two tasks to improve the performance of face forgery detection. 3. The beneficial effects are further elaborated in combination with the steps. According to the mutual adaptation module, the present invention designs a high-frequency forgery perception network for joint learning of face forgery detection and face parsing, and uses the perception ability of high-frequency forgery traces as an auxiliary task to prompt the model to improve the accuracy of face forgery detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 The figure is a schematic diagram of the conversion process of the Chebyshev-Fourier moment space image of the present invention.
[0012] Figure 2 Schematic diagram of the high-frequency forgery perception network based on dual-task learning of the present invention.
[0013] Figure 3 Schematic diagram of the Xception backbone network of the present invention. DETAILED DESCRIPTION
[0014] A specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation.
[0015] When an image is disturbed by external factors, the pixels in the spatial domain of the image fluctuate and the image quality will be seriously degraded. In the field of deep face authentication, image quality degradation will lead to domain differences between training and test data. The pixels of degraded images have obvious disturbances, which seriously reduces the stability of the model mapping relationship and makes the model unable to accurately identify the authenticity of faces.
[0016] The present invention comprises the following steps: S1: transform the original color image pixel space to Chebyshev-Fourier moment space; S11: For the original color image , in pixels Create a fixed size for the center Color window image of : (1); S12: Color window image Decomposes into red ( ),green( ),blue( ) Grayscale window image of three channels , and then calculate the pseudo-Chebyshev Fourier moments (PCHFMs) for each channel: (2); in: Represents the color channel; is the window image; is the order, ; For repeatability, ; is an imaginary unit; is the radial basis function: In the S12, The expression is: ; in: is the radial distance of polar coordinates; is the order of the polynomial; Is an integer.
[0017] S13: For each channel’s pseudo-Chebyshev-Fourier moment, randomly select a moment value , and calculate its amplitude : (3); The amplitude Replaces the image with new pixel values The central pixel value of is: (4); S14: merging the processed new pixel values of each red, green and blue channel to obtain a new color image pixel value; S15: When the entire image is traversed, the mapping transformation from the image pixel space to the Chebyshev-Fourier moment space can be realized to obtain the face image in the Chebyshev-Fourier moment space ; The high-frequency region of a face image covers the global structure as well as local edges and textures. In the face authentication task, the small differences between real and forged images are more concentrated in the high-frequency region. Compared with the smooth low-frequency region of the cross-domain image, the pixel values in the high-frequency region will change more dramatically.
[0018] In order to improve the ability to perceive high-frequency forgery traces, face parsing is used as an auxiliary task. Face parsing can divide a face into several semantically continuous and consistent regions, which can jointly depict the overall structure of the face. The boundaries of each region are high-frequency edges of different structures. By mining these structural information, the model can make more accurate decisions on whether a face is forged.
[0019] S2: Construct a high-frequency forgery-aware network in Chebyshev-Fourier moment space, e.g. Figure 2 As shown in the figure, it includes T stages, interactively learning face parsing and forgery identification, continuously optimizing the prediction results of the two tasks, and gradually improving the model's perception of high-frequency forgery features; S21: In the first stage, the Xception backbone network is used to analyze the face image in Chebyshev-Fourier moment space. The full connection layer and 1×1 convolution layer are used to extract features and predict the initial forgery identification results. And face analysis results , as the initial output result of the first stage dual task: (5); In S21, the Xception backbone network is as follows Figure 3 As shown in the figure, it contains multiple convolutional layers, pooling layers and depth-wise separable convolutional layers. The depth-wise separable convolution consists of a depth-wise convolutional layer and a point-by-point convolutional layer, which can reduce the number of parameters and the amount of calculation.
[0020] S22: In the second stage, we build an inter-adaptive module through two tasks: forgery identification and face analysis , for interactive learning: (6); Among them: ILM is the mutual adaptation module, and the input of ILM is the prediction result of the previous stage and ,The same ILM structure is used in each stage; In S22, the mutual adaptation module includes two adapters and two dynamic convolution modules, and the adapter is a false detection parameter adapter. With parsing parameter adapter ,The structures of the two adapters are consistent and are both implemented through a simple CNN, i.e., three layers of convolution and two layers of maximum pooling.
[0021] Decompose the authentication parameter adapter using SVD With parsing parameter adapter Parameters: (11); in: is the parameter basis; Represents the convolution operation; Represents channel-by-channel convolution operation; and Adapter for detecting fake parameters With parsing parameter adapter The original parameters of , in this way, the number of parameters of both can be reduced; Using dynamic convolution and The next step of calculation is achieved by replacing the static convolution kernel with the predicted dynamic convolution kernel in the traditional convolution layer: (12); in: and is a dynamic representation learned from the guidance information of the counterpart of the task, i.e. Learning face parsing The dynamic representation of Learn to identify counterfeit Dynamic representation of is the initial forgery identification result; is the face analysis result; By formula Got it.
[0022] Prediction results for the next stage and It can be expressed as: (13).
[0023] S23: Pass Interactive learning in two stages optimizes the prediction results of the two tasks: (7); Finally, the forged identification result is obtained And face analysis results , the final experiment set The specific value of ; S24: The final face identification is performed through cross-forgery classification, which can be expressed as: (8); in: Labels representing faces; Represents the result predicted by the discriminator, 0 represents true and 1 represents false; Indicates the category of face authenticity classification; The final face parsing result identification is performed through cross entropy face parsing, which can be expressed as: (9); in: Parse labels for real faces; is the prediction graph; is the number of image pixels; is the number of semantic categories; The total loss can then be expressed as: (10); in: To control the loss weight, To assist the task of face forgery detection, a smaller weight should be set. .
[0024] The above disclosure is only a specific embodiment of the present invention, but the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A quality-degraded face image authentication method based on orthogonal moment space, characterized in that: The following steps are involved: S1: transform the original color image pixel space to Chebyshev-Fourier moment space; S11: For the original color image , in pixels Create a fixed size for the center Color window image of : (1); S12: Color window image Decomposes into red ( ),green( ),blue( ) Grayscale window image of three channels , and then calculate the pseudo-Chebyshev-Fourier moment of each channel: (2); in: Represents the color channel; is the window image; is the order; is the repeatability; is an imaginary unit; is the radial basis function: S13: For each channel’s pseudo-Chebyshev-Fourier moment, randomly select a moment value , and calculate its amplitude : (3); The amplitude Replaces the image with new pixel values The central pixel value of is: (4); S14: merging the processed new pixel values of each red, green and blue channel to obtain a new color image pixel value; S15: When the entire image is traversed, the mapping transformation from the image pixel space to the Chebyshev-Fourier moment space can be realized to obtain the face image in the Chebyshev-Fourier moment space ; S2: Construct a high-frequency forgery perception network in Chebyshev-Fourier moment space, which includes T stages, interactively learns face parsing and forgery identification, continuously optimizes the prediction results of the two tasks, and gradually improves the model's perception of high-frequency forgery features; S21: In the first stage, the Xception backbone network is used to analyze the face image in Chebyshev-Fourier moment space. The full connection layer and 1×1 convolution layer are used to extract features and predict the initial forgery identification results. And face analysis results , as the initial output result of the first stage dual task: (5); S22: In the second stage, we build an inter-adaptive module through two tasks: forgery identification and face analysis , for interactive learning: (6); Among them: ILM is the mutual adaptation module, and the input of ILM is the prediction result of the previous stage and ,The same ILM structure is used in each stage; S23: Pass Interactive learning in two stages optimizes the prediction results of the two tasks: (7); Finally, the forged identification result is obtained And face analysis results ; S24: The final face identification is performed through cross-forgery classification, which can be expressed as: (8); in: Labels representing faces; Represents the result predicted by the discriminator, 0 represents true and 1 represents false; Indicates the category of face authenticity classification; The final face parsing result identification is performed through cross entropy face parsing, which can be expressed as: (9); in: Parse labels for real faces; is the prediction graph; is the number of image pixels; is the number of semantic categories; The total loss can then be expressed as: (10); in: is the weight for controlling the loss.
2. The method for detecting fake faces in quality-degraded facial images based on orthogonal moment space according to claim 1, characterized in that: In the S12, The expression is: ; in: is the radial distance of polar coordinates; is the order of the polynomial; Is an integer.
3. The method for detecting fake quality of degraded facial images based on orthogonal moment space according to claim 1, characterized in that: In the S21, the Xception backbone network includes multiple convolutional layers, pooling layers and depthwise separable convolutional layers, and the depthwise separable convolution consists of a depthwise convolutional layer and a pointwise convolutional layer.
4. The method for detecting fake quality of degraded facial images based on orthogonal moment space according to claim 1, characterized in that: In S22, the mutual adaptation module includes two adapters and two dynamic convolution modules, and the adapter is a false detection parameter adapter. With parsing parameter adapter ,The structures of the two adapters are consistent and are both implemented through a simple CNN, i.e., three layers of convolution and two layers of maximum pooling.
5. The method for detecting fakes in quality-degraded facial images based on orthogonal moment space according to claim 4, characterized in that: Decompose the authentication parameter adapter using SVD With parsing parameter adapter Parameters: (11); in: is the parameter basis; Represents the convolution operation; Represents channel-by-channel convolution operation; and Adapter for detecting fake parameters With parsing parameter adapter The original parameters of , in this way, the number of parameters of both can be reduced; Using dynamic convolution and The next step of calculation is achieved by replacing the static convolution kernel with the predicted dynamic convolution kernel in the traditional convolution layer: (12); in: and is a dynamic representation learned from the guidance information of the counterpart of the task, i.e. Learning face parsing The dynamic representation of Learn to identify counterfeit Dynamic representation of is the initial forgery identification result; is the face analysis result; Prediction results for the next stage and It can be expressed as: (13)。
