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
are set to 300 and 10,
and
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:
where
denotes the endmember matrix for the reference,
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:
where
H is the reference abundance matrix,
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:
where
Y is the original HSI,
m denotes the index of bands,
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 , and a spectral resolution of 3.13 . 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 to 2500 , and a spectral resolution of 9.46 . 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
. 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 to 2500 and a spectral resolution of 10 . 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.