Next Article in Journal
Optimization of Sampling Density in Regional-Scale Soil Organic Matter Mapping and Its Impact on Prediction Accuracy
Next Article in Special Issue
Multi-Modal Multi-Scale Mamba with Frequency and Semantics-Guided Spectral Modeling for Hyperspectral Image Classification
Previous Article in Journal
Urban Building Footprints Extraction and Heights Estimation from High-Resolution Spaceborne Remote Sensing Imagery Using a CNN-Transformer Network
Previous Article in Special Issue
TCSNet: A Thin-Cloud-Sensitive Network for Hyperspectral Remote Sensing Images via Spectral-Spatial Feature Fusion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Spectral Variability and Class-Constrained Diffusion Model for Unsupervised Hyperspectral Unmixing

1
Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources, Shenzhen 518034, China
2
School of Computer Science and AI, Hubei University of Technology, Wuhan 430068, China
3
Institute of Geological Survey, China University of Geosciences, Wuhan 430074, China
*
Author to whom correspondence should be addressed.
Remote Sens. 2026, 18(10), 1483; https://doi.org/10.3390/rs18101483
Submission received: 2 March 2026 / Revised: 22 April 2026 / Accepted: 4 May 2026 / Published: 9 May 2026
(This article belongs to the Special Issue Artificial Intelligence in Hyperspectral Remote Sensing Data Analysis)

Highlights

What are the main findings?
  • The proposed SVCDM designs a DVAE to construct a spectral library with a class constraint and prior distribution, mitigating the impact of complex SV induced by imaging characteristics.
  • The conditional information is added into DM to extract endmembers across different class labels, while simultaneously optimizing abundance maps during the reverse process of the DM.
What are the implications of the main findings?
  • The class labels of the endmembers on the spectral library are used as conditional information to accurately model complex SV and guide the DM in learning the distribution more accurately.
  • The gradient of the log-likelihood loss is leveraged to jointly optimize abundance maps with the endmember matrix, enhancing the abundance optimization along with the updating of endmembers.

Abstract

Hyperspectral remote sensing is increasingly utilized due to its high spectral resolution and broad observational capabilities, and hyperspectral unmixing aims to decompose mixed pixels into their constituent endmembers with corresponding classes. The core research directions in this area include how to construct a proprietary spectral library and how to optimize the corresponding abundance maps. However, due to the influence of complex terrain and variable illumination conditions, hyperspectral images (HSI) exhibit significant spectral variability (SV), which undermines the performance of traditional unmixing methods. In the paper, we propose an SV and class-constrained diffusion model (SVCDM) for unsupervised hyperspectral unmixing that integrates endmember extraction and abundance optimization. Specifically, a Dirichlet-based variational autoencoder is employed to construct a spectral library from the original HSI with a class constraint and prior distribution, which subsequently guide a conditional diffusion model to learn the distribution. During the reverse process, the endmembers are iteratively updated at each time step, enhancing diversity while ensuring class consistency. Subsequently, the endmember matrix is synthesized with the original HSI to optimize the abundance maps under the linear mixing assumption. The proposed SVCDM effectively mitigates the impact of SV induced by imaging characteristics. Experimental results demonstrate that the SVCDM achieves a root mean square error (RMSE) of 0.0371 for abundance maps on a synthetic dataset and a spectral angle mapper (SAM) for endmembers of 0.0309 on the Samson dataset, outperforming existing state-of-the-art hyperspectral unmixing methods on both synthetic and real datasets.

1. Introduction

Remote sensing techniques synthesize the spectral signatures of various objects, thereby capturing the reflectance from various substances within an image, and providing a rich spectrum of information about the observed scene. Consequently, hyperspectral images (HSI) have found widespread application in fields such as mineral exploration [1], environmental monitoring [2], and urban planning [3]. Compared to multispectral imaging, HSI captures precise spectral responses across hundreds of contiguous bands, enabling the detection of subtle spectral differences between substances [4,5]. However, due to diluted photon energy, the small size of the optical aperture imposed by spatial resolution, and the inherent complexity of HSIs, a single pixel in an HSI represents a mixture of spectra from multiple endmembers [6]. This spectral mixing introduces significant challenges in several remote sensing applications, including land-cover classification [7] and object detection [8]. As a result, hyperspectral unmixing has emerged as a critical task for addressing mixed pixels, aiming to separate the constituent endmembers and estimate their corresponding proportion of a specific object in each pixel, which is defined as abundance in the context [9,10].
The linear mixing model (LMM) is a widely adopted framework in hyperspectral unmixing, which assumes that the spectrum of each pixel can be expressed as a convex combination of multiple endmembers. The corresponding coefficients are constrained by the abundance non-negativity constraint (ANC) and the sum-to-one constraint (ASC) [11,12]. A variety of methods have been developed based on the LMM, including geometry-based approaches under the pure-pixel assumption, such as pixel purity index (PPI) [13], N-FINDR [14] and vertex component analysis (VCA) [15], as well as minimum volume-based approaches like minimum volume simplex analysis (MVSA) [16] and minimum volume enclosing simplex (MVES) [17]. These approaches improve the physical interpretability of hyperspectral unmixing by constructing minimal simplices that enclose the pure pixels. However, the LMM fails to account for nonlinear mixing effects and endmember variability (EV) under varying spatial resolutions and imaging conditions [18,19], including spectral variability (SV) induced by factors such as illumination conditions, sensor viewing angles, or imaging characteristics of the objects [20,21]. As a result, hyperspectral unmixing under the LMM becomes a nonconvex optimization problem, thereby limiting its effectiveness in real-world applications [22,23].
To overcome the limitations of the LMM in effectively modeling EV, several extended versions of the LMM have been proposed. These models typically introduce variable parameters into the endmember representations to capture EV. For instance, a perturbation term is utilized to account for intensity variations caused by nonlinear mixing effects, while additive perturbations or linear transformation matrices are incorporated to flexibly model the shape distortions of endmembers [24]. Compared to the traditional LMM, these extended models demonstrate superior adaptability and robustness, resulting in improved unmixing performance under non-ideal lighting conditions [25]. However, these methods rely on parametric spectral modeling, such as linear scaling or band-wise projection, which restrict their capacity to fully capture the diversity and nonlinearity of endmembers [26].
Generative frameworks have shown significant potential in capturing the underlying structure of high-dimensional data by modeling complex distributions. These frameworks are capable of generating new samples by learning latent representations from limited training data, thereby enabling effective data reconstruction and augmentation [27]. To enhance the modeling of EV, researchers have increasingly focused on generative approaches for hyperspectral unmixing, including variational autoencoders (VAEs) and generative adversarial networks (GANs) [28,29,30]. Notably, an endmember-oriented Transformer network (EOT-Net) [31] and a probabilistic generative model for spectral unmixing (PGMSU) [32] employ an encoder–decoder architecture, where the encoder learns the latent representations of endmembers, simultaneously optimizing the abundance maps. However, due to the lack of prior knowledge and instability during training, these methods produce endmembers that are inconsistent with the corresponding classes, limiting the effectiveness of hyperspectral unmixing.
In contrast to earlier generative frameworks, the diffusion model (DM) exhibits superior stability and generative capacity, particularly in the presence of noisy data [33,34]. Consequently, DMs have found applications in image generation and signal reconstruction, and recent research has extended their use to hyperspectral unmixing with the aim of more effectively characterizing endmembers [35,36]. In these approaches, prior knowledge derived from the existing spectral library is integrated with likelihood estimation based on the LMM during the reverse process. This integration facilitates the handling of endmembers and abundances from the prior distribution, overcoming the limitations of sparse regression by enabling the generation of new endmembers within a continuous distribution. As a result, DMs are better equipped to address SV induced by factors such as illumination conditions and sensor viewing angles [37,38]. However, current diffusion-based methods for hyperspectral unmixing lack sufficient conditional information to guide the generation period, making it difficult to accurately distinguish similar classes of endmembers.
In this paper, we propose an SV and class-constrained DM (SVCDM) for unsupervised hyperspectral unmixing that integrates endmember extraction and abundance optimization. The model consists of two parts: a Dirichlet-based VAE (DVAE) is designed to construct a spectral library with a class constraint and prior distribution. Furthermore, a DM with conditional information is employed, combining class labels as conditional information to learn the distribution and progressively extract endmembers through the reverse process. Simultaneously, at each time step, the endmember matrix is synthesized with the original HSI to optimize the abundance maps, enabling joint and continuous optimization of abundances. The main contributions of this paper are listed as follows:
  • A DVAE is designed to construct a spectral library with a class constraint and prior distribution, mitigating the impact of SV induced by imaging characteristics.
  • A DM with conditional information is employed to extract endmembers across different class labels, while simultaneously optimizing abundance maps during the reverse process of the DM.
The remainder of this paper is organized as follows. Section 2 reviews the related work and background of hyperspectral unmixing and provides the motivation. Section 3 describes the proposed methodology and its implementation details. Section 4 presents the experimental results, followed by a discussion of ablation studies. Finally, Section 5 concludes the paper and highlights potential avenues for future research.

2. Related Work and Background

