﻿# YOLO26: task-specific masks, detection heads and speed

Separate YOLO26 detection from instance and semantic segmentation, and preserve the selected head when comparing accuracy, exports and latency.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/yolo26-detection-segmentation-head-benchmark-contract/
Language: en

## The family name does not select the output task

[YOLO26 documentation](https://docs.ultralytics.com/models/yolo26) lists separate detection, instance-segmentation and semantic-segmentation checkpoints. A shared model family does not mean that loading a detector produces pixel masks, or that an instance mask gives a complete scene classification. Preserve the actual checkpoint suffix and required output before comparing deployment options.

The [semantic task documentation](https://docs.ultralytics.com/tasks/semantic) describes one class map per image, with no instance boxes or masks in its result. Its Cityscapes nano example reports 78.3 mIoU and 4.4 ms on RTX3090 PyTorch at 1024 by 2048. This is a separate task, dataset, resolution and backend from the detection table. It does not supply a small-device memory requirement or a comparable CPU segmentation result.

## The current head-selection contract matters

The [current end-to-end guide](https://docs.ultralytics.com/guides/end2end-detection) states that prediction and validation default to the one-to-many head with NMS. Selecting `nms=False` requests the one-to-one NMS-free path. In export, the default instead leaves raw one-to-many outputs for the consumer to process. Thus a missing embedded NMS operator does not by itself identify an NMS-free detector.

The [original YOLO26 paper](https://arxiv.org/html/2606.03748v1) describes the one-to-one path as default, so reproductions must preserve release and runtime settings rather than assume historical wording matches the current API. An exported graph also retains its chosen output path; changing a load-time flag does not rebuild it. Mask reconstruction and other task-specific processing remain separate from suppression.

## Keep accuracy and speed on the same path

The current detection table gives nano results at image size 640: 40.9 mAP for the standard path and 40.1 for end-to-end, alongside 38.9 ms CPU ONNX and 1.7 ms T4 TensorRT. Across scales, the displayed accelerator range reaches 11.8 ms. Its speed note selects the NMS-free head. Combining the higher standard-path accuracy with that speed without identifying the different heads would misdescribe the operating point.

The paper’s up-to-43-percent CPU comparison concerns YOLO26n against YOLO11n in ONNX on a Xeon at 2.00 GHz. It cannot be transferred to semantic segmentation, a different processor, or a complete camera pipeline. Likewise, fused inference parameter counts need not equal the unfused training checkpoint’s counts.

## Evaluate the required image result

A local check should preserve source geometry, checkpoint, task, precision, head selection, export settings and postprocessing. Compare the native and exported results on the same images before interpreting latency changes. For semantic output, inspect class identity and boundaries; for instance output, inspect separate overlapping objects. The [SegFormer geometry guide](/journal/fg2-segformer-logit-resize-class-order/) supplies useful background without prescribing its processing order for YOLO.

Measure decoding, preprocessing, model execution and final output preparation under explicit timing boundaries. The [benchmark guide](/journal/inference-benchmark-method/) explains why those boundaries and failed inputs belong in the result. The repository’s [AGPL license](https://raw.githubusercontent.com/ultralytics/ultralytics/main/LICENSE) is also part of the selected artifact record, rather than something an export format changes automatically. These checks turn YOLO26’s concrete release evidence into a testable local option without presenting detection latency as universal segmentation performance.
