{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/method/cbam","slug":"cbam","name":"CBAM","full_name":"Convolutional Block Attention Module","full_name_withheld":false,"description_markdown":"**Convolutional Block Attention Module (CBAM)** is an attention module for convolutional neural networks. Given an intermediate feature map, the module sequentially infers attention maps along two separate dimensions, channel and spatial, then the attention maps are multiplied to the input feature map for adaptive feature refinement.\r\n\r\nGiven an intermediate feature map $\\mathbf{F} \\in \\mathbb{R}^{C×H×W}$ as input, CBAM sequentially infers a 1D channel attention map $\\mathbf{M}\\_{c} \\in \\mathbb{R}^{C×1×1}$ and a 2D spatial attention map $\\mathbf{M}\\_{s} \\in \\mathbb{R}^{1×H×W}$. The overall attention process can be summarized as:\r\n\r\n$$ \\mathbf{F}' = \\mathbf{M}\\_{c}\\left(\\mathbf{F}\\right) \\otimes \\mathbf{F} $$\r\n\r\n$$ \\mathbf{F}'' = \\mathbf{M}\\_{s}\\left(\\mathbf{F'}\\right) \\otimes \\mathbf{F'} $$\r\n\r\nDuring multiplication, the attention values are broadcasted (copied) accordingly: channel attention values are broadcasted along the spatial dimension, and vice versa. $\\mathbf{F}''$ is the final refined\r\noutput.","description_state":"present","introduced_year":null,"introduced_by":{"title":null,"paper":null,"first_author":null,"n_authors":0,"url_abs":null,"archive_paper_url":null},"source":{"url":"http://arxiv.org/abs/1807.06521v2","title":"CBAM: Convolutional Block Attention Module","url_on_a_paper_host":true},"code_snippet_url":"https://github.com/Jongchan/attention-module/blob/c06383c514ab0032d044cc6fcd8c8207ea222ea7/MODELS/cbam.py#L84","code_snippet_url_on_a_code_host":true,"categories":[{"area":"Computer Vision","area_id":"computer-vision","collection":"Image Model Blocks","url":"/methods/category/image-model-blocks","pwc_aliases":[]}],"n_papers_tagged":43,"archive_num_papers":null,"papers_newest_first":[{"paper":null,"slug":"improvement-strategies-for-few-shot-learning","title":"Improvement Strategies for Few-Shot Learning in OCT Image Classification of Rare Retinal Diseases","date":"2025-05-26","arxiv_id":"2505.20149","n_code_links":0,"syntology":null},{"paper":"/paper/dual-attention-residual-u-net-for-accurate","slug":"dual-attention-residual-u-net-for-accurate","title":"Dual Attention Residual U-Net for Accurate Brain Ultrasound Segmentation in IVH Detection","date":"2025-05-23","arxiv_id":"2505.17683","n_code_links":1,"syntology":null},{"paper":"/paper/enhanced-scannet-with-cbam-and-dice-loss-for","slug":"enhanced-scannet-with-cbam-and-dice-loss-for","title":"Enhanced SCanNet with CBAM and Dice Loss for Semantic Change Detection","date":"2025-05-07","arxiv_id":"2505.04199","n_code_links":1,"syntology":null},{"paper":null,"slug":"intelligent-road-crack-detection-and-analysis","title":"Intelligent road crack detection and analysis based on improved YOLOv8","date":"2025-04-16","arxiv_id":"2504.13208","n_code_links":0,"syntology":null},{"paper":null,"slug":"efficient-building-roof-type-classification-a","title":"Efficient Building Roof Type Classification: A Domain-Specific Self-Supervised Approach","date":"2025-03-28","arxiv_id":"2503.22251","n_code_links":0,"syntology":null},{"paper":"/paper/an-attention-guided-deep-learning-approach","slug":"an-attention-guided-deep-learning-approach","title":"An Attention-Guided Deep Learning Approach for Classifying 39 Skin Lesion Types","date":"2025-01-10","arxiv_id":"2501.05991","n_code_links":1,"syntology":null},{"paper":null,"slug":"ai-powered-cow-detection-in-complex-farm","title":"AI-Powered Cow Detection in Complex Farm Environments","date":"2025-01-03","arxiv_id":"2501.02080","n_code_links":0,"syntology":null},{"paper":null,"slug":"research-on-vehicle-detection-based-on","title":"Research on vehicle detection based on improved YOLOv8 network","date":"2024-12-31","arxiv_id":"2501.00300","n_code_links":0,"syntology":null},{"paper":"/paper/hybrid-attention-network-an-efficient","slug":"hybrid-attention-network-an-efficient","title":"HYATT-Net is Grand: A Hybrid Attention Network for Performant Anatomical Landmark Detection","date":"2024-12-09","arxiv_id":"2412.06499","n_code_links":1,"syntology":null},{"paper":null,"slug":"integrating-yolo11-and-convolution-block","title":"Integrating YOLO11 and Convolution Block Attention Module for Multi-Season Segmentation of Tree Trunks and Branches in Commercial Apple Orchards","date":"2024-12-07","arxiv_id":"2412.05728","n_code_links":0,"syntology":null},{"paper":null,"slug":"an-explainable-attention-model-for-cervical","title":"An Explainable Attention Model for Cervical Precancer Risk Classification using Colposcopic Images","date":"2024-11-14","arxiv_id":"2411.09469","n_code_links":0,"syntology":null},{"paper":null,"slug":"efficientnet-with-hybrid-attention-mechanisms","title":"Breast Cancer Histopathology Classification using CBAM-EfficientNetV2 with Transfer Learning","date":"2024-10-29","arxiv_id":"2410.22392","n_code_links":0,"syntology":null},{"paper":"/paper/hyperspectral-imaging-based-perception-in","slug":"hyperspectral-imaging-based-perception-in","title":"Hyperspectral Imaging-Based Perception in Autonomous Driving Scenarios: Benchmarking Baseline Semantic Segmentation Models","date":"2024-10-29","arxiv_id":"2410.22101","n_code_links":1,"syntology":null},{"paper":null,"slug":"emotion-recognition-with-facial-attention-and","title":"Emotion Recognition with Facial Attention and Objective Activation Functions","date":"2024-10-23","arxiv_id":"2410.17740","n_code_links":0,"syntology":null},{"paper":null,"slug":"a-novel-method-for-accurate-real-time-food","title":"A Novel Method for Accurate & Real-time Food Classification: The Synergistic Integration of EfficientNetB7, CBAM, Transfer Learning, and Data Augmentation","date":"2024-10-03","arxiv_id":"2410.02304","n_code_links":0,"syntology":null},{"paper":null,"slug":"cbam-swint-bl-small-rail-surface-detect","title":"CBAM-SwinT-BL: Small Rail Surface Defect Detection Method Based on Swin Transformer with Block Level CBAM Enhancement","date":"2024-09-30","arxiv_id":"2409.20113","n_code_links":0,"syntology":null},{"paper":"/paper/a-lightweight-insulator-defect-detection","slug":"a-lightweight-insulator-defect-detection","title":"A Lightweight Insulator Defect Detection Model Based on Drone Images","date":"2024-08-26","arxiv_id":null,"n_code_links":1,"syntology":null},{"paper":null,"slug":"research-on-improved-u-net-based-remote","title":"Research on Improved U-net Based Remote Sensing Image Segmentation Algorithm","date":"2024-08-22","arxiv_id":"2408.12672","n_code_links":0,"syntology":null},{"paper":null,"slug":"an-explainable-non-local-network-for-covid-19","title":"An Explainable Non-local Network for COVID-19 Diagnosis","date":"2024-08-08","arxiv_id":"2408.04300","n_code_links":0,"syntology":null},{"paper":null,"slug":"2408-02692","title":"Attention is all you need for an improved CNN-based flash flood susceptibility modeling. The case of the ungauged Rheraya watershed, Morocco","date":"2024-08-03","arxiv_id":"2408.02692","n_code_links":0,"syntology":null},{"paper":null,"slug":"sharp-net-a-refined-pyramid-network-for","title":"SHARP-Net: A Refined Pyramid Network for Deficiency Segmentation in Culverts and Sewer Pipes","date":"2024-08-02","arxiv_id":"2408.08879","n_code_links":0,"syntology":null},{"paper":null,"slug":"enhancing-tree-type-detection-in-forest-fire","title":"Enhancing Tree Type Detection in Forest Fire Risk Assessment: Multi-Stage Approach and Color Encoding with Forest Fire Risk Evaluation Framework for UAV Imagery","date":"2024-07-27","arxiv_id":"2407.19184","n_code_links":0,"syntology":null},{"paper":"/paper/pick-or-mix-dynamic-channel-sampling-for-1","slug":"pick-or-mix-dynamic-channel-sampling-for-1","title":"Pick-or-Mix: Dynamic Channel Sampling for ConvNets","date":"2024-06-16","arxiv_id":"2406.10935","n_code_links":1,"syntology":null},{"paper":"/paper/ac-mambaseg-an-adaptive-convolution-and-mamba","slug":"ac-mambaseg-an-adaptive-convolution-and-mamba","title":"AC-MAMBASEG: An adaptive convolution and Mamba-based architecture for enhanced skin lesion segmentation","date":"2024-05-05","arxiv_id":"2405.03011","n_code_links":1,"syntology":null},{"paper":null,"slug":"a-novel-approach-to-chest-x-ray-lung","title":"A Novel Approach to Chest X-ray Lung Segmentation Using U-net and Modified Convolutional Block Attention Module","date":"2024-04-22","arxiv_id":"2404.14322","n_code_links":0,"syntology":null},{"paper":null,"slug":"resnet-with-integrated-convolutional-block","title":"Enhancing Ship Classification in Optical Satellite Imagery: Integrating Convolutional Block Attention Module with ResNet for Improved Performance","date":"2024-04-02","arxiv_id":"2404.02135","n_code_links":0,"syntology":null},{"paper":"/paper/yolov8-am-yolov8-with-attention-mechanisms","slug":"yolov8-am-yolov8-with-attention-mechanisms","title":"YOLOv8-AM: YOLOv8 Based on Effective Attention Mechanisms for Pediatric Wrist Fracture Detection","date":"2024-02-14","arxiv_id":"2402.09329","n_code_links":1,"syntology":null},{"paper":null,"slug":"attention-modules-improve-modern-image-level","title":"Attention Modules Improve Modern Image-Level Anomaly Detection: A DifferNet Case Study","date":"2024-01-13","arxiv_id":"2401.08686","n_code_links":0,"syntology":null},{"paper":"/paper/hic-yolov5-improved-yolov5-for-small-object","slug":"hic-yolov5-improved-yolov5-for-small-object","title":"HIC-YOLOv5: Improved YOLOv5 For Small Object Detection","date":"2023-09-28","arxiv_id":"2309.16393","n_code_links":1,"syntology":null},{"paper":null,"slug":"marine-debris-detection-in-satellite","title":"Marine Debris Detection in Satellite Surveillance using Attention Mechanisms","date":"2023-07-09","arxiv_id":"2307.04128","n_code_links":0,"syntology":null},{"paper":null,"slug":"fast-recognition-of-birds-in-offshore-wind","title":"Fast Recognition of birds in offshore wind farms based on an improved deep learning model","date":"2023-06-28","arxiv_id":"2306.16019","n_code_links":0,"syntology":null},{"paper":null,"slug":"exploring-multimodal-sentiment-analysis-via","title":"Exploring Multimodal Sentiment Analysis via CBAM Attention and Double-layer BiLSTM Architecture","date":"2023-03-26","arxiv_id":"2303.14708","n_code_links":0,"syntology":null},{"paper":null,"slug":"lostnet-a-smart-way-for-lost-and-find","title":"LostNet: A smart way for lost and find","date":"2023-01-05","arxiv_id":"2301.02277","n_code_links":0,"syntology":null},{"paper":"/paper/u-net-based-models-for-skin-lesion","slug":"u-net-based-models-for-skin-lesion","title":"U-Net-based Models for Skin Lesion Segmentation: More Attention and Augmentation","date":"2022-10-28","arxiv_id":"2210.16399","n_code_links":1,"syntology":null},{"paper":null,"slug":"attention-augmented-convnext-unet-for-rectal","title":"Attention Augmented ConvNeXt UNet For Rectal Tumour Segmentation","date":"2022-10-01","arxiv_id":"2210.00227","n_code_links":0,"syntology":null},{"paper":null,"slug":"cssam-u-net-network-for-application-and","title":"Segmentation method of U-net sheet metal engineering drawing based on CBAM attention mechanism","date":"2022-09-28","arxiv_id":"2209.14102","n_code_links":0,"syntology":null},{"paper":"/paper/retinal-image-restoration-and-vessel","slug":"retinal-image-restoration-and-vessel","title":"Retinal Image Restoration and Vessel Segmentation using Modified Cycle-CBAM and CBAM-UNet","date":"2022-09-09","arxiv_id":"2209.04234","n_code_links":2,"syntology":null},{"paper":null,"slug":"cainnflow-convolutional-block-attention","title":"CAINNFlow: Convolutional block Attention modules and Invertible Neural Networks Flow for anomaly detection and localization tasks","date":"2022-06-04","arxiv_id":"2206.01992","n_code_links":0,"syntology":null},{"paper":null,"slug":"rcmnet-a-deep-learning-model-assists-car-t","title":"RCMNet: A deep learning model assists CAR-T therapy for leukemia","date":"2022-05-06","arxiv_id":"2205.04230","n_code_links":0,"syntology":null},{"paper":"/paper/a-survey-on-attention-mechanisms-for-medical","slug":"a-survey-on-attention-mechanisms-for-medical","title":"A survey on attention mechanisms for medical applications: are we moving towards better algorithms?","date":"2022-04-26","arxiv_id":"2204.12406","n_code_links":1,"syntology":null},{"paper":null,"slug":"introduce-the-result-into-self-attention","title":"Introduce the Result Into Self-Attention","date":"2021-09-21","arxiv_id":"2109.13860","n_code_links":0,"syntology":null},{"paper":null,"slug":"salypath-a-deep-based-architecture-for-visual","title":"SALYPATH: A Deep-Based Architecture for visual attention prediction","date":"2021-06-29","arxiv_id":"2107.00559","n_code_links":0,"syntology":null},{"paper":"/paper/cbam-convolutional-block-attention-module","slug":"cbam-convolutional-block-attention-module","title":"CBAM: Convolutional Block Attention Module","date":"2018-07-17","arxiv_id":"1807.06521","n_code_links":31,"syntology":{"ran":13,"of":22,"n_ran_checked":10,"n_instrument":3,"unverified":9,"pointer_only":3,"phrase":"13 ran (of which 0 constructed an object rather than computing a result; 10 with no instrument failure: 1 honoured, 0 violated, 9 with no contract checked; 3 where Syntology's instrument failed) · 9 unverified","official":null}}],"papers_shown":43,"papers_order":"date (newest first), then slug","paper_counts":{"archive_papers_tagged":43,"with_a_code_link":14,"where_syntology_ran_a_sample":1,"not_listed_spam_title":0,"listed":43,"listed_where_code_ran":1,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":1,"every_run_a_failure_of_syntologys_instrument":0,"listed_with_a_run_with_no_instrument_failure":1,"listed_every_run_a_failure_of_syntologys_instrument":0,"filter":{"states":["a run with no instrument failure","any run, instrument failures included"],"default":"a run with no instrument failure","note":"on the 'only where code ran' pages the default hides, in the browser, the rows where every run was a failure of Syntology's instrument; the second state shows them again. Rows are hidden, never re-ordered; these twins list every row"}},"definition":"distinct papers the archive tags; 'where Syntology ran a sample' counts papers with at least one harvested sample that ran, which is not a correctness claim"},"papers_where_code_ran":1,"papers_where_code_ran_first_page":"/method/cbam/papers/ran/1","papers_where_code_ran_caption":"We ran code from the paper's repository; we did not isolate this method inside it.","pages":[{"order":"ran","page":1,"of":1,"url":"/method/cbam/papers/ran/1","json":"/method/cbam/papers/ran/1.json","rows":1}],"tasks":[{"task":"/task/segmentation","name":"Segmentation","papers":7},{"task":"/task/image-classification","name":"Image Classification","papers":6},{"task":"/task/semantic-segmentation","name":"Semantic Segmentation","papers":6},{"task":"/task/object-detection","name":"Object Detection","papers":5},{"task":"/task/image-classification","name":"image-classification","papers":5},{"task":"/task/diagnostic","name":"Diagnostic","papers":4},{"task":"/task/transfer-learning","name":"Transfer Learning","papers":4},{"task":"/task/computational-efficiency","name":"Computational Efficiency","papers":3},{"task":"/task/management","name":"Management","papers":3},{"task":"/task/anatomy","name":"Anatomy","papers":2},{"task":"/task/anomaly-detection","name":"Anomaly Detection","papers":2},{"task":"/task/autonomous-driving","name":"Autonomous Driving","papers":2},{"task":"/task/classification-1","name":"Classification","papers":2},{"task":"/task/data-augmentation","name":"Data Augmentation","papers":2},{"task":"/task/defect-detection","name":"Defect Detection","papers":2},{"task":"/task/image-segmentation","name":"Image Segmentation","papers":2},{"task":"/task/instance-segmentation","name":"Instance Segmentation","papers":2},{"task":"/task/lesion-segmentation","name":"Lesion Segmentation","papers":2},{"task":"/task/skin-lesion-segmentation","name":"Skin Lesion Segmentation","papers":2},{"task":"/task/small-object-detection","name":"Small Object Detection","papers":2}],"tasks_shown":20,"n_tasks":60,"usage_by_year":[{"year":"2018","papers":1},{"year":"2021","papers":2},{"year":"2022","papers":7},{"year":"2023","papers":5},{"year":"2024","papers":21},{"year":"2025","papers":7}],"row_source":"embedded","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/cbam"},"syntology_read_at":"2026-10-05T00:36:11+00:00","syntology":{"source":"Syntology's have check for this name (the free coverage lookup), read from Syntology's graph","have_url":"https://syntology.ai/api/graph/have?x=CBAM","read_at":"2026-10-05T00:53:27+00:00","query":"CBAM","kind":"paper","have":"unverified_code","tier":"harvested","verified_implementation":false,"level":1,"level_meaning":"the served verification level, per answer; never summed across methods","resolved_to":{"arxiv_id":"1807.06521"},"resolution":"paper","resolved_name_differs":false,"absence_asserted":false,"absence_unchecked":null,"no_code_is_about_this_method":false,"subject":"unknown","archive_paper_arxiv_id":null,"repositories":{"listed":31,"in_graph":31,"list_truncated":false,"strongest_link":"mentioned_in_github"},"retrieve_with":"get_harvested_code_for_paper(arxiv_id='1807.06521')","name_competition":{"verdict":"sole_bearer","may_be_wrong_sense":false,"bearers_found":1,"served":{"arxiv_id":"1807.06521","citations":25464},"leading_other_bearer":null,"n_other_bearers_listed":0,"note":"Nothing else in this corpus is named 'CBAM'. That is a statement about this corpus and not about the field: short names are reused, and a sense we never collected cannot show up here. Confirm `served.arxiv_id` if you had a specific paper in mind."},"name_competition_text":null,"near_matches":null,"code_nearby":[],"code_nearby_caption":null,"origin_paper":{"arxiv_id":"1807.06521","page":"/paper/cbam-convolutional-block-attention-module","syntology_url":"https://syntology.ai/paper/1807.06521","in_graph_layer":true,"samples":22,"ran":13,"n_ran_checked":10,"n_instrument":3,"unverified":9,"phrase":"13 ran (of which 0 constructed an object rather than computing a result; 10 with no instrument failure: 1 honoured, 0 violated, 9 with no contract checked; 3 where Syntology's instrument failed) · 9 unverified","instrument_means":"failures of Syntology's instrument, not of the code"},"line":"harvested code stored, below machine verification (unverified_code; harvested), served level V1. Repositories: 31 listed of 31 in the graph, strongest link: mentioned on GitHub. The lookup matched a paper by its title, arXiv:1807.06521, not a method entry. The archive credits no paper with an arXiv id for this method, so whether this answer (about arXiv:1807.06521) is about this method is not checked.","level_legend":{"state":"quoted","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","card_sha256":"479785a84658dd682a11b10237b3620d651d7f87799f5dc7add970aaa83f6d39","note":"Syntology's served verification levels, quoted verbatim from its MCP server card; a row is split where the card separates clauses with a double hyphen, and the separator is not reproduced","levels":[{"level":"V0","quoted":["imports"]},{"level":"V1","quoted":["executes against a synthesized fixture and returns a value of the recorded type"]},{"level":"V2","quoted":["two implementations GENERATED from the paper's signature and spec agree numerically (1e-6) on fixture inputs","neither of the two ever read the authors' own code, so V2 measures how unambiguously the paper specifies the method, not fidelity to the authors' implementation (measured 2026-09-11, commit 75eaa77: cross_checked_by is a second LLM on 2,628 of 2,831 served samples)"]},{"level":"V3","quoted":["paper-derived property tests pass on both of those same two generations."]}],"no_rung":"No rung on this ladder compares the served code against the authors' implementation, so treat every level as evidence about runnability and internal agreement, not about matching the paper's results."}},"syntology_have_state":"loaded","record_sha256":"e1f90d24a92991d99c240d2d2143d018f76c7c9625c21711345f10bca64481a9","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}