In this section, we review various hyperspectral unmixing methods, categorizing them into four types: LMM-based, extended versions of LMM-based, generative framework-based, and DM-based methods. Additionally, we discuss the motivation behind the proposed method.

2.1. Hperspectral Unmixing with LMM

The LMM is one of the fundamental models in hyperspectral unmixing. It assumes that the spectrum of each pixel is represented as a linear combination of several endmembers, with an additive noise component [39]. The mathematical formulation is given as follows: where X R L × 1 denotes an observed pixel with L bands, W R L × P is the P endmembers, with each column indicating the proportion of each endmember, H R P × 1 is the abundance coefficients, and E R L × 1 represents the additive noise.
X = W · H + E
To ensure the physical interpretability of hyperspectral unmixing, the LMM typically incorporates the following constraints: the Endmember Non-Negativity Constraint (ENC), ANC and ASC, as formulated below:
W i 0 , H i 0 , i = 1 P H i = 1
where 1 i P denotes the i-th endmember. Due to its straightforward implementation and physical interpretability, the LMM has been widely used in hyperspectral unmixing. However, the core assumption—that all pixels share a fixed set of endmembers—fails to account for SV [40]. Consequently, the LMM faces difficulties in accurately extracting endmembers when significant SV exists across HSIs.

2.2. Extended Versions of the LMM for Hyperspectral Unmixing

To improve the standard LMM in capturing SV, several extended versions of the LMM have been proposed. For example, Brezini et al. [41] proposed a structured additively tuned LMM with an associated unmixing framkwork, and a cost function was optimized with iterative and multiplicative update rules by additional constraints that controlled the SV. Thouvenin et al. [42] introduced an LMM that explicitly accounted for spatial and spectral EVs with an additive spatially varying perturbation matrix, alternating marginal minimizations of an appropriately regularized cost function. In recent years, Hong et al. [43] introduced an augmented LMM (ALMM), which incorporated an SV dictionary to model the mismatch between the original and estimated spectra with penalty parameters, introducing a sparsity penalty within the optimization process, and enabling effective separation of the variability components associated with the endmembers. Drumetz et al. [44] proposed an extended LMM (ELMM) that modeled SV induced by illumination conditions by assigning a scaling factor to each endmember with the Hapke model, relaxing the rigid simplex assumption by allowing endmembers to be independently scaled across different pixels, thereby providing greater flexibility in modeling SV. Imbiriba et al. [45] proposed a generalized LMM (GLMM), which modeled SV across different bands by introducing pixel-specific linear transformation matrices. This method allowed for more flexible modeling of SV across bands. However, the aforementioned methods primarily rely on parametric spectral modeling that remain fixed during endmember updates, making it challenging to effectively model complex SV.

2.3. Generative Hyperspectral Unmixing

Generative framework introduces pixel-wise latent representation to model SV [46]. Specifically, let y n denote the vector of the n-th pixel in the HSI. The framework assumes that y n follows a multivariate Gaussian distribution:
y n N ( M n a n , Λ )
where M n represents the endmember matrix associated with pixel n, a n is the corresponding abundance vector satisfying the ASC and ANC, and Λ = λ 0 I denotes the noise covariance matrix.
A latent vector z n is introduced for each pixel to represent implicit factors influencing the pixel’s spectrum. A nonlinear generative function f θ ( · ) is then used to produce the vectorized form of the pixel-specific endmember matrix:
vec ( M n ) = f θ ( z n )
where vec ( M n ) denotes the vectorization of M n by stacking its columns. This process enables the framework to better model SV. However, such methods lack explicit prior knowledge, which compromises the physical interpretability of hyperspectral unmixing.

2.4. DM-Based Hyperspectral Unmixing

The core principle of the DM lies in constructing a pair of forward and reverse stochastic processes, where the forward process progressively adds noise, and the reverse process learns to denoise, ultimately recovering clean samples from the learned distribution. Chen et al. [47] proposed a diffusion-based HSI classification framework, SpectralDiff, which designed a DM over spatially partitioned image blocks to capture discriminative spectral–spatial characteristics, leveraging the generalization ability of DMs to progressively generate latent representations. Yu et al. [48] integrated the DM into HSI classification, with UnmixDiff, which trained the model on abundance maps derived from hyperspectral unmixing and subsequently synthesized HSIs aligning with the learned abundance maps during the reverse process. Additionally, Deng et al. [49] introduced a DM-based hyperspectral unmixing method, DiffUn, which incorporated DM into hyperspectral unmixing by learning the prior distribution of endmembers from a reference spectral library, performing joint sampling of endmembers and abundances during the reverse process. However, DM-based hyperspectral unmixing methods generally lack conditional information derived from class labels of endmembers, which limits the flexibility of the unmixing process and reduces discriminability when handling similar endmembers with different classes.

2.5. Motivation

In summary, extended versions of the LMM utilize scaling or perturbation factors to model SV to some extent. However, these models still depend on predefined parametric forms, which limit their ability to effectively capture nonlinear or complex SV. Moreover, generative frameworks introduce pixel-wise latent representations to model SV, but the forward process in these frameworks lacks explicit prior knowledge, which compromises their physical interpretability and results in weak class consistency with endmembers. DM-based hyperspectral unmixing, which jointly handle endmembers and abundances during the reverse process, offer advantages in modeling SV. However, they face challenges in distinguishing the spectral characteristics of endmembers from different classes, limiting their discriminability between endmembers.
The proposed SVCDM constructs a spectral library with a class constraint and prior distribution using a DVAE and incorporates class labels as conditional information. This combination allows the DM to accurately capture the spectral characteristics of endmembers, enhancing the distinguishability between endmembers from different classes. Additionally, at each time step of the reverse process, the reconstruction error between the output and representative spectra is introduced as a likelihood term to guide the reverse process, thereby enabling joint abundance optimization alongside the updating of endmembers.

3. Methodologies

The architecture of the proposed SVCDM is illustrated in Figure 1 and consists of two primary parts: (1) a DVAE for spectral library construction, and (2) a DM with conditional information for endmember extraction with dynamic abundance optimization. In details, a DVAE is designed to construct a spectral library with a class constraint and prior distribution, where the representative spectra extracted from the original HSI serve as training samples and their associated classes are used as conditional information to guide the DM in learning the prior distribution of endmembers corresponding to different classes. During the reverse process, the gradient of the log-likelihood with respect to the endmembers is computed based on the linear mixing assumption and integrated with the prior distribution, jointly guiding the reverse process. By integrating the endmember matrix with the original HSI, the abundance maps are dynamically optimized in parallel with the updating of endmembers.

3.1. Spectral Library Construction

In the construction of the spectral library, local VCA is applied to HSI blocks, which limits global class consistency and fails to capture SV. The core idea of the proposed DVAE is to encode the class constraint and prior distribution as the knowledge via Dirichlet distribution, enforcing the ENC and constructing a spectral library within realistic spectral bounds.
The VAE consists of two components: the encoder and the decoder. The encoder learns the latent representation of spectra while simultaneously estimating the components of different classes within each mixed pixel of the HSI. The decoder then maps the latent representation to the knowledge and associates them with the corresponding components to synthesize the pixel through the LMM.
Given an input mixed pixel x R L , the encoder outputs α R C as the parameters of Dirichlet distribution for the representative spectra. To address the non-differentiability of the Dirichlet distribution during sampling, reparameterization is applied using the Gamma distribution, from which the latent representation of spectra is sampled. The sampling process is expressed as follows:
z c = g c j = 1 c g j
where g c , g j denote the random variables sampled from Gamma ( α c , 1 ) , which are used to construct the latent representation for Dirichlet distribution. Here, j is the index variable, c is the number of classes, and α c is used to control the concentration of the components in latent representation. The Dirichlet distribution enforces the ENC limit z into ( 0 , 1 ) , thereby enhancing the physical meaning of the latent representation z .
Furthermore, after assessing the latent representation z , the reconstruction term in the variation is interpreted as the expectation of the conditional likelihood under the prior distribution E q ϕ ( z | x ) log p θ ( x | z ) .
This term measures that the representative spectra generated from the latent representation z reconstruct the mixed pixel x . A higher value indicates that the spectra are more consistent with the observed spectral characteristics. Since the above expectation is generally intractable, a Monte Carlo approximation is adopted to estimate the expectation. Specifically, a single sample is drawn from the prior distribution, which is approximated as
E q ϕ ( z | x ) log p θ ( x | z ) log p θ ( x | z )
Through this sampling process, the matrix M c is computed by the latent representation z c and is then partitioned into c groups, which are used to construct the spectral library, providing prior distribution of the representative spectral composition, and stronger support for the DM in modeling EV.

3.2. Diffusional Endmember Extraction

