{"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/channel-wise-cross-attention","slug":"channel-wise-cross-attention","name":"Channel-wise Cross Attention","full_name":"Channel-wise Cross Attention","full_name_withheld":false,"description_markdown":"**Channel-wise Cross Attention** is a module for semantic segmentation used in the [UCTransNet](https://paperswithcode.com/method/uctransnet) architecture. It is used to fuse features of inconsistent semantics between the Channel [Transformer](https://paperswithcode.com/method/transformer) and [U-Net](https://paperswithcode.com/method/u-net) decoder. It guides the channel and information filtration of the Transformer features and eliminates the ambiguity with the decoder features.\r\n\r\nMathematically, we take the $i$-th level Transformer output $\\mathbf{O\\_{i}} \\in \\mathbb{R}^{C×H×W}$ and i-th level decoder feature map $\\mathbf{D\\_{i}} \\in \\mathbb{R}^{C×H×W}$ as the inputs of Channel-wise Cross Attention. Spatial squeeze is performed by a [global average pooling](https://paperswithcode.com/method/global-average-pooling) (GAP) layer, producing vector $\\mathcal{G}\\left(\\mathbf{X}\\right) \\in \\mathbb{R}^{C×1×1}$ with its $k$th channel $\\mathcal{G}\\left(\\mathbf{X}\\right) = \\frac{1}{H×W}\\sum^{H}\\_{i=1}\\sum^{W}\\_{j=1}\\mathbf{X}^{k}\\left(i, j\\right)$. We use this operation to embed the global spatial information and then generate the attention mask:\r\n\r\n$$ \\mathbf{M}\\_{i} = \\mathbf{L}\\_{1} \\cdot \\mathcal{G}\\left(\\mathbf{O\\_{i}}\\right) + \\mathbf{L}\\_{2} \\cdot \\mathcal{G}\\left(\\mathbf{D}\\_{i}\\right) $$\r\n\r\nwhere $\\mathbf{L}\\_{1} \\in \\mathbb{R}^{C×C}$ and $\\mathbf{L}\\_{2} \\in \\mathbb{R}^{C×C}$ and being weights of two Linear layers and the [ReLU](https://paperswithcode.com/method/relu) operator $\\delta\\left(\\cdot\\right)$. This operation in the equation above encodes the channel-wise dependencies. Following [ECA-Net](https://paperswithcode.com/method/eca-net) which empirically showed avoiding dimensionality reduction is important for learning channel attention, the authors use a single [Linear layer](https://paperswithcode.com/method/linear-layer) and sigmoid function to build the channel attention map. The resultant vector is used to recalibrate or excite $\\mathbf{O\\_{i}}$ to $\\mathbf{\\bar{O}\\_{i}} = \\sigma\\left(\\mathbf{M\\_{i}}\\right) \\cdot \\mathbf{O\\_{i}}$, where the activation $\\sigma\\left(\\mathbf{M\\_{i}}\\right)$ indicates the importance of each channel. Finally, the masked $\\mathbf{\\bar{O}}\\_{i}$ is concatenated with the up-sampled features of the $i$-th level decoder.","description_state":"present","introduced_year":null,"introduced_by":{"title":"UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-wise Perspective with Transformer","paper":"/paper/uctransnet-rethinking-the-skip-connections-in","first_author":"Haonan Wang","n_authors":4,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/uctransnet-rethinking-the-skip-connections-in"},"source":{"url":"https://arxiv.org/abs/2109.04335v3","title":"UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-wise Perspective with Transformer","url_on_a_paper_host":true},"code_snippet_url":null,"code_snippet_url_on_a_code_host":false,"categories":[{"area":"Computer Vision","area_id":"computer-vision","collection":"Semantic Segmentation Modules","url":"/methods/category/semantic-segmentation-modules","pwc_aliases":[]},{"area":"General","area_id":"general","collection":"Attention Modules","url":"/methods/category/attention-modules","pwc_aliases":[]}],"n_papers_tagged":5,"archive_num_papers":5,"papers_newest_first":[{"paper":"/paper/enhancing-conditional-image-generation-with","slug":"enhancing-conditional-image-generation-with","title":"Enhancing Conditional Image Generation with Explainable Latent Space Manipulation","date":"2024-08-29","arxiv_id":"2408.16232","n_code_links":1,"syntology":null},{"paper":"/paper/boosting-medical-image-segmentation","slug":"boosting-medical-image-segmentation","title":"Boosting Medical Image Segmentation Performance with Adaptive Convolution Layer","date":"2024-04-17","arxiv_id":"2404.11361","n_code_links":1,"syntology":null},{"paper":"/paper/acc-unet-a-completely-convolutional-unet","slug":"acc-unet-a-completely-convolutional-unet","title":"ACC-UNet: A Completely Convolutional UNet model for the 2020s","date":"2023-08-25","arxiv_id":"2308.13680","n_code_links":1,"syntology":null},{"paper":"/paper/lvit-language-meets-vision-transformer-in","slug":"lvit-language-meets-vision-transformer-in","title":"LViT: Language meets Vision Transformer in Medical Image Segmentation","date":"2022-06-29","arxiv_id":"2206.14718","n_code_links":1,"syntology":{"ran":1,"of":1,"n_ran_checked":0,"n_instrument":1,"unverified":0,"pointer_only":0,"phrase":"1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified","official":{"repos":["huanglizi/lvit"],"state":"official (archive's flag): 1 ran","n_ran":1,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":0,"ran_from_kinds":["official"]}}},{"paper":"/paper/uctransnet-rethinking-the-skip-connections-in","slug":"uctransnet-rethinking-the-skip-connections-in","title":"UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-wise Perspective with Transformer","date":"2021-09-09","arxiv_id":"2109.04335","n_code_links":3,"syntology":{"ran":1,"of":1,"n_ran_checked":0,"n_instrument":1,"unverified":0,"pointer_only":1,"phrase":"1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified","official":{"repos":["mcgregorwwww/uctransnet"],"state":"official (archive's flag): 1 ran","n_ran":1,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":0,"ran_from_kinds":["official"]}}}],"papers_shown":5,"papers_order":"date (newest first), then slug","paper_counts":{"archive_papers_tagged":5,"with_a_code_link":5,"where_syntology_ran_a_sample":2,"not_listed_spam_title":0,"listed":5,"listed_where_code_ran":2,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":0,"every_run_a_failure_of_syntologys_instrument":2,"listed_with_a_run_with_no_instrument_failure":0,"listed_every_run_a_failure_of_syntologys_instrument":2,"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":2,"papers_where_code_ran_first_page":"/method/channel-wise-cross-attention/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/channel-wise-cross-attention/papers/ran/1","json":"/method/channel-wise-cross-attention/papers/ran/1.json","rows":2}],"tasks":[{"task":"/task/image-segmentation","name":"Image Segmentation","papers":4},{"task":"/task/medical-image-segmentation","name":"Medical Image Segmentation","papers":4},{"task":"/task/semantic-segmentation","name":"Semantic Segmentation","papers":4},{"task":"/task/segmentation","name":"Segmentation","papers":2},{"task":"/task/conditional-image-generation","name":"Conditional Image Generation","papers":1},{"task":"/task/decoder","name":"Decoder","papers":1},{"task":"/task/denoising","name":"Denoising","papers":1},{"task":"/task/image-generation","name":"Image Generation","papers":1},{"task":"/task/pseudo-label","name":"Pseudo Label","papers":1},{"task":"/task/unet-segmentation","name":"UNET Segmentation","papers":1},{"task":"/task/text-annotation","name":"text annotation","papers":1}],"tasks_shown":11,"n_tasks":11,"usage_by_year":[{"year":"2021","papers":1},{"year":"2022","papers":1},{"year":"2023","papers":1},{"year":"2024","papers":2}],"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/channel-wise-cross-attention"},"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=Channel-wise%20Cross%20Attention","read_at":"2026-10-05T00:53:33+00:00","query":"Channel-wise Cross Attention","kind":"method","have":"unknown_name","tier":null,"verified_implementation":null,"level":null,"level_meaning":"the served verification level, per answer; never summed across methods","resolved_to":null,"resolution":null,"resolved_name_differs":false,"absence_asserted":false,"absence_unchecked":null,"no_code_is_about_this_method":false,"subject":null,"archive_paper_arxiv_id":"2109.04335","repositories":null,"retrieve_with":null,"name_competition":{"verdict":"none","may_be_wrong_sense":false,"bearers_found":0,"served":null,"leading_other_bearer":null,"n_other_bearers_listed":0,"note":"Nothing in this corpus is named 'Channel-wise Cross Attention' -- no method node, no paper announcing it in its title, no expanded form declaring it as an acronym."},"name_competition_text":null,"near_matches":["framewise addition and cross-attention mechanisms","Spatial and Channel-wise Attention Autoencoder (SCAAE)","Cross-Validated Cross-Channel Self-Attention and Denoising","Dense pixel-wise Cross-query-and-support Attention weighted Mask Aggregation (DCAMA)","endto-end instance-wise and prototype-wise contrastive learning model with cross-attention mechanism","channel-wise entropy model with parameter-efficient swin-transformer-based attention (SWAtten) modules","Dual Cross Attention","cross-channel module"],"code_nearby":[],"code_nearby_caption":null,"origin_paper":null,"line":"name not resolved (unknown_name). The lookup matched no method, paper or venue by this name; that asserts nothing about whether code exists.","level_legend":null},"syntology_have_state":"loaded","record_sha256":"20f8bb76993fb95e78a7780db2f8e789cca62e5d25f46ff3b7fc60bdc2147253","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}