Save

Prediction of amino acid content in live black soldier fly larvae using near infrared spectroscopy

in Journal of Insects as Food and Feed
Autor:innen:
R.M. Zaalberg Center for Quantitative Genetics and Genomics, Aarhus University, C. F. Møllers Allé 3, 8000 Aarhus C, Denmark

Search for other papers by R.M. Zaalberg in
Current site
Google Scholar
PubMed
Close
https://orcid.org/0000-0002-2609-3458
,
L.B. Andersen Center for Quantitative Genetics and Genomics, Aarhus University, C. F. Møllers Allé 3, 8000 Aarhus C, Denmark

Search for other papers by L.B. Andersen in
Current site
Google Scholar
PubMed
Close
,
S.J. Noel Department of Animal and Veterinary Sciences, Aarhus University, Blichers Allé 20, 8830 Tjele, Denmark

Search for other papers by S.J. Noel in
Current site
Google Scholar
PubMed
Close
https://orcid.org/0000-0003-4529-9598
,
A.J. Buitenhuis Center for Quantitative Genetics and Genomics, Aarhus University, C. F. Møllers Allé 3, 8000 Aarhus C, Denmark

Search for other papers by A.J. Buitenhuis in
Current site
Google Scholar
PubMed
Close
https://orcid.org/0000-0002-4953-3081
,
K. Jensen Department of Animal and Veterinary Sciences, Aarhus University, Blichers Allé 20, 8830 Tjele, Denmark

Search for other papers by K. Jensen in
Current site
Google Scholar
PubMed
Close
https://orcid.org/0000-0003-0261-3831
, und
G. Gebreyesus Center for Quantitative Genetics and Genomics, Aarhus University, C. F. Møllers Allé 3, 8000 Aarhus C, Denmark

Search for other papers by G. Gebreyesus in
Current site
Google Scholar
PubMed
Close
https://orcid.org/0000-0003-4757-3060

Abstract

Black soldier fly (Hermetia illucens) larvae are gaining recognition as a sustainable farmed protein source for animal feed and human nutrition. Amino acid (AA) composition critically determines protein quality and overall nutritional value, necessitating rapid, cost-effective methods to ensure consistency in insect-based products. This study establishes near-infrared (NIR) spectroscopy coupled with partial least squares (PLS) regression as a robust tool for predicting AA profiles in live black soldier fly (BSF) larvae. Larvae were reared on seventeen diets varying in protein content (2.3–89.8%) and digestible carbohydrate content (8.5–96.0%). We analyzed 204 pooled batch samples, each comprising between 111 and 337 larvae. Samples were scanned twice using a FOSS DS2500 spectrometer (400–2500 nm) to capture NIR-spectral data, followed by freeze-drying and AA extraction via liquid chromatography-tandem mass spectrometry. The PLS prediction models were optimized via repeated ten-fold cross-validation. We observed distinct AA profiles, with alanine (6.50 ± 3.52 mg/g) and proline (5.61 ± 4.45 mg/g) as the most dominant components. Key NIR absorption bands at 1695–1745 nm, 1875–1895 nm, and 2300–2366 nm were critical for predictions. The prediction models demonstrated high accuracy for individual AAs (e.g. glutamate: R 2 = 0.88; asparagine: R 2 = 0.78; histidine: R 2 = 0.68) and the total AA content ( R 2 = 0.65). These findings illustrate NIR’s utility in BSF production, offering a rapid, scalable solution for real-time quality control as well as accurate phenotyping of live BSF larvae.

1 Introduction

The growing global demand for sustainable protein sources has led to increased interest in insects as alternative feed and food ingredients (van Huis et al., 2013). Among these, black soldier fly (Hermetia illucens) (BSF) larvae have gained particular attention due to their ability to efficiently convert organic waste into high-quality protein and fat (Barragán-Fonseca et al., 2017). There is room for improvement regarding the efficiency of insect production, for example through the development of new methods for monitoring the nutritional composition of insect products at different production stages (Ssemakula et al., 2024).

Overview of the experiment to obtain near infrared (NIR) spectra and the amino acid composition of black soldier fly larvae fed seventeen different diets varying in protein and digestible carbohydrate content. The larvae were harvested on four consecutive days.
Figure 1

Overview of the experiment to obtain near infrared (NIR) spectra and the amino acid composition of black soldier fly larvae fed seventeen different diets varying in protein and digestible carbohydrate content. The larvae were harvested on four consecutive days.

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

Insect products are rich in protein, fat, and essential nutrients, making them valuable ingredients for animal feed. Maintaining consistent nutritional quality is crucial for the profitability and sustainability of insect farming (Lu et al., 2024). Among these, amino acid (AA) composition is a key determinant of insect protein quality, influencing digestibility, palatability, bioavailability, and the nutritional adequacy of feed formulations (Rumpold and Schlüter, 2013). BSF larvae provide a rich source of essential AAs making it a promising alternative to conventional protein ingredients in livestock, pet, and aquaculture feed, where AA balance is crucial for optimal animal growth and health. Since the AA profile of BSF larvae is highly dependent on diet and developmental stage, routine monitoring is necessary to maintain consistent product quality (Spranghers et al., 2017). One common approach for quantifying AAs involves the extraction of AAs and analysis via liquid chromatography-tandem mass spectrometry (LC-MS/MS) (Mak et al., 2019; Violi et al., 2020). Although this method is often considered the gold-standard method, it involves extensive sample preparation, including derivatization and careful handling to minimize matrix effects, which can make large-scale implementation more resource-intensive (Violi et al., 2020).