After constructing the spectral library, the network is reformulated as a diffusion-based endmember extraction framework. Specifically, the DM is trained conditionally across different classes, with the spectrum of specific classes serving as inputs to represent the class-wise endmembers. This enables the extraction of diverse and class-consistent endmembers from noise. The forward process of the DM is inspired by nonequilibrium thermodynamics and is modeled as a Markov chain, which progressively adds Gaussian noise to representative spectra, thereby transforming them into a Gaussian distribution. The Gaussian noise is incrementally introduced over T time steps, resulting in noisy spectra x 1 , , x t . Let x denote the representative spectrum for a specific class at time step t = 0 . At time step t of the forward process, Gaussian noise controlled by variance schedule β t is added to the representative spectrum, and the distribution of noisy spectrum is expressed as
q ( x t x t 1 ) = N ( x t ; α t x t 1 , ( 1 α t ) I )
where x t 1 and x t denote the noisy spectrum at time steps t 1 and t, respectively, α t is calculated by 1 β t , and I is the unit covariance matrix.
The amplitude of Gaussian noise added at time step t is controlled by the variance scheduling parameter α t . At time step 1, the forward process is defined as
x 1 = α 1 x 0 + 1 α 1 ϵ , ϵ N ( 0 , I )
where x 0 and x 1 denote the noisy spectrum at time step 0 and 1, respectively, α t is computed by 1 β t , and ϵ is the added Gaussian noise. From Equations (7) and (8), it is deduced that x t is computed directly from the representative spectrum x 0 with noise ϵ :
x t = α ¯ t x 0 + 1 α ¯ t ϵ , α ¯ t = i = 1 t α i
where α ¯ t denotes the accumulation of α from time step 1 to t. Thus, the noisy spectrum x t is represented by a linear combination of x 0 and ϵ . The prior distribution of the forward process is utilized to recover the endmember from the noise by x t log p ( x t ) .
The reverse process of the DM is regarded as the inversion of the Markov chain. In the reverse process, the DM progressively denoises the endmembers corrupted by Gaussian noise, ultimately extracting endmembers corresponding to specific classes. The goal is to analyze and recover the underlying distribution. Given the noisy spectrum x t and the condition c at the current time step t, the distribution at the previous time step is predicted. Assuming that it obeys a Gaussian distribution, the expression is listed as follows:
p θ ( x t 1 x t , c ) = N x t 1 ; μ θ ( x t , c , t ) , σ t 2 I
where μ θ ( x t , c , t ) and σ t 2 are the mean and variance of distribution p θ ( x t 1 x t , c ) . Meanwhile, a module is trained to predict the added Gaussian noise ϵ . The expression for the mean of the distribution is as follows:
μ θ ( x t , c , t ) = 1 α t x t 1 α t 1 α ¯ t ϵ ^ θ ( x t , c , t )
where ϵ ^ θ ( x t , c , t ) denotes the predicted noise; α t is the noise scheduling coefficient, which is calculated by 1 β t ; and α ¯ t denotes the accumulation of noise scheduling coefficients from time step 1 to T.
Meanwhile, the noise variance σ t 2 in the reverse process is determined by the noise scheduling factor α t with the following expression:
σ t 2 = 1 α ¯ t 1 1 α ¯ t ( 1 α t )
According to the forward process, the prediction of the original endmember matrix from step t is given by
S 0 / t = 1 α ¯ t S 0 / t 1 α ¯ t ϵ
where S t is the endmember matrix at time step t, and S 0 / t denotes the predicted endmember matrix.
To guide the direction of updating of endmembers at each time step of the reverse process, the gradient of log-likelihood is calculated [50,51,52]. The gradient term is defined by the following equation:
S 0 / t log p ( S 0 / t Y , H t ) = ( Y H t S 0 / t ) H t
The gradient S 0 / t log p ( S 0 / t Y , H t ) is computed by minimizing the approximation error between Y and the linear combination of the endmember matrix S 0 / t with the corresponding abundance map H t , thereby guiding the posterior denoising of endmembers to strike a balance between endmember diversity and reconstruction error.
Building upon this, to ensure that the output closely aligns with the representative spectra, the mean square error (MSE) between the output and representative spectra is employed to enhance class consistency. The gradient term is expressed as follows:
S 0 / t MSE = 2 L ( S 0 / t S ^ )
where S ^ denotes the endmember matrix constructed from class-wise mean representative spectra and L is the number of bands.
After adding the weighting coefficients λ m s e , the integrated gradient bootstrap is updated as
S 0 / t total = S 0 / t log p ( S 0 / t Y , H t ) + λ m s e S 0 / t MSE
Combined with the gradient term, the posterior denoising of endmembers during the reverse process of the DM is defined as
x t 1 = μ θ ( x t , c , t ) + S 0 / t total + σ t z
where z is the standard Gaussian noise.

3.3. Dynamic Abundance Optimization

Based on the iterative updating of the endmember matrix during the reverse process, the corresponding abundance map is optimized at each time interval Δ t using the current endmember matrix and the original HSI. Specifically, the minimization objective is formulated as
min Y S 0 / t H t F 2 + λ s p a r e R ( H t )
where Y is the original HSI, H is the abundance map, and S 0 / t is the endmember matrix at time step t. λ sparse is the sparsity penalty weight. R ( H t ) is a regularization term that promotes sparsity in the abundance map. It is formulated as
R ( H t ) = H t 1 , H t > 0 , H t 1 P = 1 N
where P denotes the number of endmembers and N denotes the number of pixels in the HSI. The term R ( H t ) imposes an 1 -based sparsity prior on the abundances. The ANC and ASC are enforced by projecting H t onto the probability simplex after each optimization step. The gradient term of the log-likelihood with respect to the abundance is defined by the following equation [53,54]:
H t log p ( H t | Y , S 0 / t ) = 2 ( H t S 0 / t Y ) S 0 / t
The Limited-memory Broyden–Fletcher–Goldfarb–Shanno (L-BFGS) algorithm is employed for abundance optimization, offering an effective trade-off between computational efficiency and memory usage, while ensuring adequate convergence of the optimization process [55].
Additionally, CFG is utilized, allowing for conditional generation without the need for an auxiliary classifier. This approach simultaneously learns both conditional and unconditional noise predictions by randomly discarding the condition with a specified probability. During the reverse process, the predicted noise is linearly adjusted to extract endmembers that exhibit greater compatibility with distinct classes:
ϵ ^ θ ( x t , c , t ) = ( 1 + w ) ϵ θ ( x t , c , t ) w ϵ θ ( x t , t )
where x t is the noisy spectra, c is the condition, and w is an adjustable parameter that ensures a flexible trade-off between class consistency and endmember diversity by controlling its value. ϵ θ ( x t , c , t ) is the conditionally predicted noise, and ϵ θ ( x t , t ) is the unconditionally predicted noise.

3.4. Model Evaluation

The L 1 distance is utilized in the VAE to decrease the difference between input and output pixels of the DVAE, which is defined as follows:
L rec = y i y ^ i 2
where y i denotes the i-th pixel of the original HSI and y ^ i denotes the output pixel of the DVAE.
To minimize the reconstruction error in the VAE, it is essential to minimize the Kullback–Leibler (KL) divergence between the Dirichlet distribution and the prior knowledge. This allows for the construction of the evidence lower bound (ELBO) as the optimization objective. The loss function for the KL divergence is defined as follows:
L KL = KL ( q θ ( z | x ) p ( z ) )
In order to address the KL divergence of the Dirichlet distribution, the approximate computation is defined as follows [56]:
KL ( q ( z | x ; α ^ ) p ( z ; α ) ) = k [ log Γ ( α k ) log Γ ( α ^ k ) + ( α ^ k α k ) ψ ( α ^ k ) ]
where α ^ is the parameter of the Dirichlet distribution, α is a parameter of the prior distribution, Γ denotes the Gamma function, and ψ is the Digamma function.
The overall loss function is defined as
L vae = L rec + λ 1 · L KL
where λ 1 is a hyperparameter to balance the contribution between the reconstruction loss and the KL scatter.
To train the DM, a loss function based on noise prediction is employed. Specifically, x 0 is sampled from the representative spectra, and the noise samples ϵ are generated from the Gaussian distribution with the same shape as x 0 . Subsequently, the time step t is uniformly sampled from the discrete set { 1 , , T } , and the noisy spectra is constructed. Finally, the noisy spectra, time step t, and condition c are fed together into the network to predict the added noise. The final loss function is defined as follows:
L DM = i = 1 N ϵ ( i ) ϵ θ α ¯ t x 0 ( i ) + 1 α ¯ t ϵ ( i ) , c ( i ) , t 1
where N denotes the number of endmembers, and x 0 ( i ) , ϵ ( i ) , and c ( i ) are the i-th noisy spectra, noise, and class, respectively. The loss function adopts the L 1 norm, which measures the difference between the predicted and the true noise.

4. Experimental Results and Discussions

To evaluate the effectiveness of the proposed SVCDM, a series of experiments are conducted. Seven hyperspectral unmixing methods are used for comparison, including VCA [57], SCLSU [58], ELMM [44], GLMM [45], PGMSU [32], EOT-Net [31], and Diffun [49]. Section 4.1 outlines the evaluation metrics employed to comprehensively assess unmixing performance. Section 4.2 provides a detailed description of the experiments conducted on a synthetic dataset, while Section 4.3 presents both quantitative and qualitative analyses of several real datasets. Section 4.4 and Section 4.5 are the ablation studies and discussions about the proposed SVCDM, respectively. For the SVCDM, the parameters T and Δ t are set to 300 and 10, λ mse and λ sparse are set to 2 and 0.01. All experiments are performed on a Python 3.8 Windows PC equipped with an NVIDIA RTX 4060 GPU and 64 GB of RAM.

