{"url":"/method/cab","slug":"cab","name":"CAB","full_name":"Contextual Attention Block","full_name_withheld":false,"description_markdown":"The Contextual Attention Block (CAB) is a new plug-and-play module to model context awareness. It is simple and effective and can be integrated with any feed-forward neural network.\r\n\r\nCAB infers weights that multiply the feature maps according to their causal influence on the scene, modeling the co-occurrence of different objects in the image.\r\n\r\nYou can place the CAB module at different bottlenecks to infuse a hierarchical context awareness into the model.","description_state":"present","introduced_year":null,"introduced_by":{"title":"Connectivity-Inspired Network for Context-Aware Recognition","paper":"/paper/connectivity-inspired-network-for-context","first_author":"Gianluca Carloni","n_authors":2,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/connectivity-inspired-network-for-context"},"source":{"url":"https://arxiv.org/abs/2409.04360v1","title":"Connectivity-Inspired Network for Context-Aware Recognition","url_on_a_paper_host":true},"code_snippet_url":null,"code_snippet_url_on_a_code_host":false,"categories":[{"area":"General","area_id":"general","collection":"Attention Modules","url":"/methods/category/attention-modules","pwc_aliases":[]}],"n_papers_tagged":2,"archive_num_papers":2,"papers_newest_first":[{"paper":null,"title":"MSCA-Net:Multi-Scale Context Aggregation Network for Infrared Small Target Detection","date":"2025-03-21","arxiv_id":"2503.17193","n_code_links":0,"syntology":null},{"paper":"/paper/connectivity-inspired-network-for-context","title":"Connectivity-Inspired Network for Context-Aware Recognition","date":"2024-09-06","arxiv_id":"2409.04360","n_code_links":1,"syntology":null}],"papers_shown":2,"tasks":[{"task":null,"name":"Biologically-plausible Training","papers":1},{"task":"/task/causal-discovery","name":"Causal Discovery","papers":1},{"task":null,"name":"Functional Connectivity","papers":1},{"task":"/task/image-classification","name":"Image Classification","papers":1},{"task":"/task/image-classification","name":"image-classification","papers":1}],"tasks_shown":5,"n_tasks":5,"usage_by_year":[{"year":"2024","papers":1},{"year":"2025","papers":1}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/cab"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}