Hyperspectral compression cannot be judged solely by "likeness," but also by "separability."
In the previous article,Hyperspectral compressionThe core objective is to compress dozens or even hundreds of bands into a small number of features while retaining as much useful information as possible.But here we immediately encounter a more crucial question: what constitutes "useful information"? If the goal is simply to restore the original spectrum after compression, then the evaluation criteria could be...Reconstruction errorHowever, if the subsequent task is land cover classification, then what really matters is not how similar the spectral curves are to the actual data, but whether the compressed features can still separate different land cover features.
Traditionally, many hyperspectral compression methods prioritize reconstruction error. That is, they first compress the original hyperspectral pixels into low-dimensional features, then reconstruct the original spectral curve from these low-dimensional features, and finally compare the reconstructed result with the original curve. If the difference is small, it indicates...Low-dimensional representationA significant amount of original information is retained; a large difference indicates substantial information loss. This evaluation approach is reasonable, as the reconstruction error does reflect the degree to which the compression result preserves the original signal.
But the problem is,A realistic reconstruction does not guarantee an accurate classification.Reconstruction tasks focus on "restoring as many spectral variations as possible," while classification tasks focus on "preserving key variations that distinguish categories." Some spectral details are important for the reconstruction curve but may not be useful for distinguishing roofs, roads, vegetation, and shadows; some differences are very subtle across the entire spectral curve but may happen to fall within the most discriminative bands, significantly impacting classification results. Therefore, the same compressed representation can receive different evaluations regarding reconstruction fidelity and category separability.

Figure 1.Reconstruction fidelity and class separability are two different evaluation objectives.
The experimental design of this paper revolves around this problem. The researchers used three high spatial resolution hyperspectral images, representing a rural-urban transition zone, an urban area, and a forest area, respectively. Each pixel originally contained 301 spectral dimensions, which were then compressed using PCA, KPCA, ICA, an autoencoder (AE), and a denoising autoencoder (DAE). The compressed low-dimensional features were then fed into an XGBoost classifier to complete pixel-level classification.Land feature classification。
To compare different compression conditions within the same framework, the researchers retrained a dataset for each combination of compression method, compression ratio, and dataset.XGBoostClassifiers. The paper actually used 98 compression ratio levels, so the total number is 98 compression ratios multiplied by 5 methods, then multiplied by 3 datasets, for a total of 1470 classifiers. This is not to stack the number of models, but to ensure that each low-dimensional representation is evaluated separately by a classifier of the same type and with the same training settings, so that the classification differences can reflect as much as possible whether the compressed features themselves retain useful information.
This experimental approach is valuable because it doesn't simply compare who can reconstruct the spectral curve more accurately, but rather compares who can make the classifier more precise. In other words,It has shifted hyperspectral compression from a "reconstruction-oriented" to a "mission-oriented" approach.This is very important for practical remote sensing applications.The ultimate goal of hyperspectral processing is often not to obtain a more aesthetically pleasing reconstruction curve, but rather to accomplish specific tasks such as land cover classification, target detection, ecological monitoring, or quantitative inversion.。

Figure 2.F1 score of compressed data varies with compression ratio
Looking at the overall trend in the graph, as the compression ratio increases, fewer feature dimensions are retained, and classification performance typically declines gradually. This aligns with intuition: the more drastic the compression, the more information is lost, and the more easily classification is affected. Interestingly, however, classification performance doesn't collapse rapidly from the outset. The paper points out that even with compression ratios exceeding 80%, almost all methods still achieve an F1-score higher than 0.85. This indicates that hyperspectral data does indeed contain a significant amount of redundancy, and removing a considerable portion of dimensions does not immediately destroy classification capabilities.
More noteworthy is the area around 95%. Compressing the 301-dimensional spectrum to approximately 15 dimensions significantly reduces the data size, but in some scenarios, the crucial information needed for classification can still be preserved. In data from urban-rural transition zones, the AE (Advanced Image Processing) performs exceptionally well around 95% to 97%; in urban data, the AE, even at high compression rates, approaches or reaches the classification level of linear methods. Further compression, especially when the compression rate approaches 97%, causes some curves to decline significantly. The reason is straightforward: earlier compression primarily removes redundancy, while excessive compression may begin to destroy the truly discriminative spectral structure. In this case study, around 95% is a high-value range worth focusing on, suggesting that we can conduct intensive experiments around 90% to 95%, but the final choice should still be determined by the validation results of the specific task.
Different methods also exhibit different characteristics in this process.PCA is generally stable at low and medium compression rates, making it suitable as a foundational solution for projects; KPCA can handle nonlinear relationships, but its computational cost is higher; ICA exhibits unique variations in certain compression ranges and is more sensitive to data distribution; AE has greater potential at high compression rates because it can learn low-dimensional representations of nonlinearities; DAE incorporates noise in its design, but the fluctuations in training results are more noteworthy. In other words, methods cannot be ranked solely based on a single curve; rather, compression rate, data scenario, training stability, and computational resources should all be considered simultaneously.

picture 3. Spectral dimensional pressureShrink 9Pixel classification results after 5%
The classification map makes this result more intuitive. Even though the 301-dimensional spectrum has been compressed to about 15 dimensions, different methods can still recover fairly clear ground feature distributions. However, it also reminds us that looking at the overall F1-score alone is not enough. Models with similar overall scores may perform differently on roof edges, shaded areas, or a few categories; for small, easily confused ground features, local errors are often not fully reflected in the average score. Therefore, when evaluating the compression results, in addition to looking at the overall score, we should also check the classification map, the F1-scores of each category, the recall rate, and the confusion matrix.
Ultimately, the significance of hyperspectral compression goes beyond simply reducing the amount of data.It actually answers a more fundamental question: when faced with hundreds of consecutive bands, what should we retain? Compression is not simple deletion, but information filtering; dimensionality reduction is not simply shrinking, but reorganizing the representation. For classification tasks, what truly matters is not whether the compressed spectrum can be completely restored, but whether different categories can still be separated. For detection tasks, what needs to be retained may be anomaly sensitivity; for quantitative inversion, what needs to be retained may be physical consistency. Different tasks require different information, and the most suitable compression method and compression ratio will naturally not be exactly the same.
The value of hyperspectral compression lies precisely in this: it makes us realize that remote sensing data is not about having as much information as possible, but rather about having the most useful information concentrated within it.When faced with hundreds of frequency bands,The real question is not "can we use everything?", but "can we keep the most critical parts?"
[1] Mantripragada K, Dao PD, He Y, Qureshi FZ. The effects of spectral dimensionality reduction on hyperspectral pixel classification: A case study. PLoS One. 2022 Jul 14;17(7):e0269174. doi: 10.1371/journal.pone.0269174. PMID: 35834472; PMCID: PMC9282587.