Near-infrared (NIR) spectroscopy has emerged as a promising non-destructive alternative for rapid and cost-effective evaluation of the biochemical composition of food and feed ingredients, including protein sources (Manley, 2014). By detecting molecular vibrations, NIR spectroscopy offers real-time nutritional assessment and has shown potential for predicting protein, lipid, and moisture content in insect-based feeds, particularly in BSF larvae (Alagappan et al., 2022; Cruz-Tirado et al., 2022, 2023; Hoffman et al., 2022; Kröncke et al., 2023). Recent studies have attempted to predict detailed fatty acid composition of groups of larvae using NIR spectroscopy in combination with chemometric methods (Alagappan et al., 2025; Cruz-Tirado et al., 2025). Furthermore, total protein content has been predicted using NIR in groups of live mealworms (Kröncke and Benning, 2022) and insect powders (De Lamo Castellvi et al., 2025). To our knowledge, however, no study has yet applied NIR spectroscopy to quantify the detailed protein composition in live insects for food and feed. Notably, all previous investigations on detailed protein composition have used dead samples of entire larvae or processed larval samples.

Nutritional composition of seventeen diets fed to groups of black soldier fly larvae
Table 1

Nutritional composition of seventeen diets fed to groups of black soldier fly larvae

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

In this study, we explored the feasibility of using NIR spectroscopy to predict AA content in groups of live BSF larvae at different ages (12–15 days) and reared on different diets with varying protein and digestible carbohydrate contents.

2 Materials and methods

An overview of the experiment to obtain NIR spectra from living BSF larvae and their AA content is illustrated in Figure 1. BSF larvae were reared on 17 diets with varying protein and digestible carbohydrate content. A total of 204 samples of larvae, each containing 111–337 individual larvae, were scanned with an NIR scanner and stored for chemical analysis. The 204 samples represented 17 diet groups, four different harvesting days per diet group, and three repetitions of the experiment (17 × 4 × 3 = 204 samples). The sections below will describe the rearing conditions, dietary treatments, the chemical analysis, and the chemometric analysis.

Larvae rearing, dietary treatments, and collection procedure

The BSF larvae were collected at Enorm Biofactory (Flemming, Denmark) at the age of five to six days. Up until then, the larvae were fed with the standard feed used at Enorm Biofactory. After arrival at the research facility, the larvae were randomly assigned to different diet groups. The base ingredient of all diets was chicken feed (Paco Start, Danish Agricultural Grocery Company, Fredericia, Denmark), which was the standard diet used at the research facility. The composition of the dry matter chicken feed was 18.5% protein, 3.6% fat, 67.9% digestible carbohydrates, 4.7% fibre, 5.3% crude ash, and included 0.99 g lysine/kg, 0.45 g methionine/kg, 0.34 g cystine/kg, 0.98 g calcium/kg, 0.72 g phosphorus/kg and 0.15 g sodium/kg. Casein or sucrose was added at different proportions, which resulted in a total of seventeen diets (Table 1). The seventeen diets were developed to vary in protein content (2.3–89.8%) and digestible carbohydrate content (8.5–96.0%), which was done to maximize the variation in body composition between our larval samples. The diets were prepared the day before the larvae arrived. For each diet, four transparent plastic cups (70:95 mm H:Ø) were prepared with 60 g dry feed, 140 ml water, and 1 g agar. Afterwards, approx. 300 six-day old larvae were added to each cup. The cups were closed off with a lid with a 65 mm Ø hole covered with a fine mesh for ventilation. The cups were placed in a climate chamber, where the larvae were reared under controlled conditions (28 °C, 70% RH) until harvesting. The larvae were harvested on four consecutive days: day twelve, thirteen, fourteen and fifteen after egg hatching. The larvae were harvested at different ages to maximize the variation in body composition between our larval samples. On each harvesting day, for each of the seventeen dietary treatments, one of the four cups was taken out of the climate chamber and prepared for NIR spectral acquisition, followed by the preparation of the larval sample for chemical analysis of AAs.

NIR spectral acquisition

All samples of live larvae were scanned using a FOSS DS2500 NIR spectrometer. A cup with larvae was taken out of the climate chamber, and the content of the cup was put in a fine sieve and then rinsed with water. Once all residues were removed, the larvae were dried with paper towels. A randomly selected sample of the cleaned and dried live larvae was put in a small quartz cup for the NIR-scanning. The small quartz cup was filled with as many larvae as possible to minimize the surface area without any larvae (pin hole gaps). The absence of pin hole gaps is essential for successful NIR-scanning. The quartz cup with larvae was gently closed off with a metal lid and placed in the scanner. The sample was scanned twice. After the scanning was completed, the live larvae were moved to a paper towel and placed back in the cup again for a second scanning (repacking), using the same scanning procedure as for the first scanning. The repacking procedure was done to reduce the random error component of the NIR-spectral data. Upon scanning, the quartz cup contained between 111 and 337 larvae, depending on the dietary treatment. Data recording was done every 0.5 nm from 400 to 2500 nm.

