Manuscript Offprint
arXiv:2609.08121Hyperspectral Anomaly Detection via Group Sparse Low-Rank Tensor Factorization With Automatic Anomaly Grouping
Quan Yu, Yu-Hong Dai, Xiongjun Zhang
Abstract—Low-rank tensor modeling has become an effective tool for hyperspectral anomaly detection. However, existing methods still suffer from high computational cost and limited flexibility in characterizing spatially structured anomalies. To address these issues, this paper proposes a hyperspectral anomaly detection method based on group sparse low-rank tensor factorization with automatic anomaly grouping (GSAA). Specifically, the low tubal rank background is characterized by imposing group sparsity on tensor factors, which provides an efficient alternative to direct tensor rank regularization. For anomaly modeling, a latent grouping map is introduced to build an automatic anomaly grouping penalty, allowing anomaly groups to be adaptively inferred from the data rather than predefined at the pixel level. To further exploit complementary spectral and spatial information, GSAA is applied in both domains, and the resulting detection maps are fused to form a spectral-spatial version of GSAA, termed GSAA-SS. An efficient linearized alternating direction method of multipliers algorithm with convergence guarantee is developed to solve the resulting model. Experimental results on five real hyperspectral datasets demonstrate that the proposed method achieves superior detection performance and competitive computational efficiency compared with several state-of-the-art methods.
Index Terms—Hyperspectral anomaly detection, low-rank tensor factorization, group sparsity, automatic anomaly grouping, spectral-spatial fusion.
I. Introduction
HYPERSPECTRAL images (HSIs) provide rich spectral signatures by recording hundreds of narrow and contiguous bands for each spatial location [1]. Owing to this spectral resolution, HSIs have been widely used in denoising [2], [3], image fusion [4], [5], anomaly detection [6], [7], and classification [8]. Among these applications, hyperspectral anomaly detection (HAD) is of particular
interest in public safety, surveillance, and defense, where anomalous targets are expected to be identified without prior knowledge of their spectral signatures or class labels [9]. The main difficulty of HAD lies in suppressing complex and heterogeneous backgrounds while preserving weak and spatially structured anomalies.
Existing HAD methods can be roughly grouped into statistical methods, deep learning based methods, and low-rank modeling based methods. Statistical methods usually assume a prescribed distribution for background pixels and detect anomalies by measuring the deviation from the estimated background distribution. The Reed-Xiaoli (RX) detector [10] is a representative method, and many variants have been developed to improve background estimation or detection robustness [11], [12], [13]. However, simple parametric assumptions are often insufficient for real HSIs, whose backgrounds can be highly nonlinear and heterogeneous [14]. Deep learning based methods improve representation ability by exploiting neural networks to learn spectral-spatial features. Representative studies include autoencoder (AE) based models and their variants for unsupervised detection [15], [16], [17], convolutional neural network based methods for supervised detection [18], and several self-supervised architectures [19], such as blind-spot learning, pixel-shuffle downsampling blind-spot reconstruction, and nonlocal-local feature-coupled schemes [20], [21], [22]. Despite their promising performance, these methods usually require substantial training cost and careful tuning of network architectures and hyperparameters.
Low-rank modeling provides another important route for HAD. It is based on the observation that hyperspectral backgrounds usually exhibit strong spectral-spatial correlations and can be approximated by low-rank structures, whereas anomalies appear as sparse deviations from the background. Low-rank decomposition based methods model an HSI as the superposition of a low-rank background component and a sparse anomaly component, often under the framework of robust principal component analysis. Representative examples include matrix based formulations [23], [24], [25] and tensor based extensions [26], [27]. Low-rank representation based methods further introduce a predefined or learned dictionary to characterize the background subspace, and have been developed in both matrix based [28], [29] and tensor based [30], [31] forms. Since HSIs are naturally third order tensors, tensor
Corresponding author: Xiongjun Zhang.
This work was supported in part by the National Natural Science Foundation of China under Grant 12171189, Grant 12021001, and Grant 92473208; in part by the Hubei Provincial Natural Science Foundation of China under Grant 2025AFB966; and in part by the Fundamental Research Funds for the Central Universities under Grant XJ2026000601.
Quan Yu, and Xiongjun Zhang are with the School of Mathematics and Statistics, Central China Normal University, Wuhan 430079, China, and also with the Key Laboratory of Nonlinear Analysis and Applications (Ministry of Education), Central China Normal University (e-mail: quanyu@ccnu.edu.cn; xjzhang@ccnu.edu.cn).
Yu-Hong Dai is with the State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences, Beijing 100190, China, and also with the School of Mathematical Sciences, University of Chinese Academy of Sciences, Beijing 100049, China (e-mail: dyh@sec.cc.ac.cn).
based methods are generally more suitable than matrix based methods for preserving the intrinsic spectral-spatial structure of the data.
Although tensor based low-rank methods have achieved encouraging results, two key issues have yet to be adequately addressed. First, most existing methods impose low-rank constraints directly on the background tensor through tensor nuclear norm type surrogates or related nonconvex penalties [7], [30], [32], [33]. The resulting optimization usually involves repeated singular value decompositions (SVDs), which become computationally expensive for large-scale HSIs. Second, many methods characterize the anomaly component by the mixed - norm or its variants, where each spatial pixel together with its spectral vector is treated as an independent group [31], [34]. This strategy preserves spectral grouping, but it fixes the spatial partition at the pixel level and therefore cannot flexibly describe anomalous regions with unknown shapes and extents.
To address these limitations, this paper proposes an HAD method based on group sparse low-rank tensor factorization with automatic anomaly grouping, termed GSAA. Instead of directly regularizing the background tensor, GSAA imposes group sparsity on tensor factors to characterize the low tubal rank background with lower computational cost. Instead of predefining each pixel as an independent anomaly group, GSAA introduces a latent grouping map to infer the grouping structure of anomalies from the data. The proposed GSAA model is further applied in both spectral and spatial domains, and the resulting detection maps are fused to construct a spectral-spatial version of GSAA, termed GSAA-SS. An efficient linearized alternating direction method of multipliers (LADMM) algorithm is developed for solving the proposed model, and convergence analysis is provided. The main contributions of this paper are summarized as follows.
-
We propose a group sparse tensor factorization strategy for low-rank background modeling. By imposing group sparsity on tensor factors, the proposed formulation implicitly characterizes the low tubal rank structure, avoiding direct tensor rank regularization and repeated SVD computations. Its connection to tensor Schatten-p regularization is further established to justify the low-rank modeling ability.
-
We develop an automatic anomaly grouping penalty for adaptive anomaly modeling. By introducing a latent grouping map, the proposed penalty learns the grouping structure of anomalies from the data instead of relying on a fixed pixel-level partition, making it more suitable for spatially clustered anomalous targets.
-
We construct a GSAA-SS detector by applying GSAA in the spectral and spatial domains and fusing the corresponding detection maps. The proposed model is optimized by an efficient LADMM algorithm with convergence guarantee, and experiments on real hyperspectral datasets validate its detection accuracy
and computational efficiency.
The remainder of this paper is organized as follows. Section II introduces the preliminaries of tensor algebras and related notations. We present the GSAA-SS model for HAD in Section III. An LADMM based optimization algorithm with convergence guarantee is developed to solve the resulting model in Section IV. Section V reports the experimental results on several real hyperspectral datasets to show the effectiveness of GSAA-SS. Finally, the conclusions are drawn in Section VI. The proof of the main theorem is deferred to the supplementary material.
For a third order tensor , its th entry is denoted by or , and its th frontal slice is denoted by . For two tensors , their inner product is defined as , and the Frobenius norm is defined as . The -norm of counts the number of its nonzero entries. We use to denote the discrete Fourier transform (DFT) of along the third mode, i.e., , and denotes the inverse transform.
Definition 2.1: (f-diagonal tensor) [35] A tensor is called f-diagonal if each of its frontal slices is a diagonal matrix.
Definition 2.2: (conjugate transpose) [35] The conjugate transpose of a tensor , denoted by , is defined as the tensor obtained by taking the conjugate transpose of each frontal slice and then reversing the order of the transposed frontal slices from the second to the last.
Definition 2.3: (identity tensor) [35] The identity tensor is defined as a tensor whose first frontal slice is the identity matrix, while all other frontal slices consist entirely of zeros.
Definition 2.4: (orthogonal tensor) [35] A tensor is said to be orthogonal if , where is the identity tensor.
Definition 2.5: (t-product [35]) For tensors and , the t-product is defined as
Here,
Unfold() = , and its inverse operator “Fold” is defined by Fold(Unfold()) = .
Theorem 2.1: (t-SVD [35]) Any tensor admits a tensor singular value decomposition (t-SVD) of the form , where and are orthogonal tensors, and is an -diagonal tensor.
Definition 2.6: (tubal rank [36]) The tensor tubal rank is the number of nonzero singular tubes in , i.e., , where is obtained from the t-SVD of .
Definition 2.7: (mode- unfolding and folding) Let be a third order tensor. Its mode- unfolding is the matrix , whose columns are mode- fibers arranged lexicographically over the remaining modes. The inverse operation is denoted by .
Definition 2.8: (tensor Schatten- norm [37]) For a tensor with t-SVD , the tensor Schatten- norm is defined as .
III. A GSAA-SS model for HAD
This section presents the proposed GSAA-SS model for HAD. We first revisit the standard low-rank and sparse decomposition view of HAD, which separates an observed HSI into a structured background and a sparse anomaly component. We then develop two modeling components: a group sparse tensor factorization for efficient low-rank background modeling, and an automatic anomaly grouping (AAG) penalty for adaptive anomaly modeling. These two components are integrated into a unified GSAA model, which is further applied in both the spectral and spatial domains. Then the resulting detection maps are fused to obtain the final GSAA-SS detector.
A. General Tensor Based Detection Framework
A broad class of tensor based HAD models can be written as
Here, denotes the observed hyperspectral tensor, represents the background, and denotes the anomaly component. Model (1) follows a common assumption in HAD: the background contains strong spectral-spatial correlation and can be approximated by a low-rank tensor, whereas anomalies appear as sparse deviations from this structured background.
The practical effectiveness of (1) depends critically on how the low-rank and sparse terms are regularized. For the background component, directly minimizing is NP-hard. Existing tensor methods therefore replace it with tractable surrogates such as the weighted nuclear norm [30], the -shrinkage tensor nuclear norm [32], and unified nonconvex penalty functions [7], [33]. Although these
surrogates are effective in modeling low-rank structure, they typically require repeated SVDs, which constitute a major computational bottleneck for large-scale HSIs.
For the anomaly component, many methods exploit the fact that each spatial location is associated with a full spectral vector and replace with the mixed norm or its nonconvex variants [31], [38], [39]. This choice preserves spectral grouping, but it fixes the spatial grouping a priori by treating each pixel as an independent group. Such a finest partition assumption is often too restrictive for HAD, where anomalous targets usually occupy spatially clustered regions with unknown shapes and extents.
The proposed GSAA framework addresses these two issues in a coordinated manner. We first derive a group sparse factorization for efficient low-rank background modeling, and then introduce an automatic anomaly grouping mechanism that learns the spatial grouping structure of anomalies directly from the data.
B. Group Sparse Low-Rank Tensor Factorization
To model the low-rank background efficiently, we factorize the background tensor and impose group sparsity on the tensor factors. The key idea is that the active lateral slices of the factors determine the effective tubal rank of the reconstructed background. Therefore, low-rank structure can be encouraged through factor sparsity instead of direct rank regularization on .
Theorem 3.1: For any tensor with , we have
(1)
(2) for any satisfying .
Here , and .
Remark 3.1: Theorem 3.1 explains why group sparsity on tensor factors can serve as a low-rank prior. The first statement shows that the tubal rank of can be exactly characterized by the number of active groups in and . The second statement further connects group sparse factor penalties with tensor Schatten-p regularization, which supports the low-rank modeling ability of the proposed factorized formulation.
Remark 3.2: The factorized formulation is also computationally favorable. Since low-rankness is imposed through factor regularization, the optimization avoids direct tensor rank regularization and the associated repeated SVD computations. Moreover, the auxiliary dimension d is updated adaptively and, in practice, approaches the tubal rank r, which is usually much smaller than . This leads to a more efficient background model for large HSIs.
C. Automatic Anomaly Grouping
Existing structured sparsity models for HAD usually assume that anomaly groups are known as a prior. A common choice is the mixed norm
where is a prescribed block partition. In hyperspectral applications, the most common partition treats the full spectral vector at each spatial location as a single group, namely,
which yields . This design preserves spectral grouping, but it fixes the spatial partition at the pixel level and cannot adapt to anomalous regions with unknown spatial extent.
To overcome this limitation, we introduce an automatic anomaly grouping (AAG) penalty. The spectral dimension is always kept within each group, while the spatial partition is learned from the data. Specifically, we define
where each anomaly block is defined by , and forms a partition of the spatial index set . In contrast to conventional structured sparsity penalties, the spatial partition is optimized rather than prescribed in advance.
The direct optimization of is combinatorial because the spatial partition is unknown. To obtain a tractable formulation, we rewrite each block term using an auxiliary scalar shared by all pixels in the same spatial group. Following the variational representation in [40, Lemma 1], define
Then each block penalty admits the representation
where the minimum is attained at . Therefore, the original combinatorial penalty can be equivalently rewritten as
This representation leads to a latent grouping map. We introduce by setting for all . Thus, pixels in the same spatial group share the same value in , and connected constant regions of encode the learned spatial partition. Boundaries between neighboring groups correspond to nonzero entries in and .
Therefore, sparsity of these finite differences controls the complexity of the learned grouping structure.
Based on this observation, we relax the combinatorial partition optimization as
where , and . The parameters and control the number of vertical and horizontal changes in , respectively, and thus determine the flexibility of the spatial grouping map.
The AAG penalty interpolates between two meaningful extremes, as formalized below.
Theorem 3.2: For a tensor , we have
(1)
(2)
Remark 3.3: Theorem 3.2 shows that bridges the coarsest and finest spatial partitions. Thus, it preserves spectral group sparsity while allowing the spatial grouping pattern to adapt to the data.
Remark 3.4: Compared with based detectors, AAG estimates both the anomaly tensor and the grouping map . The piecewise constant structure of encodes learned spatial groups and provides a complementary spatially coherent anomaly response.
D. Proposed GSAA-SS Model
By combining the group sparse low-rank background factorization with the AAG penalty, we obtain the unified GSAA model:
where .
In model (4), the factors and model the low-rank background through group sparse regularization, whereas the pair captures the anomaly component together with its adaptively learned spatial grouping structure.
To further exploit the complementary spectral and spatial information in HSIs, we extend the unified GSAA model to a spectral–spatial detection framework, termed GSAA-SS. Specifically, GSAA is separately applied in the spectral and spatial domains of the same HSI , and the resulting detection maps are then fused. In the spectral branch, a matrix version of GSAA is applied to the mode-3 unfolding of to characterize the common background spectral subspace. Pixels that are poorly represented by this subspace yield large residuals and are therefore identified as spectral anomalies. In the spatial branch, principal component analysis (PCA) [41] is first used to reduce the spectral dimension and obtain a compact tensor with , while preserving the main spatial structure [42]. GSAA is then applied to within the t-product framework to capture its low-rank background spatial structure. The overall workflow is illustrated in Fig. 1 and consists of the following three stages.
(1) Spectral-domain detection: The HSI is first unfolded along the spectral mode into the matrix , and a matrix version of GSAA is then applied to the unfolded data:
The optimized AAG map in this branch is denoted by .
(2) Spatial domain detection: For the tensor obtained by PCA, GSAA is applied within the t-product framework:
The optimized AAG map in this branch is denoted by .
(3) Spectral-spatial fusion: The AAG maps and obtained from the spectral and spatial branches, respectively, are fused via element-wise multiplication:
where denotes the Hadamard product.

