Automatic baseline correction of 1D NMR spectra using a spline-constrained neural network
Related Experiment Video
Updated: Oct 31, 2026

NMR Spectroscopy as a Robust Tool for the Rapid Evaluation of the Lipid Profile of Fish Oil Supplements
Published on: May 1, 2017
He Wang1,2, Gang Chen2, Chaixiang Liu2
1School of Electrical and Electronic Engineering, Wuhan Polytechnic University, Wuhan, 430023, China.
Abstract:
Baseline distortion remains a persistent source of error in NMR spectroscopy, compromising lineshape fidelity, weak-peak detection, and quantitative peak integration. Automatic baseline correction is particularly challenging for spectra with densely overlapped resonances, limited signal-free regions, or complex low-frequency distortions. Here, we propose a structurally model-constrained deep learning framework, named SplineNet, for automatic baseline correction of 1D NMR spectra. Instead of directly mapping a distorted spectrum to a corrected spectrum or an unconstrained point-wise baseline, the network predicts the coefficients of a cubic B-spline basis, from which the baseline is reconstructed. This output-space constraint incorporates the smooth and slowly varying nature of NMR baselines and reduces the tendency of the model to absorb narrow resonance peaks into the baseline estimate. The method was evaluated using simulated spectra with known baselines, water-suppressed 1H NMR spectra, and 13C DEPT-135 spectra, and was compared with conventional baseline-correction algorithms and unconstrained deep learning models. The spline-constrained model reduced baseline estimation errors, improved stability in peak-crowded regions, and yielded peak integrals closer to reference values than direct point-wise regression. These results suggest that constraining neural-network outputs to a spline-defined smooth function space provides a robust and physically interpretable strategy for automated NMR baseline correction.
Related Concept Videos
NMR Spectrometers: Resolution and Error Correction
¹H NMR: Interpreting Distorted and Overlapping Signals
As Δν decreases and the signals move closer, the doublets appear increasingly distorted. The intensities of the inner lines increase at the cost of those of the outer lines as the signals are slanted or...
Interpreting ¹H NMR Signal Splitting: The (n + 1) Rule
2D NMR: Overview of Homonuclear Correlation Techniques
COSY90 is the standard two-dimensional (2D) COSY experiment that...
NMR Spectrometers: Overview
¹³C NMR: ¹H–¹³C Decoupling
A broadband decoupling technique is used to simplify these complex, sometimes overlapping, signals. Broadband decoupling relies on a...