Each sample was packed twice, and each packed sample was scanned in duplicate, thus, for each sample we acquired four NIR-spectral scannings. The resulting spectra of these four scannings were averaged. The average NIR-spectra were preprocessed to enhance signal quality and optimize model performance. Multiple spectral preprocessing techniques were applied sequentially to minimize noise and scattering effects using the “prospectr” package (Stevens and Ramirez-Lopez, 2025) in R version (R Core Team, 2024). First, Savitzky-Golay smoothing (first derivative, polynomial order 2, window size 21) was used to reduce noise while preserving spectral features (Savitzky and Golay, 1964). Standard normal variate transformation was then applied to correct baseline shifts and scattering variations (Barnes et al., 1989). Both methods operate independently on each sample by using absorbance values across wavelengths within that sample, do not estimate parameters across samples or use response information, and therefore do not introduce information leakage. Finally, multiplicative scatter correction was implemented to normalize spectral differences due to physical variations in sample presentation. Different combinations of spectral preprocessing were tested for each component, and the best performing models were selected.

Freeze-drying and chemical extraction of amino acids

After the acquisition of the NIR spectra, each sample of live larvae was weighed. The number of larvae in the sample was determined upon visual inspection. Each sample was placed in a small plastic zip-lock bag and moved to a freezer at a temperature of –20 °C. The samples were freeze-dried, and after freeze-drying, each sample was weighted again and then homogenized using an Emerio MC126196 blender for 1–2 min, followed by manual grinding with a mortar and pestle. Approximately 100 mg of freeze-dried material was transferred into 1.5 ml screw-cap tubes, followed by the addition of 1 ml of 60% methanol. Two metal beads were added to each tube, and the samples were homogenized in a Retsch MM 400 mixer mill at 20 Hz for 10 min. The homogenates were centrifuged at 17 000 × g for 10 min, and the supernatant was collected. This supernatant was diluted 5-fold in deionized water and filtered through 0.22 μm pore-size filter plates to remove particulates.

LC-MS/MS analysis of amino acids

Liquid chromatography coupled with LC-MS/MS analysis was performed at the DynaMo MS-Analytics Facility at the University of Copenhagen (Denmark). A detailed description of the procedure can be found in Violi et al. (2020). In short, prior to analysis, the samples were further diluted 10-fold in deionized water and spiked with internal standards, including a 13C,15N-labeled amino acid mix (Merck Sigma-Aldrich Cell Free Amino Acid Mixture–13C,15N 767964-1EA). Chromatography was performed on a 1290 Infinity II UHPLC system (Agilent Technologies). Separation was achieved on a Zorbax Eclipse XDB-C18 column (150 × 3.0 mm, 1.8 μm, Agilent Technologies). Formic acid (0.05%, v/v) in water and acetonitrile (supplied with 0.05% formic acid, v/v) were employed as mobile phases A and B, respectively. The elution profile r was: 0.00–0.75 min, 3% B; 0.75–4.10 min, 3–65% B; 4.10–4.20 min, 65–100% B; 4.20–4.95 min, 98% B; 4.95–5.00 min, 100–3% B; and 5.0–6.0 min 3% B. The mobile phase flow rate was 400 μl/min. The column temperature was maintained at 40 °C. The liquid chromatography was coupled to an Ultivo Triplequadrupole mass spectrometer (Agilent Technologies) equipped with a Jetstream electrospray ion source operated in positive ion mode. The instrument parameters were optimized by infusion experiments with pure standards. The ion spray voltage was set to +2500 V in positive ion mode. Dry gas temperature was set to 325 °C and dry gas flow to 11 l/min. Sheath gas temperature was set to 350 °C and sheath gas flow to 12 l/min. Nebulizing gas was set to 40 psi. Nitrogen was used as dry gas, nebulizing gas and collision gas. Multiple reaction monitoring was used to monitor precursor ion → fragment ion transitions. Multiple reaction monitoring transitions and other parameters such as fragmentor voltage and collision energies were optimized using reference standards. Both Q1 and Q3 quadrupoles were maintained at unit resolution. Multiple reaction monitoring (MRM) transitions, fragmentor voltage and collision energies are detailed in File S2 in the Supplementary material. Mass Hunter Quantitation Analysis for QQQ software (Version 10, Agilent Technologies) was used for data processing. Quantification of the individual AA was performed from the 13C, 15N-labeled AAs used as internal standards.

PLS regression model development

NIR spectral data were correlated with AA concentrations determined via LC-MS/MS to develop predictive models using partial least squares (PLS) regression implemented in the “pls” package, version 2.8-5 (Liland et al., 2024), in R (R Core Team, 2024). The dataset was split into a training set and an independent test set by randomly selecting 70% of the data for training and 30% for testing. After splitting the data in a training set and test set, the training set was used to train PLS prediction models. During model building, a random tenfold cross-validation was performed three times. The model complexity of the final PLS prediction model was optimized by selecting the number of components that maximized prediction accuracy while minimizing overfitting based on the results from the random tenfold cross-validation. To enhance robustness, model tuning was performed using a randomized grid search approach, selecting the optimal number of PLS components based on the R 2 and lowest root RMSE. The final PLS regression model was trained using all training data and then applied to the test set. The model performance of the final PLS model was evaluated using key performance metrics, including the coefficient of determination ( R 2 ) for the test set predictions, standard deviation of predictions (SDP), standard error of predictions (SEP), residual predictive deviation (RPD = SDP/SEP), bias and slope (Williams et al., 2017).

To identify the spectral regions most influential for each prediction, a Variable Importance in Projection (VIP) function was implemented using the predictor loadings, scores, and Y-loadings extracted from the PLS regression model. VIP scores were then computed for each wavelength by weighing each predictor’s contribution to the PLS model according to the sum of squared PLS loadings, scaled by the proportion of variance explained in the response variable. This ensures that wavelengths with a higher influence on the model receive higher VIP scores, allowing identification of key spectral regions. Additionally, residual plots were generated from test set predictions to assess model performance. All analyses were conducted in R using the pls package. The PLS loadings for all prediction models are shown in File S3 in the Supplementary material, and the residuals in File S4 in the Supplementary material.

3 Results

Amino acid profiles in BSF larvae

Average concentrations (mg/g of sample) of amino acids along with the predictive performance of partial least squares regression across the amino acids expressed in units of mg/g of sample and evaluated with different metrics
Table 2

Average concentrations (mg/g of sample) of amino acids along with the predictive performance of partial least squares regression across the amino acids expressed in units of mg/g of sample and evaluated with different metrics

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

Table 2 presents the descriptive statistics of AA concentrations (mg/g of sample) measured by LC–MS/MS for black soldier fly larvae reared on seventeen different diets. Notable differences in both mean concentrations and variability as indicated by the coefficient of variation (CV) were observed among the AAs. For example, alanine was the most abundant AA (6.50 ± 3.52 mg/g) and had a CV of 54.16%, while asparagine was present at a much lower mean level (0.06 ± 0.08 mg/g) yet exhibited a high CV of 124.7%. In contrast, essential AAs such as lysine and leucine were present at moderate concentrations (1.34 and 1.25 mg/g, respectively) with moderate CVs (61.52 and 56.08%, respectively). The total AA (tAA) had a mean concentration of 34.95 ± 17.29 mg/g with a CV of 49.46%, indicating substantial variability across diets.

PLS regression model performance

The raw spectral NIR data used for the prediction of AA are shown in Figure 2. Table 2 summarizes the predictive performance of the various AA traits, which varied considerably among AAs. An analysis of the relationship between mean AA concentration and model performance ( R 2 ) revealed a general trend where traits with higher concentrations tended to exhibit stronger predictive accuracy (Figure 3). For instance, glutamate and alanine, which had relatively high mean concentrations (2.41 mg/g and 6.50 mg/g, respectively), also demonstrated moderate to high R 2 values (0.88 and 0.65, respectively). However, certain exceptions were observed; for example, proline, despite its relatively high concentration (5.61 mg/g), exhibited only moderate predictability ( R 2 = 0.54).

Overall, the prediction models successfully captured spectral variations for most AAs. The PLS prediction models successfully captured spectral variations for a selection of AAs. Based on an R 2 > 0.6 and an RPD > 1.5, the best predictions were obtained for alanine, asparagine, glutamate, histidine, and total tAA. The best predictions were for glutamate ( R 2 = 0.88, RPD = 2.66) and Asparagine ( R 2 = 0.78, RPD = 2.5). Figure 4 shows the calibration and validation plots for the AA with the highest three R 2 values, namely asparagine ( R 2 = 0.78), glutamate ( R 2 = 0.88) and histidine ( R 2 = 0.68). The calibration and validation plots for all AAs can be found in Files S5 and S6 in the Supplementary material.

Variable importance and robustness

Raw near infrared spectra of live black soldier fly larvae reared on seventeen different diets and harvested on four consecutive days.
Figure 2

Raw near infrared spectra of live black soldier fly larvae reared on seventeen different diets and harvested on four consecutive days.

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

Relationship between mean amino acid concentration in black soldier fly larvae and partial least squares regression model performance ($R^{2}$).
Figure 3

Relationship between mean amino acid concentration in black soldier fly larvae and partial least squares regression model performance ( R 2 ).

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

Partial least squares regression model calibration (top) and validation (bottom) plots for the prediction of asparagine, glutamate and histidine content of black soldier fly larvae.
Figure 4

Partial least squares regression model calibration (top) and validation (bottom) plots for the prediction of asparagine, glutamate and histidine content of black soldier fly larvae.

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

A sample of annotated variable importance in projection plots for lysine, methionine, leucine and total amino acids (tAA) based on the partial least squares regression models used to predict amino acid content of live black soldier fly larvae.
Figure 5

A sample of annotated variable importance in projection plots for lysine, methionine, leucine and total amino acids (tAA) based on the partial least squares regression models used to predict amino acid content of live black soldier fly larvae.

Citation: Journal of Insects as Food and Feed 2026; 10.1163/23524588-bja10381

Our VIP analyses performed on each PLS regression model identified consecutive wavelength ranges where the VIP score exceeded a threshold (≥1.0) for each AA. A sample of annotated VIP plots are shown in Figure 5. File S7 in the Supplementary material presents plots of VIP scores across the wavelength spectrum for all studied AAs. In addition, File S8 in the Supplementary material presents an overview of the most prominent intervals, spanning from the visible to near-infrared regions, and indicates the number AAs with elevated VIP scores within these intervals, as well as the maximum VIP score observed.

