Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications

YOLOv6 redesigns the YOLO framework for fast detection on low-power industrial GPUs

  • Problem Detectors are usually benchmarked for speed on high-end GPUs, but industrial serving often runs on low-power hardware like the Tesla T4. Models tuned for the former can be too slow on the latter.
  • Method YOLOv6 uses a size-dependent family of networks. Small models use RepBlock backbones that become plain 3×3 RepConv stacks at inference, while larger models use CSPStackRep Block instead.
  • Results YOLOv6-N reaches 35.9% AP at 1234 FPS and YOLOv6-S reaches 43.5% AP at 495 FPS, both on a Tesla T4 at 640 input.

Why the target hardware matters

Detectors are often benchmarked for latency on high-cost machines such as the V100, while serving systems frequently run on low-power GPUs like the Tesla T4. The YOLO family is the usual starting point for industrial detection because it balances speed and accuracy, and YOLOv5, YOLOX, PPYOLOE and YOLOv7 compete as efficient detectors to deploy.

Several gaps motivate the work. Re-parameterization is a strong technique that detection has barely used, and simply scaling a RepVGG-style network becomes impractical as the model grows. Quantizing re-parameterized detectors is also hard, because training and inference use different configurations, and label assignment and loss choices need rechecking for each architecture.

Training-time changes that improve accuracy without raising inference cost, such as knowledge distillation, are acceptable for deployment.

Size-dependent backbones and neck

The backbone carries most of the computation, so the design starts there. Small models use RepBlock during training, a stack of RepVGG blocks with ReLU activations. At inference each RepBlock becomes a plain stack of 3×3 RepConv layers with ReLU.

The single-path form is chosen for hardware reasons. A 3×3 convolution is highly optimized on mainstream GPUs and CPUs, so the plain inference network runs efficiently while training keeps the richer multi-branch form.

As the model capacity grows, the parameters and computation of a single-path network grow quickly, so medium and large models use CSPStackRep Block instead. It has three 1×1 convolution layers, a stack of sub-blocks made of two RepVGG blocks during training or two RepConv layers at inference, a residual connection, and a cross stage partial connection.

The width and depth of the neck are adjusted to match each model size.

The head uses a hybrid-channel strategy: the middle 3×3 convolutions of each decoupled branch are reduced to one, and the head width scales together with the backbone and neck.

Label assignment and loss choices

SimOTA treats label assignment as a global optimal transport problem and was used in an earlier YOLOv6 version. The authors found that it slowed training and sometimes became unstable, so they looked for a replacement.

Task Alignment Learning, taken from TOOD, replaces the IoU in the assignment with a unified metric that combines classification score and predicted box quality. On YOLOv6-N, TAL reaches 35.0% AP, against 34.5% for SimOTA and 32.5% for ATSS.

For classification, Focal Loss, Poly Loss, QFL and VariFocal Loss were compared on YOLOv6-N, S and M. VariFocal Loss gives 35.2%, 43.2% and 48.1% AP, against 35.0%, 42.9% and 48.0% for Focal Loss, so the gains are between 0.1 and 0.3 points and VFL was selected.

SIoU is used for YOLOv6-N and YOLOv6-T, while the other sizes use GIoU, although CIoU is 0.1 points above GIoU on YOLOv6-M.

Distribution Focal Loss models box locations as a discretized probability distribution, but it outputs 17× more regression values than standard box regression. On YOLOv6-N, DFL raises AP from 35.0% to 35.2% while FPS at batch size 32 falls from 1226 to 1022, so DFL is kept only for YOLOv6-M and YOLOv6-L.

Object loss lowers AP on all three sizes, from 35.0% to 33.9% on YOLOv6-N, from 42.9% to 41.4% on YOLOv6-S and from 48.0% to 46.5% on YOLOv6-M. The authors attribute this to the object branch turning the alignment in TAL from two tasks into three, and the object loss was discarded.

Single-path versus multi-branch blocks by size

