CNNs for Computer Vision

Why is DL used?

Deep learning (DL) is used because it learns useful patterns from raw data such as images, audio and text, with less hand-built feature design.

On this page
  1. The short answer
  2. What deep learning means
  3. Why deep learning is used
  4. Where deep learning is used
  5. When deep learning is not the best tool
  6. Putting it together

The short answer

Deep learning (DL) is used because it can learn useful patterns directly from large amounts of raw data, such as images, audio and text. Instead of relying on people to write rules or hand-pick features, a deep network learns its own internal representations during training. That makes it well suited to messy, high-dimensional data, and it has produced strong results on many tasks that were hard for earlier methods.

What deep learning means

Deep learning is a branch of machine learning that uses neural networks with many layers. The “deep” refers to the depth of the stack of layers. Each layer transforms its input, and training adjusts the weights so that the outputs better match the labels in the training data.

Readers who ask “Is a neural network a deep learning model?” are often confused by the terms. A neural network is the general structure. Deep learning usually refers to neural networks with many hidden layers, though there is no exact cutoff. The difference between artificial neural networks and deep neural network is mostly one of depth and scale.

Why deep learning is used

It learns features automatically. Traditional machine learning often needs experts to design features, such as counting particular words or measuring shapes. A deep network learns features from the data itself, layer by layer.

It works well on unstructured data. Images, speech and natural language do not fit neatly into rows and columns. Deep learning is a common way to handle them.

It can improve with more data and computing power. Performance often keeps improving as models, data and compute grow, although the gains slow down and the costs rise.

It can be reused. A model pretrained on a large dataset can be adapted to a new task with less labeled data. This is called transfer learning.

Deep models usually need far more examples than simpler methods. The answer to “Why is data important for machine learning?” applies here with extra force.

Where deep learning is used

  • Speech recognition in voice assistants and transcription tools.
  • Image recognition, such as photo tagging and visual search.
  • Machine translation between languages.
  • Text generation and summarization, including large language models.

When deep learning is not the best tool

Deep learning is not always the right choice. It usually needs:

  • a lot of training data, or a pretrained model to start from,
  • substantial computing power, often GPUs,
  • more effort to explain its decisions than a simple model requires.

For small tables of structured data, simpler methods such as linear models or decision trees often work well and are easier to understand.

Putting it together

Deep learning is used because it learns useful representations directly from raw data, handles images, speech and text well, and can be reused and scaled up. Its costs are real, though: large datasets, computing power and less transparency. For problems with lots of data and unstructured inputs, it is often a strong choice. For small, structured problems, simpler methods may do better.

The complete guide to cnns for computer vision

Why Convolutional Neural Networks Are Preferred for Computer Vision Applications
Read the guide

Keep exploring

Guides from other topics

All topics →