The highest VIP values were observed in the near-infrared between 1875–1895 nm, where nearly all AAs displayed high model sensitivity. Additional NIR regions around 1725–1745 nm and 1695–1705 nm also showed consistently high VIP values across many AAs. The interval between 2300–2366 nm further displayed moderate importance, being relevant for several AAs though with lower peak VIP values than the dominant 1875–1895 nm window. In the visible range, moderate-to-high importance was observed between 405–445 nm, indicating that features in both the NIR and visible regions were informative for multiple AAs simultaneously. Regions in the first overtone range (∼1375–1395 nm) also contributed to the prediction of certain AAs, albeit with lower maximum VIP scores.

4 Discussion

PLSR models to predict AA content

Our study presents the first successful prediction of AA content from NIR spectra of live BSF larvae, marking a novel advancement in insect nutritional analysis. The predictive performance of our PLS regression models was to some extent linked to the concentration and variability of individual AAs. Higher concentration AAs, such as alanine (6.50 mg/g) and glutamate (2.41 mg/g), yielded robust models with relatively high coefficients of determination ( R 2 = 0.65 and 0.88, respectively) and moderately good to good ratio of performance to deviation (RPD = 1.70 and 2.66, respectively). This relationship between concentration and model performance aligns with findings in other food matrices, where homogenized samples with higher analyte levels, such as milk AAs (McDermott et al., 2016) and feedstuff fatty acid analyses (Fontaine et al., 2001), tend to produce more reliable NIR predictions.

Only two models had an RPD > 2, namely Asparagine (RPD = 2.50) and Glutamate (RPD = 2.66), whereas thirteen AA had an RPD < 1.5, suggesting poor model performance. The trait tAA exhibited moderate ratio of performance to deviation (RPD = 1.69), but a moderate to high R 2 (0.65), moderate slope (0.59), and a strong bias (1.00). These results suggest overfitting or underfitting, meaning that while the model for Glutamine appeared to perform well within the training set, its ability to generalize to new samples was poor. Conversely, Proline, despite its relatively high concentration (5.61 mg/g), showed only moderate predictability ( R 2 = 0.54) and a high standard error (SECV = 1.64; SEP = 2.85), indicating spectral complexities or overlapping absorbance patterns that limited accurate AA quantification. These cases underscore the need for a multifaceted evaluation of model performance to distinguish genuinely strong predictions from those that may be misleading due to over- or underfitting.

While our work is novel in its focus on AA prediction from live BSF larvae, research in related areas is rapidly advancing. Recent studies have reported promising attempts to predict detailed fatty acid composition from live BSF larvae using NIR spectroscopy (Alagappan et al., 2025) and hyperspectral imaging (Cruz-Tirado et al., 2025). Furthermore, in live mealworms, NIR has been used to predict moisture content, protein content (Kröncke and Benning, 2022), and AA content (Kröncke et al., 2023). These findings reinforce the growing potential of non-destructive spectral methods to assess complex nutritional profiles in intact insect samples. Larger datasets, advanced chemometric techniques, or hybrid modeling approaches integrating spectral and biological data could further refine prediction accuracy. Collectively, our results and those reported in the broader literature demonstrate that, although predicting the detailed nutritional composition of live larvae presents challenges, NIR spectroscopy remains a promising and rapidly evolving tool for non-destructive nutritional assessment in both traditional food systems and emerging insect production.

VIP and robustness

Our VIP analysis highlighted that the most informative spectral regions for AA prediction in BSF larvae were in the NIR range between 1875–1895 nm, followed closely by bands at 1725–1745 nm and 1695–1705 nm, where a broad set of AAs showed consistently high VIP scores. These intervals correspond primarily to overtone and combination bands of –CH, –NH and –OH functional groups, which are fundamental for the chemical characterization of AAs (Osborne, 2006; Workman and Weyer, 2012). In addition, the interval between 2300–2366 nm also displayed moderate importance for several AAs, aligning with earlier reports on BSF larvae. For example, Cruz-Tirado et al. (2025) found that optimal PLS loadings for stearic acid prediction peaked around 2240 nm, overlapping with our identified 2300–2366 nm region. Similarly, Alagappan et al. (2025) noted high calibration performance in the 870–2530 nm range, implicitly encompassing the bands we identified as critical. The visible region between 405–445 nm, likely reflecting absorptions from aromatic side chains (e.g. tryptophan, tyrosine, phenylalanine), also contributed moderately across multiple AAs. Together, these results confirm that both structural backbone vibrations and side-chain–specific absorptions drive the predictive capacity of our models, and that targeting the 1700–1900 nm and 2300–2366 nm intervals may improve model robustness and enhance rapid, non-destructive nutritional profiling for quality control and insect breeding programs.

Nutritional profile of BSF larvae

Our study represents the first comprehensive analysis of the AA profile in BSF larvae that quantifies 19 individual amino acids using high-resolution LC-MS/MS. In contrast to previous investigations (e.g. Barroso et al., 2017; De Marco et al., 2015; Spranghers et al., 2017), which predominantly focused on the total amino acid composition of processed BSF larvae meals using conventional hydrolysis-based methods, our approach directly captures the underivatized amino acids AA fraction in living larvae (Le et al., 2014; Nakano et al., 2017). This distinction is crucial, as hydrolysis releases both free and protein-bound amino acids while potentially chemically modifying the AAs and introducing degradation artifacts (Nakano et al., 2017; Violi et al., 2020). By contrast, the LC-MS/MS method quantifies only the non-bound underivatized AAs, providing a dynamic and physiologically relevant snapshot of the larvae’s metabolic state.

Future applications

The results presented in this paper as well as other studies that used spectroscopy to predict body composition of living insect larvae (Alagappan et al., 2025; Cruz-Tirado et al., 2025, Kröncke et al., 2022, 2023), offer a promising avenue for rapid quality control and selective breeding in insect production. In selective breeding, it is essential for the selection candidates to survive. Non-destructive will therefore be a valuable tool to selectively breed for improved larval body composition. The method presented in the current study would allow for selection of superior groups of larvae, for example groups of full-sib larvae. Selection based on group performance is a practically more feasible alternative to the time-consuming individual selection strategy (Sandrock et al., 2025). Furthermore, a tool for rapid quality control will be especially helpful for insect producers that use different industrial waste streams as a feed source. Fluctuations in feed composition affect BSF larval body composition (Berggreen et al., 2025), as well as their development time (Laursen et al., 2024; Spranghers et al., 2024) and survival (Spranghers et al., 2024). Using a rapid assessment tool can be used to monitor the larvae’s body composition and select the optimum time to harvest. The results in this study contribute to the development of tools to optimize BSF production, by creating new opportunities for selective breeding as well as management. While this study demonstrates the feasibility of AA prediction from live BSF larvae, future research should focus on further refining these models by incorporating larger datasets, accounting for environmental variability, and expanding their application to additional nutritional markers such as minerals. Advancements in machine learning integration may also enhance predictive performance, ultimately strengthening the role of NIR spectroscopy as a core technology for sustainable and scalable insect protein production.

Limitations

Despite promising results in the very first attempt of predicting detailed AA content in live BSF larvae in this study, several limitations warrant further investigation. First, we analyzed groups of larvae under the implicit assumption of homogeneity, potentially overlooking intra-group variability. This issue is compounded by the lack of controlled genetic structures, as larvae were not grouped by pedigree, which may have increased intra-group variability while minimizing differences between groups. Future studies should consider analyzing individual larvae and controlling the genetic background. Additionally, evaluating alternative chemometric techniques and prediction models, including deep learning, could further enhance predictive accuracy. Furthermore, the experimental diets were deliberately formulated as a controlled gradient, using the same base ingredients while varying the casein and sucrose proportions, in order to introduce sufficient variation for robust NIR model calibration and to enhance generalizability. This design enables stable multivariate calibration by ensuring that variation in both spectral and chemical properties is well represented across the calibration space. Alternative experimental designs based on sets of unrelated diets, for example introducing differences in nutrient availability rather than composition alone due to texture, or consistency effects, could be interesting for future studies to assess broader model generalization.

5 Conclusion

This study presents a pioneering and successful effort at predicting a selection of AAs (Glutamate, Asparagine, Histidine, Alanine) in live BSF larvae using NIR spectroscopy combined with PLS regression. Our PLS prediction models provide a non-destructive, rapid, and reliable method for assessing the nutritional quality of BSF larvae. The approach presented in this study will be a valuable tool in strengthening sustainable insect farming. Finally, the non-destructive nature of this method is particularly advantageous for selective breeding, enabling phenotyping of nutritional profiles in live selection candidates.

*

Corresponding author; e-mail: roos.zaalberg@qgg.au.dk

Acknowledgements

We would like to thank Enorm Biofactory A/S for providing the larvae. We would also like to acknowledge the DynaMo MS-Analytics Facility of the University of Copenhagen where LC-MS/MS analysis was performed.

Conflict of interest

There are no conflicts of interest.

Funding

This study was part of the LaserLarvae project, funded by AUFF NOVA, Grant No: AUFF-E-2023-9-3

