Papers › Self-Calibrated Cross Attention Network for Few-Shot Segmentation
Self-Calibrated Cross Attention Network for Few-Shot Segmentation
Qianxiong Xu, Wenting Zhao, Guosheng Lin, Cheng Long
The key to the success of few-shot segmentation (FSS) lies in how to effectively utilize support samples. Most solutions compress support foreground (FG) features into prototypes, but lose some spatial details. Instead, others use cross attention to fuse query features with uncompressed support FG. Query FG could be fused with support FG, however, query background (BG) cannot find matched BG features in support FG, yet inevitably integrates dissimilar features. Besides, as both query FG and BG are combined with support FG, they get entangled, thereby leading to ineffective segmentation. To cope with these issues, we design a self-calibrated cross attention (SCCA) block. For efficient patch-based attention, query and support features are firstly split into patches. Then, we design a patch alignment module to align each query patch with its most similar support patch for better cross attention. Specifically, SCCA takes a query patch as Q, and groups the patches from the same query image and the aligned patches from the support image as K&V. In this way, the query BG features are fused with matched BG features (from query patches), and thus the aforementioned issues will be mitigated. Moreover, when calculating SCCA, we design a scaled-cosine mechanism to better utilize the support features for similarity calculation. Extensive experiments conducted on PASCAL-5^i and COCO-20^i demonstrate the superiority of our model, e.g., the mIoU score under 5-shot setting on COCO-20^i is 5.6%+ better than previous state-of-the-arts. The code is available at https://github.com/Sam1224/SCCAN.
In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.09294")
Code
Syntology Ran 2 of 4 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran with no contract checked.
By repository: official repository: 4 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
4 samples harvested; 2 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.
Licence: 4 of the 4 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from sam1224/sccan. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
01ddee9925716a64 · report
32af4157ddd44139 · report
21b5895b402e5a85 · report
7e47562cadfb5be9 · report
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Few-Shot Semantic Segmentation | COCO-20i (1-shot) | SCCAN (ResNet-101) | FB-IoU | 69.7 | #16 of 85 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (1-shot) | SCCAN (ResNet-101) | Mean IoU | 48.2 | #16 of 85 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (1-shot) | SCCAN (ResNet-50) | FB-IoU | 69.9 | #28 of 85 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (1-shot) | SCCAN (ResNet-50) | Mean IoU | 46.3 | #28 of 85 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (5-shot) | SCCAN (ResNet-101) | FB-IoU | 74.8 | #12 of 81 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (5-shot) | SCCAN (ResNet-101) | Mean IoU | 57 | #12 of 81 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (5-shot) | SCCAN (ResNet-50) | FB-IoU | 74.2 | #21 of 81 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | COCO-20i (5-shot) | SCCAN (ResNet-50) | Mean IoU | 53.9 | #21 of 81 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (1-Shot) | SCCAN (ResNet-101) | FB-IoU | 78.5 | #19 of 105 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (1-Shot) | SCCAN (ResNet-101) | Mean IoU | 68.3 | #19 of 105 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (1-Shot) | SCCAN (ResNet-50) | FB-IoU | 77.7 | #34 of 105 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (1-Shot) | SCCAN (ResNet-50) | Mean IoU | 66.8 | #34 of 105 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (5-Shot) | SCCAN (ResNet-101) | FB-IoU | 82.1 | #26 of 96 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (5-Shot) | SCCAN (ResNet-101) | Mean IoU | 71.5 | #26 of 96 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (5-Shot) | SCCAN (ResNet-50) | FB-IoU | 81.8 | #39 of 96 | Archive leaderboard | report |
| Few-Shot Semantic Segmentation | PASCAL-5i (5-Shot) | SCCAN (ResNet-50) | Mean IoU | 70.3 | #39 of 96 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections