An image super-resolution method based on deep feedback attention network system

Through the iterative feedback mechanism and channel attention gate of the deep feedback attention network system, the problems of redundant information superposition and overfitting in the deep learning model are solved, and high-quality super-resolution reconstruction and fast training are achieved.

CN111986085BActive Publication Date: 2024-09-13NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010765385.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2024-09-13
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

The redundant information superposition effect and over-fitting problem caused by the feedback structure in the deep learning model affect the convergence speed and final effect of the super-resolution network.

Method used

The deep feedback attention network system is adopted, and the iterative feedback mechanism of the feature mapping module and the attention module is used to suppress the superposition of redundant information, improve parameter sharing and feature propagation quality, and combine the channel attention gate for feature filtering to optimize model learning.

Benefits of technology

It achieves higher-quality super-resolution reconstruction, reduces the amount of model parameters and training time, improves the peak signal-to-noise ratio, and achieves an effect of more than 38db.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111986085B
    Figure CN111986085B
Patent Text Reader

Abstract

The present invention discloses an image super-resolution method based on a deep feedback attention network system, including an input module, a feature extraction module, a feedback module, a reconstruction module and an output module. The network system proposed in the present invention learns the mapping from low-resolution to high-resolution images in an iterative manner in each round of training, and combines the feedback attention mechanism in the iterative process to improve the accuracy of model learning, thereby further improving the quality of super-resolution results. The network system model proposed in the present invention achieves a peak signal-to-noise ratio of 38.04 / 34.65 / 32.41db respectively on the ´2 / ´3 / ´4x reconstruction tasks of the single image super-resolution benchmark test set Set5.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image super-resolution, and in particular to an image super-resolution method based on a deep feedback attention network system. Background Art

[0002] Image super-resolution (SR) has been widely used in scenarios with high demands on image quality, such as medical imaging and face recognition. At the same time, in the field of deep learning, as an underlying computer vision problem, super-resolution can also improve the performance of corresponding models by generating high-quality images and providing high-quality datasets for other advanced visual tasks. Image super-resolution aims to achieve the mapping from low-dimensional image space to high-dimensional image space, that is, the conversion of low-resolution images (LR) to high-resolution images (HR).

[0003] Traditional image super-resolution methods mainly use interpolation algorithms to calculate the pixel values ​​that need to be filled. This type of method is simple and efficient and can be applied to real-time and fast image upsampling. However, because it relies too much on artificially defined mapping relationships and prior assumptions, the quality of image reconstruction based on interpolation algorithms is often difficult to guarantee. In order to solve the problems of traditional interpolation methods, super-resolution methods based on machine learning have gradually developed. This type of method mainly fits the LR-HR mapping relationship by learning the mapping from low resolution to high resolution through certain algorithms in a large number of annotated image data sets.

[0004] With the continuous development of deep learning models, many new network models have been proposed in the field of super-resolution. SRRcsnct introduces a residual structure, which alleviates the loss of gradient information in the multi-layer propagation process by adding jump connections on the basis of linear networks. Thanks to this, the super-resolution network can be designed to be deeper, which greatly enhances the learning and representation capabilities of the model. Although many deep learning models have achieved good reconstruction effects, deeper networks also bring problems such as overfitting and slow convergence. These problems are common problems of deep neural networks. Many high-quality super-resolution results mostly rely on repeated parameter adjustment attempts of the network, and the final model is difficult to reproduce in actual application scenarios. Therefore, the focus of many network model designs has begun to shift from increasing the depth of the network to learning the mapping from low-resolution images to high-resolution images (LR-HR). In order to realize the feedforward and feedback propagation of feature information, SRFBN introduces a feedback connection structure to achieve full reuse of parameters. Recursive and feedback structures do have a positive impact on the utilization of model parameters, but since these structures transmit feature information in a cyclic iterative form during the training process, redundant feature information and some noise may produce a superposition effect during the iteration and affect the convergence of the network and the final effect. Summary of the invention

