论文信息
论文摘要
针对作物高光谱图像光谱变异性降低解混精度,提出端元自适应堆叠编码网络EASCoN:端元编码分支学习像素依赖隐表示,空谱分支提取上下文特征,两支路经注意力机制协同。文昌、文教作物数据集及Samson基准上多指标优于现有方法。
全文
Remote SensingAcademic Editor: Le Sun
Received: 31 August 2026
Revised: 12 November 2026
Accepted: 12 November 2026
Published: 21 November 2026
Copyright: © 2026 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license.
Article
Endmember Adaptive Stacked Coding Network for Crop
Hyperspectral Unmixing Considering Spectral Variability
Yichao Zhang 1,2, Shengkai Pan 3,4, Quanping Zhang 1,2, Fei Yun 1,2 and Yuansheng Hua 5,*
1 College of Computer and Information Engineering, Inner Mongolia Agricultural University,
Hohhot 010018, China
2 Inner Mongolia Autonomous Region Key Laboratory of Big Data Research and Application for Agriculture
and Animal Husbandry, Hohhot 010018, China
3 School of Computer Science and Artificial Intelligence, Wuhan University of Technology, Wuhan 430070, China
4 Sanya Science and Education Innovation Park of Wuhan University of Technology, Sanya 572000, China
5 College of Civil and Transportation Engineering, Shenzhen University, Shenzhen 518060, China
- Correspondence: yuansheng.hua@szu.edu.cn
Highlights
What are the main findings?
• Pixel-dependent endmember adaptation and spatial–spectral context provide comple-
mentary benefits, with their joint use yielding lower errors than either branch alone in
the evaluated ablations.
• Endmember recovery and abundance estimation respond differently to the loss terms,
supporting the use of complementary reconstruction and consistency constraints.
What is the implication of the main finding?
• Agricultural unmixing benefits from coordinating spectral variability modeling with
contextual learning during joint optimization.
• Unmixing objectives should account for both endmember and abundance accuracy
when balancing reconstruction and consistency constraints.
Abstract
Hyperspectral unmixing is a pivotal technique for analyzing mixed pixels in remote sens-
ing imagery. However, the presence of spectral variability in crop hyperspectral images
significantly compromises the accuracy of traditional unmixing methods. To address this
challenge, this paper proposes a novel Endmember Adaptive Stacked Coding Network
(EASCoN). The core of EASCoN is an innovative dual-branch architecture. The endmember
encoding branch learns a pixel-dependent latent representation from the input spectrum
and uses it to support adaptive endmember reconstruction, while the spatial–spectral
branch extracts discriminative contextual features. A bidirectional cooperative optimization
between the two branches is achieved through a spectral agent attention module and a
weight-sharing mechanism, enabling mutual enhancement of spectrally adaptive features
and spatial-contextual information. Furthermore, a comprehensive loss function incorpo-
rating multiple physical constraints is introduced to ensure the physical plausibility and
spectral fidelity of the unmixing results. Extensive experiments conducted on the dedicated
Wenchang and Wenjiao crop hyperspectral datasets, as well as the public Samson bench-
mark, demonstrate that EASCoN outperforms state-of-the-art methods across multiple
evaluation metrics.
Remote Sens. 2026, 18, 4012 https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 2 of 28
Keywords: hyperspectral unmixing; deep learning; crop spectral analysis; endmember
extraction
- Introduction
Hyperspectral (HS) remote sensing images integrate rich spectral information with
spatial context, enabling the detection of detailed material characteristics that are indistin-
guishable in traditional optical imagery [1–3]. With their high spectral resolution and the
joint representation of spatial and spectral domains, HS images have been widely applied
in land cover classification [4], mineral exploration [5], and target detection [6].
In agriculture, hyperspectral remote sensing provides detailed spectral information
for characterizing crop conditions, soil properties, and vegetation traits, thereby supporting
farmland quality assessment and crop growth monitoring [1,7]. However, agricultural
hyperspectral scenes present challenges beyond the general mixed-pixel problem. The spec-
tral response of the same crop class is not constant, but changes with phenological stage,
chlorophyll concentration, leaf water content, canopy structure, and biomass [1,7]. Conse-
quently, spectra belonging to the same crop category may exhibit considerable within-class
variability across different growth stages or field conditions.
Agricultural fields also exhibit pronounced spatial heterogeneity. Row planting pat-
terns, canopy gaps, crop shadows, weeds, and exposed soil can coexist within the area
covered by a single pixel, particularly when the spatial resolution of the sensor is insuffi-
cient to resolve individual plants or field components. Soil moisture, irrigation conditions,
solar illumination, viewing geometry, and atmospheric conditions may further alter the
magnitude or shape of the observed spectra. In addition, multiple scattering within crop
canopies and between vegetation and soil can cause the measured spectrum to deviate from
an ideal linear mixture [5,8]. These effects jointly produce mixed pixels in which crop, soil,
weeds, and shadow components are spectrally entangled.
Hyperspectral unmixing is therefore essential for agricultural applications because it de-
composes each mixed pixel into a set of pure spectral signatures, referred to as endmembers,
and their corresponding fractional proportions, referred to as abundances. Nevertheless,
representing each material using a single globally fixed endmember may lead to biased
endmember recovery and abundance estimation when substantial within-class spectral vari-
ability is present. These agricultural characteristics motivate the joint use of pixel-dependent
endmember adaptation and spatial-contextual modeling: the former accommodates spec-
tral variations within the same material class, whereas the latter exploits the structured
spatial organization and local continuity of crop fields.
The earliest hyperspectral unmixing algorithms were primarily based on the Linear
Mixture Model (LMM), which assumes that incident light interacts with a single ground
object before being captured by the hyperspectral imaging sensor. Under this assumption,
a mixed pixel can be represented as the linear weighted sum of endmember spectra, with the
weights corresponding to their abundances. As research progressed, the influence of
complex natural phenomena such as atmospheric scattering and reflection, where incident
light may undergo multiple scattering and reflections before being captured, led to the
development of Nonlinear Mixture Models (NLMMs) [5]. Due to the structural simplicity
and wide applicability of linear mixture models, many existing unmixing methods are still
built upon the LMM framework [9].
However, the fixed-endmember assumption is particularly restrictive in agricultural
scenes because the spectra of crops and background materials vary across pixels and
acquisition conditions. Such variability may violate the assumption that each material is
represented by an invariant spectral signature and may consequently bias both endmember
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 3 of 28
recovery and abundance estimation [9,10]. Effectively modeling endmember variability
while preserving the spatial organization of agricultural fields therefore remains a central
challenge in crop hyperspectral unmixing.
Recent hyperspectral unmixing research has increasingly moved beyond conventional
pixel-wise autoencoders toward more robust and context-aware learning frameworks.
Learning-based denoising has been incorporated to improve unmixing robustness under
complex spectral corruption [11], while spatial–spectral attention and global feature-fusion
mechanisms have been developed to exploit local and non-local dependencies in hyperspec-
tral images [12–14]. Other recent studies learn flexible latent representations or endmember
distributions to accommodate spectral variability that cannot be adequately described by a
globally fixed endmember matrix [15,16]. These developments indicate a growing emphasis
on jointly modeling spectral variability, spatial context, and robust feature representations.
With the advancement of deep learning, Autoencoder (AE)-based hyperspectral un-
mixing methods have exhibited superior feature representation capabilities [9]. In agri-
cultural remote sensing scenarios, these methods enable the encoder to extract spectral
patterns of crops and soils, while the decoder estimates abundances, thus facilitating crop
area delineation and soil quality evaluation. Moreover, autoencoders can be integrated
with various complementary strategies to jointly model spectral scattering and spectral
variability [5]. One line of research incorporates geometric or statistical priors directly into
the AE pipeline. For instance, the multi-attention autoencoder for hyperspectral unmixing
based on the extended linear mixing model introduces mechanisms to handle spectral
variability, which often manifests as shifts or changes in endmember spectra due to various
environmental factors [9]. Similarly, the spectral variability augmented sparse unmixing of
hyperspectral images integrates spectral variability into the unmixing process by enriching
the spectral library with variable endmember spectra, improving accuracy in heterogeneous
conditions [10]. These strategies are designed to enhance both the accuracy of abundance
estimation and the stability of spectral reconstruction.
Attention-based unmixing methods have further demonstrated the importance of
exploiting spatial and spectral dependencies. For example, the Hyperspectral Unmixing
with Multi-Scale Convolution Attention Network (HUMSCAN) employs an Endmember
Unmixing Network (EU-Net) and an abundance unmixing network to jointly improve end-
member and abundance estimation under spectral variability [17]. Similarly, the adaptive
spectral–spatial attention autoencoder network (SSANet) selectively emphasizes informa-
tive spectral bands and spatial regions, thereby strengthening the joint spatial–spectral
representation for hyperspectral unmixing [18]. These studies demonstrate the value of
incorporating spatial and spectral context into endmember and abundance estimation.
Building on these advances, the present work focuses on coordinating pixel-dependent
endmember adaptation with spatial–spectral contextual learning. HUMSCAN emphasizes
multiscale convolutional attention for endmember and abundance estimation, while SSANet
uses adaptive spectral–spatial attention to enhance feature representations [17,18]. In agri-
cultural scenes, spectra from the same material may vary across pixels, while neighboring
materials may exhibit similar spectral responses. Pixel-conditioned endmember generation
can accommodate the former variation, whereas spatial–spectral contextual learning can
help distinguish the latter ambiguity. This motivates an architecture that allows these
complementary representations to interact during feature learning.
To achieve this coordinated modeling, this paper proposes an Endmember Adap-
tive Stacked Coding Network (EASCoN) for crop hyperspectral unmixing. In this name,
“endmember-adaptive” refers to the generation of pixel-dependent endmember representa-
tions, whereas “stacked coding” denotes the hierarchical combination of latent variability
coding, adaptive endmember reconstruction, and spatial–spectral feature encoding. EAS-
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 4 of 28
CoN employs an interactive dual-branch architecture: the EIM–PRM pathway generates
adaptive endmember representations from individual spectra, while the parallel spatial–
spectral pathway extracts contextual features. The two pathways interact through the
spectral agent attention stage and shared parameters to coordinate spectral adaptation
with contextual learning. In this manner, EASCoN jointly addresses spectral adaptation,
spatial–spectral feature representation, and physically meaningful abundance constraints:
• We design an endmember encoding branch in which the Endmember Inference Mod-
ule (EIM) infers a pixel-conditioned latent variability representation and the Pixel
Reconstruction Module (PRM) maps it to adaptive endmember spectra. This pathway
is jointly optimized with spatial–spectral contextual learning, linking pixel-dependent
endmember adaptation to the contextual representation used for unmixing.
• We develop a parallel Spatial–Spectral Branch that employs multi-scale feature fusion
and spatial agent attention to extract discriminative contextual features. Through a
carefully designed spectral agent attention module and shared weights, the two branches
achieve bidirectional cooperation, enabling the spatial–spectral features to be modulated
by variability factors while the endmember representations incorporate spatial context.
• We introduce a comprehensive optimization strategy that includes a dedicated loss
function constraining both variability factors and spectral features, along with explicit
enforcement of the non-negativity and sum-to-one constraints on abundances. This
ensures both physical plausibility and spectral fidelity in the unmixing results for
agricultural applications.
T o validate the effectiveness of EASCoN, we conduct extensive experiments on two dedi-
cated crop hyperspectral datasets (Wenchang and Wenjiao) and the public Samson benchmark.
Experimental results demonstrate that our method consistently outperforms state-of-the-art
approaches. Furthermore, comprehensive ablation studies verify the critical role of each
proposed component in addressing spectral variability , confirming our design motivations.
2. Related Work
Hyperspectral unmixing aims to decompose a mixed pixel into a set of constituent
spectral signatures, referred to as endmembers, and their corresponding fractional propor-
tions, referred to as abundances [2,16,18]. The review by Zou et al. connects conventional
and deep learning approaches to hyperspectral unmixing [16], while Feng et al. provide a
comprehensive review of NMF-based unmixing, including constrained, structured, and gen-
eralized formulations [19]. These reviews provide a broader context for the traditional
formulations and learning-based approaches discussed below. The following subsections
organize the literature by its principal modeling focus: linear mixing and matrix factoriza-
tion, mechanisms for representing spectral variability, sparse representations using spectral
libraries, and deep network architectures for unmixing. These perspectives are complemen-
tary and may overlap. In particular, Section 2.2 emphasizes how endmember variability is
represented, whereas Section 2.4 emphasizes network architectures and spectral–spatial
feature learning. A deep learning method that models endmember variability can therefore
be relevant to both subsections.
2.1. Linear Mixing and Matrix-Factorization-Based Methods
The Linear Mixing Model (LMM) assumes that the observed spectrum of a mixed
pixel is a linear combination of a fixed set of endmember spectra, with the combination
coefficients corresponding to their abundances [20,21]. This formulation provides a clear
physical interpretation and leads to relatively tractable optimization problems. Geometri-
cally, the linearly mixed pixels are assumed to lie within a simplex whose vertices correspond
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 5 of 28
to pure endmembers. However, the fixed-endmember assumption may be restrictive in
natural scenes where spectra belonging to the same material vary across pixels.
Nonnegative Matrix Factorization (NMF) formulates blind hyperspectral unmixing as
the factorization of the observation matrix into nonnegative endmember and abundance
matrices [19]. Its nonnegative representation is consistent with the physical non-negativity
of spectral responses and abundance fractions. Spatial, spectral, sparsity, and manifold reg-
ularizations can also be incorporated into the NMF objective. For example, self-paced NMF
progressively introduces samples according to their reconstruction difficulty, improving
robustness to noisy or unreliable observations [22]. Nevertheless, NMF-based methods are
generally non-convex, sensitive to initialization, and subject to solution ambiguity unless
sufficient prior information or regularization is introduced.
Geometric endmember extraction methods identify pure materials by searching for
extreme points or maximum-volume simplexes in the spectral feature space. Multi-objective
formulations can jointly optimize geometric criteria and reconstruction error [23]. These
approaches are computationally interpretable and effective when sufficiently pure pixels are
present. However, their performance may deteriorate in highly mixed agricultural scenes
where pure pixels are absent, crop spectra vary spatially, or different materials exhibit
similar spectral signatures.
2.2. Spectral Variability Models
Conventional LMM-based methods generally assume that each material is represented
by one invariant endmember spectrum throughout the image. In practice, spectra belonging
to the same material may vary because of illumination, atmospheric conditions, intrinsic
material properties, spatial heterogeneity, and temporal changes. Spectral variability models
relax the fixed-endmember assumption by allowing endmember spectra to change across
pixels [9,10].
A common strategy represents pixel-dependent endmembers using scaled or per-
turbed versions of reference spectra. The Extended Linear Mixing Model (ELMM) in-
troduces material- and pixel-dependent scaling factors to represent spectral magnitude
variations [24]. The Generalized Linear Mixing Model (GLMM) extends this formulation to
wavelength-dependent scaling, allowing different spectral intervals to vary unevenly [25].
The Augmented Linear Mixing Model (ALMM) combines scaling with a learned variability
dictionary to represent additional spectral deviations, including effects associated with
nonlinear mixing [26]. The Additively-Tuned Mixing Model (ATMM) incorporates additive
spectral variability within a penalized nonnegative matrix factorization framework [27].
These formulations provide explicit mechanisms for representing spectral variability. EAS-
CoN adopts a pixel-conditioned generative representation for adaptive endmember esti-
mation and couples it with spatial–spectral contextual learning. Its nonlinear endmember
generator is followed by a reconstruction that is linear in the abundance vector conditional
on the generated endmembers.
Another strategy constructs endmember bundles or augments a spectral library with
multiple candidate spectra for each material. Spectral variability augmented sparse un-
mixing enriches the spectral library with variable endmember spectra, thereby increasing
the probability that the library contains signatures consistent with the observed scene [10].
Endmember-bundle and augmented-library methods can represent multimodal within-
class variability and can be naturally combined with sparse regression. Nevertheless, their
performance depends strongly on library completeness and representativeness. An ex-
cessively large or redundant library also increases computational cost and may intensify
confusion among spectrally similar crop and soil materials.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 6 of 28
More recent approaches learn pixel-dependent endmember distributions or nonlinear
mappings directly from hyperspectral observations. Dispersion-model-based autoencoders,
for example, introduce learnable variability representations to address deviations from fixed
endmembers [15]. Compared with predefined scaling or perturbation models, learned
representations provide greater flexibility for characterizing complex spectral variability.
For example, DeepGUn learns low-dimensional latent representations through variational
generative endmember models using image-derived pure-pixel information [28]. Such
representations can describe spectral variations useful for unmixing, but a reconstruction
objective alone does not establish a unique correspondence between individual latent co-
ordinates and separately measured physical factors, such as illumination or atmospheric
conditions. This distinction also applies to EASCoN: its latent representation supports
pixel-dependent endmember generation without assigning individual coordinates to inde-
pendently identified physical factors. Coordinating these adaptive representations with
spatial context is particularly relevant to agricultural fields, where material distributions
and acquisition conditions can exhibit spatial structure.
2.3. Sparse Library-Based Unmixing
Sparse unmixing assumes that only a small subset of signatures from a large spectral
library contributes to each observed pixel [29]. With a sufficiently complete library, this
formulation can avoid explicit endmember extraction and convert unmixing into a sparse
regression problem. SUnSAL and its extensions use variable splitting and augmented
Lagrangian optimization to efficiently estimate sparse abundance vectors [30]. Spatial
regularization, collaborative sparsity, and total-variation constraints can be incorporated to
exploit the continuity of neighboring pixels.
Sparse and low-rank constraints have also been jointly employed to characterize both
the limited number of active materials and the global correlation of abundance maps [31].
Dictionary-pruning strategies reduce redundant candidate spectra before abundance esti-
mation [32], while projection-subspace and low-rank representation methods improve com-
putational efficiency and robustness to noise [33]. Multi-objective sparse unmixing further
balances reconstruction fidelity, abundance sparsity, and other competing criteria [34,35].
The principal advantage of sparse unmixing is its ability to incorporate prior spectral
knowledge without requiring pure pixels in the observed image. However, its performance
is highly dependent on the quality and coverage of the spectral library. Spectral mismatch
between the library and the observed scene may produce biased abundance estimates,
particularly in agricultural environments where crop spectra change with growth stage and
acquisition conditions. Large and coherent libraries may also cause solution ambiguity and
increase computational cost.
2.4. Deep-Learning-Based Unmixing
Deep learning methods have become an important paradigm for hyperspectral
unmixing because of their ability to learn nonlinear and hierarchical spectral–spatial
representations [11,16]. Autoencoders are especially suitable for blind unmixing: the en-
coder estimates latent abundance representations, while the decoder reconstructs mixed
spectra using learnable endmember-related parameters [21]. Untied denoising autoen-
coders introduce sparsity and separate encoder-decoder parameters to improve spectral
reconstruction [36], whereas multitask autoencoders jointly model complementary re-
construction objectives to improve robustness under complex mixing conditions [37].
Autoencoder–graph convolutional network ensembles further exploit spatial relationships
among neighboring pixels [38]. These methods reduce dependence on manually designed
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 7 of 28
optimization procedures, but their physical interpretation and performance remain sensitive
to network architecture, initialization, and loss-function design.
Convolutional and attention-based models exploit spatial neighborhoods in addition
to pixel-wise spectra. Three-dimensional convolutional networks jointly extract local spatial
and spectral features [39], while CNN–LSTM hybrids combine spatial feature extraction with
sequential spectral modeling [40]. Convolutional vision transformers and spatial–spectral
attention networks capture broader contextual dependencies and improve the representa-
tion of non-local information [12,13]. Global spatial–spectral feature-fusion autoencoders
further extend deep unmixing to nonlinear and non-local settings [14]. Although these
approaches strengthen contextual representation, endmember variability is often handled
implicitly through learned features, and the interaction between variability-aware endmember
modeling and spatial-contextual learning is not always explicitly defined.
Denoising and robustness are also important because noise and spectral corruption
directly affect endmember and abundance estimation. Joint denoising–unmixing studies
demonstrate that these two tasks can mutually reinforce each other [41]. Learning-based
denoising modules and deep image priors have consequently been incorporated into un-
mixing networks to improve robustness under complex noise conditions [11,42]. However,
aggressive denoising may remove subtle spectral differences, and the assumed noise model
may not fully represent real sensor and atmospheric disturbances.
Spectral unmixing has also been introduced into deep hyperspectral classification to
provide subpixel information. Guo and Zhu transformed mixed spectra into abundance-
domain representations and used these representations for classification, showing that
estimated abundances can provide compact and physically meaningful features for reducing
spectral mixing effects [43]. More recently, Han et al. developed a dual-branch subpixel-
guided network that integrates an autoencoder-based unmixing branch with convolutional
classification features [44]. These studies demonstrate the value of subpixel abundance
information for distinguishing mixed pixels. Nevertheless, their primary objective is class-
label prediction rather than the simultaneous recovery of physically plausible endmembers
and abundance maps. Therefore, classification-oriented subpixel learning is complementary
to, but not a replacement for, blind hyperspectral unmixing.
In summary, linear and matrix-factorization-based methods provide transparent phys-
ical formulations but are commonly limited by the fixed-endmember assumption. Spectral
variability models explicitly relax this assumption, although many depend on predefined
scaling, perturbation, or library structures. Sparse methods effectively exploit prior spectral
libraries but are sensitive to library completeness, spectral mismatch, and computational
redundancy. Deep learning methods offer flexible nonlinear and spatial-contextual repre-
sentations, yet spectral variability and spatial context are frequently modeled implicitly or
coupled only at a relatively late stage. The proposed EASCoN differs from these approaches
by learning a pixel-dependent latent variability representation and establishing an interac-
tive dual-branch mechanism through which variability-aware endmember adaptation and
spatial–spectral contextual learning are jointly optimized.
3. Endmember Adaptive Stacked Coding Network
This section presents the overall architecture and mathematical formulation of the
proposed Endmember Adaptive Stacked Coding Network (EASCoN). In this name,
“endmember-adaptive” indicates that a pixel-dependent latent representation is mapped
to a pixel-dependent endmember representation, whereas “stacked coding” denotes the
hierarchical combination of latent variability coding, adaptive endmember reconstruction,
and spatial–spectral feature encoding.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 8 of 28
Let the input hyperspectral image be denoted by 𝒴 ∈ R𝐻×𝑊×𝐿, where 𝐻 and 𝑊 are the
spatial dimensions and 𝐿 is the number of spectral bands. By unfolding the two spatial
dimensions, the image is represented as 𝐘 = [𝐲1, 𝐲2, … , 𝐲𝑁] ∈ R𝐿×𝑁, where 𝑁 = 𝐻 × 𝑊
and 𝐲𝑛 ∈ R𝐿 denotes the spectrum of the 𝑛-th pixel. Bold lowercase letters, bold uppercase
letters, and calligraphic letters denote vectors, matrices, and tensors, respectively.
Before being provided to the network, the UA V hyperspectral image undergoes data
preprocessing, including lens correction, uniformity correction, reflectance calibration,
and atmospheric correction. These operations are completed before network training and do
not constitute an independently trainable denoising module. The preprocessed image and
its unfolded matrix are denoted by 𝒴 ′ ∈ R𝐻×𝑊×𝐿 and 𝐘′ = [𝐲′1, … , 𝐲′𝑁] ∈ R𝐿×𝑁, respectively.
As illustrated in Figure 1, EASCoN employs two interacting pathways: an endmember
encoding branch and a spatial–spectral feature extraction branch. The endmember encoding
branch uses an Endmember Inference Module (EIM) to learn a pixel-dependent latent
representation 𝝎𝑛 from each preprocessed spectrum 𝐲′𝑛. A Pixel Reconstruction Module
(PRM) subsequently maps this representation to a pixel-dependent endmember matrix.
Input Image
Denoising
Operation
Endmember Inference
Reconstruction Loss
Endmember Inference
Reconstruction Loss
Endmember
Inference Mapping
Function
Pixel Reconstruction Module
Multi-scale
Feature Fusion
Module
Multi-scale
Feature Fusion
Module
Multi-scale
Feature Fusion
Module
Spectral
Agent
Attention
Fully
Connected
Layer
Reconstruction
Module
Endmember
Contrastive Loss
Spatial
Agent
Attention
qq
Influencing
Factor w
Influencing Factors such as Illumination
Conditions, Atmosphere, or Scattering
qq Approximate Posterior Distribution
Weight SharingWeight Sharing
w
Endmember Inference Module
Spectral
Agent
Attention
Fully
Connected
Layer
Abundance
Contrastive Loss
Figure 1. Overall architecture of the proposed EASCoN model.
In parallel, the spatial–spectral branch extracts multi-scale contextual features from
𝒴 ′ using the feature-fusion and agent-attention modules. The two branches exchange
complementary information through the spectral agent attention and weight-sharing mech-
anisms. Specifically, the branch-specific modules retain their independent parameters:
the Endmember Inference Module and Pixel Reconstruction Module are used only in the
endmember encoding branch, while the multi-scale feature fusion and spatial agent atten-
tion modules are used only in the spatial–spectral branch. Weight sharing is applied at
the spectral interaction stage, where the representations generated by the two branches
are projected into a common feature space and processed using the same spectral agent
attention parameters. The resulting representations are subsequently fused and used to
estimate the pixel-dependent endmember matrix and abundance vector. In this manner,
the two branches exchange complementary information without sharing all of their internal
feature-extraction parameters.
Let 𝑃 denote the number of endmembers. For the 𝑛-th pixel, the pixel-dependent
endmember matrix and abundance vector are denoted by
𝐄𝑛 = [𝐞𝑛,1, 𝐞𝑛,2, … , 𝐞𝑛,𝑃] ∈ R𝐿×𝑃
and 𝐚𝑛 = [𝑎𝑛,1, … , 𝑎𝑛,𝑃]T ∈ R𝑃, respectively. The abundance vector satisfies the abundance
non-negativity constraint and abundance sum-to-one constraint:
𝐚𝑛 ⪰ 0, 1T𝐚𝑛 = 1. (1)
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 9 of 28
In the network implementation, these two constraints are enforced by applying a softmax
transformation to the abundance logits 𝐳𝑛 ∈ R𝑃:
𝑎𝑛,𝑝 =
exp(𝑧𝑛,𝑝)
∑𝑃𝑘=1 exp(𝑧𝑛,𝑘), 𝑝 = 1, … , 𝑃. (2)
3.1. Endmember Inference Module
Figure 2 illustrates the structure of the Endmember Inference Module. Under the
pixel-dependent linear mixing formulation, the denoised spectrum of the 𝑛-th pixel is
modeled as
𝐲′𝑛 = 𝐄𝑛𝐚𝑛 + 𝜺𝑛, 𝑛 = 1, … , 𝑁, (3)
where 𝐄𝑛 ∈ R𝐿×𝑃, 𝐚𝑛 ∈ R𝑃, and 𝜺𝑛 ∈ R𝐿 denote the pixel-dependent endmember matrix,
abundance vector, and spectral residual, respectively. Assuming an additive Gaussian
residual yields the conditional observation model
𝑝𝜃(𝐲′𝑛 ∣ 𝐄𝑛, 𝐚𝑛) = 𝒩(𝐄𝑛𝐚𝑛, 𝜎2𝑦𝐈𝐿), (4)
where 𝜎2𝑦 denotes the residual variance and 𝐈𝐿 ∈ R𝐿×𝐿 is the identity matrix. This Gaussian
likelihood provides a tractable formulation for the reconstruction residual; it does not imply
that all sources of physical spectral variability follow a Gaussian distribution.
The EIM approximates the posterior distribution of the latent variability representation
using a neural network parameterized by 𝜙:
𝑞𝜙(𝝎𝑛 ∣ 𝐲′𝑛) = 𝒩(𝝁𝜙(𝐲′𝑛), diag[𝝈2𝜙(𝐲′𝑛)]), (5)
where 𝝁𝜙(𝐲′𝑛) ∈ R𝑑𝜔 and 𝝈𝜙(𝐲′𝑛) ∈ R𝑑𝜔+ are the mean and standard-deviation vectors
predicted by the EIM. During training, a sample is obtained using the reparameteriza-
tion operation:
𝝎𝑛 = 𝝁𝜙(𝐲′𝑛) + 𝝈𝜙(𝐲′𝑛) ⊙ 𝝐𝑛, 𝝐𝑛 ∼ 𝒩(0, 𝐈𝑑𝜔), (6)
where ⊙ denotes element-wise multiplication. Here, 𝝎𝑛 is a pixel-conditioned latent vari-
ability representation inferred from the input spectrum 𝐲′𝑛. It encodes spectral differences
useful for generating pixel-dependent endmembers through the PRM and reconstructing
the observed spectrum. Physical sources of variability may jointly influence this representa-
tion, but individual latent coordinates are not assigned to separately measured illumination,
atmospheric, or phenological factors. The Gaussian approximate posterior provides a
tractable parameterization for reparameterized sampling and variational optimization; it
does not specify the physical distributions of these environmental factors. It is also distinct
from the Gaussian observation residual in Equation (4).
3.2. Pixel Reconstruction Module
Figure 3 illustrates the structure of the Pixel Reconstruction Module. The Pixel Recon-
struction Module maps the latent variability representation 𝝎𝑛 ∈ R𝑑𝜔 to a pixel-dependent
endmember matrix:
̂𝐄𝑛 = 𝑓𝜃(𝝎𝑛) ∈ R𝐿×𝑃, (7)
where 𝑓𝜃(⋅) denotes the nonlinear mapping implemented by the reconstruction network.
Unlike a conventional model that uses one fixed endmember matrix for the entire scene,
Equation (7) allows the reconstructed endmember spectra to vary across pixels through 𝝎𝑛.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 10 of 28
Approximation of
the Posterior
Distribution
1
2
3
a
a
a
...
na
1
2
3
a
a
a...
na
Latent
Representation
ny
n
Input spectrum Featureencoder ReparameterizedsamplingPosteriorparameters Latentrepresentation
Figure 2. Structure of the Endmember Inference Module.
Let ̂𝐚𝑛 ∈ R𝑃 denote the abundance vector estimated from the fused dual-branch
representation and constrained by Equation (2). The reconstructed spectrum is expressed as
̂𝐲𝑛 = ̂𝐄𝑛 ̂𝐚𝑛 ∈ R𝐿. (8)
Thus, the PRM does not separately identify individual environmental factors. Instead, it uses
the learned latent representation to adapt the endmember matrix to pixel-dependent spectral
variability. The spatial–spectral branch provides complementary contextual information for
abundance estimation and subsequent dual-branch feature interaction.
Generative endmember modeling has also been investigated in methods such as Deep-
GUn [28]. The contribution of EIM in EASCoN therefore concerns its integration into the
coordinated dual-branch framework: the pixel-conditioned latent representation drives
adaptive endmember generation, while spectral agent attention and the consistency ob-
jectives connect this pathway with contextual feature learning during joint training. The
component-level ablation study in Section 5.6 provides empirical support for the contri-
bution of EIM within this architecture. Here, adaptation refers to variation across pixel
spectra, rather than tracking physical factors over time.
1
2
3
a
a
a
...
na
1
2
3
a
a
a...
na
ny
Mapping
Function
...Latent
Representation
n
1
2
3
e
e
e
ne
Latent
representation
Nonlinear
mapping Linear mixingAdaptiveendmembers Reconstructedspectrum
Fused
dual-branch
abundance
Figure 3. Structure of the Pixel Reconstruction Module.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 11 of 28
3.3. Spatial–Spectral Feature Extraction and Agent Attention
The spatial–spectral branch extracts local multi-scale structures and non-local spatial–
spectral relationships from the preprocessed hyperspectral image 𝒴 ′. It consists of a multi-
scale feature fusion module, a spatial agent attention module, and a spectral agent attention
module. The first two modules extract and enhance spatial contextual information, whereas
the spectral agent attention module models spectral relationships and supports information
interaction between the two branches.
3.3.1. Multi-Scale Feature Fusion
Let 𝐗 ∈ R𝐵×𝐻×𝑊×𝐶 denote the input feature tensor, where 𝐵 is the batch size, 𝐻 and 𝑊
are the spatial dimensions, and 𝐶 is the number of feature channels. The input is processed
in parallel by dilated convolutions with different receptive fields. These parallel opera-
tions preserve the spatial resolution while capturing local crop structures and boundary
information at multiple spatial scales.
The resulting feature maps are concatenated along the channel dimension and trans-
formed to obtain the fused multi-scale representation:
𝐅ms = 𝒯ms(Concat[𝒟1(𝐗), 𝒟2(𝐗), … , 𝒟𝑅(𝐗)]), (9)
where 𝒟𝑟(⋅) denotes the dilated convolution associated with the 𝑟-th receptive field, 𝑅 is the
number of parallel convolutional operations, and 𝒯ms(⋅) denotes the feature transformation
performed after concatenation. The output 𝐅ms is subsequently provided to the spatial
agent attention module.
3.3.2. Spatial Agent Attention
The spatial agent attention module captures non-local relationships among spatial
regions. The multi-scale feature map 𝐅ms is partitioned into spatial windows and projected
into query, key, and value representations. A compact set of spatial agent tokens is then
generated from the query representation through pooling.
The spatial agent tokens serve as intermediate information carriers. They first aggregate
information from the spatial key and value representations and subsequently redistribute
the aggregated information to the original query positions. The attended windows are then
rearranged to recover the spatial organization of the feature map. This agent-mediated
operation enables information exchange among spatially separated regions without di-
rectly computing full pairwise attention among all spatial tokens. The resulting spatial
representation is denoted by 𝐅spa.
3.3.3. Spectral Agent Attention
The spectral agent attention module applies an analogous agent-mediated operation
along the spectral-feature dimension. The spatial representation 𝐅spa and the adaptive
representation generated by the endmember encoding branch are first projected into a
shared feature space. Query, key, and value representations are then constructed along the
spectral-feature dimension.
A reduced set of spectral agent tokens is generated through pooling. These tokens
aggregate relationships among spectral feature channels and transfer the aggregated in-
formation back to the original feature representation. The resulting representation there-
fore combines the spatial context extracted by the spatial–spectral branch with the pixel-
dependent information learned by the endmember encoding branch. It is subsequently
passed through the fully connected and reconstruction layers to estimate the endmember
spectra and abundance vectors.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 12 of 28
The two agent-attention modules perform complementary functions. The spatial agent
attention module models relationships among spatial regions, whereas the spectral agent
attention module models relationships among spectral features and supports interaction
between the two branches.
3.4. Loss Function
The objective function is constructed according to three complementary requirements
of hyperspectral unmixing: spectral reconstruction fidelity, regularization of the latent
variability representation, and consistency between the endmember and abundance esti-
mates generated by the two branches. Accordingly, the complete objective consists of the
endmember inference reconstruction loss, the endmember angular consistency loss, and the
abundance consistency loss:
ℒ = ℒEIR + ℒ𝑀 + ℒ𝐴. (10)
The decomposition is constrained through both the abundance parameterization and
the training objective. The softmax transformation in Equation (2) enforces abundance
non-negativity and sum-to-one constraints for each pixel. Within the objective, the recon-
struction component of ℒEIR ties the generated endmembers and estimated abundances
to the observed spectrum, while its KL regularization component constrains the latent
posterior relative to the prior. The endmember angular consistency loss ℒ𝑀 is designed to
coordinate endmember spectral directions across the two branches, whereas the abundance
consistency loss ℒ𝐴 encourages agreement between their abundance predictions.
These constraints jointly restrict the admissible endmember–abundance combinations
and promote solutions consistent with the mixing formulation and the observed spectra.
However, reconstruction fidelity and cross-branch consistency alone do not establish a
unique physically identifiable decomposition. Endmember and abundance accuracy must
therefore also be assessed against the available reference data, as reported in Section 5.
The detailed loss formulations are presented below.
3.4.1. Endmember Inference Reconstruction Loss
The endmember inference and reconstruction module adopts a variational autoencoder
formulation to support pixel-dependent endmember generation. The latent variability
representation 𝝎𝑛 conditions the generation of adaptive endmember spectra, while the
reconstruction and regularization terms guide its learning. The endmember inference
reconstruction loss is expressed as:
ℒEIR = 𝜌0ℒrec + 𝜌1ℒKL + 𝜌2ℒeec (11)
where 𝜌0, 𝜌1, and 𝜌2 weight the spectral reconstruction loss ℒrec, the KL divergence ℒKL,
and the endmember regularizer ℒeec, respectively. The reconstruction loss measures the
discrepancy between the preprocessed and reconstructed pixel spectra. The KL term
regularizes the approximate posterior relative to the prior. The endmember regularizer
penalizes deviations of the estimated endmember spectra from their mean within each pixel.
ℒrec = ∥𝑦′𝑛 − 𝑀𝑛𝑎𝑛∥2 (12)
ℒKL = 𝐷KL(𝑞𝜙(𝝎𝑛 ∣ 𝐲′𝑛) ∥ 𝑝(𝝎𝑛)) (13)
𝐌𝑛 = 1𝑃 𝑃∑𝑘=1 𝐌𝑛,𝑘, ℒeec = 1𝑁𝑃 𝑁∑𝑛=1 𝑃∑𝑗=1∥𝐌𝑛,𝑗 − 𝐌𝑛∥22. (14)
where 𝐲′𝑛 is the preprocessed spectrum of pixel 𝑛, and 𝐌𝑛𝐚𝑛 is the reconstructed spectrum
used in the reconstruction loss. 𝐷KL denotes the Kullback–Leibler divergence, 𝑞𝜙(𝝎𝑛 ∣ 𝐲′𝑛)
is the approximate posterior, and 𝑝(𝝎) is the prior. In Equation (14), 𝐌𝑛,𝑗 ∈ R𝐿 denotes
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 13 of 28
the estimated spectrum of material 𝑗 at pixel 𝑛, and 𝐌𝑛 is the mean of the 𝑃 estimated
endmember spectra at that pixel. The factor 1/(𝑁𝑃) averages the squared spectral deviations
over all pixel–material pairs.
3.4.2. Endmember Contrast Loss
The endmember contrast loss term is used to compute the loss between the endmembers
generated by the local–global spatial branch and the global spectral branch. Its purpose is
to ensure the consistency and differentiation of the endmembers from the two branches in
the feature space through contrast.
𝑤 = 𝑀1 ⋅ 𝑀2
‖𝑀1‖‖𝑀2‖ (15)
where 𝑀1 and 𝑀2 are the endmember feature vectors extracted by the two branch networks,
respectively. When the features of the two branches are similar, 𝑤 approaches 1; when the
features differ significantly, 𝑤 approaches 0.
ℒ𝑀 =
𝑁
∑
𝑛=1
𝑃
∑
𝑗=1
⎡⎢
⎣
𝑤 arccos⎛⎜
⎝
𝐦T𝑗 𝐦𝑛,𝑗
‖𝐦𝑗‖2‖𝐦𝑛,𝑗‖2
⎞⎟
⎠
- (1 − 𝑤) arccos⎛⎜
⎝
(𝐦′𝑗)T𝐦′𝑛,𝑗
‖𝐦′𝑗‖2‖𝐦′𝑛,𝑗‖2
⎞⎟
⎠
⎤⎥
⎦
.
(16)
where 𝐦𝑗 is the endmember spectrum for material 𝑗 estimated by the local–global spatial
branch, and 𝐦′𝑗 is the corresponding reconstructed endmember spectrum from the global
spectral branch. The vectors 𝐦𝑛,𝑗 and 𝐦′𝑛,𝑗 denote the spectral vectors associated with
material 𝑗 at pixel 𝑛 in the input and reconstructed images, respectively. Here, 𝑃 is the
number of materials and 𝑁 is the number of pixels. The coefficient 𝑤 in Equation (15)
weights the first angular term, and 1 − 𝑤 weights the second.
3.4.3. Abundance Consistency Loss
The abundance consistency loss measures the discrepancy between the abundance
estimates generated by the two branches. It encourages the endmember inference pathway
and the spatial–spectral pathway to produce compatible abundance estimates for the same
input pixel. Because this term directly measures cross-branch agreement without construct-
ing positive and negative sample pairs, it is described as a consistency loss rather than a
contrastive loss.
ℒ𝐴 = 1𝑁 𝑁∑𝑛=1∥𝐚EIR𝑛 − 𝐚SSA𝑛 ∥22 (17)
where 𝐚EIR𝑛 and 𝐚SSA𝑛 denote the abundance vectors generated by the endmember inference
pathway and the spatial–spectral pathway for the 𝑛-th pixel, respectively.
- Model Training and Unmixing Process
EASCoN is trained jointly: the EIM–PRM pathway and the remaining network com-
ponents participate in the same forward computation, and their trainable parameters are
updated using the complete objective in Equation (10). Here, “inference” in EIM refers
to approximate posterior inference for the latent variability representation, rather than a
separate training stage. Algorithm 1 describes the EIM–PRM forward computation dur-
ing training, without an independent optimization loop. Algorithm 2 incorporates this
computation into the overall training procedure. The EIM–PRM pathway is differentiable
through the reparameterization in Equation (6). The sampled noise 𝝐𝑛 is independent of the
encoder parameters, allowing gradients to propagate through 𝝎𝑛 to the posterior mean and
standard-deviation outputs. Consequently, the reconstruction objective can backpropagate
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 14 of 28
through ̂𝐲𝑛 = ̂𝐄𝑛 ̂𝐚𝑛 and ̂𝐄𝑛 = 𝑓𝜃(𝝎𝑛) to the PRM and EIM parameters. The consistency
losses provide additional gradients through their corresponding branch outputs. Shared
parameters accumulate gradient contributions from their uses in both pathways before the
joint Adam update. The notation in the algorithms follows Section 3. The preprocessed
image is denoted by 𝒴 ′ ∈ R𝐻×𝑊×𝐿, and its unfolded matrix is 𝐘′ = [𝐲′1, … , 𝐲′𝑁] ∈ R𝐿×𝑁,
where 𝑁 = 𝐻𝑊. For pixel 𝑛, the EIM estimates 𝑞𝜙(𝝎𝑛 ∣ 𝐲′𝑛), and the PRM generates
̂𝐄𝑛 = 𝑓𝜃(𝝎𝑛) ∈ R𝐿×𝑃. The abundance vector ̂𝐚𝑛 ∈ R𝑃 is estimated from the fused dual-
branch representation, and the reconstructed spectrum is ̂𝐲𝑛 = ̂𝐄𝑛 ̂𝐚𝑛 ∈ R𝐿, as defined in
Equation (8). The reconstructed image is obtained by spatially reshaping ̂𝐘 = [ ̂𝐲1, … , ̂𝐲𝑁].
The image-wide endmember estimates form an 𝑁 × 𝐿 × 𝑃 collection, whereas the abundance
maps have dimensions 𝑃 × 𝐻 × 𝑊. These dimensions exclude any implementation-specific
batch axis.
Algorithm 1 EIM–PRM Forward Computation During Joint Training
Require: Preprocessed spectrum of pixel 𝑛, 𝐲′𝑛 ∈ R𝐿
Ensure: Latent representation 𝝎𝑛 ∈ R𝑑𝜔 and adaptive endmember matrix ̂𝐄𝑛 ∈ R𝐿×𝑃
1: Estimate the posterior parameters 𝝁𝜙(𝐲′𝑛) and 𝝈𝜙(𝐲′𝑛) using the EIM.
2: Sample 𝝐𝑛 ∼ 𝒩(0, 𝐈𝑑𝜔).
3: Compute 𝝎𝑛 = 𝝁𝜙(𝐲′𝑛) + 𝝈𝜙(𝐲′𝑛) ⊙ 𝝐𝑛.
4: Generate ̂𝐄𝑛 = 𝑓𝜃(𝝎𝑛) using the PRM.
Algorithm 2 summarizes joint training of the complete network. Each training itera-
tion evaluates both branches, computes the complete objective, and jointly updates their
trainable parameters.
Algorithm 2 Joint Training of EASCoN
Require: Preprocessed hyperspectral image 𝒴 ′ ∈ R𝐻×𝑊×𝐿, with pixel spectra 𝐲′𝑛 ∈ R𝐿,
𝑛 = 1, … , 𝑁, where 𝑁 = 𝐻𝑊
Ensure: Pixel-dependent endmember matrices { ̂𝐄𝑛}𝑁𝑛=1, where ̂𝐄𝑛 ∈ R𝐿×𝑃, and abundance
maps ̂𝒜 ∈ R𝑃×𝐻×𝑊
1: Initialize the network parameters and the Adam optimizer with a constant learning rate
of 6 × 10−3.
2: Set 𝜌0 = 5000 and 𝜌2 = 0.01.
3: for 𝑡 = 0, … , 199 do
4: Set 𝜌1 = 10−3 min(𝑡/100, 1).
5: Clear the optimizer gradients.
6: Step 1: Provide the preprocessed image 𝒴 ′ and its pixel spectra 𝐲′𝑛 to the spatial–
spectral and endmember encoding pathways, respectively.
7: Step 2: Apply Algorithm 1 to the input spectra to obtain latent representations and
adaptive endmember matrices. In parallel, extract contextual features using multi-scale
feature fusion and spatial agent attention.
8: Step 3: Project the two branch representations into a shared feature space and
process them through the spectral agent attention module. Pass the resulting features
to the fully connected and reconstruction layers.
9: Step 4: Compute ℒEIR = 𝜌0ℒrec + 𝜌1ℒKL + 𝜌2ℒeec and the complete objective ℒ =
ℒEIR + ℒ𝑀 + ℒ𝐴.
10: Step 5: Backpropagate the complete objective through both branches and jointly
update their trainable parameters using Adam.
11: end for
12: Use the final trained parameters to estimate the pixel-dependent endmember matrices
and abundance maps.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 15 of 28
5. Experimental Setup and Result Analysis
This section thoroughly validates the effectiveness of the proposed EASCoN model
through comparative experiments and ablation experiments. This section will provide a
detailed introduction from several aspects: datasets, experimental details and evaluation
metrics, comparative experiments, and ablation experiments.
5.1. Datasets
This paper employs three hyperspectral datasets for experimental evaluation: the
Wenchang crop unmixing dataset, the Wenjiao crop unmixing dataset, and the Samson
dataset [45].
The Wenchang crop unmixing dataset was constructed from UA V hyperspectral im-
agery acquired in Wenchang, Hainan Province, China. It contains 120 × 120 pixels and
covers the spectral range from 400 to 1000 nm. Three endmember classes, namely soybean,
soil, and rice, are considered. Figure 4 presents the hyperspectral scene, the reference
endmember spectra, and the corresponding abundance distributions.
Figure 4. Overview of the Wenchang dataset: (a) hyperspectral scene, (b) reference endmember
spectra, and (c) reference abundance distributions.
The Wenjiao crop unmixing dataset was constructed from hyperspectral imagery
acquired near the Wenjiao River in Wenchang, Hainan Province, China. It contains
270 × 270 pixels and 177 spectral bands covering the wavelength range from 400 to 1000 nm.
Four endmember classes are considered: soil, rice, oilseed rape, and lettuce. The dataset
and its reference information are shown in Figure 5.
Figure 5. Overview of the Wenjiao dataset: (a) hyperspectral scene, (b) reference endmember spectra,
and (c) reference abundance distributions.
The Samson dataset [45] is a widely adopted public benchmark for hyperspectral un-
mixing. It comprises 95 × 95 pixels and 156 spectral bands spanning 401–889 nm. Three pri-
mary land cover endmembers—soil, tree, and water—are defined in this scene. The dataset
provides reference endmember spectra and abundance maps for material matching and
performance evaluation. Reference abundance RMSE is also used to select the loss coef-
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 16 of 28
ficients on Samson, as described in Section 5.7. Figure 6 shows the hyperspectral scene,
the reference endmember spectra, and the corresponding abundance distributions.
Figure 6. Overview of the Samson dataset: (a) hyperspectral scene, (b) reference endmember spectra,
and (c) reference abundance distributions.
5.2. Experimental Environment and Evaluation Metrics
The proposed EASCoN model is implemented using the PyTorch deep learning frame-
work. All experiments were performed on a computational server running Windows 10,
equipped with an NVIDIA GeForce GTX 1050 Ti GPU with 4 GB VRAM (NVIDIA Corpo-
ration, Santa Clara, CA, USA), an Intel Core i5-8300H CPU operating at 2.30 GHz (Intel
Corporation, Santa Clara, CA, USA), 16 GB of RAM, and 2 TB of HDD storage. The software
stack includes Python 3.9.2, PyTorch 1.12.0, and NumPy 1.24.3.
EASCoN is jointly optimized using Adam with a constant learning rate of 6 × 10−3 for
200 epochs. Training terminates after this fixed budget, and the final model parameters are
used for evaluation. No early stopping or reference-based checkpoint selection is performed.
For the objective in Equation (11), the selected coefficients are 𝜌0 = 5000 and 𝜌2 = 0.01. The
KL coefficient 𝜌1 is linearly annealed from 0 to 0.001 over 100 epochs and remains at 0.001
thereafter. Using 𝑡 to denote the number of completed training epochs, the schedule is
𝜌1(𝑡) = 10−3 min( 𝑡100, 1).
The loss-coefficient sensitivity study and parameter selection criterion are described
in Section 5.7.
Initial endmember estimates are extracted from the observed hyperspectral image,
without using reference endmembers or abundance maps. The training objective in
Equations (10)–(17) does not contain reference endmember or abundance labels. Its recon-
struction term uses the observed spectra, while the remaining terms regularize the latent
representation and model-generated quantities. Reference abundance RMSE is nevertheless
used to select the loss coefficients on Samson. This reference-informed parameter selection
is distinct from gradient-based optimization of the network parameters. Reference informa-
tion is not used for early stopping or checkpoint selection: training runs for 200 epochs and
uses the final model. Reference endmembers and abundance maps are used for material
matching and the reported accuracy evaluation.
The EASCoN experiments on Wenchang, Wenjiao, and Samson, as well as the nine
Samson ablation configurations, use random seed 0, with one run per configuration. The
parameter sensitivity study also uses seed 0 and one run per configuration. Overall SAD
and abundance RMSE, also denoted by mSAD and mRMSE, are arithmetic means of the
corresponding class-wise errors within a run; they are not averages over independent
runs. The reported results therefore provide descriptive comparisons, without estimates of
variability across random initializations or claims of statistical significance.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 17 of 28
Spectral Angle Distance (SAD) and Root Mean Squared Error (RMSE) are used as the
evaluation metrics. SAD measures the discrepancy between the estimated and reference
endmember spectra, whereas RMSE evaluates the difference between the estimated and
reference abundance maps. Lower values indicate better unmixing performance. SSAF-Net
and GOP-WNMF were reproduced on the Samson dataset using their publicly released
implementations. The reproduced SSAF-Net used its released network architecture and
a fixed dataset-specific configuration. For GOP-WNMF, the released update code was
integrated into a complete Samson processing and evaluation pipeline. The GOP-WNMF
configuration used VCA initialization, a fixed random seed of 0, 𝜈 = 2, 𝑝 = 1, 𝛾 = 10−6,
and a maximum of 500 iterations.
For both methods, the estimated endmembers were aligned with the reference end-
members through one-to-one minimum-SAD matching. The corresponding abundance
channels were reordered using the same matching relationship. The class-wise SAD and
RMSE values were independently calculated using the same Samson reference data and
metric definitions adopted for EASCoN. Ground-truth endmembers and abundances were
used only for post-estimation matching and evaluation.
The computational complexity of EASCoN is mainly determined by the endmember
inference and reconstruction pathway, the multi-scale convolutional operations, and the
two agent-attention modules. Let 𝑁 = 𝐻 × 𝑊 denote the number of image pixels, 𝐿 the
number of spectral bands, 𝑃 the number of endmembers, 𝑑𝜔 the dimension of the latent
variability representation, and 𝐶 the characteristic number of feature channels.
The approximate complexity of mapping the input spectra to the latent variability
representations and subsequently reconstructing the pixel-dependent endmember matrices
is 𝒪(𝑁𝐿𝑑𝜔 + 𝑁𝑑𝜔𝐿𝑃). The spectral reconstruction operation ̂𝐄𝑛 ̂𝐚𝑛 introduces an additional
complexity of 𝒪(𝑁𝐿𝑃). For the multi-scale feature-fusion module, assuming 𝑅 parallel
convolutional operations with a kernel size of 𝑘 ×𝑘, its principal complexity can be expressed
as 𝒪(𝑅𝑁𝑘2𝐶2).
For a sequence of 𝑇 tokens with embedding dimension 𝑑, conventional self-attention
computes pairwise interactions with a computational cost of 𝒪(𝑇2𝑑). Agent attention
instead uses 𝐴 agent tokens to aggregate and redistribute information, giving an interaction
cost of 𝒪(𝑇𝐴𝑑) [46]. The corresponding attention maps contain 𝒪(𝑇2) and 𝒪(𝑇𝐴) elements,
respectively. With dense 𝑑-to-𝑑 feature projections, the costs become 𝒪(𝑇𝑑2 + 𝑇2𝑑) for self-
attention and 𝒪(𝑇𝑑2 +𝑇𝐴𝑑) for agent attention. Thus, when 𝐴 ≪ 𝑇, agent attention reduces
the cost of token interactions, while the projection cost remains.
For the spatial module described in Section 3.3.2, let each window contain 𝑀 spatial
tokens, with embedding dimension 𝑑𝑠 and 𝐴𝑠 agent tokens. Summing over 𝑁/𝑀 windows
gives interaction costs of 𝒪(𝑁𝑀𝑑𝑠) for window-based self-attention and 𝒪(𝑁𝐴𝑠𝑑𝑠) for spa-
tial agent attention, assuming 𝑁 is divisible by 𝑀 and omitting boundary padding. Their
attention maps contain 𝒪(𝑁𝑀) and 𝒪(𝑁𝐴𝑠) elements, respectively. By comparison, full
spatial self-attention over all 𝑁 pixels has an interaction cost of 𝒪(𝑁2𝑑𝑠). The compar-
ison with window-based self-attention isolates the reduction associated with the agent
mechanism under the same window partition.
For spectral attention, let 𝑆𝜆 denote the number of processed sequences, 𝑇𝜆 the num-
ber of spectral-feature tokens per sequence, 𝑑𝜆 their embedding dimension, and 𝐴𝜆 the
number of spectral agent tokens. The corresponding interaction costs are 𝒪(𝑆𝜆𝑇2𝜆𝑑𝜆) for self-
attention and 𝒪(𝑆𝜆𝑇𝜆𝐴𝜆𝑑𝜆) for agent attention. The attention maps contain 𝒪(𝑆𝜆𝑇2𝜆) and
𝒪(𝑆𝜆𝑇𝜆𝐴𝜆) elements, respectively. These quantities must be evaluated using the spectral-
feature sequence layout rather than identifying the spectral token count with the number of
image pixels. The analysis describes theoretical operation counts and attention-map sizes;
it does not constitute a measurement of runtime or peak GPU memory.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 18 of 28
5.3. Comparison Methods
We compare EASCoN with representative hyperspectral unmixing methods. The fol-
lowing paragraphs summarize their modeling approaches and the implementations used
in the experiments.
RUSAL [47] addresses spectral variability in hyperspectral imagery by augmenting the
conventional linear mixing model with an additive residual term. This term is designed to
capture errors stemming from spectral variability, nonlinear mixing, and model mismatch,
and is formulated as a sparse linear combination to accommodate diverse spectral pertur-
bations. Consequently, RUSAL demonstrates enhanced capability in managing complex
scenarios, including material-specific spectral changes and sparse outlier presence.
Deep-Gun [28] leverages a deep generative modeling framework, specifically a Varia-
tional Autoencoder, to learn a low-dimensional latent representation of spectral variabil-
ity. The method operates in an unsupervised manner by extracting pure-pixel informa-
tion directly from the observed data, thereby minimizing the need for prior knowledge.
By representing the spectral variability of each material through a compact latent code,
the model maintains both flexibility and low dimensionality while effectively tackling
spectral variability.
LSTM-DNN [48] integrates Long Short-Term Memory (LSTM) networks and Deep
Neural Networks (DNN) within an autoencoder architecture. The LSTM component cap-
tures sequential spectral dependencies, while the DNN extracts nonlinear relationships,
thereby overcoming limitations of traditional methods that underutilize inter-band varia-
tions and spatial information. Incorporation of an attention mechanism and spatial regular-
ization further enhances joint spectral–spatial modeling, leading to robust performance in
nonlinear unmixing under complex spectral variations and mixing conditions.
EGU-Net [49] employs a self-supervised, two-stream network design that guides the
unmixing process using spectral signatures derived from pure materials. Parameter sharing
between streams and imposed spectral constraints help mitigate spectral variability and
nonlinear mixing effects. An auxiliary network branch is introduced to learn pure-material
spectral characteristics, which in turn refines the unmixing network weights, boosting
accuracy and reliability in the presence of significant spectral variability.
AutoNAS [50] adopts an automated neural architecture search strategy to circum-
vent the scarcity of ground truth data in hyperspectral unmixing. It first constructs a
self-supervised training set to facilitate architecture exploration and incorporates an affine
parameter-sharing scheme to optimize channel configurations. Concurrently, an evolution-
ary algorithm searches for optimal convolutional kernels, thereby improving network ca-
pacity and adaptability. By automating the design of task-specific architectures, the method
enhances unmixing precision and efficiency while reducing manual intervention.
SSAF-Net [51] is an unsupervised spatial–spectral adaptive fusion network for hyper-
spectral unmixing with endmember variability. It employs cascaded encoders with channel
and spatial attention to fuse local spatial–spectral information. A variational generative
mechanism based on a proportional perturbation model is further used to learn endmember
variability and the corresponding abundances.
GOP-WNMF [52] combines graph-regularized oblique projection with weighted non-
negative matrix factorization for robust hyperspectral unmixing. The oblique projection
suppresses noise while preserving the signal subspace, residual-based weights reduce the
influence of anomalous pixels and bands, and graph regularization preserves the structural
relationships between endmembers and pixels.
ELMM [24] extends the linear mixing model by allowing the spectrum of each material
to vary across pixels. At each pixel, a material-specific scalar multiplies the corresponding
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 19 of 28
reference endmember spectrum. This formulation captures changes in spectral magnitude
while preserving the shape of each reference spectrum.
GLMM [25] generalizes the scaling mechanism of ELMM by allowing the scaling
factors to vary across wavelengths. This enables different parts of an endmember spectrum
to change by different amounts, so the model can account for changes in both spectral
magnitude and shape.
ALMM [26] represents spectral variability using both scaling factors and a learned vari-
ability dictionary. The scaling factors account for magnitude changes, while the dictionary
captures spectral deviations that scaling alone cannot represent.
5.4. Qualitative Comparison
5.4.1. Qualitative Result Analysis of Wenchang Crop Unmixing Dataset
The abundance estimation and endmember extraction results for the Wenchang crop
unmixing dataset obtained by different compared methods are visualized in Figures 7 and 8,
respectively.
From the perspective of abundance estimation, all six algorithms demonstrate a reason-
able ability to distinguish spatial features of different land-cover types, yielding generally
acceptable results. Nevertheless, compared with existing approaches, the abundance maps
estimated by the proposed method more closely follow the reference spatial distributions.
This improvement is particularly evident for soybean and soil, whose spectra are susceptible
to variability and inter-class similarity. The pixel-dependent endmember representation
helps accommodate spectral variability, while the spatial–spectral branch incorporates
contextual information to distinguish spatially adjacent land-cover types.
Regarding endmember extraction, although the AutoNAS model attains relatively
good performance in recovering the soybean endmember, it still fails to fully capture the
spectral profiles of the materials. In contrast, the proposed unmixing algorithm shows
superior capability in endmember spectral reconstruction, with closer alignment to the
reference signatures. This leads to effectively enhanced fidelity in endmember recovery,
thereby substantiating the advantage of our method in terms of both endmember extraction
and abundance representation.
Figure 7. Abundance proportion results of the Wenchang crop unmixing dataset under different
comparison methods (a) Soybean, (b) Soil, (c) Paddy rice.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 20 of 28
Figure 8. Endmember extraction results of the Wenchang crop unmixing dataset under different
comparison methods (a) Soybean, (b) Soil, (c) Paddy rice.
5.4.2. Qualitative Result Analysis of Wenjiao Crop Unmixing Dataset
The abundance estimation and endmember extraction results for the Wenjiao crop
unmixing dataset, as produced by the different comparative methods, are presented in
Figures 9 and 10, respectively.
An analysis of the abundance estimation results reveals that while the comparative
algorithms exhibit a certain degree of spectral confusion among the four land-cover types,
the abundance maps estimated by the proposed method more closely follow the reference
spatial distributions. This is particularly evident for the spectrally similar categories of soil
and oilseed rape. In the Wenjiao dataset, the spatial boundaries among soil, oilseed rape,
and rice are complex and partially overlapping. In this situation, the adaptive endmember
representation helps accommodate spectral variability, while the spatial–spectral branch
uses contextual information to distinguish spectrally similar and spatially adjacent crop
types. Consequently, the proposed method better preserves the spatial distributions of
these categories.
Figure 9. Abundance proportion results of the Wenjiao crop unmixing dataset under different
comparison methods (a) Paddy rice, (b) Oilseed rape, (c) Lettuce, (d) Soil.
Regarding endmember extraction, while the spectral curves recovered by the com-
parative algorithms follow a trend similar to the GT, a detailed examination shows that
the endmember spectra extracted by our proposed method align more closely with the
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 21 of 28
reference signatures. This further validates the advantage of our algorithm in terms of
spectral fidelity and endmember reconstruction.
Figure 10. Endmember extraction results of the Wenjiao crop unmixing dataset under different
comparison methods: (a) paddy rice, (b) oilseed rape, (c) lettuce, (d) soil.
5.4.3. Qualitative Result Analysis of Samson Unmixing Dataset
The abundance estimation and endmember extraction results for the Samson dataset
across all compared methods are summarized in Figures 11 and 12, respectively.
Visually, the abundance maps produced by most methods exhibit a high degree of
similarity to the ground truth, with the exception of those generated by the RUSAL and
Deep-Gun algorithms. The proposed method, benefiting from its integrated multi-scale
spatial feature extraction and its ability to model non-local contextual dependencies while
leveraging global spectral information, yields unmixing results that are both more accurate
and stable.
In terms of endmember recovery, while the LSTM-DNN approach shows competent
performance in extracting the tree endmember, it struggles to adequately separate the
spectral signature of water. By contrast, the proposed method demonstrates consistently
better performance across all three endmembers. The extracted spectra align more closely
with the reference signatures, underscoring the advantage of our algorithm in terms of
endmember reconstruction fidelity.
Figure 11. Abundance proportion results of the Samson dataset under different comparison methods:
(a) soil, (b) trees, (c) water.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 22 of 28
Figure 12. Endmember extraction results of the Samson dataset under different comparison methods:
(a) soil, (b) trees, (c) water.
5.5. Quantitative Comparison
This subsection quantitatively evaluates the endmember and abundance estimation
performance of EASCoN on the Wenchang, Wenjiao, and Samson datasets. Spectral Angle
Distance (SAD) is used to measure the spectral discrepancy between the estimated and
reference endmembers, while Root Mean Squared Error (RMSE) is used to evaluate the
difference between the estimated and reference abundance maps. Lower SAD and RMSE
values indicate better unmixing performance.
The comparison tables report class-wise SAD and abundance RMSE, together with
their arithmetic means across material classes for each dataset.
5.5.1. Quantitative Result Analysis of Wenchang Unmixing Dataset
Tables 1 and 2 report the class-wise and overall results on Wenchang. EASCoN achieves
the lowest overall SAD (0.0442) and overall abundance RMSE (0.0626). It also achieves the
lowest SAD for all three materials and the lowest abundance RMSE for Soybean (0.512) and
Soil (0.0603). GLMM yields the lowest abundance RMSE for Paddy (0.0758).
Table 1. Experimental Results of Comparison Models on the Wenchang Dataset Using the SAD
Evaluation Metric.
Category RUSAL Deep-Gun LSTM-DNN EGU-Net AutoNAS ELMM GLMM ALMM EASCoN
Soybean 0.2424 0.2215 0.3400 0.3315 0.2972 0.3357 0.3704 0.3172 0.0839
Soil 0.1987 0.1099 0.1810 0.1431 0.0598 0.1305 0.1329 0.1355 0.0387
Paddy 0.0905 0.1012 0.0674 0.0887 0.0945 0.0434 0.0434 0.0445 0.0102
Overall 0.1772 0.1442 0.1961 0.1877 0.1505 0.1698 0.1822 0.1657 0.0442
Bold values indicate the lowest error in each row.
Table 2. Experimental Results of Comparison Models on the Wenchang Dataset Using the Abundance
RMSE Evaluation Metric.
Category RUSAL Deep-Gun LSTM-DNN EGU-Net AutoNAS ELMM GLMM ALMM EASCoN
Soybean 0.1204 0.1156 0.0933 0.0912 0.0888 0.0628 0.0743 0.1363 0.0512
Soil 0.1332 0.1304 0.1253 0.1101 0.1091 0.1472 0.1403 0.1416 0.0603
Paddy 0.1562 0.1589 0.1732 0.1612 0.1655 0.0866 0.0758 0.1584 0.0765
Overall 0.1366 0.1349 0.1306 0.1208 0.1211 0.0989 0.0968 0.1455 0.0626
Bold values indicate the lowest error in each row.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 23 of 28
5.5.2. Quantitative Result Analysis of Wenjiao Unmixing Dataset
Tables 3 and 4 report the class-wise and overall results on Wenjiao. EASCoN achieves
the lowest overall SAD (0.0464) and overall abundance RMSE (0.1317). It achieves the
lowest SAD for Paddy, Oilseed, and Soil, while AutoNAS achieves the lowest SAD for
Lettuce (0.0386). For abundance estimation, EASCoN achieves the lowest RMSE for Oilseed
and Soil. GLMM achieves the lowest RMSE for Paddy (0.1413) and Lettuce (0.1126).
Table 3. Experimental Results of Comparison Models on the Wenjiao Dataset Using the SAD Evalua-
tion Metric.
Category RUSAL Deep-Gun LSTM-DNN EGU-Net AutoNAS ELMM GLMM ALMM EASCoN
Paddy 0.1308 0.1201 0.1258 0.1174 0.1239 0.1877 0.2018 0.2047 0.0467
Oilseed 0.0831 0.0798 0.0813 0.0807 0.0822 0.1843 0.1847 0.1578 0.0421
Soil 0.1112 0.1021 0.1024 0.0978 0.1045 0.1780 0.2202 0.1883 0.0552
Lettuce 0.0466 0.0465 0.0461 0.0452 0.0386 0.1783 0.1607 0.1876 0.0416
Overall 0.0929 0.0871 0.0889 0.0852 0.0873 0.1821 0.1918 0.1846 0.0464
Bold values indicate the lowest error in each row.
Table 4. Experimental Results of Comparison Models on the Wenjiao Dataset Using the Abundance
RMSE Evaluation Metric.
Category RUSAL Deep-Gun LSTM-DNN EGU-Net AutoNAS ELMM GLMM ALMM EASCoN
Paddy 0.2565 0.1902 0.1947 0.1882 0.2097 0.2079 0.1413 0.2931 0.1645
Oilseed 0.2453 0.1568 0.2004 0.1856 0.2088 0.1377 0.1152 0.2724 0.1144
Soil 0.1802 0.1875 0.1837 0.1770 0.1538 0.3692 0.3493 0.3230 0.1350
Lettuce 0.2524 0.1670 0.1653 0.1916 0.1485 0.1365 0.1126 0.2441 0.1129
Overall 0.2336 0.1753 0.1860 0.1856 0.1802 0.2128 0.1796 0.2832 0.1317
Bold values indicate the lowest error in each row.
5.5.3. Quantitative Result Analysis of Samson Unmixing Dataset
Tables 5 and 6 report the class-wise and overall results on Samson. EASCoN achieves
the lowest reported overall SAD of 0.0241 and overall abundance RMSE of 0.0677.
At the material level, EASCoN obtains the lowest SAD for Soil and Water, while LSTM-
DNN obtains the lowest Tree SAD of 0.0126. For abundance estimation, EASCoN obtains
the lowest RMSE for Soil and Water, whereas GLMM obtains the lowest Tree RMSE of 0.0631,
compared with 0.0673 for EASCoN. Thus, the overall advantage does not imply the lowest
error for every material. These results provide descriptive evidence for the effectiveness of
combining adaptive endmember modeling with spatial–spectral contextual learning.
Table 5. Experimental Results of Comparison Models on the Samson Dataset Using the SAD Evalua-
tion Metric.
Category RUSAL Deep-Gun LSTM-DNN EGU-Net AutoNAS SSAF-Net GOP-WNMF ELMM GLMM ALMM EASCoN
Soil 0.2131 0.2774 0.0095 0.0090 0.2413 0.0159 0.0240 0.0258 0.0279 0.0240 0.0074
Tree 0.0498 0.0533 0.0126 0.0460 0.0241 0.0437 0.0769 0.0960 0.0990 0.0950 0.0231
Water 0.0914 0.0845 0.2371 0.0870 0.0534 0.1128 0.1559 0.1456 0.1405 0.1317 0.0419
Overall 0.1181 0.1384 0.0864 0.0473 0.1062 0.0575 0.0856 0.0891 0.0891 0.0835 0.0241
Bold values indicate the lowest error in each row.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 24 of 28
Table 6. Experimental Results of Comparison Models on the Samson Dataset Using the Abundance
RMSE Evaluation Metric.
Category RUSAL Deep-Gun LSTM-DNN EGU-Net AutoNAS SSAF-Net GOP-WNMF ELMM GLMM ALMM EASCoN
Soil 0.3526 0.3357 0.1568 0.1350 0.1326 0.2044 0.1748 0.1685 0.1760 0.1628 0.0644
Tree 0.3952 0.4214 0.1034 0.0960 0.1001 0.2253 0.1931 0.0764 0.0631 0.1553 0.0673
Water 0.4251 0.4463 0.1097 0.1230 0.0753 0.3602 0.2988 0.1500 0.1493 0.2532 0.0714
Overall 0.3909 0.4011 0.1233 0.1180 0.1026 0.2633 0.2222 0.1316 0.1295 0.1904 0.0677
Bold values indicate the lowest error in each row.
5.6. Ablation Experiments
To assess the contributions of the principal components of EASCoN, nine component-
level ablations were evaluated on the Samson dataset. The variants examine the endmember
inference module, the global spectral and local–global spatial branches, multiscale feature
fusion, spatial and spectral agent attention, and the three loss terms. Table 7 reports the Over-
all SAD and abundance RMSE, each defined as the arithmetic mean of the corresponding
class-wise errors for Soil, Tree, and Water.
Table 7. Component-Level Ablation Results on the Samson Dataset.
Variant Overall SAD (rad) Overall RMSE
Full EASCoN 0.0241 0.0677
w/o EIM 0.0259 0.0752
w/o global spectral branch 0.0298 0.0840
w/o local–global spatial branch 0.0323 0.0830
w/o multiscale feature fusion 0.0261 0.0723
w/o spatial agent attention 0.0267 0.0739
w/o spectral agent attention 0.0282 0.0772
w/o ℒEIR 0.0308 0.1695
w/o ℒ𝑀 0.0271 0.0688
w/o ℒ𝐴 0.0250 0.0757
Bold values indicate the lowest error in each row.
The full model achieves the lowest Overall SAD and abundance RMSE among the
evaluated variants. Removing EIM increases SAD from 0.0241 to 0.0259 and RMSE from
0.0677 to 0.0752. Removing the global spectral branch yields errors of 0.0298 and 0.0840,
while removing the local–global spatial branch yields 0.0323 and 0.0830. These results
support the complementary contributions of adaptive endmember modeling and contextual
feature learning. Removing multiscale feature fusion or either agent-attention module also
increases both errors, supporting their contributions to the complete architecture.
The separate loss ablations further clarify the effects of the objective terms. Removing
ℒEIR increases Overall RMSE to 0.1695, the largest abundance error among the evaluated
variants. Removing ℒ𝑀 increases SAD to 0.0271 and RMSE to 0.0688, whereas removing
ℒ𝐴 increases them to 0.0250 and 0.0757. These observations are consistent with comple-
mentary roles for reconstruction and latent regularization, endmember angular consistency,
and abundance consistency. The comparisons describe the observed changes for the evalu-
ated configurations and do not establish statistical significance.
5.7. Parameter Sensitivity Analysis
The three coefficients in Equation (11) were examined on Samson using seed 0, one
run per configuration, and 200 training epochs. A one-factor-at-a-time study was conducted
around the starting configuration 𝜌0 = 500, a KL-weight multiplier of 1, and 𝜌2 = 0.01.
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 25 of 28
The tested values were 𝜌0 ∈ {50, 500, 5000}, KL-weight multipliers in {0.1, 1, 10}, and
𝜌2 ∈ {0.001, 0.01, 0.1}. For multiplier 𝑐, the KL coefficient follows
𝜌1(𝑡; 𝑐) = 𝑐 10−3 min( 𝑡100, 1),
where 𝑡 is the number of completed training epochs. Thus, 𝑐 = 1 corresponds to the selected
plateau value of 𝜌1 = 0.001.
Table 8 summarizes the sensitivity of EASCoN to the loss weights on the Samson
dataset. The final configuration was selected by the lowest reference abundance mRMSE
among the tested configurations. The selected values are 𝜌0 = 5000, 𝑐 = 1, and 𝜌2 = 0.01,
yielding mRMSE of 0.0677 and mSAD of 0.0241. This configuration also gives the lowest
mSAD in the table. Around the starting configuration, variations in the KL-weight multiplier
and 𝜌2 produce comparatively small changes in the reported errors. This study examines
sensitivity within the stated ranges under a single seed; it does not establish a global
optimum or stability across independent runs. Reference abundance information is used
for coefficient selection, while training runs for a fixed 200 epochs without reference-based
checkpoint selection.
Table 8. Sensitivity to Loss Coefficients on the Samson Dataset.
𝝆0 𝝆1 Multiplier 𝝆2 mSAD (rad) mRMSE
500 1 0.01 0.0274 0.0680
50 1 0.01 0.0275 0.0682
5000 1 0.01 0.0241 0.0677
500 0.1 0.01 0.0274 0.0679
500 10 0.01 0.0274 0.0681
500 1 0.001 0.0274 0.0680
500 1 0.1 0.0274 0.0680
Bold values indicate the lowest error in each row.
6. Conclusions
This paper has presented an Endmember Adaptive Stacked Coding Network (EAS-
CoN) for crop hyperspectral unmixing, a novel approach designed to address the critical
challenge of spectral variability. The proposed method introduces an innovative dual-branch
architecture that synergistically combines endmember encoding with spatial–spectral fea-
ture processing. Within this framework, an endmember inference module characterizes
latent representation 𝜔, enabling an adaptive reconstruction mechanism that dynamically
responds to environmental variations. Comprehensive experiments conducted on the Wen-
chang, Wenjiao, and Samson datasets validate the efficacy of EASCoN. For instance, on the
Wenchang dataset, it achieves an average SAD of 0.0442 and an RMSE of 0.0626, representing
a measurable improvement over competing methods. More importantly, it demonstrates
consistent superiority across all benchmarks. The framework thus provides both theoretical
advances in modeling spectral variability and practical benefits for precision agriculture,
establishing a robust foundation for future research in adaptive hyperspectral unmixing.
Future work will integrate crop-related physical priors and multitemporal observations
to further strengthen adaptive endmember modeling across growth stages and acquisi-
tion conditions. We will also investigate scalable spatial–spectral interaction strategies for
processing larger agricultural scenes.
Author Contributions: Conceptualization, Y.Z.; methodology, Y.Z. and S.P .; software, S.P .; validation,
Y.Z., S.P . and F.Y.; formal analysis, Y.Z. and S.P .; investigation, S.P . and F.Y.; resources, Q.Z.; data
curation, Q.Z. and F.Y.; writing—original draft preparation, Y.Z. and S.P .; writing—review and editing,
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 26 of 28
Y.Z., Q.Z., F.Y. and Y.H.; supervision, Y.Z., Q.Z. and Y.H. All authors have read and agreed to the
published version of the manuscript.
Funding: This research was supported by the Key Research and Development and Achievement Trans-
formation Program of Inner Mongolia Autonomous Region, grant number 2025YFHH0078; the Natural
Science Foundation of Inner Mongolia Autonomous Region of China, grant number 2025QN06003; the
Research Start-up Project for the Recruitment of High-Level and Outstanding Doctoral Talents at Inner
Mongolia Agricultural University, grant number NDYB2023-56; the Inner Mongolia Autonomous Re-
gion Science and Technology Breakthrough Program under the Open Competition Mechanism, grant
number 2025KJTW0026; and the Inner Mongolia Autonomous Region Science and Technology Support
Program for Double First-Class Development (Basic Research), grant number 2026SYLZLZJ071.
Data Availability Statement: The original contributions presented in this study are included in the
article. Further inquiries can be directed to the corresponding authors.
Conflicts of Interest: The authors declare no conflicts of interest. The funders had no role in the design
of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or
in the decision to publish the results.
References
- Ram, B.G.; Oduor, P .; Igathinathane, C.; Howatt, K.; Sun, X. A systematic review of hyperspectral imaging in precision agriculture:
Analysis of its current state and future prospects. Comput. Electron. Agric. 2024, 222, 109037. [CrossRef] - Rasti, B.; Zouaoui, A.; Mairal, J.; Chanussot, J. Image Processing and Machine Learning for Hyperspectral Unmixing: An Overview
and the HySUPP Python Package. arXiv 2023, arXiv:2308.09375. [CrossRef] - Jaiswal, G.; Rani, R.; Mangotra, H.; Sharma, A. Integration of hyperspectral imaging and autoencoders: Benefits, applications,
hyperparameter tunning and challenges. Comput. Sci. Rev. 2023, 50, 100584. [CrossRef] - Vibhute, A.D.; Gaikwad, S.V .; Kale, K.V .; Mane, A.V . Hyperspectral Image Unmixing for Land Cover Classification. In 2021 IEEE
India Council International Subsections Conference (INDISCON); IEEE: Piscataway, NJ, USA , 2021; pp. 1–5. [CrossRef] - Jiang, X.; Gong, M.; Zhan, T.; Zhang, M. Multiobjective Endmember Extraction Based on Bilinear Mixture Model. IEEE Trans.
Geosci. Remote Sens. 2020, 58, 8192–8210. [CrossRef] - Zhang, J.; Zhang, X.; Jiao, L. Dual-View Hyperspectral Anomaly Detection via Spatial Consistency and Spectral Unmixing. Remote
Sens. 2023, 15, 3330. [CrossRef] - Ronay, I.; Nisim Lati, R.; Kizel, F. Spectral mixture analysis for weed traits identification under varying resolutions and growth
stages. Comput. Electron. Agric. 2024, 220, 108859. [CrossRef] - Bioucas-Dias, J.M.; Plaza, A.; Camps-Valls, G.; Scheunders, P .; Nasrabadi, N.; Chanussot, J. Hyperspectral remote sensing data
analysis and future challenges. IEEE Geosci. Remote Sens. Mag. 2013, 1, 6–36. [CrossRef] - Su, L.; Liu, J.; Yuan, Y.; Chen, Q. A Multi-Attention Autoencoder for Hyperspectral Unmixing Based on the Extended Linear
Mixing Model. Remote Sens. 2023, 15, 2898. [CrossRef] - Zhang, G.; Mei, S.; Xie, B.; Ma, M.; Zhang, Y.; Feng, Y.; Du, Q. Spectral variability augmented sparse unmixing of hyperspectral
images. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5527413. [CrossRef] - Huang, R.; Li, X.; Fang, Y.; Cao, Z.; Xia, C. Robust Hyperspectral Unmixing with Practical Learning-Based Hyperspectral Image
Denoising. Remote Sens. 2023, 15, 1058. [CrossRef] - Huang, J.; Zhang, P . Beyond Pixel-Wise Unmixing: Spatial–Spectral Attention Fully Convolutional Networks for Abundance
Estimation. Remote Sens. 2023, 15, 5694. [CrossRef] - Bhakthan, S.M.; Loganathan, A. A hyperspectral unmixing model using convolutional vision transformer. Earth Sci. Inform. 2024,
17, 2255–2273. [CrossRef] - Zhang, M.; Yang, M.; Xie, H.; Yue, P .; Zhang, W.; Jiao, Q.; Xu, L.; Tan, X. A Global Spatial-Spectral Feature Fused Autoencoder for
Nonlinear Hyperspectral Unmixing. Remote Sens. 2024, 16, 3149. [CrossRef] - Zheng, H.; Li, Z.; Sun, C.; Zhang, H.; Liu, H.; Wei, Z. Blind Unmixing Using Dispersion Model-Based Autoencoder to Address
Spectral Variability. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5518214. [CrossRef] - Zou, J.; Qu, H.; Zhang, P . Conventional to Deep Learning Methods for Hyperspectral Unmixing: A Review. Remote Sens. 2025,
17, 2968. [CrossRef] - Hu, S.; Li, H. Hyperspectral unmixing with multi-scale convolution attention network. IEEE J. Sel. Top. Appl. Earth Obs. Remote
Sens. 2023, 17, 2531–2542. [CrossRef]
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 27 of 28
18. Wang, J.; Xu, J.; Chong, Q.; Liu, Z.; Yan, W.; Xing, H.; Xing, Q.; Ni, M. SSANet: An Adaptive Spectral–Spatial Attention Autoencoder
Network for Hyperspectral Unmixing. Remote Sens. 2023, 15, 2070. [CrossRef]
19. Feng, X.R.; Li, H.C.; Wang, R.; Du, Q.; Jia, X.; Plaza, A. Hyperspectral Unmixing Based on Nonnegative Matrix Factorization: A
Comprehensive Review. arXiv 2022, arXiv:2205.09933. [CrossRef]
20. Hoidn, O.; Mishra, A.A.; Mehta, A. Probabilistic Mixture Model-Based Spectral Unmixing. Appl. Sci. 2024, 14, 4836. [CrossRef]
21. Palsson, B.; Sveinsson, J.R.; Ulfarsson, M.O. Blind Hyperspectral Unmixing Using Autoencoders: A Critical Comparison. IEEE J.
Sel. Top. Appl. Earth Obs. Remote Sens. 2022, 15, 1340–1372. [CrossRef]
22. Peng, J.; Zhou, Y.; Sun, W.; Du, Q.; Xia, L. Self-Paced Nonnegative Matrix Factorization for Hyperspectral Unmixing. IEEE Trans.
Geosci. Remote Sens. 2021, 59, 1501–1515. [CrossRef]
23. Tong, L.; Du, B.; Liu, R.; Zhang, L.; Tan, K.C. Hyperspectral Endmember Extraction by Multiobjective Differential Evolution
Algorithm Based on Ranking Multiple Mutations. IEEE Trans. Geosci. Remote Sens. 2021, 59, 2352–2364. [CrossRef]
24. 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. [CrossRef] [PubMed]
25. Imbiriba, T.; Borsoi, R.A.; Bermudez, J.C.M. Generalized Linear Mixing Model Accounting for Endmember Variability. In
Proceedings of the 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP); IEEE: Piscataway, NJ, USA,
2018; pp. 1862–1866. [ CrossRef]
26. Hong, D.; Yokoya, N.; Chanussot, J.; Zhu, X.X. An Augmented Linear Mixing Model to Address Spectral Variability for Hyper-
spectral Unmixing. IEEE Trans. Image Process. 2019, 28, 1923–1938. [CrossRef] [PubMed]
27. 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 2021 IEEE International
Geoscience and Remote Sensing Symposium IGARSS; IEEE: Piscataway, NJ, USA, 2021; pp. 3841–3844. [CrossRef]
28. 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. [CrossRef]
29. Preston, J.; Basener, W. Theoretical and Practical Progress in Hyperspectral Pixel Unmixing with Large Spectral Libraries from a
Sparse Perspective. arXiv 2024, arXiv:2408.07580. [CrossRef]
30. Parente, M.; Iordache, M.D. Sparse Unmixing of Hyperspectral Data: The Legacy of SUnSAL. In 2021 IEEE International Geoscience
and Remote Sensing Symposium IGARSS; IEEE: Piscataway, NJ, USA, 2021; pp. 21–24. [CrossRef]
31. Han, H.; Wang, G.; Wang, M.; Miao, J.; Guo, S.; Chen, L.; Zhang, M.; Guo, K. Hyperspectral Unmixing Via Nonconvex Sparse and
Low-Rank Constraint. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 13, 5704–5718. [CrossRef]
32. Wang, P .; Shen, X.; Ni, K.; Shi, L. Hyperspectral sparse unmixing based on multiple dictionary pruning. Int. J. Remote Sens. 2022,
43, 2712–2734. [CrossRef]
33. Zhu, Z.Y.; Huang, T.Z.; Huang, J. Projection subspace based low-rank representation for sparse hyperspectral unmixing. Appl.
Math. Model. 2024, 125, 463–481. [CrossRef]
34. Xu, X.; Shi, Z.; Pan, B.; Li, X. A Classification-Based Model for Multi-Objective Hyperspectral Sparse Unmixing. IEEE Trans.
Geosci. Remote Sens. 2019, 57, 9612–9625. [CrossRef]
35. Li, J.; Gong, M.; Wei, J.; Zhang, Y.; Zhao, Y.; Wang, S.; Jiang, X. Evolutionary multitasking cooperative transfer for multiobjective
hyperspectral sparse unmixing. Knowl.-Based Syst. 2024, 285, 111306. [CrossRef]
36. Qu, Y.; Qi, H. UDAS: An Untied Denoising Autoencoder With Sparsity for Spectral Unmixing. IEEE Trans. Geosci. Remote Sens.
2019, 57, 1698–1712. [CrossRef]
37. Chen, J.; Gamba, P .; Li, J. MAHUM: A Multitasks Autoencoder Hyperspectral Unmixing Model. IEEE Trans. Geosci. Remote Sens.
2023, 61, 5519516. [CrossRef]
38. Alfaro-Mejía, E.; Delgado, C.J.; Manian, V . An Elliptic Kernel Unsupervised Autoencoder—Graph Convolutional Network
Ensemble Model for Hyperspectral Unmixing. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 14594–14614. [CrossRef]
39. Zhang, J.; Zhang, X.; Fan, J.; Meng, H. 3D-CNN and semi-supervised based network for hyperspectral unmixing. Int. J. Remote
Sens. 2023, 45, 168–191. [CrossRef]
40. K, A.K.; Khatokar, T.M.; A, C.; Y, G.; S, V .S. Dynamic Fusion: Integrating CNN and LSTM for Hyperspectral Unmixing. In 2024
IEEE International Conference on Electronics, Computing and Communication Technologies (CONECCT); IEEE: Piscataway, NJ, USA,
2024; pp. 1–5. [ CrossRef]
41. Rasti, B.; Koirala, B.; Scheunders, P .; Ghamisi, P . How Hyperspectral Image Unmixing and Denoising Can Boost Each Other.
Remote Sens. 2020, 12, 1728. [CrossRef]
42. Rasti, B.; Koirala, B.; Scheunders, P .; Ghamisi, P . UnDIP: Hyperspectral Unmixing Using Deep Image Prior. IEEE Trans. Geosci.
Remote Sens. 2022, 60, 5504615. [CrossRef]
43. Guo, A.J.X.; Zhu, F. Improving Deep Hyperspectral Image Classification Performance with Spectral Unmixing. Signal Process.
2021, 183, 107949. [CrossRef]
https://doi.org/10.3390/rs18234012
Remote Sens. 2026, 18, 4012 28 of 28
44. Han, Z.; Yang, J.; Gao, L.; Zeng, Z.; Zhang, B.; Chanussot, J. Dual-Branch Subpixel-Guided Network for Hyperspectral Image
Classification. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5521813. [CrossRef]
45. Zhu, F.; Wang, Y.; Fan, B.; Xiang, S.; Meng, G.; Pan, C. Spectral Unmixing via Data-Guided Sparsity. IEEE Trans. Image Process.
2014, 23, 5412–5427. [CrossRef] [PubMed]
46. Han, D.; Ye, T.; Han, Y.; Xia, Z.; Pan, S.; Wan, P .; Song, S.; Huang, G. Agent attention: On the integration of softmax and linear
attention. In Proceedings of the European Conference on Computer Vision; Springer: Cham, Switzerland, 2025; pp. 124–140.
47. Halimi, A.; Bioucas-Dias, J.M.; Dobigeon, N.; Buller, G.S.; McLaughlin, S. Fast hyperspectral unmixing in presence of nonlinearity
or mismodeling effects. IEEE Trans. Comput. Imaging 2016, 3, 146–159. [CrossRef]
48. Zhao, M.; Yan, L.; Chen, J. LSTM-DNN based autoencoder network for nonlinear hyperspectral image unmixing. IEEE J. Sel. Top.
Signal Process. 2021, 15, 295–309. [CrossRef]
49. Hong, D.; Gao, L.; Yao, J.; Yokoya, N.; Chanussot, J.; Heiden, U.; Zhang, B. Endmember-guided unmixing network (EGU-Net): A
general deep learning framework for self-supervised hyperspectral unmixing. IEEE Trans. Neural Netw. Learn. Syst. 2021, 33,
6518–6531. [CrossRef] [PubMed]
50. Han, Z.; Hong, D.; Gao, L.; Zhang, B.; Huang, M.; Chanussot, J. AutoNAS: Automatic neural architecture search for hyperspectral
unmixing. IEEE Trans. Geosci. Remote Sens. 2022, 60, 1–14. [CrossRef]
51. Gao, W.; Yang, J.; Zhang, Y.; Akoudad, Y.; Chen, J. SSAF-Net: A Spatial–Spectral Adaptive Fusion Network for Hyperspectral
Unmixing with Endmember Variability. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5506015. [CrossRef]
52. Hashemi-Nazari, Y.; Tajaddini, A.; Saberi-Movahed, F.; Alonso-Fernandez, F.; Tiwari, P . Robust Oblique Projection and Weighted
NMF for Hyperspectral Unmixing. Pattern Recognit. 2026, 170, 112029. [CrossRef]
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.
https://doi.org/10.3390/rs18234012
论文原文与出版信息
Remote Sensing