4.1. Evaluation Metrics

Three commonly used quantitative metrics are employed to comprehensively evaluate the unmixing performance of the proposed SVCDM: the spectral angle mapper (SAM) for endmembers, the root mean square error of abundance maps (aRMSE), and the root mean square error of the reconstructed HSI (rRMSE).
The SAM quantifies the angular deviation between the output endmembers and the reference endmembers selected from the HSI, and is defined as follows:
SAM = 1 P j = 1 P arccos x j · x ^ j x j 2 · x ^ j 2
where x denotes the endmember matrix for the reference, x ^ is the endmember matrix for output, and j is the index of endmembers.
The aRMSE is used to evaluate the error between the output and reference abundances, which are optimized from the endmembers and the original HSI, and is defined as follows:
aRMSE ( H , H ^ ) = 1 P r = 1 P 1 N n = 1 N H i , r H ^ i , r 2
where H is the reference abundance matrix, H ^ is the output abundance matrix, r denotes the endmembers of different classes, i denotes the traverse of pixels, and N and P denote the number of pixels and endmembers, respectively.
The rRMSE quantifies the error between the reconstructed and original HSIs, and is defined as follows:
rRMSE ( Y , Y ^ ) = 1 L m = 1 L 1 N i = 1 N Y i , m Y ^ i , m 2
where Y is the original HSI, m denotes the index of bands, Y ^ is the reconstructed HSI, and L is the number of bands.

4.2. Experiments on Synthetic Dataset

The synthetic dataset, constructed in [59], is used to quantitatively evaluate the unmixing performance. The dataset consists of a 50 × 50 pixel grid with three primary endmembers, all selected from the United States Geological Survey (USGS) spectral library, and contains 224 bands. The EV is modeled using GLMM, with scaling factors that exhibit smooth variations along both spatial and spectral dimensions. The abundance maps are estimated to exhibit spatial correlation, effectively capturing the subtle shading of endmembers. Additionally, Gaussian noise is introduced to simulate the effects of EV, yielding signal-to-noise ratios (SNRs) ranging from 10 dB to 30 dB.
A key hyperparameter in the proposed SVCDM is the classifier-free guidance (CFG) coefficient w, which controls the trade-off between class consistency and endmember diversity. A larger value of w emphasizes the influence of class-conditional guidance, thereby improving the alignment between the endmembers and their respective classes. Conversely, a smaller value of w enhances the model’s flexibility, promoting greater endmember diversity. To further investigate the impact of this parameter, w is varied within the range of [0, 2], with an interval of 0.1. The corresponding aRMSE for each setting of w is shown in Figure 2; the lowest aRMSE of 0.03 is achieved when w is set to 1.3.
(1) Results and Discussion: Table 1 presents a quantitative evaluation on the synthetic dataset, using three evaluation metrics: SAM for endmember extraction, aRMSE for abundance optimization, and rRMSE at the pixel level, and the minimum values are highlighted in bold. Figure 3 and Figure 4 display the abundance maps and the corresponding endmembers extracted by various methods. Among the methods, VCA shows inferior performance across all metrics, primarily due to its sensitivity to random projections, noise, and outliers during endmember extraction, which ultimately reduces the accuracy of hyperspectral unmixing. SCLSU, while enforcing ANC and ASC to promote spatial smoothness, lacks proper regularization, resulting in suboptimal abundance estimates. In contrast, ELMM relaxes the rigid simplex assumption in a more flexible manner and incorporates regularization terms, leading to more feasible results in terms of aRMSE and rRMSE. Moreover, GLMM introduces band-wise scaling factors for each endmember, allowing for improved HSI reconstruction. Diffun demonstrates an ability to model SV but struggles to maintain class consistency of the endmembers, leading to inferior performance, especially in terms of SAM. In comparison, the proposed SVCDM achieves superior unmixing performance, with SAM and aRMSE outperforming all other methods. Although its rRMSE is slightly higher than that of GLMM, the minimal reconstruction error does not necessarily indicate inaccurate abundance estimates, thus confirming the superiority of the SVCDM on the synthetic dataset.
(2) Robustness to Noise: To assess the robustness of different methods under varying noise levels, Gaussian noise with SNRs of 30 dB, 20 dB, and 10 dB was added to the synthetic dataset. The quantitative evaluation under different SNRs is summarized in Table 1. As the SNR decreases, unmixing performance declines across all methods to varying extents, highlighting the significant impact of noise on both endmember extraction and abundance optimization. Traditional methods, such as VCA and SCLSU, exhibit a sharp degradation in performance under high noise levels, especially at 10 dB, both their aRMSE and rRMSE increase substantially. EOT-Net shows relatively better performance in terms of aRMSE but is more sensitive to noise in terms of SAM and rRMSE. Diffun outperforms most methods at 30 dB and 20 dB; however, its aRMSE increases notably to 0.0827 at 10 dB, accompanied by a rise in rRMSE to 0.2046, suggesting limited stability under severe noise. In contrast, the proposed SVCDM demonstrates superior noise robustness across all noise levels, achieving the lowest SAM values of 0.0202, 0.0227, and 0.0263, and the lowest aRMSE values of 0.0371, 0.0416 and 0.0797 at SNRs of 30 dB, 20 dB and 10 dB, respectively. Even under the most challenging noise, the rRMSE remains relatively low, underscoring the strong resilience of the SVCDM to noise.

4.3. Experiments on Real Datasets

(1) Samson dataset: The original image of the Samson dataset has a size of 952 × 952, a number of bands of 156, a spectral range of 401–889 n m , and a spectral resolution of 3.13 n m . In order to reduce the computational effort, a 95 × 95 region is selected starting from (252, 332) for the experiment. This area contains three main types of objects: soil, trees and water. The pure pixels were selected as reference endmembers through manual analysis, and their abundance maps were optimized under the linear assumption to be used as benchmarks for the subsequent evaluations.
The abundance maps and the corresponding endmembers are illustrated in Figure 5 and Figure 6. The first column shows the reference abundance maps, while the remaining columns display the results obtained from different methods. The class-wise results show that the SVCDM achieves SAM values of 0.0127, 0.0171 and 0.0629, and corresponding aRMSE values of 0.0412, 0.0478 and 0.0562 for soil, trees and water, respectively. It can be observed that both VCA and ELMM exhibit significant deficiencies in the abundance maps for the soil class. Specifically, these methods produce poorly defined abundance maps, accompanied by local misclassifications, which indicates their limitations in effectively modeling SV. These observations are further corroborated by the evaluation metrics presented in Table 2, with the minimum values highlighted in bold. Although VCA achieves an rRMSE of 0.0143, its aRMSE is considerably higher than other methods, which compromises its ability to accurately optimize the abundance maps. This is largely because VCA adopts reconstruction error as the object function and introduces a substantial number of auxiliary parameters to fit the reconstruction error. In contrast, the SVCDM consistently outperforms all other methods, achieving the lowest values in both SAM and aRMSE (less than 0.05). This highlights the superior performance of SVCDM in terms of both endmember extraction and abundance optimization.
(2) Jasper Ridge dataset: Jasper Ridge is a widely used HSI dataset with a size of 512 × 614, covering 224 bands from 380 n m to 2500 n m , and a spectral resolution of 9.46 n m . In our experiments, the central region of 100 × 100 pixels was selected, bands that are seriously affected by water absorption and atmosphere (1–3, 108–112, 154–166 and 220–224) were removed, and 198 bands were retained for hyperspectral unmixing. The dataset contains four main objects: dirt, soil, water and road. Similarly, the pure pixels were selected from the original HSI to construct the reference endmembers, and the corresponding abundance maps were optimized under the linear assumption.
Figure 7 and Figure 8 demonstrate abundance maps and corresponding endmembers of different methods. The class-wise results show that the SVCDM achieves SAM values of 0.0467, 0.0696, 0.0326 and 0.0514, and corresponding aRMSE values of 0.0382, 0.0445, 0.0479 and 0.0566 for tree, water, soil and road, respectively. Among these, VCA exhibits clear boundary distortions and shows limitations in accurately estimating the abundance map for water. ELMM and GLMM, which rely on parametric spectral modeling, struggle to effectively model complex SV, resulting in inaccurate endmember extraction for certain classes. Specifically, the abundance maps produced by GLMM exhibit fuzzy boundaries and unreasonably high abundance values. While PGMSU adopts a probabilistic generative framework to model the relationship between reference and extracted endmembers, the abundance maps reveal significant misclassification between soil and water. Table 3 presents the evaluation metrics for the SVCDM and all comparative methods, with the minimum values highlighted in bold. In contrast, the SVCDM demonstrates superior capability in modeling EV and produces reasonable abundance maps, particularly excelling in preserving clearer boundaries between classes.
(3) Houston dataset: This image was acquired over the campus of the University of Houston, TX, USA, in June 2012, and originally published in the 2013 IEEE GRSS data fusion competition. The original image has a size of 349 × 1905, contains 144 bands, and covers a range of 0.364–1.046 μ m . In this experiment, one of the sub-images was selected, with a size of 170 × 170, containing four main objects: parking lot1, parking lot2, running track and grass healthy [60]. The pure pixels were selected from the original HSI, and the abundance maps were optimized under the linear assumption.
The abundance maps and corresponding endmembers of different methods are presented in Figure 9 and Figure 10. For a more detailed evaluation, the class-wise results show that the SVCDM achieves SAM values of 0.0414, 0.0441, 0.0551 and 0.0537, and corresponding aRMSE values of 0.0725, 0.0786, 0.0962 and 0.0863 for parking lot1, parking lot2, running track and grass healthy, respectively. It is evident that VCA struggles to distinguish between parking lot 1 and parking lot 2, leading to blurred boundaries between these classes. While GLMM achieves lower values of rRMSE, its abundance maps exhibit a clear estimation bias, with indistinct boundaries observed in several regions. In contrast, the SVCDM demonstrates superior accuracy in differentiating spectrally similar classes, particularly at the boundary between parking lot 1 and parking lot 2. The evaluation metrics for all comparative methods are summarized in Table 4, with the minimum values highlighted in bold. Although the rRMSE of the SVCDM (0.1134) is slightly higher than that of GLMM, the reconstruction-driven bias observed in these method—where reconstruction error is treated as the primary objective—highlights a key limitation. By incorporating conditional information into the reverse process, the SVCDM mitigates the bias introduced by reconstruction-error-driven optimization, ultimately resulting in more robust and accurate unmixing performance.
(4) Urban dataset: Urban is a classical HSI dataset in the field of hyperspectral unmixing, with 210 bands covering wavelengths from 400 n m to 2500 n m and a spectral resolution of 10 n m . Among them, bands 1–4, 76, 87, 101–111, 136–153 and 198–210 were removed to maintain a sufficient SNR, and we finally retained 162 bands for spectral unmixing. The image has a size of 307 × 307 and contains four objects: asphalt, grass, tree and roof. Moreover, four reference endmembers were selected for the experiment, and the abundance maps were optimized under the linear assumption.
Figure 11 and Figure 12 present the abundance maps and corresponding endmembers of various methods. For a more detailed evaluation, the class-wise results show that the SVCDM achieves SAM values of 0.0765, 0.0211, 0.0971 and 0.0841, and corresponding aRMSE values of 0.1667, 0.1482, 0.2004 and 0.1839 for tree, asphalt, roof and grass, respectively. Diffun demonstrates limitations in both endmember diversity and representativeness due to the absence of conditional information, resulting in less discriminative abundance maps that fail to differentiate between distinct classes. In contrast, the SVCDM preserves the boundaries between different objects more effectively and suppresses confusion between spectrally similar classes, such as roof and asphalt. Table 5 summarizes the evaluation metrics for the SVCDM and all comparative methods, with minimum values highlighted in bold. Although the rRMSE of the SVCDM is 0.1270, slightly higher than that of EOT-Net, its SAM and aRMSE values are 0.1748 and 0.0514, respectively. These results indicate that a lower reconstruction error does not necessarily correlate with better abundance optimization, as it may simply reflect a closer fit between the reconstructed and original HSIs, without improving the physical accuracy of the endmembers or the discriminative quality of the abundance maps. While EOT-Net achieves the lowest reconstruction error among all methods, it suffers from reconstruction bias, where excessive emphasis on minimizing reconstruction error leads to less physically consistent endmembers. In contrast, the SVCDM incorporates appropriate conditional information during the reverse process, which slightly increases the reconstruction error but significantly improves the physical meaning of the endmembers and the discrimination of the abundance maps. This leads to more realistic and reliable unmixing performance.

