# Non-Destructive Freshness Assessment of Atlantic Salmon (Salmo salar) via Hyperspectral Imaging and an SPA-Enhanced Transformer Framework

**Authors:** Zhongquan Jiang, Yu Li, Mincheng Xie, Hanye Zhang, Haiyan Zhang, Guangxin Yang, Peng Wang, Tao Yuan, Xiaosheng Shen

PMC · DOI: 10.3390/foods15040725 · 2026-02-15

## TL;DR

This paper introduces a non-destructive method using hyperspectral imaging and a Transformer model to assess the freshness of Atlantic salmon efficiently and accurately.

## Contribution

The novel framework combines hyperspectral imaging with a Transformer deep learning model enhanced by the Successive Projections Algorithm for freshness assessment.

## Key findings

- The Transformer model with Savitzky-Golay smoothing achieved high accuracy (R² ≥ 0.97) for predicting freshness indicators.
- Using 30 characteristic wavelengths selected by SPA maintained high precision while improving computational efficiency sixfold.
- The study confirms the effectiveness of attention-based deep learning in hyperspectral data analysis for food freshness.

## Abstract

Monitoring the freshness of Salmo salar within cold chain logistics is paramount for ensuring food safety. However, conventional physicochemical and microbiological assays are impeded by inherent limitations, including destructiveness and significant time latency, rendering them inadequate for the real-time, non-invasive inspection demands of modern industry. Here, we present a novel detection framework synergizing hyperspectral imaging (400–1000 nm) with the Transformer deep learning architecture. Through a rigorous comparative analysis of twelve preprocessing protocols and four feature wavelength selection algorithms (Lasso, Genetic Algorithm, Successive Projections Algorithm, and Random Frog), prediction models for Total Volatile Basic Nitrogen (TVB-N) and Total Viable Count (TVC) were established. Furthermore, the capacity of the Transformer to capture long-range spectral dependencies was systematically investigated. Experimental results demonstrate that the model integrating Savitzky-Golay (SG) smoothing with the Transformer yielded optimal performance across the full spectrum, achieving determination coefficients (R2) of 0.9716 and 0.9721 for the Prediction Sets of TVB-N and TVC, respectively. Following the extraction of 30 characteristic wavelengths via the Successive Projections Algorithm (SPA), the streamlined model retained exceptional predictive precision (R2 ≥ 0.95) while enhancing computational efficiency by a factor of approximately six. This study validates the superiority of attention-mechanism-based deep learning algorithms in hyperspectral data analysis. These findings provide a theoretical foundation and technical underpinning for the development of cost-effective, high-efficiency portable multispectral sensors, thereby facilitating the intelligent transformation of the aquatic product supply chain.

## Linked entities

- **Species:** Salmo salar (taxon 8030)

## Full-text entities

- **Genes:** myoglobin [NCBI Gene 100195613], HBG2 (hemoglobin subunit gamma 2) [NCBI Gene 3048] {aka HBG-T1, TNCY}, MB (myoglobin) [NCBI Gene 4151] {aka MYOSB, PVALB}
- **Diseases:** injury to (MESH:D014947), ecchymosis (MESH:D004438), NLP (MESH:D007806)
- **Chemicals:** Basic Nitrogen (-), Hydroperoxides (MESH:D006861), unsaturated fatty acids (MESH:D005231), Heme (MESH:D006418), amine (MESH:D000588), polystyrene (MESH:D011137), tungsten (MESH:D014414), Lipid (MESH:D008055), astaxanthin (MESH:C005948), H (MESH:D006859), PTFE (MESH:D011138), stainless steel (MESH:D013193), O (MESH:D010100), ammonia (MESH:D000641), N (MESH:D009584), C (MESH:D002244), water (MESH:D014867), amide (MESH:D000577), polyethylene (MESH:D020959), ethanol (MESH:D000431)
- **Species:** Listeria monocytogenes (species) [taxon 1639], Homo sapiens (human, species) [taxon 9606], Salmo salar (Atlantic salmon, species) [taxon 8030], Gallus gallus (bantam, species) [taxon 9031], Salmonella (genus) [taxon 590], Rubroshorea almon (species) [taxon 292004]
- **Mutations:** (D) at 8, V10E

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12939719/full.md

---
Source: https://tomesphere.com/paper/PMC12939719