YOLO-Master v26.08 β Release Report
2026-08-21 Β· Ultralytics 8.4.101 / YOLO26 Β· CVPR 2026
YOLO-Master v26.08 evolves from an MoE detector into a routed real-time vision framework.
It learns not just what to see, but where, how, and for which task to compute.
| π Routed Architecture | π― MultiTask | π§ PEFT Adaptation | β‘ Edge Deployment |
|---|---|---|---|
| MoE Β· MoA Β· MoT Β· Latent | detect Β· seg Β· pose | LoRA Β· MoLoRA Β· Planner | 5 backends |
β 377 passed Β· β‘ YOLO26 compatible Β· π₯οΈ Live Demo
π Docs Β· π Model Zoo Β· π¬ Discuss Β· π Diff
π Navigation
Overview Β· Architecture Β· Mixture Β· PEFT Β· MultiTask Β· Edge Β· Reliability Β· Capability Β· Benchmarks Β· Migration Β· Limitations
π Overview
Important
v26.08 is a cumulative release from YOLO-Master-v26.02. It rebases on Ultralytics 8.4.101 / YOLO26, integrates five routing families (MoE, MoA, MoT, Latent Mixture, MoLoRA) under a shared protocol, adds four PEFT paths (Standard LoRA, Planner/V-PEFT, MoLoRA, FewShot-LoRA), enables preview MultiTask learning (detect/segment/pose), and hardens the full lifecycle β from training through export to deployment β with P0-P2 evidence.
YOLO-Master no longer describes itself as just "an MoE detector." v26.08 introduces routing as a first-class framework abstraction:
- Architecture Routing β which expert / attention head / transformer / latent channel computes
- Adaptation Routing β which parameters are trained, at what rank, through which adapter expert
- Task Routing β which task branch activates for each spatial token
All three axes share a single routing protocol for auxiliary loss collection, temperature scheduling, and diagnostics. CompositeCriterion collects by family with EMA normalization, global budgeting, and NaN isolation.
v26.08 conceptual overview: unified tasks, routed architectures, parameter-efficient adaptation, cross-platform deployment.
Release at a Glance
| Release range | YOLO-Master-v26.02 β YOLO-Master-v26.08 |
| Audited history | 637 commits (517 non-merge + 120 merge) Β· 34 author identities |
| Upstream upgrade | Ultralytics 8.3.240 β 8.4.101 |
| Native model family | YOLO26 detect Β· segment Β· semantic Β· pose Β· OBB Β· classify Β· YOLOE |
| Release gate | 377 passed Β· 1 xfailed (mixture/P0-P2 scope) |
| Model catalog | 7 evaluated checkpoints Β· 3 pending/evaluating variants |
| License | AGPL-3.0 |
Release Provenance
| Artifact | Value |
|---|---|
| Source tag | YOLO-Master-v26.08 |
| Tag target | git rev-parse YOLO-Master-v26.08^{} |
| Python package | ultralytics==8.4.101 |
| Published assets | .whl Β· .tar.gz (see Releases) |
| Comparison base | YOLO-Master-v26.02 |
Why Upgrade?
| Reason | Detail |
|---|---|
| πΌ New foundation | YOLO26 native task / checkpoint / export contracts from Ultralytics 8.4.101 |
| π Unified routing | Shared protocol for MoE, MoA, MoT, Latent Mixture, MoLoRA aux losses, temperature scheduling, diagnostics, export reporting |
| ποΈ Multiple adaptation paths | Fixed-rank LoRA Β· PEFT Planner Β· FewShot-LoRA Β· Routed MoLoRA adapters |
| π¦ Cross-platform deployment | ONNX Runtime Β· NCNN Β· MNN Β· TensorRT Β· Core ML on Windows / Linux / Jetson / macOS |
Canonical release notes:
docs/release-notes/v26.08.mdβ P0-P2 hardening summary, validation evidence, migration steps, known limitations.
π Accompanying Paper
[!NOTE]
YOLO-PEFT: Parameter-Efficient Fine-Tuning on YOLO Family β the accompanying paper is now available on arXiv.
Code and experiments are already included in v26.08.
The YOLO-PEFT framework: a four-stage parameter-efficient fine-tuning pipeline. (1) Parse β the detector graph (YOLO11 / YOLO12 / YOLO-World / RT-DETR / YOLO-Master) is reduced to a role-aware typed graph with operator role and semantic role annotations. (2) Plan β a structure-aware planner enumerates candidates (Conv, Linear, Attention), filters structurally-blocked operators (DWConv, DFL, Router), applies constraints, performs budget-aware rank assignment under Ξ£cα΅’(rα΅’) β€ B, and emits a resolved placement plan Ο or refuses back to full fine-tuning. (3) Train β YOLO-compatible runtime treats the detector as frozen base Wβ plus trainable sidecar ΞW(Ο). (4) Deploy β optional adapter merge for zero-overhead inference, export to ONNX / TensorRT.
Tip
Citation. Read the accompanying paper on arXiv.
π From v26.02 to v26.08
v26.02 established ES-MoE, standard LoRA, Sparse SAHI, CW-NMS, and basic MoE loss/pruning on Ultralytics 8.3.240. v26.08 transforms this foundation into a routed vision framework with explicit parser, loss, checkpoint, data, export, and validation contracts.
| Concern | v26.02 | v26.08 |
|---|---|---|
| Foundation | Ultralytics 8.3.240 |
Ultralytics 8.4.101 + YOLO26 native family |
| Conditional compute | ES-MoE + basic routing | MoE / MoA / MoT / Latent Mixture / MoLoRA β shared routing protocol, dynamic scheduling, diagnostics, shared-expert reuse, loss budgeting |
| Adaptation | Fixed-rank LoRA | Standard LoRA + FewShot-LoRA + Planner / V-PEFT + LOVO + Routed MoLoRA |
| Task coverage | Detection only | Native YOLO26 family + MultiTask preview (detect / segment / pose) |
| Deployment | Sparse SAHI + CW-NMS | Export preflight + capability matrix + documented ONNX / NCNN / MNN / TensorRT / Core ML paths |
| Operational | Per-feature tests | P0-P2 lifecycle: AMP / MPS / DDP / EMA / checkpoints / NaN recovery / catalog / audits |
Development Timeline
| Period | Evolution | v26.08 Artifact |
|---|---|---|
| Feb 2026 | v26.02: ES-MoE, LoRA, Sparse SAHI, CW-NMS | Original detection + sparse inference + fixed-rank adaptation |
| MayβJun | FewShot-LoRA, MoE routing fixes, MoA / MoT blocks, ablation tooling | Routed attention + transformer paths beyond conv experts |
| Early Jul | MoLoRA, LOVO, V-PEFT / Planner, model profiles, C++ edge examples | Architecture-aware PEFT planning and adapter runtime |
| MidβLate Jul | AMP safety, DDP / EMA / checkpoint hardening, NaN recovery, export preflight, 8.4.101 rebase |
Numerical, distributed, checkpoint, export boundaries |
| Early Aug | Shared Expert MoE, Latent Mixture contracts, MultiTask integration, COCO smoke profiles | Model-scoped expert reuse + detect / segment / pose MultiTask |
π·οΈ Production & Research Surface
v26.08 separates features into two clear regions to avoid "feature zoo" perception.
Project Identity: Core / Framework / Labs
YOLO-Master is no longer just one paper's codebase β it is a growing platform. v26.08 defines three layers with distinct expectations:
| Layer | Scope | Evidence Standard | Examples |
|---|---|---|---|
| YOLO-Master Core | The CVPR 2026 detection paper | Published checkpoints, full COCO benchmarks, Pareto analysis | ES-MoE, Dense baseline |
| YOLO-Master Framework | Shared infrastructure for all routing families | Component-level contracts, CI gate, export preflight | Routing Protocol, CompositeCriterion, Mixture Registry, PEFT, MultiTask, Export |
| YOLO-Master Labs | Research modules exploring new routing surfaces | Functional interfaces, build/forward verification | MoA, MoT, Latent Mixture, MoLoRA, V-PEFT |
This separation ensures:
- Core users see a clear, validated product with published evidence.
- Framework consumers see robust infrastructure they can build on.
- Labs explorers know which modules are research-grade and have no accuracy/latency claims.
Three-Axis Status: API Maturity Γ Accuracy Evidence Γ Export Readiness
Previous releases used a single status label (STABLE / VALIDATED / EXPERIMENTAL / OPT-IN) that conflated API maturity, evidence level, and default-enablement. v26.08 separates these concerns:
| Feature | API Maturity | Accuracy Evidence | Export |
|---|---|---|---|
| ES-MoE | Stable | β Published (N/S/M, full COCO) | ONNX β Β· TRT β³ |
| Shared Expert MoE | Stable | β³ Component-level only | ONNX β Β· TRT β³ |
| MoA | Experimental | β³ Build/forward verified | ONNX dense β Β· TRT ? |
| MoT | Experimental | β³ Build/forward verified | ONNX dense β Β· TRT ? |
| Latent Mixture | Experimental | β³ Build/forward verified | ONNX dense β Β· TRT ? |
| MultiTask | Preview | β³ Detect/seg/pose partial | ONNX β³ Β· TRT ? |
| Standard LoRA | Stable | β Published benchmarks | Merge β |
| PEFT Planner / V-PEFT | Beta | β³ Solver contracts verified | Merge β |
| MoLoRA | Beta | β³ Routing-aware merge verified | Merge β |
| FewShot-LoRA / LOVO | Beta | β³ Strategy comparison API | Merge β |
Status key β API Maturity:
Stable= public API, backward-compatible Β·Beta= opt-in, may evolve Β·Preview= working, not yet API-stable Β·Experimental= research interface, may change without notice.Accuracy Evidence: β = published end-to-end metrics Β· β³ = component-level tests pass, no full training run published.
Export: β = hardware-verified Β· β³ = ONNX round-trip passes, no hardware validation Β· ? = untested.
Production Surface
Stable, validated, and documented for users who want to adopt v26.08 today.
| Module | What It Delivers |
|---|---|
| ποΈ YOLO26 / Ultralytics 8.4.101 | Native task flows, checkpoint compat, export integrity, additive mixture registration |
| β‘ ES-MoE (Backbone) | Sparse expert routing with released checkpoints (N/S/M), COCO benchmark evidence |
| π Shared Expert MoE | Model-scoped expert-pool reuse with cross-model isolation |
| π― Standard LoRA | Fixed-rank adaptation, all model families, documented benchmarks |
| π¦ ONNX / NCNN / MNN | C++ backends with Windows GUI, Jetson benchmark |
| π‘οΈ Export Governance | Export preflight, capability matrix, backend compatibility validation |
Research Surface
Opt-in profiles with functional interfaces β no release-level accuracy or latency claim.
| Module | What It Delivers |
|---|---|
| β‘ MoA (Routed Attention) | Local/regional/global attention paths, soft mixture, optional sparse eval |
| π MoT (Routed Transformers) | Transformer experts over spatial tokens, soft Top-K gating, scene-aware routing |
| π Latent Mixture | Dense latent routing, configurable init/noise, calibration-gated inference |
| π MultiTask | Detect / segment / pose from shared backbone with TaskRouter |
| π§ PEFT Planner / V-PEFT | Architecture-conditioned adapter placement, AO/DCO/MIP solvers |
| ποΈ MoLoRA | Sparse routing over low-rank adapter experts, routing-aware merge |
| π‘ FewShot-LoRA / LOVO | Scheduled DropConnect, teacher distillation, adaptation strategy comparison |
β‘ Quick Start
Install v26.08 (Recommended β Pinned to Release Tag)
git clone --branch YOLO-Master-v26.08 --depth 1 https://github.com/Tencent/YOLO-Master.git
cd YOLO-Master && pip install -e .
yolo version && yolo checksThis ensures you get the exact audited v26.08 commit (637 commits, 377 passed gate), not whatever is on main.
Install from main (Nightly / Development)
git clone https://github.com/Tencent/YOLO-Master.git
cd YOLO-Master && pip install -e .Architecture Selection Guide
| Use Case | Model YAML | Status |
|---|---|---|
| Native YOLO26 baseline | ultralytics/cfg/models/26/yolo26.yaml |
Stable |
| YOLO26 + MoE blocks | ultralytics/cfg/models/26/yolo26-master-n.yaml |
Experimental |
| Multi-task training | ultralytics/cfg/models/26/yolo26-master-mt-n.yaml |
Preview |
| Shared expert parameters | .../v0_8/det/yolo-master-moe-mot-shared-n.yaml |
Validated |
| MoA + MoT routing | .../v0_10/det/yolo-master-moa-mot-n.yaml |
Experimental |
| Latent-space routing | .../26/yolo26-master-latent-n.yaml |
Experimental |
| Routed LoRA adapters | yolo26.yaml + molora_* args |
Opt-in |
from ultralytics import YOLO
# Multi-task: detect + segment + pose
multitask = YOLO("ultralytics/cfg/models/26/yolo26-master-mt-n.yaml", task="multitask")
# Shared Expert MoE
shared = YOLO("ultralytics/cfg/models/master/v0_8/det/yolo-master-moe-mot-shared-n.yaml")
# MoA + MoT combined
moa_mot = YOLO("ultralytics/cfg/models/master/v0_10/det/yolo-master-moa-mot-n.yaml")
# Latent Mixture
latent = YOLO("ultralytics/cfg/models/26/yolo26-master-latent-n.yaml")WebUI
Live WebUI: task selection, interactive inference controls, visual output, and structured detection results.
Open Live Demo Β· python app.py for local launch
Note
Mixture features are selected through model YAML files, not undocumented CLI flags.
1. Unified Routing Architecture
v26.08's primary architectural innovation is that routing is no longer a per-module implementation detail β it is a framework-level abstraction. Three independent routing axes share a common protocol, loss collection, and diagnostic surface.
YOLO-Master
β
Adaptive / Routed Vision
β
ββββββββββββββββββββββββΌβββββββββββββββββββββββ
β β β
Architecture Routing Adaptation Routing Task Routing
β β β
MoE / MoA / MoT LoRA / MoLoRA / PEFT TaskRouter
Latent Mixture MultiTask Heads
β β β
ββββββββββββββββββββββββΌβββββββββββββββββββββββ
β
Shared Routing Protocol
β
Train / Diagnose / Export / Deploy
YOLO-Master v26.08 preserves the standard Ultralytics parse_model() pipeline as its construction entry point while adding a parallel mixture resolution layer. Four complementary mixture surfaces β backbone expert routing, neck attention/transformer routing, and head-fusion latent routing β operate alongside an independent PEFT adapter injection plane.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MODEL YAML β
β parse_model() + mixture_registry β additive profile resolution β
ββββββββββββ¬βββββββββββββββββββββ¬βββββββββββββββββββ¬ββββββββββββββββ
βΌ βΌ βΌ
ββββββββββββββββ ββββββββββββββββ ββββββββββββββββββββ
β BACKBONE β β NECK β β HEAD FUSION β
β ES-MoE β β MoA (routed β β Latent Mixture β
β Gated MoE β β attention) β β (dense routing β
β Shared MoE β β MoT (routed β β + calib gate) β
β (Top-K/gated)β β transformer)β β β
ββββββββ¬βββββββββ ββββββββ¬ββββββββ ββββββββββ¬ββββββββββββ
β β β
βββββββββββββββββββββΌββββββββββββββββββββββ
β
βββββββββββΌββββββββββ
β SHARED ROUTING β
β PROTOCOL β
β aux loss + temp β
β scheduling + diag β
βββββββββββ¬ββββββββββ
β
βββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
ββββββββββββββ ββββββββββββββ ββββββββββββββββ
β PEFT CTRL β βNative/Multiβ β Composite β
β Planner β β βTask Heads β β Criterion β
β MoLoRA inj. β βdet/seg/poseβ β EMA+budget+ β
ββββββββββββββ βββββββ¬βββββββ β NaN isolation β
β βββββββββ¬βββββββββ
β β
ββββββββΌββββββββββββββββββΌβββββββ
β TRAINER β
β AMP Β· DDP Β· EMA Β· checkpoint β
ββββββββββββββββββββββββββββββββββ
System architecture. Model YAML drives both upstream parsing and additive mixture resolution. PEFT flows through a separate Planner/V-PEFT β MoLoRA control plane. All routed modules publish losses through a single protocol facade; CompositeCriterion collects by family with EMA normalization, global budgeting, and NaN isolation.
1.1 Routing Protocol
The shared routing protocol (ultralytics/nn/modules/routing_protocol.py) is the single canonical interface for all five routing families. Each routed module calls publish_aux_loss() during forward, passing a family identifier, loss tensor, and optional diagnostics.
Three guarantees:
- Deduplication. Losses collected once per
covered_modulesset β a module visited through multiple forward paths is not double-counted. - Stale-record rejection. Loss records from eval or non-training contexts are discarded; the protocol enforces detach-zero at publish time.
- Detached diagnostics. Diagnostic tensors preserved with
.detach(), separating monitoring signals from gradient computation.
1.2 Composite Criterion
CompositeCriterion consumes published auxiliary losses in three stages:
- Per-family EMA normalization β configurable decay smooths loss magnitudes across steps.
- Global auxiliary budget β proportional gain layer prevents any family from dominating.
- Non-finite isolation β a NaN in one family is isolated and synchronized across all DDP ranks before the primary task loss is computed, preventing cross-contamination.
1.3 Mixture Surface Taxonomy
| Layer | Family | Routing Object | Placement | Execution Boundary |
|---|---|---|---|---|
| Backbone | ES-MoE, Gated MoE, Shared MoE | Conv/FFN expert weights (Top-K / gated) | Feature stages | Sparse dispatch (eager); model-scoped sharing |
| Neck | MoA | Local, regional, global attention paths | FPN attention blocks | Soft mixture (dense); optional batch-level sparse skip |
| Neck | MoT | Transformer experts over spatial tokens | Transformer blocks | Dense training; Top-K eager eval; TaskRouter separate |
| Head fusion | Latent Mixture | Image-level latent expert probs | Multi-scale fusion | Dense training; calibration-gated sparse inference |
| PEFT | MoLoRA | Adapter-expert Top-K weights | Runtime around Linear / Conv2d | Standard LoRA mutually exclusive with MoLoRA |
Important
Routing β task selection. MoT provides shared visual representations. TaskRouter computes per-token task affinity and applies task / shared feature gates to every YAML-enabled branch β YAML plus the dataset contract decide which branches are built and supervised. Neither router chooses one final task output at inference time.
Implementation map: ultralytics/nn/tasks.py Β· ultralytics/nn/mixture_registry.py Β· ultralytics/nn/modules/routing_protocol.py Β· ultralytics/nn/mixture_loss.py Β· ultralytics/data/multitask_sampler.py Β· ultralytics/nn/peft/molora/ Β· ultralytics/utils/export_preflight.py
Full report: YOLO-Master Deep Architecture Analysis
π Capability Matrix
Architecture Γ Task Γ Feature support, verified against v26.08 evidence. β = verified, β³ = experimental/unverified, β = not supported.
| Architecture | Detect | Seg | Pose | PEFT | Sparse Infer. | ONNX | TensorRT | Status |
|---|---|---|---|---|---|---|---|---|
| YOLO26 | β | β | β | β | β | β | β | Stable |
| ES-MoE | β | β | β | β | β | β | β³ | Stable |
| Shared-MoE | β | β | β | β | β | β | β³ | Validated |
| MoA | β | β | β | β | opt. | β dense | ? | Experimental |
| MoT | β | β | β | β | β | β dense | ? | Experimental |
| Latent | β | β | β | β | β | β dense | ? | Experimental |
| MultiTask | β | β | β | β³ | β | β³ | ? | Preview |
β³ = component-level contracts pass; no full TensorRT validation for routed profiles. Core ML blocked by
coremltools/SciPy environment issue.
2. Mixture Subsystems
2.1 Ultralytics 8.4.101 + YOLO26 Modernization
v26.08 rebases on Ultralytics 8.4.101. All mixture features (MoE / MoA / MoT / MoLoRA / V-PEFT / Agent) are additive extensions β they never replace upstream task implementations.
| Compatibility Boundary | v26.08 Behavior |
|---|---|
| Official YOLO26 configs | All native YAML files preserved (detect / seg / pose / OBB / sem / cls / YOLOE) |
| End-to-end heads | YOLO26 detection-style heads retain reg_max=1, end2end=True, one-to-many / one-to-one branches |
| Train / predict / val / export | Native Ultralytics flows intact for official YOLO26 models |
| Mixture models | Registered as additive YAML profiles (no overwrite) |
| PEFT targeting | Specialized heads excluded unless lora_include_head=True |
| Checkpoints | Native fields preserved; mixture metadata added separately |
| Integrity boundary | Config + backend hashes recorded in upstream-v8.4.101-manifest.json |
Native baseline (8 tasks, all verified: build + finite forward):
| Task | Config | Task | Config |
|---|---|---|---|
| Detect | yolo26.yaml |
OBB | yolo26-obb.yaml |
| Instance Seg | yolo26-seg.yaml |
Classify | yolo26-cls.yaml |
| Semantic Seg | yolo26-sem.yaml |
YOLOE-Detect | yoloe-26.yaml |
| Pose | yolo26-pose.yaml |
YOLOE-Seg | yoloe-26-seg.yaml |
yolo mixtures kind=mot task=detect # discover mixture profiles
yolo mixtures kind=latent format=jsonπ
docs/en/guides/yolo26-mixture-compatibility.mdΒ·docs/governance/upstream-v8.4.101-manifest.jsonΒ·reports/migration/v8.4.101-native-baseline.json
2.2 Backbone MoE
The backbone MoE subsystem is the most mature mixture surface. ES-MoE applies Top-K routing over convolutional expert weights β each expert is a lightweight Conv2d block, the router a linear projection computing per-token affinities. All experts execute densely during training (GShard-style balance loss encourages uniformity); only Top-K (K=2) dispatch during evaluation.
Configuration is entirely YAML-driven through profiles under ultralytics/cfg/models/master/v0_10/det/.
ES-MoE backbone routing: expert activation distribution, Top-K gating across backbone stages, and load-balancing auxiliary loss dynamics during training.
2.3 Shared Expert MoE
SharedExpertMoE introduces model-scoped parameter reuse through pool_id. Multiple blocks sharing a pool_id reference a single fused_experts module, reducing total expert parameters without changing forward computation.
backbone:
- [-1, 1, SharedExpertMoE, [512, 4, 2, 0.5, 8, 1.2, 0.5, 1.0, 1.0, 0.01, 8, 2, 0.5, "p3_p4"]]
- [-1, 1, SharedExpertMoE, [512, 4, 2, 0.5, 8, 1.2, 0.5, 1.0, 1.0, 0.01, 8, 2, 0.5, "p3_p4"]]The temporary registry tracking pool assignments is cleared at model boundaries during parse_model(), guaranteeing cross-model isolation.
Note
Source-level estimates suggest 25β50% expert parameter reduction with sharing. Not published as end-to-end measurement in v26.08.
2.4 MoA β Mixture of Attention
MoA combines local, regional, and global attention paths behind a shared router. Unlike MoE's sparse dispatch, MoA is a dense soft mixture: all three head groups execute every forward pass, and the router produces per-group fusion weights rather than discrete selection.
| Parameter | Type | Purpose |
|---|---|---|
moa_local_window_size |
int | Local self-attention window |
moa_regional_max_kv_tokens |
int | Regional KV token cap |
moa_sparse_inference |
bool | Skip low-weight head groups at eval (opt-in) |
moa_sparse_inference_threshold |
float | Weight threshold for sparse eval |
2.5 MoT β Mixture of Transformers
MoT routes spatial tokens through transformer-style experts in the neck using soft Top-K gating.
| Parameter | Type | Purpose |
|---|---|---|
mot_balance_loss |
float | GShard balance-loss coefficient |
mot_router_z_loss |
float | Router z-loss for training stability |
mot_sparse_train |
bool | Sparse dispatch during training |
mot_scene_aware_router |
bool | Experimental scene-aware routing branch |
model = YOLO("ultralytics/cfg/models/master/v0_10/det/yolo-master-moa-mot-n.yaml")
model.train(data="coco8.yaml", epochs=100,
moa_sparse_inference=False, mot_balance_loss=0.01,
moa_mot_temperature_factor=0.97, moa_mot_min_temperature=0.3)2.6 Latent Mixture
Latent Mixture projects multi-scale feature maps into a shared latent space, routes through lightweight channel experts, and publishes balance / z-loss through the routing protocol.
| Design Choice | Default | What It Means |
|---|---|---|
value_fusion_mode |
"router_only" |
Auxiliary inputs affect routing probabilities but are NOT fused as expert values. |
| Training execution | Dense | All channel experts execute; router produces soft weights. |
| Inference execution | Configurable top_k |
Sparse dispatch; optionally calibration-gated. |
| Router init | Configurable router_init_std |
Gaussian with configurable standard deviation. |
| Temperature schedule | Multiplicative decay | factor Γ current_temp, floored at min_temperature. |
Config governance. v26.08 fixes a critical parser flaw: the configuration dict has 13 validated fields, unknown keys are rejected at parse time, and checkpoint YAML provenance enables reconstruction without non-persistent buffers.
model = YOLO("ultralytics/cfg/models/26/yolo26-master-latent-n-initperturb020-temp05.yaml")
model.train(data="coco8.yaml", epochs=100, latent_inference_top_k=2,
moa_mot_temperature_factor=0.97, moa_mot_min_temperature=0.3)Latent Mixture routing pipeline: multi-scale feature projection into shared latent space, channel expert dispatch with configurable top-k, and calibration-gated inference with dense fallback.
3. PEFT Adaptation
Four adaptation paths, from simple fixed-rank LoRA to architecture-conditioned placement with routed adapter experts.
PEFT adaptation landscape: Planner/V-PEFT per-layer placement pipeline (ACCEPT / ADAPT / REFUSE), MoLoRA routed adapter injection with Top-K expert dispatch, and FewShot-LoRA scheduled DropConnect mechanism.
3.1 Standard LoRA
Fully preserved from v26.02 β the recommended starting point:
model = YOLO("yolo26n.pt")
model.train(data="coco8.yaml", epochs=100, lora_r=16, lora_alpha=32)3.2 PEFT Planner
Architecture-conditioned adapter placement via lora_planner_enabled=True. The planner evaluates model structure and returns per-layer decisions: ACCEPT (apply LoRA at requested rank), ADAPT (modified rank), or REFUSE (skip this layer). The V-PEFT backend provides three solvers: AO (Architecture-Optimized), DCO (Dimension-Constrained), and MIP (Mixed-Integer Programming).
model.train(data="coco8.yaml", epochs=100, lora_r=16,
lora_planner_enabled=True, lora_adapter_budget=500_000,
lora_planner_solver="ao", lora_planner_backend="vpeft")3.3 MoLoRA β Routed Adapter Experts
MoLoRA extends standard LoRA with sparse Top-K routing over multiple low-rank adapter experts.
| Parameter | Type | Description |
|---|---|---|
molora_num_experts |
int | Adapter expert count (0 = disabled) |
molora_top_k |
int | Experts activated per forward pass |
molora_r |
int | Low-rank dimension per expert |
molora_alpha |
int | Adapter output scaling |
molora_router_type |
str | Router architecture ("linear" / "mlp") |
model = YOLO("yolo26n.pt")
model.train(data="coco8.yaml", epochs=100,
molora_num_experts=4, molora_top_k=2,
molora_r=8, molora_alpha=16, molora_router_type="linear")Warning
lora_r > 0 and molora_num_experts > 0 together β intentionally rejected. Standard LoRA and MoLoRA are mutually exclusive.
3.4 FewShot-LoRA and LOVO
FewShot-LoRA adds scheduled DropConnect on adapter weights (cosine schedule), optional teacher distillation, and variational rank selection.
LOVO (Leave-One-Variant-Out) is a Python validation API for comparing adaptation strategies:
from ultralytics.utils.lora import LOVODataCollector, LOVOValidator
collector = LOVODataCollector.load("reports/lovo_data.json")
result = LOVOValidator().validate(collector)
result.save("reports/lovo_validation.json")4. MultiTask Learning
The MultiTask subsystem enables joint training for detection, instance segmentation, and human pose from a shared backbone and neck.
Shared Backbone + Neck
β
Optional TaskRouter
(per-token affinity,
task/shared gates)
β
ββββββββββββ¬ββββββββββ¬βββββββ¬βββββββββββ¬ββββββββ¬ββββββ
β Detect β Segment β Pose β Classify β Depth β OBB β
β (active) β(active) β(active)β(criterionβ(criterionβ (rejected)
β β β β only) β only) β β
ββββββββββββ΄ββββββββββ΄βββββββ΄βββββββββββ΄ββββββββ΄ββββββ
MultiTask head architecture. Shipped profile: detect + segment + pose.
Component Roles
| Component | Role |
|---|---|
MultiTaskHead |
Builds task-specific branches from model + dataset task lists |
TaskRouter |
Content-based spatial-token routing to task / shared feature channels |
MultiTaskLoss |
Combines losses only for tasks with valid supervision |
MultiTaskBatchSampler |
Weighted or round-robin sampling; DDP-aware, resumable state |
MultiTask training results: per-task loss convergence curves, task-wise mAP progression for detect / segment / pose, and TaskRouter token affinity distribution across spatial positions.
Training Contract
yolo multitask train \
model=ultralytics/cfg/models/26/yolo26-master-mt-n.yaml \
data=ultralytics/cfg/datasets/coco-multitask-unified.yaml \
epochs=100 imgsz=640Note
Current scope: detect + segment + pose with aligned COCO annotations. Multi-output inference beyond DetectionPredictor is not documented as a public API.
5. Edge Deployment
Five inference backends across four operating systems, built on a shared C++ runtime.
| Backend | Integration | Targets | Acceleration |
|---|---|---|---|
| ONNX Runtime | C++ backend + Windows GUI | Linux, Windows | CPU, CUDA |
| NCNN | C++ backend + Windows GUI | x86, ARM | Vulkan |
| MNN | C++ backend + Windows GUI | x86, ARM | OpenCL |
| TensorRT | C++ backend + Jetson scripts | NVIDIA GPU, Jetson Orin | CUDA, Tensor Cores |
| Core ML | Export scripts + Swift app | macOS | Apple Silicon, Intel |
Windows GUI
cd examples/YOLO-Master-Cross-Platform-Edge-Deployment/gui
./build.ps1 -RunVerified Jetson Benchmark
| Device | Backend | Precision | Dataset | Latency | FPS | mAP50-95 |
|---|---|---|---|---|---:|---:|---:|
| Jetson Orin Nano 4 GB | TensorRT | FP16 | VisDrone, 548 images | 27.8 ms | 35.7 | 0.2029 |
Important
These values apply only to the model, data, and device documented. Routed-profile TensorRT and Core ML remain outside the validated release surface.
Deployment Capability Matrix
Verified backend coverage across architecture families. β = hardware-verified Β· β³ = ONNX round-trip passes, no hardware validation Β· β = not tested Β· β = structurally unsupported (e.g., sparse dispatch on backends without dynamic shape).
| Architecture | ONNX | TensorRT | NCNN | MNN | Core ML |
|---|---|---|---|---|---|
| Dense (v0.1) | β | β | β | β | β |
| YOLO26 native | β | β | β | β | β |
| ES-MoE | β | β³ | β | β | β |
| Shared-MoE | β | β³ | β | β | β |
| MoA (dense inference) | β | β³ | β | β | β |
| MoA (sparse inference) | β | β | β | β | β |
| MoT (dense inference) | β | β³ | β | β | β |
| MoT (sparse inference) | β | β | β | β | β |
| Latent Mixture (dense) | β | β³ | β | β | β |
| Latent Mixture (sparse) | β | β | β | β | β |
| MultiTask | β³ | β | β | β | β |
Next step (P0 target): CI-automated exportβloadβforwardβnumerical comparison for every architectureΓbackend cell marked β³ or β. Sparse dispatch backends require explicit export-time fallback to dense mode with preflight warning.
6. Reliability Engineering
Hardening Summary
| Area | v26.08 Change | Verified By |
|---|---|---|
| NaN handling | Pre-batch checks, component guards, recovery paths | Routed training + recovery regressions |
| AMP safety | Dtype-aligned sparse accumulation | MoE / MoA / MoT mixed-precision tests |
| DDP lifecycle | Bootstrap + pre-epoch checkpoint coordination | Static-graph + lifecycle tests |
| EMA | Buffer + PEFT scaling synchronization | Checkpoint / EMA regressions |
| MPS | Native bilinear grid_sample + numerical fixes |
Apple Silicon regressions |
| Export | Routed capability matrix + pruning metadata | Export + pruning contract tests |
| Upstream | 8.4.101 manifest, baseline, additive registry |
Integrity + checkpoint + registry tests |
P0-P2 Hardening
| Priority | Area | Correction |
|---|---|---|
| π΄ P0 | Routing + aux loss | Single facade collects loss once; EMA-normalized by family; globally budgeted; non-finite families isolated with rank sync |
| π΄ P0 | Checkpoint / EMA / DDP | Bootstrap + pre-epoch coordination; PEFT + EMA scaling sync |
| π΄ P0 | Export contracts | Preflight validates module / backend declarations; records sparse vs dense strategy |
| π‘ P1 | MultiTask data path | MultiTaskBatchSampler: weighted / round-robin, DDP-aware, resumable; partial labels loss-masked |
| π‘ P1 | AMP / MPS / sparse | Dtype-aligned accumulation; MPS native-safe bilinear; rank-synced NaN recovery |
| π‘ P1 | Latent Mixture | Named YAML (13 validated fields), checkpoint provenance, value-fusion mode, calibration gate |
| π’ P2 | PEFT + observability | MoLoRA save / load round-trip; routing snapshots for integration diagnostics |
Selected Critical Fixes
| PR | Fix |
|---|---|
| #74 | ONNX export compatibility for MoE expert loss |
| #116 | P0 / P1 / P2 fixes across MoE, MoA, MoT, PEFT |
| #124 | AMP dtype alignment for sparse index_add_ paths |
| #127, #140 | DDP static-graph + checkpoint coordination |
| #158 | Released router checkpoint compatibility |
| #161 | YOLOE released-checkpoint execution semantics |
| #177 | LoRA alpha warmup across EMA lifecycle |
| #188 | Routing dataset statistics weighted by sample count |
| #192, #194 | Pruned expert architecture preserved for retraining |
| #211 | PEFT scaling state synchronization to EMA |
7. Model Zoo & Benchmarks
Two model families, seven evaluated checkpoints, COCO val2017 standard protocol.
YOLO-Master-EsMoE (v0.10)
| Model | Params β | GFLOPs | mAP50-95 | FPSΒΉ | Status |
|---|---|---|---|---|---|
| EsMoE-N | 2.68M | 8.7 | 0.427 | 640 | β Weights Β· YAML |
| EsMoE-S | 9.69M | 29.1 | 0.489 | 424 | β Weights Β· YAML |
| EsMoE-M | 34.88M | 97.4 | 0.530 | 244 | β Weights Β· YAML |
| EsMoE-L | β | β | β | β | β³ Pending |
| EsMoE-X | β | β | β | β | β³ Pending |
YOLO-Master-v0.1 (Dense Baseline)
| Model | Params β | GFLOPs β | mAP50-95 β | FPSΒΉ β | Status |
|---|---|---|---|---|---|
| v0.1-N | 7.54M | 10.1 | 0.429 | 529 | β Weights Β· YAML |
| v0.1-S | 29.15M | 36.0 | 0.489 | 345 | β Weights Β· YAML |
| v0.1-M | 52.17M | 116.7 | 0.528 | 171 | β Weights Β· YAML |
| v0.1-L | 58.41M | 138.1 | 0.539 | 150 | β Weights Β· YAML |
| v0.1-X | β | β | β | β | β³ Pending |
ΒΉ FPS measured on NVIDIA RTX 4090. Results are recorded in model-zoo/models.json (updated 2026-07-22).
EsMoE vs Dense: AccuracyβParametersβLatency Pareto Frontier
EsMoE delivers a clear Pareto improvement over dense baselines across all N/S/M scales β the key metric is parameter efficiency with maintained or improved accuracy at higher FPS.
| Scale | Model | Params | Ξ Params | mAP50-95 | Ξ mAP | FPS | Ξ FPS |
|---|---|---|---|---|---|---|---|
| N | Dense-N | 7.54M | β | 0.429 | β | 529 | β |
| EsMoE-N | 2.68M | β64.5% | 0.427 | β0.002 | 640 | +21.0% | |
| S | Dense-S | 29.15M | β | 0.489 | β | 345 | β |
| EsMoE-S | 9.69M | β66.8% | 0.489 | 0.000 | 424 | +22.9% | |
| M | Dense-M | 52.17M | β | 0.528 | β | 171 | β |
| EsMoE-M | 34.88M | β33.1% | 0.530 | +0.002 | 244 | +42.7% |
Important
At M-scale, EsMoE-M achieves better accuracy (+0.002 mAP) while being 42.7% faster and 33.1% lighter than the dense baseline. This is not just "competitive" β it is a Pareto-dominant improvement across all three metrics.
These results support a core project thesis:
YOLO-Master explores conditional computation as an alternative scaling axis for real-time vision: scale capacity without proportionally scaling active computation.
v26.08 Unified Benchmark Matrix
The following table defines the target evidence surface for the next release cycle. Cells marked β³ represent active evaluation; β represents not yet benchmarked. All metrics use COCO val2017, RTX 4090.
| Architecture | Params | Active Params | GFLOPs | Active GFLOPs | mAP50-95 | FPS | VRAM (train) | Train Throughput | Status |
|---|---|---|---|---|---|---|---|---|---|
| YOLO26-N (baseline) | β³ | β³ | β³ | β³ | β³ | β³ | β³ | β³ | Target |
| Dense (v0.1-N) | 7.54M | 7.54M | 10.1 | 10.1 | 0.429 | 529 | β³ | β³ | β |
| ES-MoE (v0.10-N) | 2.68M | β³ | 8.7 | β³ | 0.427 | 640 | β³ | β³ | β |
| Shared-MoE | β | β | β | β | β | β | β | β | β³ |
| MoA | β | β | β | β | β | β | β | β | β³ |
| MoT | β | β | β | β | β | β | β | β | β³ |
| MoA + MoT | β | β | β | β | β | β | β | β | β³ |
| Latent Mixture | β | β | β | β | β | β | β | β | β³ |
Note on Active Params / Active FLOPs. For mixture architectures, total parameters and theoretical FLOPs are insufficient metrics. Active parameters (experts actually dispatched per input) and active FLOPs (actual compute per forward pass) are the meaningful efficiency measures. These will be reported alongside standard metrics in future releases.
PEFT Efficiency Benchmarks
| Method | Trainable Params | % of Total | mAP50-95 | vs Full FT | FPS (merged) | Status |
|---|---|---|---|---|---|---|
| Full Fine-tune | β³ | 100% | β³ | baseline | β³ | Target |
| Standard LoRA (r=16) | β³ | β³ | β³ | β³ | β³ | β³ |
| PEFT Planner (AO) | β³ | β³ | β³ | β³ | β³ | β³ |
| MoLoRA (K=2, r=8) | β³ | β³ | β³ | β³ | β³ (merged) | β³ |
| FewShot-LoRA | β³ | β³ | β³ | β³ | β³ | β³ |
All PEFT rows are targets for the next release cycle. v26.08 ships the code and component-level verification; end-to-end accuracy/efficiency figures are pending.
MultiTask Efficiency
| Training Scheme | Total Params | Train Time (rel.) | Detect mAP | Seg mAP | Pose mAP | Status |
|---|---|---|---|---|---|---|
| 3 Γ Solo Model | β³ | 3.0Γ | β³ | β³ | β³ | Target |
| MultiTask (shared) | β³ | β³ | β³ | β³ | β³ | β³ |
This comparison β "does one MultiTask model outperform or match three independent models at lower total cost?" β is the central evidentiary question for the MultiTask subsystem and a P0 target for the next release.
Model Zoo benchmark comparison: parameter count vs. mAP50-95 across EsMoE (v0.10) and v0.1 dense baseline, with FPS annotated per model variant.
8. Validation Methodology
The v26.08 release gate is a targeted verification surface β covering features and compatibility claims promoted in this report.
Gate Composition (16 test files + Agent Skill suite)
pytest -q \
tests/test_routed_module_protocol.py tests/test_routing_diagnostics.py \
tests/test_molora_merge_semantics.py tests/test_p2_fixes.py \
tests/test_latent_mixture.py tests/test_mixture_loss_composition.py \
tests/test_mixture_model_registry.py tests/test_export_capability_matrix.py \
tests/test_multitask.py tests/test_mot.py tests/test_mixture_export.py \
tests/test_routing_aux_contract.py tests/test_mixture_aux_loss.py \
tests/test_moe_router_boundaries.py tests/test_molora_vpeft_integration.py \
tests/test_vpeft.py
python agent/scripts/validate_yolo_master_skill.py --suite quick --pretty --summary-onlyResults
| Gate | Result |
|---|---|
| MoE, MoA, MoT modules | β Passed |
| Routed auxiliary-loss contracts | β Passed |
| Shared Expert (build / forward / reuse / isolation) | β Passed |
| Master model config regression | β Passed |
| Default config integrity | β Passed |
| Mixture catalog integrity | β Passed |
Ultralytics 8.4.101 upstream integrity |
β Passed |
| Checkpoint conversion + compatibility | β Passed |
| Additive mixture model registry | β Passed |
| Mixture / P0-P2 focused gate | 377 passed Β· 1 xfailed |
| Agent Skill quick suite | 36/36 passed |
Note
The single xfailed is a known expected failure, retained for transparency.
Verification Boundaries
- Routed model profiles β experimental unless registry marks stable
- MultiTask multi-output prediction beyond detect β preview only
- MoA / MoT, Latent Mixture, MoLoRA, FewShot-LoRA β no release-level accuracy / latency tables
- TensorRT for routed profiles β unverified (component ONNX round-trip β full TensorRT)
- CUDA / MPS AMP multi-epoch + NCCL 2-GPU β not recorded in this audit
- Core ML β blocked by
coremltools/ SciPy binary loading issue - EsMoE-L, EsMoE-X, v0.1-X β pending / under evaluation
9. Migration: v26.02 β v26.08
No formally declared breaking changes for documented public APIs. The primary action is the upstream rebase.
Workflow Impact Matrix
| v26.02 Workflow | v26.08 Behavior | Action |
|---|---|---|
| Native detection / official YOLO | Parser / trainer / heads follow 8.4.101 |
Retest internal imports; keep native YAML unchanged |
| ES-MoE model YAML | YAML-owned topology; aux loss via shared protocol | Keep YAML + checkpoint; validate custom modules with boundary tests |
| Fixed-rank LoRA | lora_r + lora_alpha still supported |
Keep existing calls; opt into Planner / V-PEFT only if needed |
| LoRA + routed adapter | MoLoRA: dedicated runtime with save / load / merge | Choose LoRA or MoLoRA (not both) |
| Sparse SAHI / CW-NMS | Settings remain; not silently converted | Preserve config; benchmark target backend |
| Exporting mixture profile | Sparse β exported (backend-dependent) | Run preflight; accept dense fallback or explicit refusal |
| MultiTask | Detect / Seg / Pose profile with partial-label masks | Use task="multitask" + COCO-unified; OBB rejected |
| Resume / checkpoint | Native fields retained; mixture / PEFT metadata additive | Retest resume + EMA; don't replace native fields |
Upstream Rebase
pip install -e .
python -c "import ultralytics; print(ultralytics.__version__, ultralytics.__file__)"
yolo version && yolo checks- Use packaged YOLO26 YAML files for native models
- Keep mixture architectures additive (don't replace official
yolo26*.yaml) - Preserve native checkpoint fields;
mixture_checkpointmetadata added separately - Revalidate custom integrations against new
8.4.101parser / trainer / head signatures
Quick Migration Cheatsheet
# β
Existing LoRA β unchanged
model = YOLO("ultralytics/cfg/models/26/yolo26.yaml")
model.train(data="coco8.yaml", epochs=100, lora_r=16, lora_alpha=32)
# β
PEFT Planner β explicit opt-in
model.train(data="coco8.yaml", lora_r=16,
lora_planner_enabled=True, lora_planner_backend="vpeft",
lora_planner_solver="ao")
# β
MoLoRA β positive expert count (NOT with lora_r > 0)
model.train(data="coco8.yaml",
molora_num_experts=4, molora_top_k=2, molora_r=8)Warning
Do not combine lora_r > 0 + molora_num_experts > 0 β the adapter extension rejects the ambiguous request.
10. Known Limitations
These are not bugs β they are areas where implementation evidence does not yet support production-ready claims.
Accuracy & Convergence
MoA, MoT, Latent Mixture, MoLoRA, and FewShot-LoRA have component-level build / forward / loss verification but no release-level accuracy tables. Multi-epoch full-COCO training runs with these profiles have not been executed in this release cycle.
Distributed Training
DDP evidence is lifecycle and contract focused. No real NCCL multi-node or multi-GPU training result with mixture profiles is recorded in this release audit.
Export Completeness
TensorRT export for routed profiles (MoA / MoT / Latent Mixture) is unverified. ONNX round-trip tests do not imply full-model TensorRT validation. Core ML blocked by coremltools / SciPy incompatibility.
MultiTask Coverage
Classify, depth, normal, and semantic branches have criterion implementations but no validation metrics. MultiTask OBB is explicitly rejected.
Model Zoo
EsMoE-L, EsMoE-X, v0.1-X evaluations pending. No PEFT efficiency figures published.
π€ Contributors
637 commits Β· 120 merged PRs Β· 34 unique author identities across v26.02 β v26.08.
| Contributor | Contributions | Primary Focus |
|---|---|---|
| isLinXu | 364 commits Β· 57% of range | Project direction, ES-MoE architecture, DDP hardening, release orchestration |
| Hertz | 102 commits Β· 16% of range | MoA / MoT block design, mixture optimization, routing infrastructure |
| gatilin | 24 commits | Agent Skill system, release management, documentation |
| 13ewat3r | 15 commits | MoA test suite, vertical validation, ablation infrastructure |
| kimariyb | 15 commits | MoT hybrid architecture, domain-specific LoRA, training recipes |
| Thomas | 13 commits | Framework-level fixes, parser hardening, integration testing |
| SidKC | 12 commits | LoRA / V-PEFT lifecycle, routing dataset statistics, EMA fixes |
| skywalker-lt | 9 merged PRs | Cross-platform C++ edge deployment, Jetson benchmarking, reproducibility workflows |
Community contributors β Lfan-ke Β· vankari Β· delei-kong Β· Cooryn Β· Ricky-7-Yan Β· Zviolin β and every tester, reviewer, and early adopter who helped harden this release.
π Acknowledgments
Ultralytics team for the 8.4.101 upstream release Β· Research community behind MoE, LoRA, SAHI, and GShard Β· Every contributor, tester, and user who helped harden this release.
References
[1] YOLO-Master Team, "YOLO-PEFT: Parameter-Efficient Fine-Tuning on YOLO Family," arXiv:2608.07051, 2026.
[2] N. Shazeer et al., "Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer," ICLR, 2017.
[3] D. Lepikhin et al., "GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding," ICLR, 2021.
[4] E. J. Hu et al., "LoRA: Low-Rank Adaptation of Large Language Models," ICLR, 2022.
[5] F. C. Akyon et al., "Slicing Aided Hyper Inference and Fine-tuning for Small Object Detection," ICIP, 2022.
[6] G. Jocher, A. Chaurasia, and J. Qiu, "Ultralytics YOLO," 2023.
π Community Links
π Documentation Β· π Wiki Β· π Model Zoo Β· π¬ Discussions Β· π Issues Β· π Full Diff
π Contact
gatilin@tencent.com Β· islinxu@163.com
π License
GNU AGPL v3.0. Commercial use may require a separate Ultralytics license.
π Star History
Made with β€οΈ by the YOLO-Master Team