4.4. Ablation Studies

To evaluate the contributions of the DVAE and CFG modules, an ablation study was conducted, as summarized in Table 6 and Table 7 and Figure 13 and Figure 14, and the minimum values are highlighted in bold. Three model variants were assessed by selectively disabling these modules while maintaining consistent hyperparameter settings to ensure fair comparison.
With the introduction of the DVAE, the abundance maps exhibit improved spatial smoothness and more coherent coverage for dominant endmembers such as soil and water. Quantitatively, incorporating the DVAE reduces the mean SAM from 0.1901 to 0.0528 on the Samson dataset compared to the baseline without either module. This improvement arises from the Dirichlet distribution, which constrains the endmembers onto a simplex and encourages globally consistent mixing proportions. However, due to the absence of CFG, the model still struggles to distinguish objects with highly similar spectral characteristics (e.g., tree vs. water), leading to misclassification of the abundance maps in spectrally similar regions.
In contrast, the introduction of CFG strengthens class-specific separability by explicitly injecting class-aware conditional information into the reverse process. This improves the structural fidelity of each endmember and yields clearer boundaries between abundance maps of different classes, and the influence of abundance maps is controllable on the synthetic dataset. However, without the stabilizing effect of DVAE and the associated simplex constraint, the abundance maps exhibit pronounced spatial instability and the abundances are confused for different objects, characterized by excessive local fluctuations, over-fragmentation and reduced overall coherence.
The combination of both the DVAE and CFG yielded the most favorable results across all evaluation metrics. Specifically, the mean SAM is further reduced to 0.0309, and the aRMSE reaches the lowest value of 0.0484 on the Samson dataset. Similar trends are also observed on the synthetic dataset, where the mean SAM is further decreased to 0.0202 and the aRMSE achieves the lowest value of 0.0371. The Dirichlet distribution regularizes the latent representations within realistic spectral bounds, while CFG improved semantic alignment and discrimination during the reverse process. This complementary interaction allows the model to better capture intrinsic SV. Overall, both components are integral to enhancing the unmixing performance of the proposed SVCDM.

4.5. Discussion

The proposed SVCDM demonstrates strong performance in hyperspectral unmixing, particularly in accurately modeling SV and incorporating class constraints into the endmember extraction. The spectral library obviously ignores the redundant spectra in the HSI, and narrows the range of endmember extraction. On the synthetic dataset, the influence of noise is slight for the SVCDM; the SAM is on the magnitude of 0.02, which is approximate to the reference endmembers; and the details of the abundance maps are close to the ground truth. On the Samson and Jasper Ridge datasets, the SVCDM is used successfully to recognize soil, tree and water, the aRMSE is less than 0.06 for all objects, and the differences in the abundance maps are subtle, compared to the reference. On the Houston and Urban datasets, the SAM values are under 0.05, with 0.0414 and 0.0441 for parking lot1 and parking lot2 respectively, which proves that the SVCDM is efficient in recognizing similar objects. Although the aRMSE is higher than 0.2 for asphalt, the corresponding value is only 0.0211, which is because the SVCDM does not explicitly optimize reconstruction error as the primary objective, but instead emphasizes physically meaningful endmember and abundance estimation, which may lead to slightly higher reconstruction errors in some cases. The SVCDM is able to generate complex prior distributions and extract physically consistent endmembers, and the use of CFG further enhances class discriminability, leading to more accurate and stable abundance maps. These advantages are consistently reflected in the experimental results, where SVCDM achieves superior performance in terms of SAM and aRMSE across synthetic and real datasets.
The SVCDM models the underlying prior distribution of endmembers, and employs iterative optimization (e.g., L-BFGS) to refine abundance optimization. This process is interpreted as a two-layer dynamic programming, which contributes to coverage to the global optimum with the increased computational overhead. Moreover, the unmixing performance of the SVCDM is influenced by several hyperparameters, such as the CFG coefficient w, which may require fine-tuning for different datasets, and thus may have limited capability in handling complex scenarios.

5. Conclusions

This paper proposes an SVCDM for unsupervised hyperspectral unmixing that designs a DVAE for constructing a spectral library with a class constraint and prior distribution and a DM with conditional information for endmember extraction with dynamic abundance optimization. The proposed method addresses the challenges of modeling complex SV in HSIs. Specifically, the class labels of the endmembers are used as conditional information to guide the DM in learning the distribution more accurately. At each time step of the reverse process, the gradient of the log-likelihood is leveraged to jointly optimize abundance maps with the endmember matrix, enhancing the abundance optimization along with the updating of endmembers.
Experimental results on both synthetic and real datasets demonstrate the superior unmixing performance of the proposed method, particularly in handling complex SV. Compared to existing approaches, the SVCDM exhibits notable advantages in accurately modeling SV. By effectively combining the generative power of the DM with the linear unmixing assumption, the method provides a novel approach for hyperspectral unmixing. In future work, we aim to extend the network to handle dynamic scenarios with time-varying characteristics and explore more sophisticated bootstrapping strategies to further enhance the unmixing performance and the ability to model SV. Additionally, hyperspectral unmixing of satellite-acquired data remains challenging, particularly over large and diverse regions. Future work will focus on developing more advanced strategies to improve scalability and robustness in real-world applications.

Author Contributions

Conceptualization, K.Y. and M.W.; methodology, K.Y.; software, J.L.; validation, J.L. and T.Z.; formal analysis, T.Z.; investigation, W.L.; resources, M.W.; writing—original draft preparation, K.Y.; writing—review and editing, M.W.; visualization, K.Y.; supervision, W.L.; funding acquisition, M.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Open Fund of Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources under Grant KF-2023-08-13, and the National Natural Science Foundation of China under Grant 62376089 and Grant 62302153.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

The authors are grateful to the anonymous reviewers for their constructive criticism and comments.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ke, T.; Zhong, Y.; Song, M.; Wang, X.; Zhang, L. Mineral detection based on hyperspectral remote sensing imagery on Mars: From detection methods to fine mapping. ISPRS J. Photogramm. Remote Sens. 2024, 218, 761–780. [Google Scholar] [CrossRef] [Scilit]
  2. Rajabi, R.; Zehtabian, A.; Singh, K.D.; Tabatabaeenejad, A.; Ghamisi, P.; Homayouni, S. Hyperspectral imaging in environmental monitoring and analysis. Front. Environ. Sci. 2024, 11, 1353447. [Google Scholar] [CrossRef] [Scilit]
  3. Yang, N.; Li, L.; Han, L.; Gao, K.; Qu, S.; Li, J. Retrieving heavy metal concentrations in urban soil using satellite hyperspectral imagery. Int. J. Appl. Earth Obs. Geoinf. 2024, 132, 104079. [Google Scholar] [CrossRef] [Scilit]
  4. Jörges, C.; Vidal, H.S.; Hank, T.; Bach, H. Detection of solar photovoltaic power plants using satellite and airborne hyperspectral imaging. Remote Sens. 2023, 15, 3403. [Google Scholar] [CrossRef] [Scilit]
  5. Deville, Y.; Brezini, S.E.; Benhalouche, F.Z.; Karoui, M.S.; Guillaume, M.; Lenot, X.; Lafrance, B.; Chami, M.; Jay, S.; Minghelli, A.; et al. Modeling and unsupervised unmixing based on spectral variability for hyperspectral oceanic remote sensing data with adjacency effects. Remote Sens. 2023, 15, 4583. [Google Scholar] [CrossRef] [Scilit]
  6. Han, Z.; Yang, J.; Gao, L.; Zeng, Z.; Zhang, B.; Chanussot, J. Subpixel spectral variability network for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5504014. [Google Scholar] [CrossRef] [Scilit]
  7. Lou, C.; Al-qaness, M.A.; AL-Alimi, D.; Dahou, A.; Abd Elaziz, M.; Abualigah, L.; Ewees, A.A. Land use/land cover (LULC) classification using hyperspectral images: A review. Geo-Spat. Inf. Sci. 2025, 28, 345–386. [Google Scholar] [CrossRef] [Scilit]
  8. Qin, H.; Xu, T.; Liu, P.; Xu, J.; Li, J. DMSSN: Distilled mixed spectral–spatial network for hyperspectral salient object detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5512618. [Google Scholar] [CrossRef] [Scilit]
  9. Tao, X.; Paoletti, M.E.; Wu, Z.; Haut, J.M.; Ren, P.; Plaza, A. An abundance-guided attention network for hyperspectral unmixing. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5505414. [Google Scholar] [CrossRef] [Scilit]
  10. Young, S.S.; Lin, C.H.; Leng, Z.C. Unsupervised abundance matrix reconstruction transformer-guided fractional attention mechanism for hyperspectral anomaly detection. IEEE Trans. Neural Netw. Learn. Syst. 2024, 36, 9150–9164. [Google Scholar] [CrossRef] [Scilit]
  11. Zhang, C.; Wang, Q.; Atkinson, P.M. Unsupervised object-based spectral unmixing for subpixel mapping. Remote Sens. Environ. 2025, 318, 114514. [Google Scholar] [CrossRef] [Scilit]
  12. Chen, T.; Liu, Y.; Zhang, Y.; Du, B.; Plaza, A. Superpixel-based collaborative and low-rank regularization for sparse hyperspectral unmixing. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5529216. [Google Scholar] [CrossRef] [Scilit]
  13. Chang, C.I.; Wu, C.C. Design and development of iterative pixel purity index. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2015, 8, 2676–2695. [Google Scholar] [CrossRef] [Scilit]
  14. Ayma Quirita, V.A.; da Costa, G.A.O.P.; Beltrán, C. A distributed N-FINDR cloud computing-based solution for endmembers extraction on large-scale hyperspectral remote sensing data. Remote Sens. 2022, 14, 2153. [Google Scholar] [CrossRef] [Scilit]
  15. Deán-Ben, X.L.; Deliolanis, N.C.; Ntziachristos, V.; Razansky, D. Fast unmixing of multispectral optoacoustic data with vertex component analysis. Opt. Lasers Eng. 2014, 58, 119–125. [Google Scholar] [CrossRef] [Scilit]
  16. Zhang, S.; Agathos, A.; Li, J. Robust minimum volume simplex analysis for hyperspectral unmixing. IEEE Trans. Geosci. Remote Sens. 2017, 55, 6431–6439. [Google Scholar] [CrossRef]
  17. Li, J.; Agathos, A.; Zaharie, D.; Bioucas-Dias, J.M.; Plaza, A.; Li, X. Minimum volume simplex analysis: A fast algorithm for linear hyperspectral unmixing. IEEE Trans. Geosci. Remote Sens. 2015, 53, 5067–5082. [Google Scholar]
  18. Zhang, C.; Ma, L.; Chen, J.; Rao, Y.; Zhou, Y.; Chen, X. Assessing the impact of endmember variability on linear Spectral Mixture Analysis (LSMA): A theoretical and simulation analysis. Remote Sens. Environ. 2019, 235, 111471. [Google Scholar] [CrossRef] [Scilit]
  19. Yu, J.; Wang, B.; Lin, Y.; Li, F.; Cai, J. A novel inequality-constrained weighted linear mixture model for endmember variability. Remote Sens. Environ. 2021, 257, 112359. [Google Scholar] [CrossRef] [Scilit]
  20. Ren, L.; Hong, D.; Gao, L.; Sun, X.; Huang, M.; Chanussot, J. Orthogonal subspace unmixing to address spectral variability for hyperspectral image. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5501713. [Google Scholar] [CrossRef] [Scilit]
  21. Theiler, J.; Ziemann, A.; Matteoli, S.; Diani, M. Spectral variability of remotely sensed target materials: Causes, models, and strategies for mitigation and robust exploitation. IEEE Geosci. Remote Sens. Mag. 2019, 7, 8–30. [Google Scholar] [CrossRef] [Scilit]
  22. Chen, X.; Zhang, X.; Ren, M.; Zhou, B.; Feng, Z.; Cheng, J. An improved hyperspectral unmixing approach based on a spatial–spectral adaptive nonlinear unmixing network. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 9680–9696. [Google Scholar] [CrossRef] [Scilit]
  23. Zou, J.; Qu, H.; Zhang, P. Conventional to deep learning methods for hyperspectral unmixing: A review. Remote Sens. 2025, 17, 2968. [Google Scholar] [CrossRef] [Scilit]
  24. Fang, T.; Zhu, F.; Chen, J. Hyperspectral unmixing based on multilinear mixing model using convolutional autoencoders. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5507316. [Google Scholar] [CrossRef] [Scilit]
  25. Liu, R.; Lei, C.; Xie, L.; Qin, X. A novel endmember bundle extraction framework for capturing endmember variability by dynamic optimization. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5505217. [Google Scholar] [CrossRef] [Scilit]
  26. Cheng, Y.; Zhao, L.; Chen, S.; Li, X. Hyperspectral unmixing network accounting for spectral variability based on a modified scaled and a perturbed linear mixing model. Remote Sens. 2023, 15, 3890. [Google Scholar] [CrossRef] [Scilit]
  27. Bond-Taylor, S.; Leach, A.; Long, Y.; Willcocks, C.G. Deep generative modelling: A comparative review of VAEs, GANs, normalizing flows, energy-based and autoregressive models. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 44, 7327–7347. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Mantripragada, K.; Qureshi, F.Z. Hyperspectral pixel unmixing with latent dirichlet variational autoencoder. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5507112. [Google Scholar] [CrossRef] [Scilit]
  29. Palsson, B.; Ulfarsson, M.O.; Sveinsson, J.R. Synthesis of synthetic hyperspectral images with controllable spectral variability using a generative adversarial network. Remote Sens. 2023, 15, 3919. [Google Scholar] [CrossRef] [Scilit]
  30. Wang, L.; Zhang, X.; Zhang, J.; Dong, H.; Meng, H.; Jiao, L. Pixel-to-abundance translation: Conditional generative adversarial networks based on patch transformer for hyperspectral unmixing. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 5734–5749. [Google Scholar] [CrossRef] [Scilit]
  31. Xiang, S.; Li, X.; Chen, S. An Endmember-Oriented Transformer Network for Bundle-Based Hyperspectral Unmixing. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5503315. [Google Scholar] [CrossRef] [Scilit]
  32. Shi, S.; Zhao, M.; Zhang, L.; Altmann, Y.; Chen, J. Probabilistic generative model for hyperspectral unmixing accounting for endmember variability. IEEE Trans. Geosci. Remote Sens. 2021, 60, 5516915. [Google Scholar] [CrossRef] [Scilit]
  33. Dhariwal, P.; Nichol, A. Diffusion models beat GANs on image synthesis. Adv. Neural Inf. Process. Syst. 2021, 34, 8780–8794. [Google Scholar]
  34. Vivekananthan, S. Comparative analysis of generative models: Enhancing image synthesis with VAEs, GANs, and stable diffusion. arXiv 2024, arXiv:2408.08751. [Google Scholar] [CrossRef] [Scilit]
  35. Liu, J.; Wu, Z.; Xiao, L. A spectral diffusion prior for unsupervised hyperspectral image super-resolution. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5528613. [Google Scholar] [CrossRef] [Scilit]
  36. Pastorino, M.; Alibani, M.; Acito, N.; Moser, G. Deep Diffusion Models and Unsupervised Hyperspectral Unmixing for Realistic Abundance Map Synthesis. In Proceedings of the Computer Vision and Pattern Recognition Conference, Nashville, TN, USA, 11–15 June 2025; pp. 3038–3046. [Google Scholar]
  37. Zhang, J.; Dong, H.; Gao, W.; Zhang, L.; Xue, Z.; Shen, X. Structured low-rank representation learning for hyperspectral sparse unmixing. Int. J. Remote Sens. 2024, 45, 351–375. [Google Scholar] [CrossRef] [Scilit]
  38. Li, C.; Ma, Y.; Mei, X.; Liu, C.; Ma, J. Hyperspectral unmixing with robust collaborative sparse regression. Remote Sens. 2016, 8, 588. [Google Scholar] [CrossRef] [Scilit]
  39. Montesinos López, O.A.; Montesinos López, A.; Crossa, J. Linear mixed models. In Multivariate Statistical Machine Learning Methods for Genomic Prediction; Springer: Berlin/Heidelberg, Germany, 2022; pp. 141–170. [Google Scholar]
  40. Li, D.; Zhang, X.; Zhang, Y.; Liang, L.; Chen, X.; Jia, L. Superpixel-guided manifold sparse nonnegative matrix factorization for hyperspectral unmixing. J. Appl. Remote Sens. 2025, 19, 016506. [Google Scholar] [CrossRef] [Scilit]
  41. Brezini, S.E.; Deville, Y.; Karoui, M.S.; Benhalouche, F.Z.; Ouamri, A. A penalization-based NMF approach for hyperspectral unmixing addressing spectral variability with an additively-tuned mixing model. In Proceedings of the IEEE International Geoscience and Remote Sensing Symposium (IGARSS), Brussels, Belgium, 11–16 July 2021; pp. 3841–3844. [Google Scholar]
  42. Thouvenin, P.A.; Dobigeon, N.; Tourneret, J.Y. Hyperspectral unmixing with spectral variability using a perturbed linear mixing model. IEEE Trans. Signal Process. 2015, 64, 525–538. [Google Scholar] [CrossRef] [Scilit]
  43. Hong, D.; Yokoya, N.; Chanussot, J.; Zhu, X.X. An augmented linear mixing model to address spectral variability for hyperspectral unmixing. IEEE Trans. Image Process. 2018, 28, 1923–1938. [Google Scholar] [CrossRef] [Scilit]
  44. Drumetz, L.; Veganzones, M.A.; Henrot, S.; Phlypo, R.; Chanussot, J.; Jutten, C. Blind hyperspectral unmixing using an extended linear mixing model to address spectral variability. IEEE Trans. Image Process. 2016, 25, 3890–3905. [Google Scholar] [CrossRef] [Scilit]
  45. Imbiriba, T.; Borsoi, R.A.; Bermudez, J.C.M. Generalized linear mixing model accounting for endmember variability. In Proceedings of the International Conference on Acoustics, Speech and Signal Processing (ICASSP), Calgary, AB, Canada, 15–20 April 2018; pp. 1862–1866. [Google Scholar]
  46. Zhou, Y.; Rangarajan, A.; Gader, P.D. A Gaussian mixture model representation of endmember variability in hyperspectral unmixing. IEEE Trans. Image Process. 2018, 27, 2242–2256. [Google Scholar] [CrossRef] [Scilit]
  47. Chen, N.; Yue, J.; Fang, L.; Xia, S. SpectralDiff: A generative framework for hyperspectral image classification with diffusion models. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5522416. [Google Scholar] [CrossRef] [Scilit]
  48. Yu, Y.; Pan, E.; Ma, Y.; Mei, X.; Chen, Q.; Ma, J. Unmixdiff: Unmixing-based diffusion model for hyperspectral image synthesis. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5524018. [Google Scholar] [CrossRef] [Scilit]
  49. Deng, K.; Qian, Y.; Nie, J.; Zhou, J. Diffusion-model-based hyperspectral unmixing using spectral prior distribution. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5519716. [Google Scholar] [CrossRef] [Scilit]
  50. Chung, H.; Kim, J.; Mccann, M.T.; Klasky, M.L.; Ye, J.C. Diffusion posterior sampling for general noisy inverse problems. arXiv 2022, arXiv:2209.14687. [Google Scholar]
  51. Chung, H.; Sim, B.; Ryu, D.; Ye, J.C. Improving diffusion models for inverse problems using manifold constraints. Adv. Neural Inf. Process. Syst. 2022, 35, 25683–25696. [Google Scholar]
  52. Meng, C.; Rombach, R.; Gao, R.; Kingma, D.; Ermon, S.; Ho, J.; Salimans, T. On distillation of guided diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 17–24 June 2023; pp. 14297–14306. [Google Scholar]
  53. Huck, A.; Guillaume, M.; Blanc-Talon, J. Minimum dispersion constrained nonnegative matrix factorization to unmix hyperspectral data. IEEE Trans. Geosci. Remote Sens. 2010, 48, 2590–2602. [Google Scholar] [CrossRef] [Scilit]
  54. Jin, Q.; Ma, Y.; Pan, E.; Fan, F.; Huang, J.; Li, H.; Sui, C.; Mei, X. Hyperspectral unmixing with Gaussian mixture model and spatial group sparsity. Remote Sens. 2019, 11, 2434. [Google Scholar] [CrossRef] [Scilit]
  55. Bollapragada, R.; Nocedal, J.; Mudigere, D.; Shi, H.J.; Tang, P.T.P. A progressive batching L-BFGS method for machine learning. In Proceedings of the International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018; pp. 620–629. [Google Scholar]
  56. Joo, W.; Lee, W.; Park, S.; Moon, I.C. Dirichlet variational autoencoder. Pattern Recognit. 2020, 107, 107514. [Google Scholar] [CrossRef] [Scilit]
  57. Nascimento, J.M.; Dias, J.M. Vertex component analysis: A fast algorithm to unmix hyperspectral data. IEEE Trans. Geosci. Remote Sens. 2005, 43, 898–910. [Google Scholar] [CrossRef] [Scilit]
  58. Heinz, D.C.; Chang, C.I. Fully constrained least squares linear spectral mixture analysis method for material quantification in hyperspectral imagery. IEEE Trans. Geosci. Remote Sens. 2001, 39, 529–545. [Google Scholar] [CrossRef] [Scilit]
  59. Borsoi, R.A.; Imbiriba, T.; Bermudez, J.C.M. Deep generative endmember modeling: An application to unsupervised spectral unmixing. IEEE Trans. Comput. Imaging 2019, 6, 374–384. [Google Scholar] [CrossRef] [Scilit]
  60. Han, Z.; Hong, D.; Gao, L.; Yao, J.; Zhang, B.; Chanussot, J. Multimodal hyperspectral unmixing: Insights from attention networks. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5524913. [Google Scholar] [CrossRef] [Scilit]