[0005] In order to suppress the side effects caused by deep iteration in a super-resolution network based on a feedback structure, the present invention provides a deep feedback attention network system, which can effectively suppress the superposition of redundant information in feedback iteration, improve the quality of parameter sharing and feature propagation, and at the same time improve the convergence speed of the model.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] A deep feedback attention network system, the deep feedback attention network system comprising an input module, a feature extraction module, a feedback module, a reconstruction module and an output module,

[0008] The feature extraction module includes convolutional layers and deconvolutional layers, which are used to extract features of low-resolution images;

[0009] The reconstruction module includes deconvolution and convolution layers, which are used to upsample the output features and generate the final SR residual image;

[0010] The feedback module includes a feature mapping module and an attention module, wherein the feature mapping module includes a feature mapping group composed of multiple convolutional layers and deconvolutional layers, which is used to map and learn the features of the input low-resolution image to obtain reconstructed features, and the attention module includes a channel attention gate, which is used to perform feature filtering on the reconstructed features.

[0011] The present invention also adopts the following technical solution: an image super-resolution method based on a deep feedback attention network system, which learns the mapping from low-resolution to high-resolution images in an iterative manner in each round of training, and combines the feedback attention mechanism in the iterative process to improve the accuracy of model learning, thereby further improving the quality of super-resolution results. The network system model proposed in the present invention has a peak signal-to-noise ratio of 38.04 / 34.65 / 32.41db on the ×2 / ×3 / ×4 magnification reconstruction tasks of the single image super-resolution benchmark test set Set5. The steps of the network system method are as follows:

[0012] S1, input low-resolution image LR, high-resolution reference image H, training times e and feedback network depth n into the network;

[0013] S2, initialize network parameters;

[0014] S3, extracting the features of the low-resolution image LR as input features F;

[0015] S4, input the input feature F into the network, and obtain the reconstructed feature S_i based on the operation of the feature mapping module and the attention module;

[0016] S5, merge S_i with the input feature F and re-input it into the network as a new input feature;

[0017] S6, iterate steps S4-S5, repeat n times in total, and obtain the reconstructed feature S_n, where n is the depth of the feedback network;

[0018] S7, using the output reconstruction feature S_n, obtaining an output high-resolution image SR based on upsampling;

[0019] S8, calculating the error between the high-resolution reference image H and the low-resolution image LR, and updating the network parameters according to the error;

[0020] S9, bring the updated network parameters into step S2, repeat steps S1-S7, repeat the training e times, and finally obtain the trained network parameters;

[0021] S10, input the trained network parameters, the low-resolution image LR, and the feedback network depth n into the network, implement steps S2-S7, and obtain an output high-resolution image.

[0022] To optimize the above technical solutions, the specific measures taken also include:

[0023] Furthermore, the parameters in the method are iterated cyclically. The input feature F is input into the network for the first time, and the reconstructed feature S_1 is obtained based on the operation of the feature mapping module and the attention module; S_1 is merged with the input feature F and re-input into the network, and the reconstructed feature S_2 is obtained based on the operation of the feature mapping module and the attention module; S_2 is merged with the input feature F and re-input into the network to obtain a new reconstructed feature, and this is repeated n times to finally obtain the reconstructed feature s_n.

[0024] Furthermore, in step S4, after feature extraction, the extracted features are input into the attention module of the network system, which is expressed as:

[0025]

[0026] where f FE It means that it contains two feature extraction layers Conv(3,n), Conv(3,n) means a convolution layer with n convolution kernels of size 3*3, I LR Represents the input low-resolution image LR; represents the features extracted from the LR image.

[0027] Furthermore, the feature mapping process is continuously iterated, and the tth iteration is expressed as:

[0028]

[0029] where f DFAN Represents the feature mapping module in the middle of the model, represents the reconstructed feature output of the t-1th iteration, represents the feature input of the tth iteration, Represents the reconstructed features of the feature output of the feedback module at the tth iteration.

[0030] Furthermore, in step S7, the deconvolution layer Deconv(k, n) is used to upsample the output reconstructed features, and then the convolution layer Conv(3, c) is used to generate the final SR residual image; the SR residual image and the upsampling of the original image jointly generate the final high-resolution image SR.

