Why Limit the Wavelength Range?
Modern process spectrometers (like the **ProLine2550**) collect data across the full near-infrared range (1,350 to 2,550 nm), yielding hundreds of highly correlated wavelength variables. While fitting a Partial Least Squares (PLS) regression model on the entire spectrum is standard, it is rarely the most robust approach. The full spectrum includes regions that contain zero chemical information about your target analyte, such as background noise, sensor roll-off, or strong water absorption bands that saturate the detector.
Constructing calibrations with unnecessary wavelengths increases the risk of overfitting, makes models susceptible to ambient temperature shifts, and requires a higher count of Latent Variables (LVs), which degrades calibration transferability between instruments.
"Selecting the optimum wavelengths is a form of multivariate feature engineering. By removing noise-dominated bands, we create a simpler, more robust calibration that generalizes across different spectrometers."
Interval PLS (iPLS): Systematic Grid Selection
**Interval PLS (iPLS)** is a systematic algorithm that divides the full preprocessed spectrum into a set of smaller, non-overlapping wavelength intervals (typically 10 to 40 intervals). The algorithm builds a local PLS model for each individual interval and calculates the Root Mean Square Error of Cross-Validation (RMSECV).
By comparing the RMSECV of all local models against the global full-spectrum model, iPLS identifies the specific interval—or combination of intervals—that yields the lowest prediction error. This is highly effective for isolating distinct molecular overtones (e.g., N-H bands in protein or C-H bands in fat).
Genetic Algorithms: Evolutionary Selection
When the target chemical has absorption bands spread out across multiple regions, interval-based grid searches are insufficient. **Genetic Algorithms (GAs)** use an evolutionary search strategy to find optimal bands:
- Chromosomes: Wavelengths are represented as binary strings (1 for select, 0 for exclude).
- Initial Population: A starting pool of random wavelength combinations is created.
- Fitness Function: Each combination builds a PLS model. The fitness is evaluated based on minimizing RMSECV and minimizing the number of Latent Variables.
- Breeding & Mutation: The best-performing combinations are paired to create offspring, with random mutations introduced to prevent local minima traps.
This process repeats for 50 to 100 generations, outputting a highly optimized, sparse wavelength selection.
Wavelength Selection Impact
Selecting optimal wavelength bands significantly enhances calibration performance, as demonstrated in this study of polyol hydroxyl value (OHV) calibrations:
| Model Configuration | Active Wavelengths (nm) | Latent Variables (LVs) | Validation Error (RMSEP) |
|---|---|---|---|
| Global PLS (Full Range) | 1350 – 2550 nm (Full) | 10 LVs | — 2.45 mg KOH/g |
| iPLS Selected | 1680 – 1740 & 2200 – 2260 nm | 5 LVs | ≤ 1.12 mg KOH/g |
| GA Selected | Selected bands in C-H/O-H regions | 4 LVs | ≤ 1.05 mg KOH/g |
Wavelength Optimization in caliX Suite
To optimize your models in **caliX Suite**:
- Open your calibration model and navigate to the `Feature Selection` menu.
- Select `Interval PLS` to run a grid search, or `Genetic Algorithm` for evolutionary optimization.
- Set your target Latent Variable limit to prevent overfitting (e.g., maximum 5 LVs).
- Run the optimizer. Once complete, click `Apply Selection` and validate the simplified calibration before deployment.
Conclusion
Wavelength band selection using iPLS and Genetic Algorithms shifts chemometric model-building from black-box regression to targeted feature engineering. By isolating key molecular overtone bands, engineers can compress calibration complexity, prevent temperature drifts, and build models that transfer seamlessly across multiple spectrometers.
References
- ISO 12099 - Guidelines for the application of near infrared spectrometry.
- N—rgaard, L. et al., "Interval Partial Least Squares Regression (iPLS): A Tool for Wavelength Selection," Applied Spectroscopy, 2000.
- Leardi, R., "Application of a Genetic Algorithm to Wavelength Selection in Near-Infrared Spectroscopy," Journal of Chemometrics, 2001.