{"notes":[{"id":"object-detection/tood","category":"object-detection","legacyPath":"object-detection/2108-tood","legacySlug":"2108-tood","legacyPaths":[],"title":"TOOD","subtitle":"The End of Misalignment","author":"Z. Yuan","paperDate":"2021-08-17","publishedOn":"2025-08-30","paperTitle":"TOOD: Task-aligned One-stage Object Detection","paperUrl":"https://arxiv.org/abs/2108.07755","bibliography":{"title":"TOOD: Task-aligned One-stage Object Detection","authors":["Chengjian Feng","Yujie Zhong","Yu Gao","Matthew R. Scott","Weilin Huang"],"url":"https://arxiv.org/abs/2108.07755","pdfUrl":"https://openaccess.thecvf.com/content/ICCV2021/papers/Feng_TOOD_Task-Aligned_One-Stage_Object_Detection_ICCV_2021_paper.pdf","codeUrl":"https://github.com/fcjian/TOOD","preprint":{"id":"2108.07755","submittedOn":"2021-08-17","url":"https://arxiv.org/abs/2108.07755"},"publication":{"venue":"ICCV","year":2021,"kind":"conference","url":"https://openaccess.thecvf.com/content/ICCV2021/html/Feng_TOOD_Task-Aligned_One-Stage_Object_Detection_ICCV_2021_paper.html"},"citation":"@misc{objectdetectiontood2021,\n  title = {{TOOD: Task-aligned One-stage Object Detection}},\n  author = {Chengjian Feng and Yujie Zhong and Yu Gao and Matthew R. Scott and Weilin Huang},\n  year = {2021},\n  eprint = {2108.07755},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2108.07755}\n}\n","citationPath":"/content/papers/citations/object-detection/tood.4de53d61811e.bib"},"thumbnail":{"src":"/content/papers/assets/d5560386911d14104af5e1609a50f0af6db4f571f764de0e5f60f48ff30f4584.jpg","width":904,"height":772},"locale":"en","path":"/content/papers/en/object-detection/tood.cf11810df802.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"problem-solving","text":"Problem Solving","depth":2},{"id":"task-interaction-features","text":"Task Interaction Features","depth":3},{"id":"tap-layer-wise-attention","text":"TAP: Layer-wise Attention","depth":3},{"id":"explicit-alignment-m-and-o","text":"Explicit Alignment: M and O","depth":3},{"id":"task-aligned-sample-assignment","text":"Task-aligned Sample Assignment","depth":3},{"id":"loss-design","text":"Loss Design","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"is-t-head-worth-replacing","text":"Is T-head Worth Replacing?","depth":3},{"id":"tal-effectiveness","text":"TAL Effectiveness","depth":3},{"id":"the-complete-tood","text":"The Complete TOOD","depth":3},{"id":"comparison-with-sota","text":"Comparison with SOTA","depth":3},{"id":"did-alignment-actually-happen","text":"Did “Alignment” Actually Happen?","depth":3},{"id":"how-was-misalignment-improved","text":"How Was Misalignment Improved?","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"solution":"problem-solving","share-first-then-select-features-for-each-task":"task-interaction-features","align-the-outputs-too-m-and-o":"explicit-alignment-m-and-o","tal-measure-score-and-box-with-one-ruler":"task-aligned-sample-assignment","experimental-results-and-discussion":"discussion","swap-in-the-t-head-first":"is-t-head-worth-replacing","tal-assignment-soft-targets-and-schedule":"tal-effectiveness","complete-tood-and-test-dev":"the-complete-tood","did-alignment-actually-improve":"did-alignment-actually-happen"},"guide":null,"relatedReading":[{"id":"object-detection/fcos","relation":"comparison","topic":"Aligning classification and localization quality"},{"id":"object-detection/gfl","relation":"comparison","topic":"Aligning classification and localization quality"}]},{"id":"object-detection/fcos","category":"object-detection","legacyPath":"object-detection/1904-fcos","legacySlug":"1904-fcos","legacyPaths":[],"title":"FCOS","subtitle":"A World Without Anchors","author":"Z. Yuan","paperDate":"2019-04-02","publishedOn":"2025-08-31","paperTitle":"FCOS: Fully Convolutional One-Stage Object Detection","paperUrl":"https://arxiv.org/abs/1904.01355","bibliography":{"title":"FCOS: Fully Convolutional One-Stage Object Detection","authors":["Zhi Tian","Chunhua Shen","Hao Chen","Tong He"],"url":"https://arxiv.org/abs/1904.01355","pdfUrl":"https://openaccess.thecvf.com/content_ICCV_2019/papers/Tian_FCOS_Fully_Convolutional_One-Stage_Object_Detection_ICCV_2019_paper.pdf","codeUrl":null,"preprint":{"id":"1904.01355","submittedOn":"2019-04-02","url":"https://arxiv.org/abs/1904.01355"},"publication":{"venue":"ICCV","year":2019,"kind":"conference","url":"https://openaccess.thecvf.com/content_ICCV_2019/html/Tian_FCOS_Fully_Convolutional_One-Stage_Object_Detection_ICCV_2019_paper.html"},"citation":"@misc{objectdetectionfcos2019,\n  title = {{FCOS: Fully Convolutional One-Stage Object Detection}},\n  author = {Zhi Tian and Chunhua Shen and Hao Chen and Tong He},\n  year = {2019},\n  eprint = {1904.01355},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1904.01355}\n}\n","citationPath":"/content/papers/citations/object-detection/fcos.00e1b4c82339.bib"},"thumbnail":{"src":"/content/papers/assets/23edca5ceca50cfcadbf6fd9cb8e8720100daff3135c951a4554454e3b9c69e7.jpg","width":1508,"height":668},"locale":"en","path":"/content/papers/en/object-detection/fcos.098144f33a61.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"discussion","text":"Discussion","depth":2},{"id":"multi-level-fpn-and-recall-upper-bound","text":"Multi-Level FPN and Recall Upper Bound","depth":3},{"id":"ambiguous-samples-caused-by-overlaps","text":"Ambiguous Samples Caused by Overlaps","depth":3},{"id":"the-necessity-and-effectiveness-of-center-ness","text":"The Necessity and Effectiveness of Center-ness","depth":3},{"id":"fair-comparison-with-anchor-based-methods","text":"Fair Comparison With Anchor-based Methods","depth":3},{"id":"overall-comparison-with-contemporary-sota","text":"Overall Comparison With Contemporary SOTA","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"one-location-four-distances":"solution","fpn-levels-reduce-overlap-ambiguity":"solution","center-ness-discounts-edge-predictions":"solution","experimental-results-and-discussion":"discussion","assignment-coverage-and-overlapping-positions":"multi-level-fpn-and-recall-upper-bound","center-ness-and-a-controlled-baseline":"the-necessity-and-effectiveness-of-center-ness","the-test-dev-leaderboard-uses-another-schedule":"overall-comparison-with-contemporary-sota"},"guide":null,"relatedReading":[{"id":"object-detection/retinanet","relation":"background","topic":"Dense detection and sample assignment"},{"id":"object-detection/atss","relation":"next","topic":"Dense detection and sample assignment"},{"id":"object-detection/gfl","relation":"comparison","topic":"Aligning classification and localization quality"}]},{"id":"object-detection/gfl","category":"object-detection","legacyPath":"object-detection/2006-gfl","legacySlug":"2006-gfl","legacyPaths":[],"title":"GFL","subtitle":"Unified Focus","author":"Z. Yuan","paperDate":"2020-06-08","publishedOn":"2025-08-23","paperTitle":"Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection","paperUrl":"https://arxiv.org/abs/2006.04388","bibliography":{"title":"Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection","authors":["Xiang Li","Wenhai Wang","Lijun Wu","Shuo Chen","Xiaolin Hu","Jun Li","Jinhui Tang","Jian Yang"],"url":"https://arxiv.org/abs/2006.04388","pdfUrl":"https://proceedings.neurips.cc/paper_files/paper/2020/file/f0bda020d2470f2e74990a07a607ebd9-Paper.pdf","codeUrl":"https://github.com/implus/GFocal","preprint":{"id":"2006.04388","submittedOn":"2020-06-08","url":"https://arxiv.org/abs/2006.04388"},"publication":{"venue":"NeurIPS","year":2020,"kind":"conference","url":"https://papers.nips.cc/paper_files/paper/2020/hash/f0bda020d2470f2e74990a07a607ebd9-Abstract.html"},"citation":"@misc{objectdetectiongfl2020,\n  title = {{Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection}},\n  author = {Xiang Li and Wenhai Wang and Lijun Wu and Shuo Chen and Xiaolin Hu and Jun Li and Jinhui Tang and Jian Yang},\n  year = {2020},\n  eprint = {2006.04388},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2006.04388}\n}\n","citationPath":"/content/papers/citations/object-detection/gfl.71fabce4b963.bib"},"thumbnail":{"src":"/content/papers/assets/b23270560323cea28f3b1fe736d861dd3365d20c4fb99278dcc3ce306df890dc.jpg","width":1224,"height":380},"locale":"en","path":"/content/papers/en/object-detection/gfl.b9fa7b27fd1a.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"focal-loss","text":"Focal Loss","depth":3},{"id":"quality-focal-loss","text":"Quality Focal Loss","depth":3},{"id":"distribution-focal-loss","text":"Distribution Focal Loss","depth":3},{"id":"generalized-focal-loss","text":"Generalized Focal Loss","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"is-qfl-effective","text":"Is QFL Effective?","depth":3},{"id":"is-dfl-effective","text":"Is DFL Effective?","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"解決問題":"solution","qfl-put-quality-into-the-class-score":"quality-focal-loss","dfl-turn-one-distance-into-a-distribution":"distribution-focal-loss","one-general-form-two-uses":"generalized-focal-loss","experimental-results-and-discussion":"discussion","qfl-does-the-score-improve-ranking":"is-qfl-effective","dfl-what-does-the-box-distribution-add":"is-dfl-effective"},"guide":null,"relatedReading":[{"id":"object-detection/fcos","relation":"comparison","topic":"Aligning classification and localization quality"},{"id":"object-detection/tood","relation":"comparison","topic":"Aligning classification and localization quality"}]}],"text":"Continuing the line of thinking from ATSS, we now explore subsequent research.\n\n\n> [!TIP]\n> \n> If you haven't read ATSS yet, you can check out our previous notes:\n> \n> - [**[19.12] ATSS: The Death of Anchors**](/blog/papers/object-detection/atss)\n\n\n## Problem Definition\n\nWhat is object detection? Most people can recite the answer by heart.\n\nIt consists of two sub-tasks:\n\n- **Classification**: Identifies the most distinguishable part of the object and answers \"What is it?\"\n- **Localization**: Precisely outlines the entire boundary and answers \"Where is it?\"\n\nThe problem is that these two tasks can pull in different spatial directions: classification focuses on local salient features, while localization requires the full boundary. When the model optimizes both, their learned feature distributions may differ, causing predictions to “speak past each other.”\n\nIn recent years, one-stage detectors have tried to unify the two tasks using the \"center hypothesis.\"\n\n- **FCOS, ATSS**: Use a centerness branch so that anchors near the center score higher and the localization loss gets a greater weight.\n- **FoveaBox**: Simply defines the center region as positive samples.\n\nThese designs have indeed improved performance, but two core concerns remain:\n\n1. **Task Independence**:\n\n   Most existing methods maintain a \"dual-branch architecture\": one branch handles classification, the other handles localization.\n\n   The result is a lack of communication between the two tasks, which can lead to situations like:\n\n   - The classification branch says, \"This is a dining table\"!\n   - The localization branch, however, more accurately boxes a pizza.\n\n   Their preferred locations differ, and the combined prediction can be wrong.\n\n2. **Sample Assignment Failure**:\n\n   Traditional anchor-based methods use IoU thresholds to determine positive and negative samples; anchor-free methods use geometric rules (like the center region).\n\n   All these strategies are based on an implicit assumption:\n\n   > **Classification and localization can share the same set of samples.**\n\n   But in reality, the optimal points for classification and localization often do not overlap.\n\n   For example, see the figure below:\n\n\n\n    ![ATSS dining-table example with class-score and IoU maps (paper Figure 1)](/content/papers/assets/0b451b7bf323bd7cfc45bb0a534cf4a39d913fa6d796f1f5ba40da115050cf99.jpg)\n\n\n\n   It looks like the best localization box (green patch) is not at the object center, and in the end, it's suppressed by an anchor (red patch) that scores higher in classification but is less accurate in localization, resulting in it being discarded during NMS.\n\nIn other words: **Not only do classification and localization differ in learning direction, they also depend on different sets of samples.**\n\nThis makes us ask:\n\n- Since the two are naturally misaligned, can they truly be coordinated?\n- Can we get \"the most accurate score\" and \"the most accurate box\" on the same anchor?\n\nOr have our designs all along been fundamentally mistaken?\n\n## Problem Solving\n\n\n\n![T-head predictions and TAL training signals (paper Figure 2)](/content/papers/assets/d5560386911d14104af5e1609a50f0af6db4f571f764de0e5f60f48ff30f4584.jpg)\n\n\n\nLet’s follow the diagram provided by the authors to walk through TOOD’s architecture.\n\nIn traditional approaches, after FPN output, features are directly split into two branches, each predicting classification and localization separately. As a result, we often get predictions with high scores but poor boxes, or accurate boxes with low scores that are drowned out during NMS.\n\nHere, the authors' idea is straightforward: **explicitly “align” the two branches at the prediction stage**.\n\n### Task Interaction Features\n\n\n\n![Parallel head, T-head, and TAP layer attention (paper Figure 3)](/content/papers/assets/84995936850240b8c2199ad06cb148ef70869849585f1f19710d798b2724502b.jpg)\n\n\n\nLet the FPN features be $X^{fpn}\\in\\mathbb{R}^{H\\times W\\times C}$.\n\nTOOD no longer splits into branches at the start, but first uses a **shared trunk** to transform feature representations.\n\nWe stack $N$ convolutional layers in sequence (each followed by ReLU), obtaining **task interaction features** $\\{X^{inter}_k\\}_{k=1}^N$ with different effective receptive fields:\n\n$$\nX^{inter}_k=\n\\begin{cases}\n\\delta\\!\\big(\\mathrm{conv}_k(X^{fpn})\\big), & k=1\\\\\n\\delta\\!\\big(\\mathrm{conv}_k(X^{inter}_{k-1})\\big), & k>1\n\\end{cases}\n$$\n\nThe purpose of this step is to let classification and localization first use the same stack of interactive features and its different effective receptive fields, rather than working in isolation.\n\n### TAP: Layer-wise Attention\n\nBut sharing also introduces friction: the preferred layers for classification and localization are actually different.\n\nSo, after sharing, we use the **Task-Aligned Predictor (TAP)** for “division of labor.”\n\nThe method is to learn a **layer-wise attention** $w\\in\\mathbb{R}^N$ from ${X^{inter}_k}$ to determine “for a given task, which layers should be emphasized more.”\n\nFirst, concatenate ${X^{inter}_k}$ and perform global average pooling to get $x^{inter}$, then pass it through two fully connected layers and a Sigmoid:\n\n$$\nw=\\sigma\\!\\Big(\\mathrm{fc}_2\\big(\\delta(\\mathrm{fc}_1(x^{inter}))\\big)\\Big)\\, .\n$$\n\nFor “classification” or “localization,” apply element-wise scaling to the $k$-th layer’s features:\n\n$$\nX^{task}_k = w_k \\cdot X^{inter}_k \\quad (k=1,\\dots,N)\\, ,\n$$\n\nConcatenate all $X^{task}_k$ into $X^{task}$, then use a $1\\!\\times\\!1$ convolution for dimensionality reduction and another convolution to produce the task-specific prediction tensor:\n\n$$\nZ^{task}=\\mathrm{conv}_2\\!\\big(\\delta(\\mathrm{conv}_1(X^{task}))\\big)\\, .\n$$\n\nFrom here, we get the **classification probability map** $P\\in\\mathbb{R}^{H\\times W\\times C_{\\text{cls}}}$ (after Sigmoid) and **bounding box regression** $B\\in\\mathbb{R}^{H\\times W\\times 4}$.\n\n$B$ is the decoded box tensor; before decoding, the localization branch predicts FCOS/ATSS-style distances to the four boundaries, $(l,t,r,b)$.\n\nIf a feature point (scaled by stride) corresponds to image coordinates $(x,y)$, then the reconstructed box is $(x-l,\\;y-t,\\;x+r,\\;y+b)$.\n\nUp to this point, classification and localization still share information on the same features, but each also gets their preferred layer-wise representation.\n\n### Explicit Alignment: $M$ and $O$\n\nSharing alone is not enough—the authors further “lock together” the two tasks at the output.\n\n**First, align classification.**\n\nFrom the shared $X^{inter}$, another spatial probability map $M\\in\\mathbb{R}^{H\\times W\\times 1}$ is learned:\n\n$$\nM=\\sigma\\!\\big(\\mathrm{conv}_2(\\delta(\\mathrm{conv}_1(X^{inter})))\\big)\\, .\n$$\n\nIt is then combined with the classification probability $P$ via **geometric mean** to produce the aligned classification output:\n\n$$\nP^{align}=\\sqrt{P\\times M}\\, .\n$$\n\nThe intuition: $M$ learns from shared features how compatible the two tasks are at this location.\n\nThe geometric mean lets both $P$ and $M$ influence the aligned score rather than relying on either alone.\n\n---\n\n**Second, align localization.**\n\nLocalization is more direct: each side of the box can sample a prediction at a learned nearby location.\n\nFrom $X^{inter}$, a set of offset maps $O\\in\\mathbb{R}^{H\\times W\\times 8}$ is learned, providing a pair of $(\\Delta i,\\Delta j)$ offsets for each of the four sides. Then, bilinear sampling is performed on $B$:\n\n$$\nB^{align}(i,j,c)=B\\!\\big(i+O(i,j,2c),\\;j+O(i,j,2c+1),\\;c\\big),\\quad c\\in\\{0,1,2,3\\}\\, .\n$$\n\nMeaning: the four sides (top, bottom, left, right) each use a learned offset to bilinearly sample nearby box predictions; the four sides need not use the same point. The authors aim to improve the predictions for each side and align the spatial distributions of classification and localization. The offsets do not explicitly identify a proven best neighbor.\n\nFinally, there’s one last part: how does the model **adapt** to this alignment?\n\nTOOD designs a simple “ruler” $t$ to measure whether both the **classification score** $s$ and **localization quality (IoU)** $u$ are simultaneously high for the same anchor:\n\n$$\nt = s^{\\alpha} \\, u^{\\beta}\\, .\n$$\n\n$\\alpha,\\beta$ control the relative importance of the two tasks.\n\nThis ruler has a key property: **as long as either side is poor, $t$ will remain low**.\n\nThe authors use it in two places: **sample assignment** and **loss weighting**.\n\n### Task-aligned Sample Assignment\n\nFor each ground-truth object, compute $t$ for all candidate anchors, and select the **top $m$** as **positive samples**, with the rest as negatives.\n\nThis step directly writes “two-task alignment” into the rules for **who can be a positive sample**.\n\nFrom now on, the model learns primarily from those examples that are “high-scoring and well-localized,” naturally steering learning toward alignment.\n\n### Loss Design\n\nDirectly using $t$ as a soft label can cause numerical stability issues (when $\\alpha,\\beta$ are large, $t$ becomes very small).\n\nThus, the paper adopts **instance-level normalization**: within each object, scale $t$ to a reasonable range while retaining the relative localization quality indicated by the maximum IoU of each object.\n\nThe method is to set the maximum $\\hat t$ within an instance to the maximum IoU for that instance:\n\n$$\n\\hat t_i \\;=\\; t_i \\cdot \\frac{u_{\\max}}{t_{\\max}}\\, ,\\qquad\nu_{\\max}=\\max_k u_k,\\ \\ t_{\\max}=\\max_k t_k\\, .\n$$\n\nThis keeps the soft labels for “difficult objects” (those with low overall $t$) from becoming too small, while retaining differences in localization quality between instances.\n\n- **Classification Loss**\n\n  Replace the BCE label for positive samples from 1 to $\\hat t_i$, and add a Focal-style hard example modulation (with exponent $\\gamma$):\n\n  $$\n  L_{cls}\n  =\\sum_{i=1}^{N_{pos}} \\big|\\hat t_i - s_i\\big|^{\\gamma}\\,\\mathrm{BCE}(s_i,\\hat t_i)\n  \\;+\\;\n  \\sum_{j=1}^{N_{neg}} s_j^{\\gamma}\\,\\mathrm{BCE}(s_j,0)\\, .\n  $$\n\n  **The more misaligned positive samples ($|\\hat t_i-s_i|$ large), the higher their weight**; among negatives, lower scores are suppressed, focusing on hard negatives.\n\n- **Localization Loss**\n\n  For positive samples, use $\\hat t_i$ as the weight to focus on high-quality boxes, using GIoU as an example:\n\n  $$\n  L_{reg}=\\sum_{i=1}^{N_{pos}} \\hat t_i \\, \\mathrm{L}_{GIoU}\\!\\big(b_i,\\bar b_i\\big)\\, .\n  $$\n\nThe paper's total loss is the sum of both:\n\n$$\nL = L_{cls} + L_{reg}\\,\n$$\n\nThis assignment and weighting mechanism is known as **Task Alignment Learning (TAL)**.\n\n## Discussion\n\nAll results below are based on **MS COCO 2017**:\n\nThe paper calls its training split **trainval135k (115K)** and its ablation split **minival (5K)**; final results are reported on **test-dev** using **COCO AP**. Those split names are the paper's own wording.\n\nAll model architectures use **Backbone → FPN → Head**, with a **single anchor per location** (same as ATSS), and pretrained backbones include **ResNet-50/101, ResNeXt-101-64×4d**. The number of interaction layers in T-head is **$N=6$**, and the classification focal parameter is **$\\gamma=2$**.\n\n### Is T-head Worth Replacing?\n\n\n\n![Parallel versus T-head AP across four one-stage settings (paper Table 1)](/content/papers/assets/183edd2168256157f556d25587488caaf3934429e6ac828fb17d22725e0efee6.jpg)\n\n\n\nThe authors first replace the **traditional parallel dual-head** with the **T-head** on several one-stage detector bases.\n\nThe result is clear: **T-head yields a consistent improvement of about +0.7 to +1.9 AP, with fewer parameters and FLOPs**.\n\nThis table conveys two layers of meaning:\n\n- Simply using the **interaction-sharing → layer-wise division → output alignment** head design already achieves strong results.\n- The improvement is **consistent**, not occasional, indicating that this \"interact first, then align\" approach is transferable.\n\n### TAL Effectiveness\n\n\n\n![Sample assignment and weighting ablation with 12- and 18-epoch rows (paper Table 2)](/content/papers/assets/f0024eac31751c3c8637abf4a619c7f2f14c42b0c60fb1ae489051032554b4a1.jpg)\n\n\n\nNext is the sample assignment part, where the authors test **fixed** (geometric/IoU rule-based) and **adaptive** (learning-based) methods.\n\nThe **TAL** approach uses: $t=s^{\\alpha}u^{\\beta}$.\n\nThis metric simultaneously determines **positive/negative assignment (Top-$m$)** and **positive sample weights $\\hat t$**.\n\nIn the 12-epoch comparison, **TAL reaches 40.3 AP**, above ATSS at 39.2. At 18 epochs, TAL reaches 40.9 AP, tied with PAA + IoU prediction. The **TAL + TAP** row predicts from aligned features in the last head tower and reaches **42.5 AP at 18 epochs**; this row does not directly substitute the complete T-head, and subtracting the 12-epoch TAL score would mix schedules.\n\n### The Complete TOOD\n\n\n\n![Anchor-free and anchor-based TOOD comparisons (paper Table 3)](/content/papers/assets/cdbcbebd2ef90bd401d729bbe13d2d0ec05d5b12a614cf81a5b527f507f631ba.jpg)\n\n\n\nWhen **T-head + TAL** are combined, the authors validate both **anchor-free** and **anchor-based** versions: **42.5 AP vs. 42.4 AP**—almost equally strong.\n\nCompared with corresponding **ATSS** versions, anchor-free AP rises **3.3 points** and anchor-based AP **3.1 points**. Under the stricter **AP$_{75}$** metric, the gains are **4.2** and **3.3 points**, respectively. This fits the methodology's emphasis:\n\n- **When scores are aligned with localization, box quality improves.**\n\nIn the anchor-free ablation, TOOD's overall gain (+3.3 AP) is greater than the sum of \"T-head + ATSS\" (+1.9) and \"Parallel head + TAL\" (+1.1). Here, **head interaction/alignment** and **TAL's learning rules** show a complementary effect.\n\n### Comparison with SOTA\n\n\n\n![COCO test-dev comparisons by backbone and DCN setting (paper Table 5)](/content/papers/assets/f9de44da70bc3aec50870323ab00a02fff3cce8a92a7d180b5ddbc1ca58249c2.jpg)\n\n\n\nUnder the same settings on **test-dev**, **single-model single-scale**, **2× schedule (24 epochs), scale jitter 480–800**:\n\n- **ResNet-101**: **46.7 AP**; **ResNeXt-101-64×4d**: **48.3 AP**.\n- On matched backbones, TOOD is **3.1 AP** above ATSS with ResNet-101 and **2.7 AP** above ATSS with ResNeXt-101-64×4d. ResNet-101 GFL has 45.0 AP, **1.7 points** below TOOD. The ResNeXt GFL rows use 32×4d rather than TOOD's 64×4d, so those rows are not exactly backbone-matched.\n\nInterestingly, the paper places **DCN in the first two layers of the head tower**—TOOD’s improvement is **$48.3 \\rightarrow 51.1$ (+2.8 AP)**, while **ATSS** is **$45.6 \\rightarrow 47.7$ (+2.1 AP)**.\n\nThese rows show that TOOD also benefits from DCN in this configuration; the larger gain cannot be attributed solely to alignment from this table.\n\n### Did “Alignment” Actually Happen?\n\n\n\n![Score and box ranking correlation, top-ten IoU, and NMS counts (paper Table 6)](/content/papers/assets/af89192518d8c4d3fae7fdb099a23f407e02bfc4a9551eff450ab248de3d90e9.jpg)\n\n\n\nThe authors provide two quantitative observations:\n\n1. **Without NMS**, for each instance, the **top 50 classification-confidence predictions** are taken, and **PCC (Pearson correlation coefficient)** is calculated for both \"classification ranking\" and \"localization ranking,\" along with the **mean IoU of the top 10**.\n\n   With T-head and TAL, PCC rises **0.408→0.452**, while mean IoU of the top ten boxes rises **0.637→0.661**. Higher scores and better boxes become more synchronized here, although correlation remains far from perfect.\n\n2. **After NMS**, the number of **correct boxes (IoU≥0.5)/ redundant boxes (IoU≥0.5)/ incorrect boxes (0.1\\<IoU\\<0.5)** is tallied: correct boxes rise **30,261→30,734**, while redundant boxes fall **25,428→15,242** and incorrect boxes **92,677→69,013**.\n\nFinally, when looking at these alignment metrics together with AP, the total gain is **about +3.3 AP**.\n\n### How Was Misalignment Improved?\n\n\n\n![Detection examples comparing ATSS, T-head, TAL, and complete TOOD (paper Figure 4)](/content/papers/assets/7a6ec79c55264c5ccbc3dc8c72bee8010364a89f8dee67a99f679fd6ccb89a21.jpg)\n\n\n\nLastly, the authors provide examples: a high-scoring but inaccurate box may appear near the center while a more accurate box has a lower score; with **TOOD**, high-scoring and accurate boxes often come closer in the shown cases. This is consistent with the whole design: **$M$** adjusts classification scores, **$O$** samples box sides at learned offsets, and TAL encourages alignment. The figure alone cannot isolate each component's effect.\n\n## Conclusion\n\nTOOD addresses the long-standing misalignment between classification and localization with a clean, concise path:\n\nFirst, T-head lets both tasks use interactive features, then layer-wise attention gives each a different emphasis. Next, $M$ (classification alignment) and $O$ (localization alignment) adjust the outputs, while $t=s^{\\alpha}u^{\\beta}$ connects sample assignment and loss design. Together, they encourage the model to make a high score accompany a more accurate box.\n\nThis design reaches 51.1 AP on COCO in the ResNeXt-101-64×4d + DCN configuration and improves stricter metrics such as AP$_{75}$ in the reported ablations, supporting the paper's claim:\n\n- **Alignment brings more accurate boxes.**\n\nHowever, it comes with some costs: the branches and bilinear sampling add implementation complexity, and the hyperparameters still need checking for each dataset. This paper does not separately test dense small objects, noisy labels, segmentation or pose, so how well the same balance between “sharing and division” transfers remains an open question.\n\nIn terms of impact, TOOD puts “score × localization quality” at the center of positive sample assignment and quality-aware classification. Its “share first, then divide” idea is a useful way to think about detection heads. Those are design lessons from this paper; broader adoption would need evidence from later systems.\n\nFor engineering use, TOOD is a candidate to benchmark alongside later YOLO and DETR-style detectors. Whether its alignment approach remains efficient and robust depends on the implementation, data and target hardware; the paper's COCO experiments alone cannot settle that question.\n","imageSizes":{"/content/papers/assets/0b451b7bf323bd7cfc45bb0a534cf4a39d913fa6d796f1f5ba40da115050cf99.jpg":{"width":890,"height":654},"/content/papers/assets/d5560386911d14104af5e1609a50f0af6db4f571f764de0e5f60f48ff30f4584.jpg":{"width":904,"height":772},"/content/papers/assets/84995936850240b8c2199ad06cb148ef70869849585f1f19710d798b2724502b.jpg":{"width":1736,"height":452},"/content/papers/assets/183edd2168256157f556d25587488caaf3934429e6ac828fb17d22725e0efee6.jpg":{"width":1224,"height":360},"/content/papers/assets/f0024eac31751c3c8637abf4a619c7f2f14c42b0c60fb1ae489051032554b4a1.jpg":{"width":1224,"height":912},"/content/papers/assets/cdbcbebd2ef90bd401d729bbe13d2d0ec05d5b12a614cf81a5b527f507f631ba.jpg":{"width":1074,"height":376},"/content/papers/assets/f9de44da70bc3aec50870323ab00a02fff3cce8a92a7d180b5ddbc1ca58249c2.jpg":{"width":1224,"height":1016},"/content/papers/assets/af89192518d8c4d3fae7fdb099a23f407e02bfc4a9551eff450ab248de3d90e9.jpg":{"width":1456,"height":214},"/content/papers/assets/7a6ec79c55264c5ccbc3dc8c72bee8010364a89f8dee67a99f679fd6ccb89a21.jpg":{"width":1224,"height":524}}}