[0031] Furthermore, in step S7, the output features are filtered through the attention unit, which includes three processes: squeezing, excitation, and scaling.

[0032] The beneficial effects of the present invention are: 1) The present invention proposes an iterative feedback attention super-resolution network system based on a feedback mechanism, which realizes parameter reuse and redundant feature filtering mechanism. Compared with similar super-resolution models, the model has fewer parameters and faster execution speed, and can also obtain a higher quality super-resolution reconstruction level.

[0033] 2) This paper proposes a new iterative feedback attention structure, introduces an attention mechanism, learns attention weights in the feedback propagation of features to achieve channel-level filtering, improves the efficiency of model learning, and the structure can be applied to any model based on feedback structure.

[0034] 3) The model proposed in this invention achieves better reconstruction results than most similar methods on public standard datasets, and achieves a peak signal-to-noise ratio of more than 38db with a single-image processing time of less than seconds. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 , the framework diagram of the super-resolution network system model based on deep feedback attention of the present invention.

[0036] Figure 2 , a schematic diagram of the expanded form of the deep feedback attention structure of the present invention.

[0037] Figure 3 , a comparison chart of the reconstructed visual effects of the same model of the present invention at 4 times magnification.

[0038] Figure 4 , a comparison chart of the reconstructed visual effects of the same model of the present invention at 4 times magnification.

[0039] Figure 5 , a comparison chart of the reconstructed visual effects of the same model of the present invention at 4 times magnification. DETAILED DESCRIPTION

[0040] The present invention will now be described in further detail with reference to the accompanying drawings.

[0041] It should be noted that the terms such as "upper", "lower", "left", "right", "front", "back", etc. cited in the invention are only for the convenience of description and are not used to limit the scope of implementation of the present invention. Changes or adjustments in their relative relationships should be regarded as the scope of implementation of the present invention without substantially changing the technical content.

[0042] The present invention combines the feedback structure with the attention mechanism and proposes a deep feedback attention network system (DFAN). The deep feedback attention network system includes an input module, a feature extraction module, a feedback module, a reconstruction module and an output module.

[0043] The feature extraction module includes convolutional layers and deconvolutional layers, which are used to extract features of low-resolution images;

[0044] The reconstruction module includes deconvolution and convolution layers, which are used to upsample the output features and generate the final SR residual image;

[0045] The feedback module includes a feature mapping module and an attention module, wherein the feature mapping module includes a feature mapping group composed of multiple convolutional layers and deconvolutional layers, which is used to map and learn the features of the input low-resolution image to obtain reconstructed features, and the attention module includes a channel attention gate, which is used to perform feature filtering on the reconstructed features.

[0046] like Figure 1 As shown in the figure, in the DFAN model, the core part includes the cyclic iteration of parameters and residual attention. The cyclic iteration mechanism is realized by the reverse transfer formed by the feedback connection, which ensures the full utilization of the feature information in the iteration process. The specific implementation of the attention module mechanism in different fields (image, semantics) is different. In the present invention, it is realized by assigning different weights to the features of different channels, that is, learning a weight vector that matches the number of features. The attention module filters the feature channels of each iteration by learning the corresponding weights, and continuously fine-tunes the output high-resolution image SR features during the iteration. Since the attention module itself has an inhibitory effect on the transmission of feature information, in order to reduce this weakening of the features, the present meaning draws on the method of introducing residuals in RAN to realize the attention template. By associating with the weight template of the previous iteration, the attention template of each iteration learns a deeper residual information based on iteration, and uses this iteration to continuously refine the features of the image. The combination of these two mechanisms ensures parameter sharing and enables the model to learn LR-HR mapping more accurately.