Fig. 1: Flow chart of GSAA-SS.
IV. Optimization by Linearized Alternating Direction Method of Multipliers
This section develops an efficient LADMM algorithm for solving the proposed GSAA model and provides convergence analysis.
A. LADMM Algorithm
To account for Gaussian noise in real HSI observations, the constrained GSAA model in (4) is converted into the following penalized formulation:
(5)
By introducing four auxiliary variables and , problem (5) can be rewritten as:
(6)
where is the indicator function, , and . The augmented Lagrangian function of (6) is given by
where are the Lagrange multipliers, and are the penalty parameters. The variables are updated alternately, and the resulting subproblems admit closed-form or proximal solutions as described below.
- Update and : The sub-problem to update is
where . To address the aforementioned problem, we linearize the term at the current iterate point . Consequently, the original problem can be reformulated in a relaxed manner as
Then the update of is given by
where and with .
The sub-problem to update is
Analogous to the update of , the update of is given by
where and .
- Update and : The sub-problem to update is
- Update : The sub-problem to update is
- Update : The sub-problem to update is
To optimize the problem, we reformulate it as the following linear system
where , and . The operator corresponds to a block-10 circulant matrix, which can be diagonalized using a two-dimensional fast Fourier transform matrix. Applying the Fourier transform to both sides of equation (11) and employing the convolution theorem, as shown in [7], [43], we can readily derive the closed-form solution for as follows
where 1 represents the matrix with all elements as is the element-wise multiplication, is the Fourier transform, and is the element-wise square operation.
- Update : The sub-problem to update U is
- Update : The sub-problem to update V is
(14)
The complete LADMM procedure is summarized in Algorithm 4.1.
The remaining implementation details are the proximal mappings used in Algorithm 4.1.
(1) : Following [7, Theorem 4.1], the proximal mapping is defined as
where . The proximal mapping of considered here is classical, as given in [44].
(2) : We first note that is separable, i.e.,
where . To further simplify the computation, we introduce the following lemma.
Lemma 4.1: For a given vector and scalar , we have
Algorithm 4.1 The LADMM algorithm for problem (6)
Input: , , , , , and , , , , , , , , .
Output: .
1 ;
2 while not converged do
3 | Update according to (7).
4 | Update according to (8).
5 | Update according to (9).
6 | Update according to (10).
7 | Update according to (12).
8 | Update according to (13).
9 | Update according to (14).
10 | Update multipliers and penalty parameters according to
Remove the zero lateral slices of and .
end
where .
Proof. It is clear that when . Therefore, we only need to consider in the following. From , one has
which completes the proof.
By this lemma, computing reduces to evaluating , whose closed form is given in [45, Example 2.4]:
Let , , and . The variable s is computed by
(3) : Let be an arbitrary vector and a given radius. The projection of onto the -ball, defined as , is denoted . This projection can be expressed concisely and computed efficiently as follows
where is defined as the -th largest absolute value in the descendingly sorted vector components.
B. Computation Complexity
In each iteration of Algorithm 4.1, the dominant cost comes from t-products and FFT operations. Updating and requires two t-products with complexity , while updating requires one t-product with complexity . The update of is solved by FFT and inverse FFT with complexity . The updates of and cost , and the projections for and cost . Therefore, the overall per-iteration complexity is .
C. Convergence Analysis
For convergence analysis, denote , where collects the primal variables and collects the dual variables. The following result establishes subsequent convergence of Algorithm 4.1 for problem (6).
Theorem 4.1: Let be the sequence produced by Algorithm 4.1. Assume that the sequence is bounded. Then every accumulation point of is a Karush–Kuhn–Tucker (KKT) point of the optimization problem (6).
V. Numerical Experiments
This section evaluates the proposed GSAA-SS detector on five real hyperspectral scenes. All experiments were conducted on a computer with an Intel Core i5-12500H CPU (2.50 GHz) and 16 GB RAM. All methods were implemented in MATLAB R2022a and applied to the raw hyperspectral data without additional preprocessing.
The proposed method is compared with ten representative hyperspectral anomaly detectors, including RX [10], RPCA [24], LRASR [29], Turbo-GoDec [23], PTA [26], TPCA [46], PCA-TLRSR [30], RGAE [16], GAED [47], and LCRS [48]. RX is a classical statistical detector. RPCA is a matrix low-rank decomposition method that separates sparse anomalies from a low-rank background and then applies RX to the anomaly component. LRASR is a matrix representation based detector using a dictionary driven background representation. Turbo-GoDec extends the classical GoDec framework by incorporating a spatial cluster sparsity prior for anomalies. PTA and TPCA are tensor based low-rank detectors, where PTA additionally introduces total variation regularization to exploit spatial smoothness. PCA-TLRSR is a tensor representation based method that employs PCA for spectral
redundancy reduction and subsequent tensor representation modeling. RGAE and GAED are deep learning based detectors. LCRS is an efficient saliency based detector that combines multi-scale spectral local contrast with three-dimensional spectral residual saliency.
For quantitative evaluation, let denote the probability of detection and denote the false-alarm rate. We use the area under the curve (AUC) of the receiver operating characteristic (ROC) curve as the primary metric, where the ROC curve plots against . A larger AUC indicates better detection accuracy.
A. Dataset Description
The experiments use five real hyperspectral scenes selected from two public data sources, which are described in detail below.
(1) Airport-Beach-Urban Dataset : The Airport-Beach-Urban (ABU) dataset contains hyperspectral images from airport, beach, and urban scenes. The spatial size of each image is either or , and the number of spectral bands is approximately 100 or 200 depending on the sensor. Four scenes are selected in this paper, including two airport scenes, one beach scene, and one urban scene. Their pseudo-color images and ground-truth maps are shown in Fig. 2(a)–(d).
(2) San Diego Dataset : The San Diego dataset contains an airport scene captured by the Airborne Visible/Infrared Imaging Spectrometer (AVIRIS). It was acquired over San Diego with a spatial resolution of 3.5 m/pixel and contains 189 spectral bands covering wavelengths from 370 to 2510 nm. Following common experimental settings, a subimage is used. Its pseudo-color image and ground-truth map are shown in Fig. 2(e).

