What is Deep Learning?
Deep learning is a branch of machine learning that uses multi-layer ("deep") artificial neural networks to learn features directly from data. Engineers do not write the rules; the model works out which patterns matter from examples.
How Does Deep Learning Work?
A neural network is a stack of layers. Each layer multiplies its input by weights, adds a bias and passes the result through a non-linear function (e.g. ReLU). Early layers represent simple features (edges, spectral peaks); later layers represent more abstract concepts (a scratch, bearing damage).
During training the model makes a prediction, a loss function measures the gap between prediction and true label, and backpropagation computes how much each weight contributed to that error. An optimiser (SGD, Adam) then nudges the weights in the direction that reduces the loss.
Difference from Traditional Algorithms
| Approach | Who defines the features? | Data needed |
|---|---|---|
| Rule-based | The engineer (thresholds, if-else) | Very little |
| Classical machine learning | The engineer (RMS, peak value etc.); a classifier learns | Moderate |
| Deep learning | The model learns them from raw data | High |
Example: Classifying Faults from a Vibration Spectrum
A motor's vibration is sampled at 10 kHz and a 1024-point FFT is taken. The frequency resolution is:
Δf = fs / N = 10,000 / 1024 ≈ 9.77 Hz
If the resulting 512 frequency bins feed a hidden layer of 64 neurons, that single layer has:
512 × 64 + 64 = 32,832 parameters
The output layer gives classes such as "normal / imbalance / bearing damage". Even a small network carries tens of thousands of parameters, which is why the amount of labelled data and control of overfitting become critical.
Common Mistakes
- Training from scratch on little data: with a few hundred images, starting from transfer learning usually beats training a large network from scratch.
- Feeding unconditioned raw signals: noisy, clipped or aliased data misleads the model. Correct sampling and filtering come first.
- A randomly split test set: if consecutive windows from the same machine land in both training and test, the score is inflated.
- Deep learning for every problem: if a simple threshold or RMS trend is enough, prefer the explainable method.
Use Cases in Industry
- Visual Inspection: detecting defects such as scratches, cracks or missing parts using camera feeds.
- Predictive Maintenance: analysing vibration or sound patterns to predict component failures before they happen.
- Signal Processing: cleaning noisy sensor data in advanced devices like the ZMA Data Acquisition system and identifying complex signal patterns that simple filters miss.
For running compact models on a microcontroller, see Predictive maintenance with NPU MCUs. Our project-based approach: Industrial AI.
Related Terms
- What are Transfer Learning and Foundation Models?What is transfer learning? Adapting a pre-trained model to your own problem with little data: backbone, head, fine-tuning options and foundation models.
- What are Overfitting and Generalisation?What is overfitting and how to spot it? A training vs validation loss example, data leakage, class imbalance and test splits for predictive maintenance.
- Model Training and Optimization: Pre-training, Fine-tuning, LoRA, QuantizationWhat are pre-training, fine-tuning, LoRA and quantization? Core concepts for running models on edge devices, with parameter and memory examples.
- What is Computer Vision?What computer vision is: classification, detection, segmentation, a camera resolution calculation, IoU and mAP, industrial uses and common mistakes.
- What is Industrial AI?How Industrial AI differs from general-purpose AI: field measurement data, validation on unseen sites and an application that runs every day.