[0047] Figure 1 The static structure of DFAN is shown in the figure. In the actual training process, the dynamic iterative structure of the DFAN model is as follows Figure 2 As shown in the figure, the training of a single image can be expanded into T rounds of iterations, with the iteration numbers ranging from 1 to T. The solid line in the lower part of the figure represents the feedback reuse of features, and the dotted line in the upper part represents that the attention of each round of learning is superimposed on the next cycle to form iterative residual learning. In each round of iteration, the model merges all the features of the current input and the output of the previous iteration as the current input features to achieve parameter reuse and feature sharing. The basic component modules of the model mainly include a feedback block composed of convolutional layers and deconvolutional layers and a channel attention gate.

[0048] The present invention also discloses an image super-resolution method based on a deep feedback attention network system, and the method steps are as follows:

[0049] S1, input low-resolution image LR, high-resolution reference image H, training times e and feedback network depth n into the network;

[0050] S2, initialize network parameters;

[0051] S3, extracting the features of the low-resolution image LR as input features F;

[0052] S4, input the input feature F into the network, and obtain the reconstructed feature S_i based on the operation of the feature mapping module and the attention module;

[0053] S5, merge S_i with the input feature F and re-input it into the network as a new input feature;

[0054] S6, iterate steps S4-S5, repeat n times in total, and obtain the reconstructed feature S_n, where n is the depth of the feedback network;

[0055] S7, using the output reconstruction feature S_n, obtaining an output high-resolution image SR based on upsampling;

[0056] S8, calculating the error between the high-resolution reference image H and the low-resolution image LR, and updating the network parameters according to the error;

[0057] S9, bring the updated network parameters into step S2, repeat steps S1-S7, repeat the training e times, and finally obtain the trained network parameters;

[0058] S10, input the trained network parameters, the low-resolution image LR, and the feedback network depth n into the network, implement steps S2-S7, and obtain an output high-resolution image.

[0059] The parameters in the method are iterated cyclically. The input feature F is input into the network for the first time, and the reconstructed feature S_1 is obtained based on the operation of the feature mapping module and the attention module; S_1 is merged with the input feature F and re-input into the network, and the reconstructed feature S_2 is obtained based on the operation of the feature mapping module and the attention module; S_2 is merged with the input feature F and re-input into the network to obtain a new reconstructed feature, and so on. It is repeated n times to finally obtain the reconstructed feature S_n.

[0060] Let Conv(f, n) and Deconv(f, n) represent the convolutional layer and deconvolutional layer with n convolution kernels of size f*f, respectively. Let I LR is a low-resolution image. After feature extraction, the input to the attention module can be expressed as:

[0061]

[0062] where f FE It means that it contains two feature extraction layers Conv(3,n), Conv(3,n) means a convolution layer with n convolution kernels of size 3*3, I LRRepresents the input low-resolution image LR; (Input feature F) represents the feature extracted from the LR image, which will be used as the input of the intermediate mapping learning part, that is, the hidden unit in the feedback module. The tth iteration of the feature mapping process can be expressed as:

[0063]

[0064] where f DFAN Represents the feature mapping module in the middle of the model, represents the feature output of the t-1th iteration, represents the feature input of the tth iteration, Represents the reconstructed features of the feature output of the feedback module at the tth iteration.

[0065] Finally, the output of the attention feedback module of each iteration is reconstructed by the reconstruction module. The present invention uses a deconvolution layer Deconv(k, n) to upsample the output features, and then uses a convolution layer Conv(3, c) to generate the final SR residual image. The SR residual image and the upsampling of the original image jointly generate the final SR result. The final SR result can be expressed as:

[0066]

[0067] where f re↑ Represents the reconstruction module, which consists of a deconvolution layer and a convolution layer, and generates the final image through the SR features outputted previously. represents the feature output of the last iteration of the attention feedback module, f bi↑ It represents the upsampling operation based on bicubic interpolation. Since each iteration generates an SR image, t SR images will be generated after t rounds of iterations. It represents the output SR image of the tth iteration. Thanks to the continuously updated features in the iterative process, the image quality of the later iterations is higher, and the output image of the last iteration will be used as the final output result of the entire model.

[0068] The specific iterative process in the convolution-deconvolution mapping group and the attention gate in the present invention is as follows.

[0069] The mapping module based on deep feedback attention is mainly composed of convolution blocks and deconvolution blocks. The superposition of convolution blocks and deconvolution blocks can realize feature reconstruction and continuous iteration, and calculate the accumulated reconstruction error in repeated up and down sampling. This iterative method is slightly different from the stacking of up-reflection and down-reflection units in DBPN. The directly connected convolution-deconvolution layers form an interlaced densely connected structure. This connection method can realize repeated reconstruction of features, thereby constraining shallow features while ensuring the effective propagation of gradient information.

[0070] Specifically, the input of the attention self-feedback module is and First, a 1×1 convolutional layer is used to reconstruct the input features as the input of feature extraction to obtain the input features of the attention feedback module.

[0071]

[0072] Next, the input features are iteratively reconstructed by a cascade of multiple convolutional blocks and deconvolutional blocks. At the same time, the output of each group is merged with the outputs of all previous groups. In the self-feedback module, the input of the nth group in the tth iteration can be expressed as:

[0073]

[0074] where f proj↑↓ Represents a reflection group consisting of convolution and deconvolution layers. This formula shows that in the iteration process, the input features of each iteration are the combination of the current input features and all the features generated by the previous iteration process. The output features (an intermediate variable of the feedback module, that is, the output of the feature mapping part) will then be filtered through the attention unit. The channel attention unit used in this sense includes three processes: squeezing, excitation, and scaling.

[0075] (1) Squeeze function

[0076] The traditional attention mechanism expands all features and learns an excitation weight through a fully connected layer. The original meaning borrows from the method in SE-Net, which calculates the global average of each channel feature to represent the feature value of the entire feature map, thereby greatly reducing the number of parameters required for the subsequent weight matrix. The squeezing link based on global average pooling can be expressed as:

[0077]

[0078] where g t Represents the input feature map, H and W are the height and width of the feature respectively, Represents the value at each position in the output feature, (i, j) represents the coordinates of the calculated value, and this link squeezes the feature maps of multiple channels into a eigenvalue tensor with a size equal to the number of features.

[0079] (2) Activation Function

[0080] The excitation function enhances or suppresses the features of each channel by learning the weights of the corresponding positions of the eigenvalue tensor. This part consists of two fully connected layers with activation functions. The excitation link can be expressed as:

[0081] m t =σ(w2δ(w1*g t )) (7)

[0082] Where m t Represents the weight vector of the corresponding channel features learned at the attention gate, g t represents the input feature map, w1 and w2 are two one-dimensional weights, δ represents the ReLU function, σ represents the Sigmoid function, and the final activation function gives a weight matrix with the same dimension as the number of input feature channels. The activation function is the core part of the attention mechanism. Through the learned weights, the features with strong gradient response in the feature information can be strengthened, and the invalid features with weak gradient response can be suppressed, thereby increasing the accuracy of the model learning the features.

[0083] (3) Scaling function

[0084] The scaling function uses the channel attention weight matrix learned in the above process to scale the original input feature channels, thereby enhancing effective features and suppressing useless features. The scaling link can be expressed as:

[0085]

[0086] As shown in formula 8, is the result of the attention unit output, that is, the reconstructed feature S, m t-1 represents the weight template learned in the previous round of iterations, * represents the one-to-one multiplication of the elements in the matrix, so the left side of the formula represents the HR feature representation learned in the previous round of iterations, m t Represents the weight template of this round of iterative learning, which actually learns the residual information corresponding to the feature representation learned in the previous round. Represents the feature output of the tth iteration. This link associates the attention weight information of this iteration with the weight of the previous iteration to construct an iterative residual attention. Specifically, we propose the following structure based on feedback and attention mechanism.

[0087] In the first round of iteration, the attention unit learns the residual attention weight of LR-HR. In each subsequent round of iteration, the feature map generated by the attention weight will be superimposed with the features output by the previous round of iteration, and the weight information of the previous round will be combined to form the output of this round of iteration. Therefore, the attention learned by the model in each round of iteration is continuously iterated and deepened during the training process.