Figure 1. The overall framework of the proposed SVCDM, where a DVAE is designed to construct a spectral library with a class constraint and prior distribution. Moreover, the DM incorporates class labels as conditional information to learn the prior distribution of endmembers through the forward process and refines the endmember extraction while dynamically optimizing abundance maps through the reverse process.
Figure 1. The overall framework of the proposed SVCDM, where a DVAE is designed to construct a spectral library with a class constraint and prior distribution. Moreover, the DM incorporates class labels as conditional information to learn the prior distribution of endmembers through the forward process and refines the endmember extraction while dynamically optimizing abundance maps through the reverse process.
Remotesensing 18 01483 g001
Figure 2. The aRMSE as a function of classifier-free guidance coefficient w on the synthetic dataset.
Figure 2. The aRMSE as a function of classifier-free guidance coefficient w on the synthetic dataset.
Remotesensing 18 01483 g002
Figure 3. Abundance maps of different methods on the synthetic dataset with Gaussian noise of SNR = 10 dB. Rows correspond to three endmembers (EM1, EM2, EM3), and columns to methods, including the reference.
Figure 3. Abundance maps of different methods on the synthetic dataset with Gaussian noise of SNR = 10 dB. Rows correspond to three endmembers (EM1, EM2, EM3), and columns to methods, including the reference.
Remotesensing 18 01483 g003
Figure 4. Comparison of endmembers for different methods on the synthetic dataset. (a) EM1. (b) EM2. (c) EM3.
Figure 4. Comparison of endmembers for different methods on the synthetic dataset. (a) EM1. (b) EM2. (c) EM3.
Remotesensing 18 01483 g004
Figure 5. Abundance maps of different methods on the Samson dataset. Rows correspond to three endmembers (water, tree, soil), and columns to methods, including the reference.
Figure 5. Abundance maps of different methods on the Samson dataset. Rows correspond to three endmembers (water, tree, soil), and columns to methods, including the reference.
Remotesensing 18 01483 g005
Figure 6. Comparison of endmembers for different methods on the Samson dataset: (a) soil; (b) tree; (c) water.
Figure 6. Comparison of endmembers for different methods on the Samson dataset: (a) soil; (b) tree; (c) water.
Remotesensing 18 01483 g006
Figure 7. Abundance maps of different methods on the Jasper Ridge dataset. Rows correspond to four endmembers (water, tree, dirt, road), and columns to methods, including the reference.
Figure 7. Abundance maps of different methods on the Jasper Ridge dataset. Rows correspond to four endmembers (water, tree, dirt, road), and columns to methods, including the reference.
Remotesensing 18 01483 g007
Figure 8. Comparison of endmembers for different methods on the Jasper Ridge dataset: (a) tree; (b) soil; (c) water; (d) road.
Figure 8. Comparison of endmembers for different methods on the Jasper Ridge dataset: (a) tree; (b) soil; (c) water; (d) road.
Remotesensing 18 01483 g008
Figure 9. Abundance maps of different methods on the Houston dataset. Rows correspond to four endmembers (parking lot1, grass healthy, running track, parking lot2), and columns to methods, including the reference.
Figure 9. Abundance maps of different methods on the Houston dataset. Rows correspond to four endmembers (parking lot1, grass healthy, running track, parking lot2), and columns to methods, including the reference.
Remotesensing 18 01483 g009
Figure 10. Comparison of endmembers for different methods on the Houston dataset: (a) parking lot1; (b) parking lot2; (c) running track; (d) grass healthy.
Figure 10. Comparison of endmembers for different methods on the Houston dataset: (a) parking lot1; (b) parking lot2; (c) running track; (d) grass healthy.
Remotesensing 18 01483 g010
Figure 11. Abundance maps of different methods on the Urban dataset. Rows correspond to four endmembers (asphalt, roof, grass, tree), and columns to methods, including the reference.
Figure 11. Abundance maps of different methods on the Urban dataset. Rows correspond to four endmembers (asphalt, roof, grass, tree), and columns to methods, including the reference.
Remotesensing 18 01483 g011
Figure 12. Comparison of endmembers for different methods on the Urban dataset: (a) tree; (b) asphalt; (c) roof; (d) grass.
Figure 12. Comparison of endmembers for different methods on the Urban dataset: (a) tree; (b) asphalt; (c) roof; (d) grass.
Remotesensing 18 01483 g012
Figure 13. Visualization of the abundance maps on the synthetic dataset with Gaussian noise of SNR = 30 dB obtained under different ablation experiments of the proposed SVCDM. From left to right: DVAE only (w/o CFG), CFG only (w/o DVAE), and DVAE + CFG (proposed).
Figure 13. Visualization of the abundance maps on the synthetic dataset with Gaussian noise of SNR = 30 dB obtained under different ablation experiments of the proposed SVCDM. From left to right: DVAE only (w/o CFG), CFG only (w/o DVAE), and DVAE + CFG (proposed).
Remotesensing 18 01483 g013
Figure 14. Visualization of the abundance maps on the Samson dataset obtained under different ablation experiments of the proposed SVCDM. From left to right: DVAE only (w/o CFG), CFG only (w/o DVAE), and DVAE + CFG (proposed).
Figure 14. Visualization of the abundance maps on the Samson dataset obtained under different ablation experiments of the proposed SVCDM. From left to right: DVAE only (w/o CFG), CFG only (w/o DVAE), and DVAE + CFG (proposed).
Remotesensing 18 01483 g014
Table 1. Comparison of evaluation metrics on synthetic datasets with Gaussian noise varying from SNR = 10 to 30 dB.
Table 1. Comparison of evaluation metrics on synthetic datasets with Gaussian noise varying from SNR = 10 to 30 dB.
SNR = 30 dB
MethodsSAMaRMSErRMSE
VCA0.03430.08280.0351
SCLSU0.02390.07940.0348
ELMM0.02230.07370.0251
GLMM0.03030.05740.0229
PGMSU0.04740.09910.0268
EOT-Net0.04160.09420.0259
Diffun0.17450.07080.1688
SVCDM0.02020.03710.0236
SNR = 20 dB
MethodsSAMaRMSErRMSE
VCA0.04840.09880.0657
SCLSU0.02730.09030.0692
ELMM0.02560.05790.0662
GLMM0.03290.06570.0653
PGMSU0.13820.08280.0661
EOT-Net0.09150.08690.0678
Diffun0.17210.06660.0664
SVCDM0.02270.04160.0658
SNR = 10 dB
MethodsSAMaRMSErRMSE
VCA0.07670.16810.2206
SCLSU0.07450.25260.2248
ELMM0.07270.20450.2221
GLMM0.04320.13910.2055
PGMSU0.19610.08280.2344
EOT-Net0.16270.08940.2291
Diffun0.17270.08270.2046
SVCDM0.02630.07970.2043
Table 2. Comparison of evaluation metrics on the Samson dataset.
Table 2. Comparison of evaluation metrics on the Samson dataset.
MethodsSAMaRMSErRMSE
VCA0.18900.12120.0149
SCLSU0.19830.18390.0603
ELMM0.18160.11940.0209
GLMM0.19640.10730.0203
PGMSU0.04740.09090.0272
EOT-Net0.07320.16640.0751
Diffun0.05180.05020.1248
SVCDM0.03090.04840.1236
Table 3. Comparison of evaluation metrics on the Jasper Ridge dataset.
Table 3. Comparison of evaluation metrics on the Jasper Ridge dataset.
MethodsSAMaRMSErRMSE
VCA0.11330.11840.0426
SCLSU0.15840.13050.0547
ELMM0.20020.13090.0216
GLMM0.22260.23700.0285
PGMSU0.06260.04810.0221
EOT-Net0.06220.08910.0444
Diffun0.10860.09510.2265
SVCDM0.05050.04680.2263
Table 4. Comparison of evaluation metrics on the Houston dataset.
Table 4. Comparison of evaluation metrics on the Houston dataset.
MethodsSAMaRMSErRMSE
VCA0.15220.10520.0464
SCLSU0.14680.28740.0947
ELMM0.15530.10290.0392
GLMM0.11150.30260.0736
PGMSU0.05250.08670.1054
EOT-Net0.05210.19860.0691
Diffun0.12080.18780.1112
SVCDM0.04860.08340.1134
Table 5. Comparison of evaluation metrics on the Urban dataset.
Table 5. Comparison of evaluation metrics on the Urban dataset.
MethodsSAMaRMSErRMSE
VCA0.13980.26470.1511
SCLSU0.24260.25430.1924
ELMM0.23760.29650.1274
GLMM0.34020.19790.1163
PGMSU0.19120.24540.1271
EOT-Net0.20880.27140.0805
Diffun0.16570.27470.1263
SVCDM0.05140.17480.1270
Table 6. Ablation analysis of the proposed SVCDM with Dirichlet distribution and CFG on the synthetic dataset with Gaussian noise of SNR = 30 dB.
Table 6. Ablation analysis of the proposed SVCDM with Dirichlet distribution and CFG on the synthetic dataset with Gaussian noise of SNR = 30 dB.
ModuleSAMMean SAMaRMSE
DVAECFGEM1EM2EM3
NN0.10980.04170.08640.07930.0915
YN0.02950.02460.03180.02860.0438
NY0.04690.02280.05720.04230.0614
YY0.02120.02070.01890.02020.0371
Table 7. Ablation analysis of the proposed SVCDM with Dirichlet distribution and CFG on the Samson dataset.
Table 7. Ablation analysis of the proposed SVCDM with Dirichlet distribution and CFG on the Samson dataset.
ModuleSAMMean SAMaRMSE
DVAECFGWaterTreeSoil
NN0.40490.04610.11910.19010.1482
YN0.05660.05420.04760.05280.0512
NY0.25210.03430.09910.12850.1484
YY0.03350.03110.02810.03090.0484
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, M.; Yang, K.; Lu, J.; Liu, W.; Zeng, T. A Spectral Variability and Class-Constrained Diffusion Model for Unsupervised Hyperspectral Unmixing. Remote Sens. 2026, 18, 1483. https://doi.org/10.3390/rs18101483

AMA Style

Wang M, Yang K, Lu J, Liu W, Zeng T. A Spectral Variability and Class-Constrained Diffusion Model for Unsupervised Hyperspectral Unmixing. Remote Sensing. 2026; 18(10):1483. https://doi.org/10.3390/rs18101483

Chicago/Turabian Style

Wang, Mingwei, Kaiyuan Yang, Jingyan Lu, Wei Liu, and Tian Zeng. 2026. "A Spectral Variability and Class-Constrained Diffusion Model for Unsupervised Hyperspectral Unmixing" Remote Sensing 18, no. 10: 1483. https://doi.org/10.3390/rs18101483

APA Style

Wang, M., Yang, K., Lu, J., Liu, W., & Zeng, T. (2026). A Spectral Variability and Class-Constrained Diffusion Model for Unsupervised Hyperspectral Unmixing. Remote Sensing, 18(10), 1483. https://doi.org/10.3390/rs18101483

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop