What is Deep Learning?

Deep LearningAIMachine LearningNeural NetworksAnomaly Detection

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

ApproachWho defines the features?Data needed
Rule-basedThe engineer (thresholds, if-else)Very little
Classical machine learningThe engineer (RMS, peak value etc.); a classifier learnsModerate
Deep learningThe model learns them from raw dataHigh

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