Hyperspectral image classification method based on frequency domain denoising and element gradient correction
By employing frequency domain denoising and meta-gradient correction, the problems of label noise and spectral jitter in hyperspectral image classification are solved, thereby improving the discriminative power and robustness of hyperspectral image classification.
Patent Information
- Application Number
- CN202610054173.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-05-01
AI Technical Summary
Hyperspectral image classification suffers from label noise interference and gradient direction distortion caused by spectral jitter, making it difficult for existing methods to effectively balance sample learning and utilization of high-value samples.
A method based on frequency domain denoising and meta-gradient correction is adopted. The parameterized spectrum gated sensing transformation module is used to remove spectral jitter noise, construct an adaptive pseudo-clean validation set, and use the meta-gradient correction mechanism to adjust the sample weights and adaptively optimize the loss function.
It significantly improves the discriminative power and robustness of hyperspectral image classification, effectively suppresses label noise interference, accurately mines high-value samples, and enhances the model's generalization ability and training stability.
Smart Images

Figure CN121962950A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image processing technology, and in particular to a hyperspectral image classification method based on frequency domain denoising and meta-gradient correction. Background Technology
[0002] With the rapid development of remote sensing technology and the increasingly sophisticated application requirements, hyperspectral images, with their rich spectral diagnostic information, have shown enormous application potential in fields such as precision agriculture, environmental monitoring, geological exploration, and military reconnaissance. The success of deep learning models largely depends on large-scale, high-quality labeled data. However, due to the characteristics of hyperspectral data, such as multiple bands, high dimensionality, and complex spectral curves, its pixel-level annotation is highly dependent on expert knowledge, making it extremely difficult to obtain perfect and noise-free labeled data in practical applications. Inevitable label noise can cause deep models to overfit to incorrect labels during training, severely impairing the model's generalization ability and decision reliability.
[0003] In recent years, robust learning methods based on sample reweighting and sample selection have become a research hotspot to address the interference of label noise on hyperspectral image classification. These methods aim to improve the model's noise resistance by assigning different training weights to clean and noisy samples. Although existing robust classification methods have made some progress, they still have limitations when processing hyperspectral data. Traditional optimization strategies often struggle to balance learning between samples, easily leading the model to ignore samples with high loss values but containing crucial discriminative information. To address the problems caused by uniform weighting, existing techniques have attempted sample selection strategies based on curriculum learning, small loss criteria, or confidence weighting. However, these methods mostly rely on statistical values such as loss values or predicted probabilities to measure sample quality. This statistically-based judgment has significant selection bias, often equating high loss directly with noise, thus incorrectly eliminating or suppressing high-value samples crucial for fine-grained classification, making it difficult for the model to distinguish complex boundaries.
[0004] To allocate sample weights more intelligently, meta-learning-based weighting strategies have gradually become a research hotspot, attempting to use validation sets to guide the updating of training sample weights. However, existing methods of this kind face severe challenges when applied to hyperspectral images. On the one hand, the effectiveness of these methods usually depends heavily on a high-quality, noise-free, clean external validation set as a guiding signal, but in real-world hyperspectral data acquisition scenarios, obtaining such high-quality independent data is often costly or even impossible. On the other hand, the spectral curves of hyperspectral images generally have inherent high-frequency physical jitter, and this physical noise propagates directly into the feature space, causing distortion in the calculated gradient direction. Existing weighting or filtering methods often fail to effectively consider and remove this physical noise, leading to misleading calculations of sample contributions to optimization. This prevents the model from accurately identifying and utilizing semantically correct samples that are physically perturbed, while suppressing label noise, thus limiting further improvements in hyperspectral image classification performance. Summary of the Invention
[0005] The purpose of this section is to outline some aspects of embodiments of the present invention and to briefly describe some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of these documents; however, such simplifications or omissions should not be construed as limiting the scope of the invention.
[0006] In view of the problems existing in the current hyperspectral image classification methods based on frequency domain denoising and meta-gradient correction, this invention is proposed.
[0007] Therefore, the purpose of this invention is to provide a hyperspectral image classification method based on frequency domain denoising and meta-gradient correction, which solves the problems of label noise interference and gradient direction distortion caused by spectral jitter in hyperspectral image classification.
[0008] To address the aforementioned technical problems, this invention provides the following technical solution: a hyperspectral image classification method based on frequency domain denoising and meta-gradient correction, comprising the following steps: All hyperspectral image data are preprocessed, and the overall training sample set composed of the processed hyperspectral images is divided into a training set and a validation set. Construct a sample weighted model based on frequency domain denoising and meta-gradient correction; During training, the parameterized spectrum-gated sensing transformation module is used to map features to the frequency domain through discrete Fourier transform, and the learnable spectral response function is used to adaptively suppress spectral jitter noise, finally reconstructing clean features. Automatically construct a high-confidence pseudo-clean validation set based on Gaussian mixture model and temporal consistency; The direction of the sample gradient is calculated to be consistent with that of the pseudo-clean set gradient, i.e., meta-gradient correction, in order to re-evaluate the sample value and adaptively adjust the sample weights. The model is trained using the training set, and the loss function is optimized using adaptive weights to obtain a well-trained hyperspectral image classification model. For the hyperspectral image to be classified, preprocessing, feature extraction and classification are performed in sequence to obtain the classification result.
[0009] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the parameterized spectrum-gated sensing transformation module adopts an amplitude-phase decoupling mechanism. First, the features are transformed into complex frequency domain representations through discrete Fourier transform and decoupled into amplitude and phase spectra. Then, the global importance weight of each frequency component is calculated through a spectrum context sensing network, and combined with a frequency domain residual connection mechanism, adaptive nonlinear purification of features is achieved.
[0010] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the method for constructing a pseudo-clean validation set is to fit the sample loss distribution using a two-component Gaussian mixture model and maintain the global historical probability memory using a time-domain momentum update mechanism. When the historical confidence of a sample exceeds a set threshold, it is selected into the pseudo-clean validation set, thereby eliminating the dependence on external high-quality validation sets.
[0011] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the specific calculation method for the complex frequency domain mapping and decoupling of the features is as follows: ; ; ; in, Indicates the first The feature vector of each sample Representing feature dimension, Indicates frequency index, Representing the frequency domain of complex numbers, Indicates amplitude spectrum, Represents the phase spectrum. and These represent the real part and the imaginary part, respectively.
[0012] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the spectral context-aware network fuses the amplitude of the current frequency point and global spectral distribution information by calculating spectral response features, and the calculation method is as follows: ; in, Indicates spectral response characteristics, These are learnable global convolutional weights. It is a bias term.
[0013] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, wherein: an adaptive soft-gated mask is generated. The calculation method is as follows: ; in, This represents the adaptive soft-gated mask used to quantize the retention probability of each frequency component. It is a learnable scaling factor for the k-th frequency component. It is a learnable frequency domain truncation threshold. It is a temperature coefficient that controls the steepness of the activation function.
[0014] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the specific calculation method for reconstructing features using the frequency domain residual connection mechanism is as follows: ; ; ; in, This represents the corrected amplitude spectrum. It represents the Hadamah accumulation. It is a learnable residual coefficient. It combines the original phase and correction amplitude spectrum The restored complex spectrum, This indicates the purified characteristics after reduction.
[0015] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the meta-gradient correction mechanism calculates the gradient of the current sample and the average gradient of the pseudo-validation set using purified features. The specific calculation method is as follows: ; ; in, This represents the average gradient of the pseudo-validation set. This represents the gradient of the current sample. Let represent the pseudo-clean validation set in round t. It represents the partial derivative of the loss function with respect to the input features.
[0016] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, the true value of a sample is evaluated by calculating the directional consistency between the two methods. The calculation method is as follows: ; like This indicates that the optimization direction of the sample in the denoised feature space is consistent with the clean set, and it is considered a high-value difficult sample; if Then, it is suppressed as noise.
[0017] As a preferred embodiment of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction described in this invention, wherein: alignment is utilized Update learnable weight parameters And generate the final sample weights. The calculation method is as follows: ; ; in, The meta-learning rate, This is the statistical prior probability based on the Gaussian mixture model. This is the Sigmoid function.
[0018] The beneficial effects of this invention are as follows: This invention proposes a sample weighted classification framework based on frequency domain denoising and meta-gradient correction. By introducing a meta-gradient correction mechanism and dynamically constructing an adaptive pseudo-clean set, it eliminates the dependence of previous methods on scarce and expensive external clean validation sets. This method can accurately evaluate the value of samples from within the data during the training process, thereby effectively suppressing label noise interference while accurately mining and utilizing high-value samples that are crucial for fine-grained classification, significantly enhancing the discriminative power of hyperspectral image feature representation. Addressing the physical challenge of high-frequency spectral jitter inherent in hyperspectral data easily interfering with meta-gradient calculation, this invention designs a parameterized spectrum-gated perceptual transformation module. This module maps features to the frequency domain using Fast Fourier Transform and adaptively filters out high-frequency physical noise using learnable gating parameters. This process not only eliminates the misleading effect of spectral noise on the gradient direction but also ensures the robustness and stability of the adaptive weighting mechanism in complex hyperspectral scenarios, enabling the model to adjust weights based on the true semantic optimization direction. Furthermore, by introducing a temporal momentum update mechanism, this invention effectively smooths the variance of statistical estimation, resists random interference caused by training fluctuations, and further improves the accuracy of pseudo-clean set construction and the overall convergence stability of model training. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein: Figure 1 This is a schematic diagram of the overall process structure of the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction of the present invention.
[0020] Figure 2 This is a schematic diagram of the sample weighting structure based on frequency domain denoising and meta-gradient correction in the hyperspectral image classification method based on frequency domain denoising and meta-gradient correction of the present invention. Detailed Implementation
[0021] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0022] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0023] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.
[0024] Secondly, the present invention is described in detail with reference to the schematic diagrams. When detailing the embodiments of the present invention, for ease of explanation, the cross-sectional views illustrating the device structure may be partially enlarged, not according to the usual scale. Furthermore, the schematic diagrams are merely examples and should not limit the scope of protection of the present invention. In addition, actual fabrication should include three-dimensional spatial dimensions of length, width, and depth.
[0025] Reference Figures 1-2 This paper presents a hyperspectral image classification method based on frequency domain denoising and meta-gradient correction, including: Step 1: Preprocess the hyperspectral image data and divide the overall training sample set into a training set and a validation set in a 1:1 ratio.
[0026] Given a batch of hyperspectral training datasets ,in Represents a hyperspectral image patch. Labels indicating noise.
[0027] Furthermore, the specific steps of preprocessing in step 1 are as follows: First, the HSI is normalized, and then it is cut into segments centered on each pixel. The blocks, each block can be used This indicates that L is the length of the block and B is the number of bands.
[0028] Step 2: Construct a label-noise hyperspectral image classification network framework based on frequency domain denoising and meta-gradient correction sample weighting. This network framework aims to solve the problems of label noise and spectral jitter through coordinated optimization in the frequency and spatial domains. The framework mainly includes three core collaborative mechanisms: a parameterized spectrum-gated sensing module, an adaptive pseudo-clean set construction mechanism, and a meta-gradient correction weighting mechanism.
[0029] Furthermore, the specific implementation steps for constructing the network framework in step 2 are as follows: Step 2.1: Define a parameterized spectrum-gated sensing module for feature purification.
[0030] A frequency domain branch is introduced into the feature extraction network. The features are mapped to the frequency domain through discrete Fourier transform, and high-frequency physical noise is adaptively filtered out using learnable gating parameters.
[0031] Step 2.1.1, complex frequency domain mapping and decoupling of features.
[0032] First, the feature vector of the i-th sample is obtained by using the Discrete Fourier Transform. Transform into complex frequency domain representation and decouple it into amplitude spectrum and phase spectrum To maintain the differentiability of the computation, the computation rules are defined as follows: ; ; ; Where k=0,1,...,D-1 represents the frequency index. and These represent the real part and the imaginary part, respectively.
[0033] Step 2.1.2: Calculate the learnable spectral context-aware gating.
[0034] Unlike traditional methods that directly remove high-frequency components, this invention designs a spectrum context-aware network to dynamically evaluate the importance of each frequency component. This network includes a sensing matrix for capturing global spectrum correlations. and a diagonal matrix for independent bandwidth scaling .
[0035] Step 2.1.3: First, calculate the spectral response characteristics. It integrates the amplitude at the current frequency point and the global spectral distribution information: ; in, , These are learnable global convolutional weights. This is the bias term. This step enables the model to determine whether a high-frequency component is noise or detail based on the energy distribution of the overall spectrum.
[0036] Step 2.1.4: Generate an adaptive soft-gating mask. This is used to quantify the retention probability of each frequency component: ; in, It is a learnable scaling factor for the k-th frequency component; It is a learnable frequency domain truncation threshold, which allows the model to automatically learn the noise floor of different frequency bands; It is a temperature coefficient that controls the steepness of the activation function, and is set to 0.1 in this implementation.
[0037] Step 2.1.5, spectrum reconstruction based on residual correction.
[0038] To prevent excessive smoothing from reducing feature discrimination, frequency domain residual connections are introduced. The corrected amplitude spectrum is then used. Reconstructing features.
[0039] Step 2.1.6, Calculate the corrected amplitude spectrum : ; in, It represents the Hadamah accumulation. It is a learnable residual coefficient, whose initial value is preferably set to 0.1, to maintain a stable gradient flow in the early stages of training.
[0040] Step 2.1.7: Combining the original phase information, use inverse Fourier transform to restore the purified real-valued eigenvectors. : ; ; Through the above steps, this invention transforms traditional fixed-frequency filtering into a trainable nonlinear spectrum mapping process.
[0041] Step 2.2 defines an adaptive pseudo-clean set construction mechanism to provide reliable guidance signals.
[0042] To eliminate the dependency on external validation sets, a dynamically updated pseudo-clean validation set is embedded within the framework. .
[0043] This mechanism utilizes a two-component Gaussian mixture model to analyze the cross-entropy loss distribution of the training samples. Perform a fit and calculate the posterior probability that the sample belongs to the clean sample. .
[0044] Furthermore, a temporal momentum update mechanism is introduced to maintain the global historical probabilistic memory. To smooth out statistical fluctuations, the calculation rules are defined as follows: ; in .
[0045] Dynamically construct a pseudo-clean verification set based on historical confidence levels. : ; in This is the reliability threshold.
[0046] Step 2.3, define the meta-gradient correction weighting mechanism.
[0047] To address the issue that traditional statistical screening fails to utilize difficult samples, a residual correction strategy based on gradient alignment is proposed.
[0048] Step 2.3.1, utilizing the characteristics of the purified product Calculate the current sample respectively gradient and pseudo-verification set average gradient : ; ;; Step 2.3.2: Assess the true value of the sample by calculating the directional consistency between the two. : ; like This indicates that although the sample may have high loss, its optimization direction in the denoised feature space is consistent with that of the clean set, and it should be regarded as a high-value sample.
[0049] Step 2.3.3, utilizing alignment As a supervisory signal, the learnable weight parameters are updated through a gradient ascent strategy. : ; in The learning rate is denoted as .
[0050] Final sample weights Generated using residual correction: ; in This is the Sigmoid function. This mechanism ensures that the weights receive a positive gain when the gradient direction is consistent with the pseudo-validation set, and are suppressed otherwise.
[0051] Step 3, use the calculated weights The model is trained by backpropagation using weighted network learning loss and classification loss until it converges.
[0052] Step 4: For the hyperspectral image to be detected, preprocess it in the same way as in Step 1, and input it into the trained model to obtain the classification result.
[0053] To verify the effectiveness and universality of the proposed method in hyperspectral image labeled noise classification, this embodiment selects the state-of-the-art contrastive learning-based hyperspectral labeled noise classification model TCRL as the basic backbone network. Specifically, this experiment applies the frequency domain denoising module and meta-gradient correction weighting mechanism proposed in this invention to the training process of TCRL. Using the feature extraction network and classifier of TCRL, the adaptive sample weights calculated in this invention are used to weight and optimize the original loss of TCRL. We label this model, which incorporates the core mechanism of this invention, as FGC-Net. The FGC-Net model is compared on two public benchmark datasets (HYDICEUrban and HyRANKDioni). 100 samples are selected for each category as the training set, the validation set and training set are split 1:1, and the remaining samples are used as the test set. The noise ratio is the proportion of samples with noisy labels to the total number of samples. The results of the comparison with the model are shown in Table 1.
[0054] Table 1 compares TCRL and FGC-TCRL on two datasets at a noise ratio of 0.4.
[0055] Furthermore, this invention compares with some classic methods for classifying hyperspectral images with labeled noise, including MSSG, a classification method for hyperspectral images with labeled noise based on label noise removal, and SPTNet-NTLA, a classification method for hyperspectral images with labeled noise based on superpixel segmentation and the Transformer model. Comparative experiments were conducted on two public benchmark datasets (HYDICEUrban and HyRANKDioni). It can be seen that on the relatively class-balanced HyRANKDioni dataset, the FGC-Net model achieves optimal OA, AA, and Kappa, while on the relatively class-imbalanced HYDICEUrban dataset, the overall metrics OA and Kappa still achieve optimal performance. The results demonstrate that the adaptive weighting mechanism based on frequency domain denoising and meta-gradient correction proposed in this invention has good overall performance in classifying hyperspectral images with labeled noise.
[0056] Table 2 Comparison of methods on the HyRANKDioni dataset under different noise ratios
[0057] Table 3 Comparison of methods for the HYDICEUrban dataset under different noise ratios
[0058] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A hyperspectral image classification method based on frequency domain denoising and meta-gradient correction, characterized in that, Includes the following steps: All hyperspectral image data are preprocessed, and the overall training sample set composed of the processed hyperspectral images is divided into a training set and a validation set. Construct a sample weighted model based on frequency domain denoising and meta-gradient correction; During training, the parameterized spectrum-gated sensing transformation module is used to map features to the frequency domain through discrete Fourier transform, and the learnable spectral response function is used to adaptively suppress spectral jitter noise, finally reconstructing clean features. Automatically construct a high-confidence pseudo-clean validation set based on Gaussian mixture model and temporal consistency; The direction of the sample gradient is calculated to be consistent with that of the pseudo-clean set gradient, i.e., meta-gradient correction, in order to re-evaluate the sample value and adaptively adjust the sample weights. The model is trained using the training set, and the loss function is optimized using adaptive weights to obtain a well-trained hyperspectral image classification model. For the hyperspectral image to be classified, preprocessing, feature extraction and classification are performed in sequence to obtain the classification result.
2. The hyperspectral image classification method based on frequency domain denoising and meta-gradient correction according to claim 1, characterized in that: The parameterized spectrum-gated sensing transformation module adopts an amplitude-phase decoupling mechanism. First, it transforms the features into a complex frequency domain representation through discrete Fourier transform and decouples them into amplitude and phase spectra. Then, it calculates the global importance weight of each frequency component through a spectrum context sensing network and combines it with a frequency domain residual connection mechanism to achieve adaptive nonlinear purification of features.
3. The hyperspectral image classification method based on frequency domain denoising and meta-gradient correction according to claim 1, characterized in that: The method for constructing a pseudo-clean validation set involves fitting the sample loss distribution using a two-component Gaussian mixture model and maintaining global historical probability memory using a temporal momentum update mechanism. When the historical confidence of a sample exceeds a set threshold, it is selected into the pseudo-clean validation set, thereby eliminating the dependence on external high-quality validation sets.
4. The hyperspectral image classification method based on frequency domain denoising and meta-gradient correction according to claim 2, characterized in that: The specific calculation method for the complex frequency domain mapping and decoupling of the aforementioned feature is as follows: ; ; ; in, Indicates the first The feature vector of each sample Representing feature dimension, Indicates frequency index, Representing the frequency domain of complex numbers, Indicates amplitude spectrum, Represents the phase spectrum. and These represent the real part and the imaginary part, respectively.
5. The hyperspectral image classification method based on frequency domain denoising and meta-gradient correction according to claim 4, characterized in that: The spectrum context-aware network first fuses the amplitude of the current frequency point and global spectrum distribution information to calculate the spectrum response characteristics, and then generates an adaptive soft-gating mask to quantify the retention probability of each frequency component. The calculation method is as follows: ; in, This represents the adaptive soft-gated mask used to quantize the retention probability of each frequency component. It is a learnable scaling factor for the k-th frequency component. It is a learnable frequency domain truncation threshold. It is a temperature coefficient that controls the steepness of the activation function.
6. The hyperspectral image classification method based on frequency domain denoising and meta-gradient correction according to claim 5, characterized in that: The specific calculation method for reconstructing features based on adaptive soft-gated masks and using a frequency domain residual connection mechanism is as follows: ; ; ; in, This represents the corrected amplitude spectrum. It represents the Hadamah accumulation. It is a learnable residual coefficient. It combines the original phase and correction amplitude spectrum The restored complex spectrum, This indicates the purified characteristics after reduction.
7. The hyperspectral image classification method based on frequency domain denoising and meta-gradient correction according to claim 6, characterized in that: Based on the purified features, the average gradient of the pseudo-validation set and the gradient of the current sample are calculated respectively. The calculation of the average gradient of the pseudo-validation set and the gradient of the current sample involves the pseudo-clean validation set in round t and the partial derivative of the loss function with respect to the input features. Then, the true value of the sample is evaluated by calculating the directional consistency between the two sets. If the direction of optimization in the denoised feature space is consistent with the clean set, the sample is considered a high-value hard sample; otherwise, it is suppressed as noise. Finally, the learnable weight parameters are updated using the alignment, and the final sample weights are generated. The calculation method is as follows: ; ; in, The meta-learning rate, This is the statistical prior probability based on the Gaussian mixture model. This is the Sigmoid function.
Citation Information
Cited By
Infrared spectrum atmospheric absorption interference correction method and system
CN122306736A