On YOLOv6-S the two blocks give close accuracy, 43.2% for RepBlock and 43.4% for CSPStackRep Block at channel coefficient 1/2. On YOLOv6-M the CSPStackRep Block at channel coefficient 2/3 reaches 48.1% AP against 47.9% for RepBlock, and on YOLOv6-L it reaches 50.1% AP in this ablation, which uses ReLU.

On YOLOv6-N and YOLOv6-M, Conv with SiLU gives the highest accuracy, at 36.6% and 48.9%, while RepConv with ReLU gives 35.2% and 48.1% at 1233 and 236 FPS. The chosen setting therefore trades a small accuracy loss for speed on the smaller models, while YOLOv6-L keeps Conv with SiLU.

On YOLOv6-L, a narrower and deeper neck gives 51.0% AP at 122 FPS, against 50.8% AP at 123 FPS for the wider and shallower neck. These ablation runs are separate from the main Table 1 runs, so their AP values are not directly interchangeable with the main-table entries.

Stepwise effect of the network changes

The text gives the anchor-free paradigm as 51% faster than the anchor-based one, which the authors link to having 3× fewer predefined anchors.

Self-distillation and longer training

The teacher is the same network in pretrained form, and the student matches the teacher's class predictions with KL divergence. Because DFL is used for box regression, the same divergence term is also applied to the box predictions. \[ L_{KD} = KL(p_{cls}^{t} \| p_{cls}^{s}) + KL(p_{reg}^{t} \| p_{reg}^{s}) \]

The overall objective adds this term to the detection loss, \[ L_{total} = L_{det} + \alpha L_{KD} \], where \( \alpha \) balances the two losses. The weight \( \alpha \) follows a cosine decay, so soft labels from the teacher matter more early in training and hard labels matter more later.

On YOLOv6-L, AP rises from 51.0% without self-distillation to 51.4% with classification distillation only. Adding box-regression distillation gives 51.7%, and adding the weight decay gives 52.3%.

Extending training from 300 to 400 epochs raises AP from 35.9% to 36.3% on YOLOv6-N, from 40.3% to 40.9% on YOLOv6-T and from 43.4% to 43.9% on YOLOv6-S. In the main comparison, the self-distillation mark is applied to YOLOv6-M, YOLOv6-L-ReLU and YOLOv6-L, not to the N and S rows.

Evaluation border and Mosaic fading

A half-stride gray border around each image helps detect objects near the edge, and removing it lowers the accuracy of YOLOv6. The authors link the problem to the gray padding used in Mosaic augmentation and tested switching Mosaic off in the last epochs, a schedule called fade.

At 640 input without Mosaic fading, YOLOv6-N reaches 36.0% AP with a 16-pixel border and 35.6% with no border. With Mosaic fading and no border, the same size reaches 36.0%, and a 634 input with a 3-pixel border and fading reaches 36.2%.

These gray-border runs use YOLOv6-N and YOLOv6-S trained for 400 epochs and YOLOv6-M trained for 300 epochs. With the 634 input and 3-pixel border with fading, YOLOv6-S reaches 43.7% AP, below 43.9% for the 640 input with a 16-pixel border and fading.

Appendix C varies the image size and border size, and the authors find each model has a different best border size. Inputs between 632 and 638 give about 0.3% higher AP on average than 640 input.

Speed and accuracy against YOLO-series detectors

The YOLOv6 speed figures use FP16 TensorRT on a Tesla T4 at 640×640 input, with throughput at batch size 1 and batch size 32 and latency at batch size 1. Rows marked with an asterisk are re-evaluations of released models with the official code.

Against YOLOv5-N and YOLOv7-Tiny at 416 input, the authors report 7.9 and 2.6 AP points higher for YOLOv6-N.

YOLOv6-L reaches 52.5% AP at 10.2 ms latency, and the ReLU variant reaches 51.7% AP at 8.8 ms. The authors state that the ReLU variant is ahead of YOLOX-L, PPYOLOE-L and YOLOv7 in both accuracy and speed, which the table values support at 640 input.

Quantization path for re-parameterized detectors