References

  • Alagappan, S., Hoffman, L.C., Mantilla, S.M.O., Mikkelsen, D., James, P., Yarger, O. and Cozzolino, D., 2022. Near infrared spectroscopy as a traceability tool to monitor black soldier fly larvae (Hermetia illucens) intended as animal feed. Applied Sciences 12: 8168. https://doi.org/10.3390/app12168168

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Alagappan, S., Hoffman, L., Yarger, O. and Cozzolino, D., 2025. A feasibility study on the use of near infrared spectroscopy to predict fatty acid concentration in intact black soldier fly reared in different waste streams. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy 330: 125628. https://doi.org/10.1016/j.saa.2024.125628

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Barnes, R.J., Dhanoa, M.S. and Lister, S.J., 1989. Standard Normal Variate Transformation and De-Trending of Near-Infrared Diffuse Reflectance Spectra. Applied Spectroscopy 43: 772-777. https://doi.org/10.1366/0003702894202201

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Barragán-Fonseca, K.Y., Gort, G., Dicke, M. and van Loon, J.J.A., 2017. Nutritional composition of Hermetia illucens larvae and its suitability as animal feed: a review. Journal of Insects as Food and Feed 3: 105-120. https://doi.org/10.3920/JIFF2016.0055

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Barroso, F.G., de Haro, C., Sánchez-Muros, M.J., Venegas, E., Martı́nez-Sánchez, A. and Pérez-Bañón, C., 2017. The potential of various insect species for use as food for fish. Aquaculture 422: 193-201. https://doi.org/10.1016/j.aquaculture.2013.12.024

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Berggreen, I.E., Schøn, M.L., Nørgaard, J.V. and Jensen, K., 2025. Optimal dietary protein content and essential amino acid limitation in larvae of the black soldier fly (Hermetia illucens). Journal of Insects as Food and Feed 11: 2579-2590. https://doi.org/10.1163/23524588-bja10221

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Cruz-Tirado, J.P., Amigo, J.M. and Barbin, D.F., 2022. Determination of protein content in single black fly soldier (Hermetia illucens L.) larvae by near infrared hyperspectral imaging (NIR-HSI) and chemometrics. Food Control 143: 109266. https://doi.org/10.1016/j.foodcont.2022.109266

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Cruz-Tirado, J.P., dos Santos Vieira, M.S., Amigo, J.M., Siche, R. and Barbin, D.F., 2023. Prediction of protein and lipid content in black soldier fly (Hermetia illucens L.) larvae flour using portable NIR spectrometers and chemometrics. Food Control 153: 109969. https://doi.org/10.1016/j.foodcont.2023.109969

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Cruz-Tirado, J.P., Dos Santos Vieira, M.S., Ferreira, R.S.B., Amigo, J.M., Batista, E.A.C. and Barbin, D.F., 2025. Prediction of total lipids and fatty acids in black soldier fly (Hermetia illucens L.) dried larvae by NIR-hyperspectral imaging and chemometrics. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy 329: 125646. https://doi.org/10.1016/j.saa.2024.125646

    • Über Google Scholar suchen
    • Zitierung exportieren
  • De Lamo Castellvi, S., Mendez Sanchez, C., Matos Gonzalez, C., Wu, Y., Plans, M. and Rodriguez-Saona, L., 2025. FT-NIR spectroscopy for protein and lipid analysis in insect powders and flour mixtures: a cross-instrument calibration approach. Microchemical Journal 218: 115315. https://doi.org/10.1016/j.microc.2025.115315

    • Über Google Scholar suchen
    • Zitierung exportieren
  • De Marco, M., Martı́nez, S., Hernandez, F., Madrid, J., Gai, F., Rotolo, L., Belforti, M., Bergero, D., Katz, H. and Dabbou, S., 2015. Nutritional value of two insect larval meals (Tenebrio molitor and Hermetia illucens) for broiler chickens: Apparent nutrient digestibility, apparent ileal amino acid digestibility and apparent metabolizable energy. Animal Feed Science and Technology 9: 211-218. https://doi.org/10.1016/j.anifeedsci.2015.08.006

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Fontaine, J., Hörr, J. and Schirmer, B., 2001. Near-infrared reflectance spectroscopy enables the fast and accurate prediction of the essential amino acid contents in soy, rapeseed meal, sunflower meal, peas, fishmeal, meat meal products and poultry meal. Journal of Agricultural and Food Chemistry 49: 57-66. https://doi.org/10.1021/jf000946s

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Hoffman, L.C., Zhang, S., Alagappan, S., Wills, V., Yarger, O. and Cozzolino, D., 2022. Monitoring compositional changes in black soldier fly larvae (BSFL) sourced from different waste stream diets using attenuated total reflectance mid infrared spectroscopy and chemometrics. Molecules 27: 7500. https://doi.org/10.3390/molecules27217500

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Kröncke, N. and Benning, R., 2022. Determination of moisture and protein content in living mealworm larvae (Tenebrio molitor L.) using near-infrared reflectance spectroscopy (NIRS). Insects 13: 560. https://doi.org/10.3390/insects13060560

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Kröncke, N., Wittke, S., Steinmann, N. and Benning, R., 2023. Analysis of the composition of different instars of Tenebrio molitor larvae using near-infrared reflectance spectroscopy for prediction of amino and fatty acid content. Insects 14: 310. https://doi.org/10.3390/insects14040310

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Laursen, S.F., Flint, C.A., Bahrndorff, S., Tomberlin, J.K. and Kristensen, T.N., 2024. Reproductive output and other adult life-history traits of black soldier flies grown on different organic waste and by-products. Waste Management 181: 136-144. https://doi.org/10.1016/j.wasman.2024.04.010

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Le, A., Ng, A., Kwan, T., Cusmano-Ozog, K. and Cowan, T.M., 2014. A rapid, sensitive method for quantitative analysis of underivatized amino acids by liquid chromatography–tandem mass spectrometry (LC–MS/MS). Journal of Chromatography B 944: 166-174. https://doi.org/10.1016/j.jchromb.2013.11.017

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Liland, K.H., Mevik, B.-H., Wehrens, R. and Hiemstra, P., 2024. pls: Partial Least Squares and Principal Component Regression (Version 2.8-5). Comprehensive R Archive Network (CRAN). Available at https://cran.r-project.org/package=pls

  • Lu, M., Zhu, C., Smetana, S., Zhao, M., Zhang, H., Zhang, F. and Du, Y., 2024. Minerals in edible insects: a review of content and potential for sustainable sourcing. Food Science and Human Wellness 13: 65-74. https://doi.org/10.26599/FSHW.2022.9250005

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Mak, J., Cowan, T.M. and Le, A., 2019. Quantitative analysis of underivatized amino acids by liquid chromatography-tandem mass spectrometry. In: Alterman, M.A. and Hunziker, P. (eds.) Amino acid analysis: methods and protocols. Springer, New York, NY, pp. 85-109. https://doi.org/10.1007/978-1-4939-9639-1

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Manley, M., 2014. Near-infrared spectroscopy and hyperspectral imaging: non-destructive analysis of biological materials. Chemical Society Reviews 43: 8200-8214. https://doi.org/10.1039/C4CS00062E

    • Über Google Scholar suchen
    • Zitierung exportieren
  • McDermott, A., Visentin, G., De Marchi, M., Berry, D.P., Fenelon, M.A., O’Connor, P.M., Kenny, O.A. and McParland, S., 2016. Prediction of individual milk proteins including free amino acids in bovine milk using mid-infrared spectroscopy and their correlations with milk processing characteristics. Journal of Dairy Science 99: 3171-3182. https://doi.org/10.3168/jds.2015-9747

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Nakano, Y., Konya, Y., Taniguchi, M. and Fukusaki, E., 2017. Development of a liquid chromatography-tandem mass spectrometry method for quantitative analysis of trace D-amino acids. Journal of Bioscience and Bioengineering 123: 134-138. https://doi.org/10.1016/j.jbiosc.2016.07.008

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Osborne, B.G., 2006. Near-infrared spectroscopy in food analysis. In: Encyclopedia of analytical chemistry. Wiley, Hoboken, NJ, pp. 1-14. https://doi.org/10.1002/9780470027318.a1018

  • R Core Team, 2024. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna. Available at https://www.R-project.org/

  • Rumpold, B.A. and Schlüter, O.K., 2013. Potential and challenges of insects as an innovative source for food and feed production. Innovative Food Science and Emerging Technologies 17: 1-11. https://doi.org/10.1016/j.ifset.2012.11.005

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Sandrock, C., Generalovic, T., Paul, K., Petersen, G.E.L., Sellem, E., Smith, M.B., Tapio, M., Yakti, W., Beukeboom, L.W., Deruytter, D., Jiggins, C., Lefebvre, T., Librado, P., Pannebakker, B.A., Picard, C.J., Rhode, C., Sørensen, J.G., Bouwman, A.C., Hansen, L.S. and Obšteter, J., 2025. BugBook: Genetics of insects as food and feed. Journal of Insects as Food and Feed 11: S397-S455. https://doi.org/10.1163/23524588-bja10260

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Savitzky, A. and Golay, M.J.E., 1964. Smoothing and differentiation of data by simplified least squares procedures. Analytical Chemistry 36: 1627-1639. https://doi.org/10.1021/ac60214a047

  • Spranghers, T., Ottoboni, M., Klootwijk, C., Ovyn, A., Deboosere, S., De Meulenaer, B., Michiels, J., Eeckhout, M., De Clercq, P. and De Smet, S., 2017. Nutritional composition of black soldier fly (Hermetia illucens) prepupae reared on different organic waste substrates. Journal of the Science of Food and Agriculture 97: 2594-2600. https://doi.org/10.1002/jsfa.8081

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Spranghers, T., Moradei, A., Vynckier, K., Boudrez, M., Pinotti, L. and Ottoboni, M., 2024. Amino acid requirements of yellow mealworm and black soldier fly larvae. Journal of Insects as Food and Feed 11: 1047-1058. https://doi.org/10.1163/23524588-00001271

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Ssemakula, F., Nawoya, S., Nkirote, K.C., Akol, R., Nakimbugwe, D., Cheruiyot, B., Karstoft, H., Bjerge, K., Katumba, A., Mwikirize, C. and Gebreyesus, G., 2024. Emerging technologies for fast determination of nutritional quality and safety of insects for food and feed: a review. Computers and Electronics in Agriculture 239: 111126. http://dx.doi.org/10.2139/ssrn.5032784

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Stevens, A. and Ramirez-Lopez, L., 2014. An introduction to the prospectr package. R package version 0.2.8. R Foundation for Statistical Computing, Vienna.

  • Van Huis, A., Van Itterbeeck, J., Klunder, H., Mertens, E., Halloran, A., Muir, G. and Vantomme, P., 2013. Edible insects: future prospects for food and feed security. FAO Forestry Paper no. 171. FAO, Rome. Available at http://www.fao.org/docrep/018/i3253e/i3253e.pdf

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Violi, J.P., Bishop, D.P., Padula, M.P., Steele, J.R. and Rodgers, K.J., 2020. Considerations for amino acid analysis by liquid chromatography-tandem mass spectrometry: a tutorial review. Trends in Analytical Chemistry 131: 116018. https://doi.org/10.1016/j.trac.2020.116018

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Williams, P., Dardenne, P. and Flinn, P.C., 2017. Items to be included in a report on a near infrared spectroscopy project. Journal of Near Infrared Spectroscopy 25: 85-90. https://doi.org/10.1177/0967033517702395

    • Über Google Scholar suchen
    • Zitierung exportieren
  • Workman, J. and Weyer, L., 2012. Practical guide and spectral atlas for interpretive near-infrared spectroscopy. CRC Press, Boca Raton, FL. https://doi.org/10.1201/b11894

Kennzahlen

Insgesamt Letzte 365 Tage In den letzten 30 Tagen
Aufrufe von Kurzbeschreibungen 0 0 0
Gesamttextansichten 363 363 44
PDF-Downloads 787 788 77