[0088] Dataset introduction: The experimental performance analysis of the embodiment of the present invention mainly uses DIV2K as the training set. This dataset is the benchmark dataset used in the NTRIE and PIRM competitions, which contains 900 high-quality PNG images with a resolution of 2K. We used the same method as EDRN for data preprocessing. PSNR and SSIM are used as evaluation indicators for SR results. The benchmark test sets mainly include Set5, Set14, B100, Urban100 and Manga109.

[0089] In order to compare with other SR models, this invention, like most methods, chooses the bicubic interpolation method to downsample the HR image to obtain the LR image. The obtained LR image and the original HR image together constitute the annotated data set for model training. In order to adapt to the calculation of the convolution layer, the input image is divided into multiple image blocks (patch) during training, and the block size is set to different values ​​according to the magnification, as shown in Table 1.

[0090] Table 1 Input patch size settings

[0091]

[0092] In this embodiment, a batch size of 16 is used when training the model, Adam is selected as the training optimization algorithm, the initial learning rate is set to 0.0001, and it is decayed by half every 200 epochs. The DPAN proposed in the present invention is implemented based on the Pytorch framework and trained on an NVIDIA 1080Ti GPU.

[0093] Evaluation criteria and parameter settings: For the quality evaluation of image super-resolution reconstruction results, the commonly used indicators are mainly Peak Signal to Noise Ratio (PSNR) and Structural Similarity (SSIM).

[0094] 1. Peak signal-to-noise ratio: This indicator mainly measures the similarity between images from the perspective of signals. Its definition is as follows:

[0095]

[0096] Among them ILR Represents the input low-resolution image LR, I HR I LR The corresponding high-resolution image HR, SE is the mean square error between images, n is the bit depth of the pixel value, in the data set of the present invention, the value of n is 8, that is, the maximum value of the pixel value is 2 8 -1 = 255. The larger the PSNR value, the more similar the two images are. Generally, when the PSNR value is greater than 38, it is difficult for the human eye to distinguish the difference between the images.

[0097] 2. Structural Similarity: Structural Similarity (SSIM) defines structural information from the perspective of image composition as an attribute that is independent of brightness and contrast and reflects the structure of objects in the scene. It also models distortion as a combination of three different factors: brightness, contrast, and structure, thereby estimating the similarity between two images. Its definition is as follows:

[0098]

[0099] where μ x and μ y are the means of x and y respectively, and are the variances of x and y, σ xy is the covariance of x and y, c1 and c2 are constants.

[0100] The value range of SSIM is 0 to 1. When two images are exactly the same, the value of SSIM is 1.

[0101] The original model uses distance-based loss for optimization. The loss function L D Θ can be expressed as:

[0102]

[0103] Where T represents the number of iterations, W t represents the output weight matrix of each iteration, represents the original high-resolution image corresponding to the input of the t-th iteration, represents the output SR image of the tth iteration. Since PSNR is negatively correlated with MSE, many models are optimized according to MSE loss, but optimization based on mean square loss will result in averaging effect on pixel values. At the same time, since DPAN learns a lot of deep residual information, we choose to use L1 loss to avoid the averaging effect while imposing certain sparse constraints on the parameters to prevent overfitting.

[0104] Except for the last layer using the tanh activation function, PReLu is used as the activation function in all convolutional layers and deconvolutional layers. The present invention sets different convolution kernel sizes, step sizes, and padding amounts corresponding to different magnifications. The specific settings are shown in Table 2. The output of the last round of iteration will be used as the final super-resolution reconstruction result.

[0105] Table 2 Convolutional layer parameter settings

[0106]

[0107] Attention model ablation experiment: In order to analyze the actual impact of introducing the attention model, the present invention compares the super-resolution effect of the attention model under different structures. The model used in the experiment includes 4 iterations and 3 convolution groups, and is trained for 200 epochs. The results are shown in Table 3.

[0108] Table 3 Comparison of the effects of different attention structures

[0109]

[0110] DFAN-A represents a model without attention, DFAN-B represents a model that introduces channel attention but does not implement an iterative residual structure, and DFAN represents a model that introduces an iterative residual attention structure. Experiments show that although the introduction of attention alone slightly improves the effect, the convergence speed of the network is affected to a certain extent. This effect may be due to the superposition effect of the inhibitory effect of attention on features during multiple iterations. On the other hand, after the structure combining feedback connection and attention is introduced at the same time, the performance of the network is further improved, which shows that the combination of attention and feedback mechanism can weaken the side effects of deep attention and strengthen the role of the feedback mechanism.

[0111] Iteration number comparison experiment: In DFAN, after multiple rounds of feedback iterations, the model continuously learns more layers of attention information and image features through iterative residual attention, while continuously fine-tuning the network parameters and approaching the optimal solution. As the number of iterations increases, the deep feedback attention structure in the DFAN model not only deepens the depth of feedback propagation, but also increases the accuracy of attention weights. In order to study the relationship between the model's parameter learning and the number of iterations, the influence of the change in the number of iterations T on the reconstruction effect is compared to analyze the influence of the attention level under the feedback structure on the model reconstruction accuracy.

[0112] Table 4 Analysis of the number of iterations

[0113]

[0114] According to the experiment, when T increases from 2 to 4, the training loss increases, but the loss on the validation set decreases a little, which means that increasing the iteration depth can effectively suppress the overfitting of the deep network and improve the network convergence speed. We noticed that compared with T=3 and T=4, the loss on the training set continues to increase, but the reconstruction effect is quite similar. This is because when the iteration level is further deepened, each round of iteration learns the progressive residual information, so the parameters learned in the later iterations will be sparser. The reconstruction results in Table 4 also confirm this. This shows that too deep iterations may cause the learning of iterative residual attention to fall into a local optimal solution. According to the experimental results, we finally believe that the value of T should fluctuate around 4, and not exceed 6 at most, otherwise the effect improvement brought by the feedback connection will be saturated.

[0115] Comparison of super-resolution effects: This paper conducts comparative experiments with multiple other super-resolution methods and the original method on five benchmark datasets. In the experiment, the number of channels of image features is set to 64, the number of iterations in DFAN is set to 4, and the methods involved in the comparison include Bicubic, SRCNN, VDSR, LapSRN, DRRN, MemNet, EDSR, SRFBN, and DFAN. The results include the cases where the magnification is {2, 3, 4}, and the results are shown in Table 5. Since LapSRN does not support 3x image super-resolution, the corresponding content is omitted in the results. A more intuitive visual reconstruction effect is shown in Figure 3-Figure 5 In the figure, we can see that the model proposed by Benyi can achieve better reconstruction effect and has higher reconstruction quality in details.

[0116] Table 5 Super-resolution reconstruction results (PSNR / SSIM) at x2 / x3 / x4 magnifications

[0117]

[0118]

[0119] In summary, the present invention proposes a new image super-resolution network based on deep feedback attention (DeepFeedback Attention Network, DFAN), which improves the efficiency of feature learning and can generate high-quality super-resolution images by forming iterative residual attention in the feedback mechanism to suppress the propagation of redundant information. This method reduces the number of model parameters through parameter reuse brought by feedback connection, establishes a screening mechanism for feature learning using channel attention, and continuously improves the accuracy of feature mapping in iteration. The experimental part verifies that the introduction of the deep feedback attention structure does improve the feature mapping learning ability of the super-resolution network, alleviates problems such as overfitting and slow convergence, and the method proposed in the present invention is superior to the current image super-resolution methods of the same type.