PTQ quantizes a trained model with a small calibration set and no further training, while QAT uses the training set to improve the quantized model. Re-parameterized blocks make PTQ fail, so the blocks are rebuilt and trained with RepOptimizer, which re-parameterizes gradients at each optimization step. This narrows the feature-map distribution and yields PTQ-friendly weights.

On the v1.0 YOLOv6-S, INT8 PTQ falls from 42.4 FP32 AP to 35.0, and training with RepOptimizer raises the INT8 result to 40.9. On v2.0, the FP32 model with RepOptimizer scores 43.1 and its INT8 PTQ result is 42.6, against 41.3 for INT8 PTQ of the model without it.

For v1.0, the sensitivity analysis uses MSE, SNR and cosine similarity on layer outputs, and the top-6 sensitive layers are kept in float. Partial QAT on the v1.0 model gives 42.3 AP at 503 FPS, against 42.1 at 528 FPS for full QAT.

Because the v2.0 release removes quantization-sensitive layers, full QAT is applied with channel-wise distillation from an FP32 teacher of the same network. Graph optimization then removes the inserted quantizers to recover accuracy and speed.

In Table 17, the authors' QAT strategy on YOLOv6-S gives 43.3 AP at 596 FPS at batch size 1 and 869 FPS at batch size 32, measured with TensorRT 8 on a Tesla T4. Among the quantized rows of that table, it has the highest AP and the fastest batch-size-1 throughput, while the FP16 YOLOv6-S row gives 43.4 AP. The method summary gives 42.3% AP for the same quantized model at 869 FPS, so the paper gives two AP values for this model.

Limits of the evidence

DFL outputs 17× more regression values, which the authors say substantially slows training of small models, so DFL is used only for YOLOv6-M and YOLOv6-L. DFLv2 adds a further sub-network and computation burden, and it gives similar gains to DFL on these models.

In the authors' experience, SimOTA slowed training and sometimes fell into unstable training. This is a training observation from their runs, and it is not a separate measurement table.

Quantization results are given only for YOLOv6-S.

The main speeds are measured on a Tesla T4 with TensorRT 7.2, and the appendix repeats them with TensorRT 8.2, where YOLOv6-N reaches 1323 FPS at batch size 32. Absolute throughput therefore depends on the software version and hardware, so the numbers in different settings are not interchangeable.

The gray-border result for the 634 input is a single configuration, and the paper's input-size sweep covers the listed models rather than a broader set.

Paper info

Authors
Chuyi Li, Lulu Li, Hongliang Jiang, Kaiheng Weng, Yifei Geng, Liang Li, Zaidan Ke, Qingyuan Li, Meng Cheng, Weiqiang Nie, Yiduo Li, Bo Zhang, Yufei Liang, Linyuan Zhou, Xiaoming Xu, Xiangxiang Chu, Xiaoming Wei, Xiaolin Wei
Venue
arXiv · Preprint
First published
2022-9-7
Added
2026-11-12
Updated
2022-9-7
Version
v1
arXiv
2209.02976
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Chuyi Li, Lulu Li, Hongliang Jiang, Kaiheng Weng, Yifei Geng, Liang Li, Zaidan Ke, Qingyuan Li, Meng Cheng, Weiqiang Nie, Yiduo Li, Bo Zhang, Yufei Liang, Linyuan Zhou, Xiaoming Xu, Xiangxiang Chu, Xiaoming Wei, Xiaolin Wei (2022). YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications. arXiv:2209.02976v1. https://arxiv.org/abs/2209.02976v1

BibTeX
@misc{li2022yolov6,
  title = {{YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications}},
  author = {Chuyi Li and Lulu Li and Hongliang Jiang and Kaiheng Weng and Yifei Geng and Liang Li and Zaidan Ke and Qingyuan Li and Meng Cheng and Weiqiang Nie and Yiduo Li and Bo Zhang and Yufei Liang and Linyuan Zhou and Xiaoming Xu and Xiangxiang Chu and Xiaoming Wei and Xiaolin Wei},
  year = {2022},
  eprint = {2209.02976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02976v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up