(a)
(b)
(c)
(d)
(e)
Fig. 2: Pseudo-color images and ground-truth maps: (a) Airport1; (b) Airport2; (c) Beach; (d) Urban; (e) San Diego.
B. Detection Performance
Fig. 3 shows the detection maps produced by all compared methods on the five test scenes. The proposed GSAA-SS detector provides clearer anomaly responses while maintaining stronger background suppression in
http://xudongkang.weebly.com/data-sets.html
https://aviris.jpl.nasa.gov/data/index.html most cases. On Airport2, RX, RPCA, LRASR, Turbo-GoDec, TPCA, RGAE, and LCRS miss part of the anomalous targets, whereas PTA, PCA-TLRSR, and GAED recover more targets but also retain visible background interference, especially in the lower-left region. GSAA-SS better separates the target region from the background. On Urban, RX, RPCA, LRASR, Turbo-GoDec, and LCRS suppress the background effectively but also weaken several anomaly pixels. PTA, TPCA, PCA-TLRSR, RGAE, and GAED preserve more anomaly responses but introduce stronger false responses in the upper-right and lower-left areas. In contrast, GSAA-SS produces compact and prominent anomaly responses with fewer background artifacts.
Fig. 4 reports the ROC curves on the five datasets. On Airport2, GSAA-SS achieves a higher detection probability than the competing methods across almost the entire false-alarm range. On Beach and San Diego, its superiority is particularly pronounced when ; this advantage is also evident on Urban when and on Airport1 when . These ROC results show that the proposed detector maintains favorable detection capability under different false-alarm constraints.
Table I lists the AUC values and running time (in seconds) of all methods. GSAA-SS obtains the highest AUC on all five datasets. Compared with the second-best result on each dataset, the improvements are 3.17%, 2.41%, 1.71%, 1.02%, and 0.09%, respectively. The corresponding second-best methods are LCRS, GAED, Turbo-GoDec, PCA-TLRSR, and PCA-TLRSR. These results indicate that GSAA-SS can obtain robust performance across scenes with varying background complexity and anomaly distributions. The runtime results in Table I further show the computational advantage of the proposed factorized model. Although RX is the fastest method, its detection accuracy is much lower than that of GSAA-SS. Among the remaining methods, GSAA-SS achieves the lowest runtime on average across the tested datasets, while maintaining highly competitive efficiency on each individual dataset. It is about twice as fast as PCA-TLRSR and is at least twenty-five times faster than RGAE and GAED on average. This efficiency is consistent with the complexity analysis in Section IV, because the proposed model avoids repeated large-scale SVDs and adaptively reduces the factor dimension during optimization.
To further examine separability, Fig. 5 presents normalized background-anomaly separation maps. A larger gap between the anomaly and background distributions indicates better separability. On Airport1, Airport2, and Beach, GSAA-SS produces a clearer separation gap than the competing methods. On Urban, RX, RPCA, PCA-TLRSR, and GSAA-SS show comparable separation, while the other methods exhibit stronger overlap between anomaly and background responses. On San Diego, PCA-TLRSR and GSAA-SS achieve similar separability, but PCA-TLRSR is less stable on Airport1, Airport2, and Beach. Overall, GSAA-SS provides consistently strong separability across all tested scenes.
C. Discussions
This subsection begins with an analysis of how different parameters affect performance, followed by a discussion of the model's novel contributions.
- Parameter analysis: The proposed model contains five model parameters, namely , , , , and , and four algorithm parameters, namely and for . In all experiments, the initial penalty parameters are set as and . The parameter is selected from , while is fixed at 1.2. Following the convergence requirement, is updated as .
We first evaluate the sensitivity to and . The parameter is selected from , and varies from 0.2 to 1 with an interval of 0.1. Fig. 6 shows the resulting AUC surfaces. The proposed method is stable when and . Therefore, we set and in the following experiments.
We then examine the influence of and , which control the number of vertical and horizontal changes in the learned grouping map. Both parameters are selected from . Fig. 7 reports the corresponding AUC surfaces. The performance is insensitive to moderate changes in and : for all datasets except Beach, the variation of AUC is below 0.5%, and the largest variation on Beach is about 2%. We also observe that the preferred value of tends to increase when more anomaly blocks are present. Therefore, we fix and set for scenes with few anomaly blocks and for scenes with more anomaly blocks.
-
Adaptive dimensional reduction during iterations: In our model, the large tensor is factorized via the t-product into two smaller tensors, and , where the shared dimension controls the complexity of the decomposition. In Algorithm 4.1, is adaptively reduced at Step 11. Fig. 8 illustrates the evolution of the auxiliary dimension during each iteration of Algorithm 4.1 for both the spatial domain and the spectral domain. Initially equals the full tensor size but collapses sharply within a few iterations to a small stable value. After this rapid drop, remains fixed for the rest of the optimization. This early convergence of demonstrates that the algorithm immediately eliminates redundant dimensions and thereafter incurs only the low-rank cost determined by the converged value of , yielding substantial savings in computation time.
-
Effects of automatic anomaly grouping and spectral-spatial fusion: Table II verifies the effects of AAG and spectral-spatial fusion by reporting the values of different detection maps. Algorithm 4.1 produces and in the spatial domain, and and in the spectral domain. The anomaly magnitude maps are computed as and . The fused maps are obtained by element-wise multiplication, i.e., and .
Background
Anomaly

