Learn how receptive fields help [CNNs](https://www.ultralytics.com/glossary/convolutional-neural-network-cnn) see context. Explore why [YOLO26](https://docs.ultralytics.com/models/yolo26/) optimizes this for superior object detection.
In the domain of computer vision (CV) and deep learning, the receptive field refers to the specific region of an input image that a particular neuron in a neural network (NN) "sees" or analyzes. Conceptually, it functions similarly to the field of view of a human eye or a camera lens. It determines how much spatial context a model can perceive at any given layer. As data progresses through a Convolutional Neural Network (CNN), the receptive field typically expands, allowing the system to transition from identifying tiny, local details—like edges or corners—to understanding complex, global structures like entire objects or scenes.
Размер и глубина рецептивного поля определяются архитектурой сети. В начальных слоях нейроны обычно имеют небольшое рецептивное поле, фокусируясь на крошечной группе пикселей для захвата мелких текстур. По мере углубления сети такие операции, как объединение слоев и шаговые свертки, эффективно уменьшают разрешение карт признаков. Этот процесс позволяет последующим нейронам агрегировать информацию из гораздо большей части исходного входа.
Современные архитектуры, включая передовую Ultralytics , разработаны таким образом, чтобы тщательно сбалансировать эти поля . Если рецептивное поле слишком узкое, модель может не распознать крупные объекты, поскольку не сможет воспринять их форму целиком. И наоборот, если поле слишком широкое и не поддерживает разрешение, модель может пропустить мелкие объекты. Чтобы решить эту проблему, инженеры часто используют дилатационные свертки (также известные как атрозные свертки) для расширения рецептивного поля без снижения пространственного разрешения, что является важной техникой для высокоточных задач, таких как семантическая сегментация.
Оптимизация рецептивного поля имеет решающее значение для успеха различных решений в области искусственного интеллекта.
Чтобы полностью понять принципы проектирования сетей, полезно отличать рецептивное поле от схожих терминов:
State-of-the-art models like the newer YOLO26 utilize Feature Pyramid Networks (FPN) to maintain effective receptive fields for objects of all sizes. The following example shows how to load a model and perform object detection, leveraging these internal architectural optimizations automatically. Users looking to train their own models with optimized architectures can utilize the Ultralytics Platform for seamless dataset management and cloud training.
from ultralytics import YOLO
# Load the latest YOLO26 model with optimized multi-scale receptive fields
model = YOLO("yolo26n.pt")
# Run inference; the model aggregates features from various receptive field sizes
results = model("https://ultralytics.com/images/bus.jpg")
# Display the results, detecting both large (bus) and small (person) objects
results[0].show()