Classical digital signal processing (DSP) and machine learning represent two traditions for extracting information from measurements. DSP is model-based: it starts from mathematical descriptions of signals and systems — linearity, stationarity, sampling theory, known noise spectra — and derives optimal procedures such as filters and transforms. Machine learning is data-driven: it fits flexible functions to examples. Modern signal-intelligence systems in industry, medicine, and defense almost always combine the two, and knowing where to draw the line between them is one of the most consequential design decisions in the field.
Filtering and denoising
Before any learning happens, most pipelines condition the signal. Standard tools include FIR and IIR filters (Butterworth, Chebyshev, elliptic designs) for band selection and interference removal; Wiener filtering for statistically optimal noise reduction when signal and noise spectra are known; Kalman filters for tracking states in noisy time series; adaptive filters (LMS/RLS) for interference that changes over time, as in echo cancellation; and wavelet shrinkage for denoising transient, non-stationary signals. Equally fundamental is correct sampling: the Nyquist–Shannon theorem dictates minimum sampling rates, and aliasing introduced at acquisition time cannot be repaired later by any model, however large.
Feature engineering versus end-to-end learning
The classical recipe computes hand-designed features — FFT band energies, spectral centroid and flux, cepstral coefficients, autocorrelation statistics, wavelet coefficients — and feeds them to a compact model such as gradient-boosted trees or an SVM. The end-to-end recipe feeds raw or lightly processed signals into a deep network that learns its own representation. End-to-end learning has won decisively in speech recognition and large-scale audio, where data is abundant. But engineered features retain three advantages: they are interpretable (a maintenance engineer can see which frequency band moved), they are cheap to compute on embedded hardware, and they encode decades of domain knowledge that does not need to be relearned from data.
When DSP priors beat raw deep learning
A useful heuristic: the less data you have and the more physics you know, the more the balance tilts toward DSP. Typical conditions where a DSP-first design wins:
- Small labeled datasets. Hundreds or a few thousand examples cannot support a network learning the Fourier transform implicitly; giving it a spectrogram removes that burden.
- Known signal structure. If the phenomenon lives in a known band (bearing-fault harmonics, mains interference at 50/60 Hz), filtering for it directly is more reliable than hoping a model finds it.
- Hard compute or power budgets. An FFT plus a small classifier can run on a microcontroller; a raw-waveform transformer cannot.
- Robustness and auditability requirements. A filter's behavior is provable across all inputs; a learned front end's is not — a distinction that matters in safety-critical and regulated systems (see Medical AI: Validation and the Regulatory Landscape).
Conversely, end-to-end learning is favored when data is plentiful, the discriminative structure is unknown or too complex to hand-specify, and the deployment platform can afford it.
Sample efficiency and inductive bias
The underlying principle is inductive bias: every constraint you build into a system is information the training data does not have to supply. A mel filter bank, a bandpass filter, or a phase-invariant magnitude representation each shrink the hypothesis space, which reduces the data needed to reach a given accuracy — the practical meaning of sample efficiency. The cost is that a wrong prior caps performance: if discriminative information hides in the phase you discarded, no amount of downstream modeling recovers it. Well-run projects therefore treat the DSP front end as a hypothesis to be validated, comparing engineered-feature and learned-representation baselines on held-out data rather than assuming either.
Hybrid architectures in practice
The dominant production pattern is a DSP front end feeding a learned back end: anti-aliasing and resampling, denoising, a time–frequency transform, then a CNN, CRNN, or transformer over the resulting image-like representation. Newer work makes the boundary itself trainable — differentiable DSP layers whose filter parameters are learned jointly with the network — retaining the structure of classical processing while letting data fine-tune it. Applications such as acoustic event detection show the pattern clearly: classical gating and features where power is scarce, learned models where accuracy is scarce.
Key takeaways
- DSP encodes physics; ML encodes data. Production systems combine them, and the split is a design decision, not a default.
- Get acquisition right first: aliasing and unfiltered interference cannot be fixed by any downstream model.
- Engineered features win on small data, embedded hardware, and auditability; end-to-end learning wins at scale.
- DSP priors buy sample efficiency by shrinking the hypothesis space — but a wrong prior caps achievable accuracy, so validate it empirically.
- The standard modern architecture is a DSP front end feeding a learned back end, increasingly with differentiable, jointly trained DSP layers.
MLAIA consults on signal processing and machine learning systems — hybrid DSP–ML pipelines for industrial, medical, and defense signals. See our domain expertise or contact us. Related reading: Supercharging ML Models with Classical DSP and Audio AI in Production.