Skip to main content
QUICK REVIEW

[Paper Review] Mid infrared spectroscopy and milk quality traits: A data analysis competition at the "International Workshop on Spectroscopy and Chemometrics 2021"

Maria Frizzarin, Antonio Bevilacqua|arXiv (Cornell University)|Jan 1, 2021
Spectroscopy and Chemometric AnalysesChemistry51 references12 citations
TL;DR

This paper presents a data analysis competition at the 2021 International Workshop on Spectroscopy and Chemometrics, where participants developed machine learning models to predict three milk quality traits—kappa-casein, casein micelle size (CMS), and pH—using only mid-infrared (MIR) spectra. The competition revealed that functional data analysis approaches outperformed traditional tabular and time-series methods, particularly due to their ability to model complex spectral correlations, with the best method achieving a relative error (RERR) of 1.00, indicating top-tier performance across all traits.

ABSTRACT

A chemometric data analysis challenge has been arranged during the first edition of the "International Workshop on Spectroscopy and Chemometrics", organized by the Vistamilk SFI Research Centre and held online in April 2021. The aim of the competition was to build a calibration model in order to predict milk quality traits exploiting the information contained in mid-infrared spectra only. Three different traits have been provided, presenting heterogeneous degrees of prediction complexity thus possibly requiring trait-specific modelling choices. In this paper the different approaches adopted by the participants are outlined and the insights obtained from the analyses are critically discussed.

Motivation & Objective

  • To evaluate diverse machine learning and chemometric approaches for predicting milk quality traits using mid-infrared (MIR) spectra.
  • To assess the impact of different data pre-processing and modeling strategies on predictive performance.
  • To compare the effectiveness of tabular, time-series, and functional data analysis approaches on MIR spectral data.
  • To identify which modeling paradigms yield the most accurate and interpretable predictions for heterogeneous milk quality traits.
  • To promote the development of parsimonious, interpretable models that support practical applications in dairy science.

Proposed method

  • Participants used only mid-infrared spectra (1060 wavenumbers from 900 to 5000 cm⁻¹) to predict three milk quality traits: pH, CMS, and kappa-casein.
  • A training set of 399–548 observations and a test set of 69 spectra were used, with no trait-specific wavenumber information provided.
  • Predictive performance was evaluated using Root Mean Squared Error (RMSEP) on the test set, with a relative error (RERR) metric to normalize performance across traits.
  • Tabular methods treated spectra as vectors, while functional approaches modeled spectra as continuous functions to preserve spectral ordering and correlation structure.
  • Two contributions used data-driven noise detection: one via interquartile range per wavenumber, and another via adaptive functional modeling.
  • Outlier handling was explored, with some teams observing improved performance when outliers were retained in training data.

Experimental results

Research questions

  • RQ1Which modeling approach—tabular, time-series, or functional—yields the most accurate predictions for milk quality traits from MIR spectra?
  • RQ2How do different pre-processing strategies, such as noise filtering and outlier handling, affect predictive performance?
  • RQ3To what extent do feature selection and interpretability enhance the practical utility of MIR-based models in dairy science?
  • RQ4Can functional data analysis effectively capture long-range spectral correlations that traditional vector-based models miss?
  • RQ5How does the inherent complexity of each milk quality trait (pH, CMS, kappa-casein) influence the choice of optimal modeling strategy?

Key findings

  • The functional data analysis approach achieved the best overall performance, with the lowest relative error (RERR = 1.00), indicating optimal calibration across all three traits.
  • The functional approach outperformed tabular and time-series methods, likely due to its ability to model complex, non-local correlations across spectral regions.
  • Two teams used interquartile range per wavenumber to identify and downweight noisy spectral regions, improving model robustness.
  • The removal of water absorption regions (common in MIR) was beneficial, though only two teams explicitly incorporated this prior knowledge.
  • Some teams observed improved test performance when outliers were not removed, suggesting caution in outlier treatment for MIR data.
  • The competition highlighted the value of interpretable models, especially when combined with domain expertise, for guiding the design of cost-effective spectrometers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.