Glossary

Neural Network (NN)

Discover the power of Neural Networks—key to AI and ML innovations like computer vision, NLP, and deep learning breakthroughs.

Train YOLO models simply
with Ultralytics HUB

Learn more

Neural Networks (NNs), often called Artificial Neural Networks (ANNs), are computational models inspired by the complex structure and function of the human brain. They form a cornerstone of modern Artificial Intelligence (AI) and Machine Learning (ML), designed primarily to recognize intricate patterns within data. These networks power many intelligent systems we interact with daily, from sophisticated image recognition tools to advanced language translation services.

Understanding Neural Networks

A neural network consists of layers of interconnected nodes, or neurons. These layers typically include an input layer that receives raw data, one or more hidden layers that process the data, and an output layer that produces the final result, such as a classification or prediction. Each connection between neurons carries a weight, signifying the connection's importance. Neurons process their inputs using an Activation Function to determine the output signal they pass on. The network learns by adjusting these weights during a training process, commonly using algorithms like gradient descent and backpropagation, to minimize the error between its predictions and the actual target values. For guidance on effective training, see our Model Training Tips.

Models employing Deep learning are essentially neural networks with numerous hidden layers (hence "deep"). This depth allows them to learn highly complex patterns and hierarchical features from large datasets, making them exceptionally effective for tasks like object detection and image segmentation. Unlike simpler ML models that might require manual feature engineering, NNs excel at automatically extracting relevant features from unstructured data like images and text.

Applications of Neural Networks

Neural Networks are incredibly versatile and have been applied across numerous domains. Here are two key examples:

  1. Computer Vision: In the field of computer vision (CV), NNs, particularly specialized types like CNNs, are used to analyze and interpret visual information. State-of-the-art models like Ultralytics YOLO leverage deep neural networks for real-time object detection, image segmentation, and pose estimation, enabling applications from autonomous driving to medical imaging analysis. You can train and deploy such models using platforms like Ultralytics HUB.
  2. Natural Language Processing: NNs are fundamental to Natural Language Processing (NLP), enabling machines to understand and generate human language. Applications include machine translation, sentiment analysis, and chatbot development. Models like BERT and various GPT models are based on sophisticated neural network architectures, specifically Transformers.

Neural Networks vs. Similar Concepts

It's helpful to distinguish NNs from related AI concepts:

  • Artificial Intelligence (AI): AI is the broad field of creating intelligent machines. NNs are a specific technique used within AI to achieve learning capabilities.
  • Machine Learning (ML): ML is a subset of AI focused on algorithms that learn from data. NNs are a major class of ML models, particularly dominant in deep learning.
  • Deep Learning (DL): DL is a subfield of ML that specifically uses NNs with many layers (deep architectures) to model complex patterns. All deep learning models are neural networks, but not all neural networks are deep.
  • Convolutional Neural Networks (CNNs): CNNs are a specialized type of NN designed primarily for processing grid-like data, such as images, making them highly effective for computer vision tasks.
  • Recurrent Neural Networks (RNNs): RNNs are designed to handle sequential data, like text or time series, by having connections that form cycles, allowing information to persist.
  • Transformers: Transformers are a more recent architecture, heavily reliant on attention mechanisms, that have become state-of-the-art for many NLP tasks and are increasingly used in computer vision.

In summary, Neural Networks are powerful, brain-inspired models that enable machines to learn complex patterns from data. They are fundamental building blocks for deep learning and drive progress across diverse AI applications, from understanding images with computer vision to processing language in NLP.

Read all