(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
Fig. 3: Detection results of different methods on five datasets: (a) RX; (b) RPCA; (c) LRASR; (d) Turbo-GoDec; (e) PTA; (f) TPCA; (g) PCA-TLRSR; (h) RGAE; (i) GAED; (j) LCRS; (k) GSAA-SS.

(a) Airport1
(b) Airport2
(c) Beach
(d) Urban
(e) San Diego
Fig. 4: ROC curves obtained by different methods.
TABLE I: Comparison of AUC values and running time(s) of different methods.
| HSI | Index | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RX | RPCA | LRASR | Turbo-GoDec | PTA | TPCA | PCA-TLRSR | RGAE | GAED | LCRS | GSAA-SS | ||
| Airport1 | AUC | 0.8221 | 0.8088 | 0.7942 | 0.8672 | 0.7331 | 0.8023 | 0.9057 | 0.8684 | 0.8133 | 0.9237 | 0.9530 |
| Time (s) | 0.06 | 4.23 | 18.45 | 15.36 | 16.04 | 19.51 | 2.56 | 52.79 | 42.80 | 1.91 | 1.94 | |
| Airport2 | AUC | 0.8404 | 0.8428 | 0.8689 | 0.9299 | 0.9096 | 0.8891 | 0.9458 | 0.9645 | 0.9673 | 0.8998 | 0.9906 |
| Time (s) | 0.05 | 4.50 | 19.75 | 14.98 | 16.32 | 19.58 | 2.56 | 52.02 | 41.58 | 1.94 | 1.70 | |
| Beach | AUC | 0.9538 | 0.9603 | 0.9504 | 0.9776 | 0.9061 | 0.9583 | 0.9599 | 0.9062 | 0.9368 | 0.9045 | 0.9943 |
| Time (s) | 0.04 | 2.05 | 43.72 | 26.43 | 17.53 | 22.33 | 6.66 | 219.39 | 73.75 | 3.11 | 2.50 | |
| Urban | AUC | 0.9692 | 0.9658 | 0.9293 | 0.9536 | 0.8258 | 0.9370 | 0.9711 | 0.9510 | 0.8986 | 0.9429 | 0.9810 |
| Time (s) | 0.06 | 3.96 | 19.91 | 15.51 | 15.64 | 20.08 | 2.56 | 57.09 | 42.38 | 2.02 | 1.67 | |
| San Diego | AUC | 0.9106 | 0.9264 | 0.7847 | 0.9768 | 0.9895 | 0.9075 | 0.9970 | 0.9930 | 0.9918 | 0.9500 | 0.9979 |
| Time (s) | 0.38 | 5.53 | 18.22 | 12.49 | 14.68 | 20.95 | 2.92 | 100.88 | 40.98 | 1.66 | 1.41 | |

(a) Airport1
(b) Airport2
(c) Beach
(d) Urban
(e) San Diego
Fig. 5: Separability maps of different methods.

(a) Airport1
(b) Airport2
(c) Beach
(d) Urban
(e) San Diego
Fig. 6: Surfaces of AUC values of the result by our method with different and p.

(a) Airport1
(b) Airport2
(c) Beach
(d) Urban
(e) San Diego
Fig. 7: Surfaces of AUC values of the result by our method with different and .

(a) Spatial domain
(b) Spectral domain
Fig. 8: Variation of d values across iterations for Algorithm 4.1, shown separately for the spatial and spectral domains.
In both spatial and spectral domains, consistently outperforms on all datasets. This result indicates that the learned grouping map provides a more spatially coherent anomaly response than the anomaly magnitude map alone. Combined with the parameter analysis in Fig. 7, the results also show that finite and improve anomaly modeling compared with the limiting case , where Theorem 3.2 reduces the AAG penalty to the conventional form.
The fusion results further demonstrate the benefit of combining spectral and spatial information. Both and generally outperform their single-domain counterparts, with only minor exceptions. In particular, achieves the highest AUC on four of the five datasets, and on Airport1, it is only 0.0029 lower than the best single-domain result. These observations confirm that AAG and spectral-spatial fusion are both important to the final performance of GSAA-SS.
TABLE II: Comparison of AUC values of different anomaly detection maps.
| HSI | Spatial Domain | Spectral Domain | Fusion Method | |||
|---|---|---|---|---|---|---|
| Airport1 | 0.9178 | 0.9559 | 0.8288 | 0.8541 | 0.9303 | 0.9530 |
| Airport2 | 0.9198 | 0.9872 | 0.8896 | 0.9678 | 0.9476 | 0.9906 |
| Beach | 0.9268 | 0.9857 | 0.9720 | 0.9825 | 0.9535 | 0.9943 |
| Urban | 0.9299 | 0.9731 | 0.9662 | 0.9674 | 0.9545 | 0.9810 |
| San Diego | 0.9824 | 0.9978 | 0.9688 | 0.9752 | 0.9878 | 0.9979 |
VI. Conclusions
This paper presented GSAA, an HAD model based on group sparse low-rank tensor factorization with automatic anomaly grouping. In this framework, the background is modeled by imposing group sparsity on the tensor factors, which provides an efficient alternative to direct tensor rank regularization and avoids repeated large-scale SVD computations. For anomaly modeling, the AAG penalty introduces a latent grouping map, enabling spatially coherent anomaly structures to be learned adaptively from the data rather than specified by a predefined pixel-wise partition. To further leverage complementary spectral and spatial information, GSAA was extended to a spectral-spatial framework, leading to GSAA-SS. An efficient LADMM algorithm was developed to solve the resulting optimization problem, and its convergence was theoretically analyzed. Experimental results on five real hyperspectral scenes demonstrate that GSAA-SS achieves accurate anomaly detection and competitive computational efficiency relative to representative existing methods.
References
[1] T. Lillesand, R. W. Kiefer, and J. Chipman, Remote sensing and image interpretation. John Wiley & Sons, 2015.
[2] Z. Tu, J. Lu, H. Zhu, H. Pan, W. Hu, Q. Jiang, and Z. Lu, "A new nonconvex low-rank tensor approximation method with applications to hyperspectral images denoising," Inverse Probl., vol. 39, no. 6, p. 065003, Apr. 2023.
[3] Y.-B. Zheng, J.-L. Wang, and X.-L. Zhao, Hyperspectral Image Denoising Based on Tensor Models. Wiley-IEEE Press, 2026, ch. 3, pp. 51–72.
[4] K. Yang, M. Bai, T. Lu, and L. Chen, “A coarse-to-fine hybrid registration and fusion framework for hyperspectral superresolution via batch image alignment,” SIAM J. Imaging Sci., vol. 19, no. 2, pp. 1207–1243, May 2026.
[5] L. Shan, Z. Yang, L. T. Yang, C. Li, H. Zhao, and X. Nie, “Bayesian fully-connected tensor network for hyperspectral-multispectral image fusion,” IEEE Trans. Image Process., vol. 35, pp. 5910–5925, 2026.
[6] W. Qin, H. Wang, H. Shu, F. Zhang, J. Wang, X. Cao, X.-L. Zhao, and G. Vivone, “Hyperspectral anomaly detection fused unified nonconvex tensor ring factors regularization,” IEEE Trans. Geosci. Remote Sens., vol. 63, 2025.
[7] Q. Yu and M. Bai, “Generalized nonconvex hyperspectral anomaly detection via background representation learning with dictionary constraint,” SIAM J. Imaging Sci., vol. 17, no. 2, pp. 917–950, Apr. 2024.
[8] D. Hong, L. Gao, N. Yokoya, J. Yao, J. Chanussot, Q. Du, and B. Zhang, “More diverse means better: Multimodal deep learning meets remote-sensing imagery classification,” IEEE Trans. Geosci. Remote Sens., vol. 59, no. 5, pp. 4340–4354, May 2021.
[9] H. Su, Z. Wu, H. Zhang, and Q. Du, “Hyperspectral anomaly detection: A survey,” IEEE Geosci. Remote Sens. Mag., vol. 10, no. 1, pp. 64–90, Mar. 2022.
[10] I. Reed and X. Yu, “Adaptive multiple-band CFAR detection of an optical pattern with unknown spectral distribution,” IEEE Trans. Acoust. Speech Signal Process., vol. 38, no. 10, pp. 1760–1770, Oct. 1990.
[11] Q. Guo, B. Zhang, Q. Ran, L. Gao, J. Li, and A. Plaza, “Weighted-RXD and linear filter-based RXD: Improving background statistics estimation for anomaly detection in hyperspectral imagery,” IEEE J. Sel. Topics Appl. Earth Observ. Remote Sens., vol. 7, no. 6, pp. 2351–2366, Jun. 2014.
[12] S. Matteoli, T. Veracini, M. Diani, and G. Corsini, “Models and methods for automated background density estimation in hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 51, no. 5, pp. 2837–2852, May 2013.
[13] F. Han, H. Sun, L. Gao, H. Yu, L. Qian, and X. Sun, “Spectral-spatial enhanced local contrast strategy for hyperspectral small air target detection,” IEEE Trans. Image Process., vol. 35, pp. 3609–3622, 2026.
[14] N. Huyan, X. Zhang, H. Zhou, and L. Jiao, “Hyperspectral anomaly detection via background and potential anomaly dictionaries construction,” IEEE Trans. Geosci. Remote Sens., vol. 57, no. 4, pp. 2263–2276, Apr. 2019.
[15] E. Bati, A. Çalşkan, A. Koz, and A. A. Alatan, “Hyperspectral anomaly detection method based on auto-encoder,” in Proc. SPIE, vol. 9643, Oct. 2015, pp. 220–226.
[16] G. Fan, Y. Ma, X. Mei, F. Fan, J. Huang, and J. Ma, “Hyperspectral anomaly detection with robust graph autoencoders,” IEEE Trans. Geosci. Remote Sens., vol. 60, 2022.
[17] B. Tu, T. Zhou, B. Liu, Y. He, J. Li, and A. Plaza, “Multi-scale autoencoder suppression strategy for hyperspectral image anomaly detection,” IEEE Trans. Image Process., vol. 34, pp. 5115–5130, 2025.
[18] W. Li, G. Wu, and Q. Du, “Transferred deep learning for anomaly detection in hyperspectral imagery,” IEEE Geosci. Remote Sens. Lett., vol. 14, no. 5, pp. 597–601, May 2017.
[19] B. Tu, B. He, Y. He, T. Zhou, B. Liu, J. Li, and A. Plaza, “Self-supervised masked graph autoencoder for hyperspectral anomaly detection,” IEEE Trans. Image Process., vol. 34, pp. 6714–6729, 2025.
[20] L. Gao, D. Wang, L. Zhuang, X. Sun, M. Huang, and A. Plaza, “BS LNet: A new blind-spot self-supervised learning network for hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 61, 2023.
[21] D. Wang, L. Zhuang, L. Gao, X. Sun, M. Huang, and A. J. Plaza, “PDBSNet: Pixel-shuffle downsampling blind-spot reconstruction network for hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 61, 2023.
[22] D. Wang, L. Ren, X. Sun, L. Gao, and J. Chanussot, “Nonlocal and local feature-coupled self-supervised network for hyperspectral anomaly detection,” IEEE J. Sel. Topics Appl. Earth Observ. Remote Sens., vol. 18, pp. 6981–6993, 2025.
[23] J. Sheng, X. Li, and S. Chen, “Turbo-GoDec: Exploiting the cluster sparsity prior for hyperspectral anomaly detection,” IEEE Transactions on Multimedia, vol. 28, pp. 6152–6165, 2026.
[24] W. Sun, C. Liu, J. Li, Y. M. Lai, and W. Li, “Low-rank and sparse matrix decomposition-based anomaly detection for hyperspectral imagery,” J. Appl. Remote Sens., vol. 8, no. 1, p. 083641, May 2014.
[25] Y. Zhang, B. Du, L. Zhang, and S. Wang, “A low-rank and sparse matrix decomposition-based Mahalanobis distance method for hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 54, no. 3, pp. 1376–1389, Mar. 2016.
[26] L. Li, W. Li, Y. Qu, C. Zhao, R. Tao, Q. Du, “Prior-based tensor approximation for anomaly detection in hyperspectral imagery,” IEEE Trans. Neural Netw. Learn. Syst., vol. 33, no. 3, pp. 1037–1050, Mar. 2022.
[27] Y. Wang, W. Li, Y. Gui, H. Xie, and L. Zhang, “A generalized non-convex surrogated framework for anomaly detection on blurred hyperspectral images,” IEEE Trans. Image Process., vol. 34, pp. 3108–3122, 2025.
[28] T. Cheng and B. Wang, “Graph and total variation regularized low-rank representation for hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 58, no. 1, pp. 391–406, Jan. 2020.
[29] Y. Xu, Z. Wu, J. Li, A. Plaza, and Z. Wei, “Anomaly detection in hyperspectral images based on low-rank and sparse representation,” IEEE Trans. Geosci. Remote Sens., vol. 54, no. 4, pp. 1990–2000, Apr. 2016.
[30] M. Wang, Q. Wang, D. Hong, S. K. Roy, and J. Chanussot, “Learning tensor low-rank representation for hyperspectral anomaly detection,” IEEE Trans. Cybern., vol. 53, no. 1, pp. 679–691, Jan. 2023.
[31] Q. Yu, Y.-H. Dai, and M. Bai, “Spectral-spatial extraction through layered tensor decomposition for hyperspectral anomaly detection,” SIAM J. Imaging Sci., vol. 19, no. 2, pp. 807–838, Apr. 2026.
[32] X. He, J. Wu, Q. Ling, Z. Li, Z. Lin, and S. Zhou, “Anomaly detection for hyperspectral imagery via tensor low-rank approximation with multiple subspace learning,” IEEE Trans. Geosci. Remote Sens., vol. 61, 2023.
[33] H. Qin, Q. Shen, H. Zeng, Y. Chen, and G. Lu, “Generalized nonconvex low-rank tensor representation for hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 61, 2023.
[34] Q. Feng, W. Kong, X.-L. Zhao, and J. Wang, “Kernel Bayesian robust tensor factorization for hyperspectral anomaly detection,” IEEE Trans. Geosci. Remote Sens., vol. 64, 2026.
[35] M. E. Kilmer and C. D. Martin, “Factorization strategies for third-order tensors,” Linear Algebra Appl., vol. 435, no. 3, pp. 641–658, Aug. 2011.
[36] M. E. Kilmer, K. Braman, N. Hao, and R. C. Hoover, “Third-order tensors as operators on matrices: A theoretical and computational framework with applications in imaging," SIAM J. Matrix Anal. Appl., vol. 34, no. 1, pp. 148–172, Jan. 2013.
[37] H. Kong, X. Xie, and Z. Lin, "t-schatten-p norm for low-rank tensor recovery," IEEE J. Sel. Topics Signal Process., vol. 12, no. 6, pp. 1405–1419, Dec. 2018.
[38] Y. Wang, Z. Liu, Y. Zhao, X. Xu, and H. Mou, "Toward robust hyperspectral anomaly detection: A quantile-regression-guided joint low-rank and sparse representation framework," IEEE Trans. Geosci. Remote Sens., vol. 64, 2026.
[39] D. Li, Y. Lv, F. Kong, and Q. Wang, "Hyperspectral compressed reconstruction for anomaly detection based on structured spectral dual-tensor coupled decomposition," IEEE Trans. Instrum. Meas., vol. 75, 2026.
[40] H. Kuroda and D. Kitahara, "Block-sparse recovery with optimal block partition," IEEE Trans. Signal Process., vol. 70, pp. 1506–1520, 2022.
[41] C. Rodarmel and J. Shan, "Principal component analysis for hyperspectral image classification," Surv. Land Inf. Sci., vol. 62, no. 2, pp. 115–122, 2002.
[42] I. T. Jolliffe and J. Cadima, "Principal component analysis: A review and recent developments," Philos. Trans. Royal Soc. A, vol. 374, no. 2065, p. 20150202, Apr. 2016.
[43] D. Krishnan and R. Fergus, "Fast image deconvolution using hyper-laplacian priors," in Proc. 23rd Int. Conf. Neural Inf. Process. Syst. Red Hook, NY, USA: Curran Associates Inc., Dec. 2009, pp. 1033–1041.
[44] G. Marjanovic and V. Solo, "On optimization and matrix completion," IEEE Trans. Signal Process., vol. 60, no. 11, pp. 5714–5724, Nov. 2012.
[45] P. L. Combettes and C. L. Müller, “Perspective maximum likelihood-type estimation via proximal decomposition,” Electron. J. Stat., vol. 14, no. 1, Jan. 2020.
[46] Z. Chen, B. Yang, and B. Wang, “A preprocessing method for hyperspectral target detection based on tensor principal component analysis,” Remote Sens., vol. 10, no. 7, p. 1033, Jun. 2018.
[47] P. Xiang, S. Ali, S. K. Jung, and H. Zhou, “Hyperspectral anomaly detection with guided autoencoder,” IEEE Trans. Geosci. Remote Sens., vol. 60, 2022.
[48] L. Hu, J. Yue, D. Zhao, and D. Yang, “Multi-scale spectral local contrast meets 3-D residual saliency for hyperspectral anomaly detection,” IEEE Geosci. Remote Sens. Lett., vol. 23, 2026.
[49] R. A. Horn and C. R. Johnson, Topics in Matrix Analysis. Cambridge University Press, 1991.
[50] P. Zhou, C. Lu, Z. Lin, and C. Zhang, “Tensor factorization for low-rank tensor completion,” IEEE Trans. Image Process., vol. 27, no. 3, pp. 1152–1163, Mar. 2018.
[51] P. L. Combettes, “Perspective functions: Properties, constructions, and examples,” Set-Valued Var. Anal., vol. 26, no. 2, pp. 247–264, Apr. 2018.