[0120] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. An image super-resolution method based on a deep feedback attention network system, characterized in that: The deep feedback attention network system includes an input module, a feature extraction module, a feedback module, a reconstruction module and an output module; The feature extraction module includes convolutional layers and deconvolutional layers, which are used to extract features of low-resolution images; The reconstruction module includes deconvolution and convolution layers, which are used to upsample the output features and generate the final SR residual image; The feedback module includes a feature mapping module and an attention module, wherein the feature mapping module includes a feature mapping group composed of multiple convolutional layers and deconvolutional layers, which is used to map and learn the features of the input low-resolution image to obtain reconstructed features, and the attention module includes a channel attention gate, which is used to perform feature filtering on the reconstructed features; The steps of the image super-resolution method are as follows: S1, input low-resolution image LR, high-resolution reference image H, training times e and feedback network depth n into the network; S2, initialize network parameters; S3, extracting the features of the low-resolution image LR as input features F; S4, input the input feature F into the network, and obtain the reconstructed feature S_i based on the operation of the feature mapping module and the attention module; S5, merge S_i with the input feature F and re-input it into the network as a new input feature; S6, iterate steps S4-S5, repeat n times in total, and obtain the reconstructed feature S_n, where n is the depth of the feedback network; S7, using the output reconstruction feature S_n, obtaining an output high-resolution image SR based on upsampling; S8, calculating the error between the high-resolution reference image H and the low-resolution image LR, and updating the network parameters according to the error; S9, bring the updated network parameters into step S2, repeat steps S1-S7, repeat the training e times, and finally obtain the trained network parameters; S10, input the trained network parameters, the low-resolution image LR, and the feedback network depth n into the network, and implement steps S2-S7 to obtain an output high-resolution image; make and Respectively indicate that The size is The convolution layer and deconvolution layer of the convolution kernel are is a low-resolution image. After feature extraction, the input to the attention module is represented as: ; in Indicates that it contains two feature extraction layers , represents a convolutional layer with n convolution kernels of size 3*3. Represents the input low-resolution image LR; Represents the features extracted from the LR image, which will be used as the input of the intermediate mapping learning part, that is, the hidden unit in the feedback module; The feature mapping process The iterations are expressed as: ; in Represents the feature mapping module in the middle of the model, Indicates The feature output of the iteration is Indicates The feature input of the iteration, Indicates the feedback module The reconstructed features of the feature output of the iteration; Finally, the output of the attention feedback module of each iteration is reconstructed by the reconstruction module using a deconvolution layer The output features are upsampled and then a convolutional layer is used Generate the final SR residual image; the SR residual image and the upsampling of the original image jointly generate the final SR result; the final SR result is expressed as: ; in Represents the reconstruction module, which consists of a deconvolution layer and a convolution layer, and generates the final image through the SR features outputted previously; represents the feature output of the last iteration of the attention feedback module, Represents the upsampling operation based on bicubic interpolation. Since each iteration generates an SR image, After rounds of iterations, it will eventually generate SR images; represents the output SR image of the tth iteration; The specific iterative process in the convolution-deconvolution mapping group and the attention gate is as follows: The mapping module based on deep feedback attention is mainly composed of convolution blocks and deconvolution blocks. The superposition of convolution blocks and deconvolution blocks can realize feature reconstruction and continuous iteration, and the accumulated reconstruction error is calculated in repeated up and down sampling; The input of the attention self-feedback module is and , first by a The convolutional layer reconstructs the input features as the input of feature extraction to obtain the input features of the attention feedback module : ; The input features are iteratively reconstructed by a cascade of multiple convolutional blocks and deconvolutional blocks, and the output of each group is merged with the outputs of all previous groups. In the self-feedback module, Round Iteration The input of each group is expressed as: ; in Represents a reflection group composed of convolution and deconvolution layers. This formula shows that in the iterative process, the input features of each round of iteration are merged by the current input features and all the features generated by the previous iterative process; the output features are feature filtered through the attention unit, and the channel attention unit includes three processes: squeezing, excitation, and scaling.

2. The image super-resolution method according to claim 1, characterized in that: The parameters in the method are iterated cyclically. The input feature F is input into the network for the first time, and the reconstructed feature S_1 is obtained based on the operation of the feature mapping module and the attention module; S_1 is merged with the input feature F and re-input into the network, and the reconstructed feature S_2 is obtained based on the operation of the feature mapping module and the attention module; S_2 is merged with the input feature F and re-input into the network to obtain a new reconstructed feature. This is repeated n times to finally obtain the reconstructed feature S_n.