{"notes":[{"id":"feature-fusion/panet","category":"feature-fusion","legacyPath":"feature-fusion/1803-panet","legacySlug":"1803-panet","legacyPaths":[],"title":"PANet","subtitle":"Give Me a Shortcut","author":"Z. Yuan","paperDate":"2018-03-05","publishedOn":"2024-04-06","paperTitle":"Path Aggregation Network for Instance Segmentation","paperUrl":"https://arxiv.org/abs/1803.01534","bibliography":{"title":"Path Aggregation Network for Instance Segmentation","authors":["Shu Liu","Lu Qi","Haifang Qin","Jianping Shi","Jiaya Jia"],"url":"https://arxiv.org/abs/1803.01534","pdfUrl":"https://arxiv.org/pdf/1803.01534","codeUrl":null,"preprint":{"id":"1803.01534","submittedOn":"2018-03-05","url":"https://arxiv.org/abs/1803.01534"},"publication":{"venue":"CVPR","year":2018,"kind":"conference","url":"https://arxiv.org/abs/1803.01534"},"citation":"@misc{featurefusionpanet2018,\n  title = {{Path Aggregation Network for Instance Segmentation}},\n  author = {Shu Liu and Lu Qi and Haifang Qin and Jianping Shi and Jiaya Jia},\n  year = {2018},\n  eprint = {1803.01534},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1803.01534}\n}\n","citationPath":"/content/papers/citations/feature-fusion/panet.31d49af45ee9.bib"},"thumbnail":{"src":"/content/papers/assets/549012fa5498c4bbe44cfad4f4c54ed4eac5e7f0cdc71ae6308bb1ee6a4942ed.jpg","width":1024,"height":348},"locale":"en","path":"/content/papers/en/feature-fusion/panet.bccaab9f2654.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"panet-model-design","text":"PANet Model Design","depth":3},{"id":"path-aggregation-fpn","text":"Path Aggregation FPN","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"how-does-it-compare-to-basic-fpn","text":"How Does It Compare to Basic FPN?","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"tags":["feature-fusion","object-detection","segmentation","cuhk"],"relatedReading":[{"id":"feature-fusion/fpn","relation":"background","topic":"Fusing multiscale features for detection"},{"id":"feature-fusion/bifpn","relation":"next","topic":"Fusing multiscale features for detection"}]},{"id":"feature-fusion/fpn","category":"feature-fusion","legacyPath":"feature-fusion/1612-fpn","legacySlug":"1612-fpn","legacyPaths":[],"title":"FPN","subtitle":"The Pyramid Structure","author":"Z. Yuan","paperDate":"2016-12-09","publishedOn":"2024-04-06","paperTitle":"Feature Pyramid Networks for Object Detection","paperUrl":"https://arxiv.org/abs/1612.03144","bibliography":{"title":"Feature Pyramid Networks for Object Detection","authors":["Tsung-Yi Lin","Piotr Dollár","Ross Girshick","Kaiming He","Bharath Hariharan","Serge Belongie"],"url":"https://arxiv.org/abs/1612.03144","pdfUrl":"https://arxiv.org/pdf/1612.03144","codeUrl":null,"preprint":{"id":"1612.03144","submittedOn":"2016-12-09","url":"https://arxiv.org/abs/1612.03144"},"publication":{"venue":"CVPR","year":2017,"kind":"conference","url":"https://doi.org/10.1109/cvpr.2017.106"},"citation":"@misc{featurefusionfpn2016,\n  title = {{Feature Pyramid Networks for Object Detection}},\n  author = {Tsung-Yi Lin and Piotr Dollár and Ross Girshick and Kaiming He and Bharath Hariharan and Serge Belongie},\n  year = {2016},\n  eprint = {1612.03144},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1612.03144}\n}\n","citationPath":"/content/papers/citations/feature-fusion/fpn.e4ffc8178c44.bib"},"thumbnail":{"src":"/content/papers/assets/4909dfc99cc56eb950023c336b6390fc9b1d1c637bba715e12905800bb1a12e8.jpg","width":1024,"height":887},"locale":"en","path":"/content/papers/en/feature-fusion/fpn.cfa34a497f0f.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"fpn-model-design","text":"FPN Model Design","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"is-it-really-better","text":"Is It Really Better?","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"tags":["feature-fusion","object-detection","segmentation","cornell","meta"],"relatedReading":[{"id":"feature-fusion/panet","relation":"next","topic":"Fusing multiscale features for detection"}]},{"id":"feature-fusion/bifpn","category":"feature-fusion","legacyPath":"feature-fusion/1911-bifpn","legacySlug":"1911-bifpn","legacyPaths":[],"title":"EfficientDet","subtitle":"The Power of BiFPN","author":"Z. Yuan","paperDate":"2019-11-20","publishedOn":"2024-08-15","paperTitle":"EfficientDet: Scalable and Efficient Object Detection","paperUrl":"https://arxiv.org/abs/1911.09070","bibliography":{"title":"EfficientDet: Scalable and Efficient Object Detection","authors":["Mingxing Tan","Ruoming Pang","Quoc V. Le"],"url":"https://arxiv.org/abs/1911.09070","pdfUrl":"https://arxiv.org/pdf/1911.09070","codeUrl":null,"preprint":{"id":"1911.09070","submittedOn":"2019-11-20","url":"https://arxiv.org/abs/1911.09070"},"publication":{"venue":"CVPR","year":2020,"kind":"conference","url":"https://arxiv.org/abs/1911.09070"},"citation":"@misc{featurefusionbifpn2019,\n  title = {{EfficientDet: Scalable and Efficient Object Detection}},\n  author = {Mingxing Tan and Ruoming Pang and Quoc V. Le},\n  year = {2019},\n  eprint = {1911.09070},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1911.09070}\n}\n","citationPath":"/content/papers/citations/feature-fusion/bifpn.dc7bc273ef7a.bib"},"thumbnail":{"src":"/content/papers/assets/27521b31a9957f1549825cc13abf74d8b51136759adf8d801c24f1b64f5c8d2b.jpg","width":1322,"height":500},"locale":"en","path":"/content/papers/en/feature-fusion/bifpn.5b5be9fa4810.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"model-scaling","text":"Model Scaling","depth":3},{"id":"weighted-average","text":"Weighted Average","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"performance-on-coco","text":"Performance on COCO","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"tags":["feature-fusion","object-detection","lightweight","scaling","google-brain"],"relatedReading":[{"id":"feature-fusion/panet","relation":"background","topic":"Fusing multiscale features for detection"},{"id":"feature-fusion/nasfpn","relation":"comparison","topic":"Designing and searching feature pyramids"},{"id":"feature-fusion/detectors","relation":"comparison","topic":"Designing and searching feature pyramids"}]}],"text":"After the introduction of the classic FPN, the question of \"how to achieve more efficient feature fusion\" became an area of research. Let's explore another equally classic architecture — PANet.\n\n## Defining the Problem\n\nIn the PANet paper, the primary comparison is with the FPN architecture. If you're not familiar with FPN, you can refer to:\n\n- [**[16.12] FPN: The Pyramid Structure**](/blog/papers/feature-fusion/fpn)\n\nRecall a key conclusion from FPN: \"Bottom-up, top-down, then add.\"\n\nPANet asks how this can be improved. The authors first review the motivation for FPN’s top-down path:\n\n> The insightful point that neurons in high layers strongly respond to entire objects while other neurons are more likely to be activated by local texture and patterns manifests the necessity of augmenting a top-down path to propagate semantically strong features and enhance all features with reasonable classification capability in FPN.\n>\n> Excerpted from PANet\n\nA direct translation would lose some of that passage's beauty, so it stays in English. Put simply, neurons at the top can see whole objects, while neurons at the bottom see local textures. The quote explains FPN's top-down route; PANet asks for another route back up.\n\nThat passage already sums up the paper's central idea.\n\n![Earlier teaching diagram of ResNet18 feature stages labeled P1–P5; not a PANet paper figure](/content/papers/assets/23c14a4221a10712c8ac542bfc1ec79b53027b6ae90ccf4c8c4c20cea4d4c3a2.jpg \"Teaching diagram reused from the earlier note; PANet Figure 1 uses FPN levels P2–P5 and the labels are not directly interchangeable\")\n\nUsing this image, let's break down the statement. High layers refer to Block5, where neurons have a broad receptive field and can focus on larger objects. Lower-level features tend to respond to local textures and patterns. Labels such as P1 follow the earlier teaching diagram; the PANet paper uses FPN levels P2–P5.\n\nFPN quickly propagates high-level semantics downward, while precise low-level localization cues may traverse over a hundred backbone layers to reach the top. PANet adds a short bottom-up route across feature scales.\n\nThat's quite a difference. Shouldn't we do something about it?\n\n## Solving the Problem\n\n### PANet Model Design\n\n![PANet paper Figure 1: FPN, bottom-up augmentation, adaptive feature pooling, box branch and mask fusion](/content/papers/assets/549012fa5498c4bbe44cfad4f4c54ed4eac5e7f0cdc71ae6308bb1ee6a4942ed.jpg \"Liu et al., Path Aggregation Network for Instance Segmentation, Figure 1(a)–(e), arXiv:1803.01534v4\")\n\nThe image shows the proposal. Panel (a) is the FPN we discussed before; panel (b) adds a bottom-up shortcut (green) beside the longer original path (red). Panel (c) pools information from multiple scales for each proposal, panel (d) is the class and box branch, and panel (e) is fully connected mask fusion. We will focus on (b) here, then briefly return to (c) and (e).\n\n### Path Aggregation FPN\n\nLet's look at the path aggregation block. It takes a lower-level feature map ($N_i$) and a coarser FPN map ($P_{i+1}$) to create $N_{i+1}$.\n\nFor each feature map (Ni), a 3×3 convolution with stride=2 is first applied to halve the spatial dimensions and reduce the amount of data. Note that N2 is simply P2, with no processing.\n\nThen, corresponding small patches from Pi+1 and the downsampled Ni are added together. Finally, another 3×3 convolution processes this combined feature map, creating the new feature map (Ni+1) for subsequent sub-networks.\n\nThis process repeats until reaching the top feature map (P5). Throughout these blocks, PANet maintains the feature map's channel count at 256, with each convolution followed by a ReLU activation. The authors believe this helps the model learn more useful features.\n\nThe outputs [N2, N3, N4, N5] are multi-scale feature maps. Adaptive feature pooling subsequently extracts aligned regions for each proposal from these scales and combines those features for the prediction heads; it does not directly sum entire maps of different sizes.\n\n## Discussion\n\n### How Does It Compare to Basic FPN?\n\n![Annotated crop of PANet paper Table 3 showing mask-AP ablations for RBL, MST, MBN, BPA, AFP, FF and HHD](/content/papers/assets/81fdd86fa87969e6872087ca14d71b793469ce04a6abcea0bf812385d8f5cd0f.jpg \"Liu et al., PANet, annotated crop of Table 3, arXiv:1803.01534v4; colored Chinese callouts were added for this article\")\n\nAs we look more closely at the architecture, we can see that the authors ran quite a few analyses and experiments. Let's look at a few highlights.\n\nFirst, consider Multi-Scale Training (MST). Starting from the reimplemented baseline RBL, it raises mask AP from 33.4 to 35.3: 1.9 points, or about 2 points. This is a training-strategy change, not a replacement of the FPN architecture.\n\nNext, adding multi-GPU synchronized BatchNorm (MBN) to MST raises mask AP from **35.3 to 35.7**, or **0.4 points**. Keeping MST+MBN fixed, adding Bottom-Up Path Augmentation (BPA) raises it from **35.7 to 36.4**, another **0.7 points**. BPA gives lower-level localization cues a shorter route to coarser features.\n\nI find this ablation a little unfortunate: MBN sits between MST and BPA, so we cannot see a direct comparison of MST with MST+BPA alone. The 0.7-point BPA gain is measured on top of MST+MBN.\n\nBesides \"Bottom-Up Path Augmentation,\" the authors introduced other key elements, although they fall within the Model Head section and are not the focus here. Nonetheless, since the table is provided, let's briefly cover some information.\n\nOne element is \"Adaptive Feature Pooling,\" which connects the feature grid with all feature levels, allowing useful information from each level to propagate directly to subsequent sub-networks. This enhances cooperation between different feature levels, improving the model's performance. Fully Connected Fusion adds a branch complementary to the convolutional mask branch and combines their predictions to improve mask quality.\n\n## Conclusion\n\nPANet carries FPN's design forward by exploring a more effective way to fuse multi-scale features. Its path augmentation, adaptive feature pooling and prediction branches show how the different levels can work together in the paper's instance-segmentation setting.\n\nPANet conveys two critical messages:\n\nFirst, when facing a multi-scale problem, we need to consider how to fuse the features. PANet pays close attention to features at different scales, then uses path augmentation, feature pooling and fusion to bring their information together.\n\nSecond, unlike FPN's \"Bottom-up, top-down, then add,\" PANet proposes \"Bottom-up, top-down, bottom-up, then add.\"\n\nThere are still unresolved issues in feature fusion, such as comparing additive and concatenative fusion, improving fusion efficiency, and adjusting fusion weights. These topics will be further explored in future research.\n","imageSizes":{"/content/papers/assets/23c14a4221a10712c8ac542bfc1ec79b53027b6ae90ccf4c8c4c20cea4d4c3a2.jpg":{"width":1024,"height":396},"/content/papers/assets/549012fa5498c4bbe44cfad4f4c54ed4eac5e7f0cdc71ae6308bb1ee6a4942ed.jpg":{"width":1024,"height":348},"/content/papers/assets/81fdd86fa87969e6872087ca14d71b793469ce04a6abcea0bf812385d8f5cd0f.jpg":{"width":1024,"height":456}}}
