SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.09842 · ECCV · 2024

Eliminating Feature Ambiguity for Few-Shot Segmentation

Rui Zhao, Chen Loy, Ziyue Li, Cheng Long, Guosheng Lin, Qianxiong Xu

arXiv · PDF · Open in the Atlas

Code that ran

21 of 24 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 5 have no contract verdict; 14 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.09842.json · badge: /api/ran/2407.09842.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
sam1224/aenet canonical (classifier label)
classifier basis: census
16 ran · 1 no recorded run
Sam1224/AENet community
Papers with Code archive
5 ran · 2 no recorded run
FunctionStatusWhere it lives
DiscAdaptor Ran
ran on a synthesized input · constructed an object; no result was computed
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("d831310b2e245710")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

FFN Ran
ran on a synthesized input · constructed an object; no result was computed
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("917577c7e4da6b90")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Mlp Ran
ran on a synthesized input · constructed an object; no result was computed
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("130d72a3eeda8859")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MyCrossAttention Ran
ran on a synthesized input
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("34f245e815c6607b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SinePositionalEncoding Ran
ran on a synthesized input
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("17baacbf828cedd7")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Weighted_GAP Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/HDMNetPlus.py
pointer only (licence: NONE); the stored copy get_code serves, from YanFangCS/CyCTR-Pytorch, is pointer only (licence: NONE) · get_code("df77cb77dfe58d6d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/resnet.py
pointer only (licence: NONE); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_bbox Ran
ran, honoured the contract we drafted
sam1224/aenet/HDMNet/util/get_weak_anns.py
pointer only (licence: NOASSERTION) · get_code("0086d054a8b3d6f3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sam1224/aenet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_gram_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sam1224/aenet/HDMNet/model/HDMNetPlus.py
pointer only (licence: NONE); the stored copy get_code serves, from wyxdm/amnet, is pointer only (licence: NONE) · get_code("7feaf1fceef927fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_similarity Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/HDMNetPlus.py
pointer only (licence: NONE); the stored copy get_code serves, from wyxdm/amnet, is pointer only (licence: NONE) · get_code("878c68bef4a644c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_vgg16_layer Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/PSPNet.py
pointer only (licence: NONE) · get_code("ad7ba6c4e516607e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_image_file Ran
ran, violated the contract we drafted
sam1224/aenet/HDMNet/util/dataset.py
pointer only (licence: NOASSERTION) · get_code("0684a938c70bf564")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sam1224/aenet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_cfg_from_cfg_file Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/util/config.py
pointer only (licence: NONE) · get_code("277a13798d6d6981")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_dataset Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sam1224/aenet/HDMNet/util/dataset.py
pointer only (licence: NOASSERTION) · get_code("8f6dc933d4638855")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sam1224/aenet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_layers Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/vgg.py
pointer only (licence: NONE) · get_code("e31250b969b51841")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

merge_cfg_from_args Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/util/config.py
pointer only (licence: NOASSERTION) · get_code("32a3d5463ef45125")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sam1224/aenet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet18 Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/resnet.py
pointer only (licence: NONE) · get_code("40a78e38251055c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet34 Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/resnet.py
pointer only (licence: NONE) · get_code("4f6dd0ac332dd50d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

transform_anns Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sam1224/aenet/HDMNet/util/get_weak_anns.py
pointer only (licence: NOASSERTION) · get_code("ac2dc4c99bd03a34")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sam1224/aenet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

vgg11 Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/vgg.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/hmnet, is pointer only (licence: NOASSERTION) · get_code("2067e75510fbe85e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

vgg11_bn Ran
ran; our contract draft was wrong, not the code
sam1224/aenet/HDMNet/model/vgg.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/hmnet, is pointer only (licence: NOASSERTION) · get_code("bf96fb236a6b1683")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sam1224/aenet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CyCTransformerPlus Not yet run
unverified (harvested, no recorded run)
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("8c32eeb614d96727")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MSDeformAttn Not yet run
unverified (harvested, no recorded run)
Sam1224/AENet/SCCAN_CyCTR/model/cyc_transformer_plus.py
pointer only (licence: NOASSERTION) · get_code("b29bc600718c53ee")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Sam1224/AENet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

merge_cfg_from_list Not yet run
unverified (harvested, no recorded run)
sam1224/aenet/HDMNet/util/config.py
pointer only (licence: NOASSERTION) · get_code("b925dc5fd8492c34")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sam1224/aenet (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 24 distinct functions with an identity, 18 are also present in other papers whose code we hold (18 with at least one paper dated earlier, 4 the same month, 12 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
conv3x3 686 other papers
603 dated earlier, 14 the same month, 52 later, 17 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
resnet18 89 other papers
79 dated earlier, 8 later, 2 same year, order not determinable
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 86 more not named here
resnet34 53 other papers
48 dated earlier, 1 the same month, 4 later
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 50 more not named here
merge_cfg_from_list 23 other papers
17 dated earlier, 1 the same month, 5 later
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2111.15174 (2021-11)
CRIS: CLIP-Driven Referring Image Segmentation
and 20 more not named here
load_cfg_from_cfg_file 22 other papers
16 dated earlier, 1 the same month, 5 later
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2111.15174 (2021-11)
CRIS: CLIP-Driven Referring Image Segmentation
and 19 more not named here
Weighted_GAP 12 other papers
10 dated earlier, 2 later
2106.02320 (2021-06)
Few-Shot Segmentation via Cycle-Consistent Transformer
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
and 9 more not named here
vgg11 10 other papers
9 dated earlier, 1 later
1610.02391 (2016-10)
Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization
1904.03441 (2019-04)
Iterative Normalization: Beyond Standardization towards Efficient Whitening
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
and 7 more not named here
vgg11_bn 9 other papers
8 dated earlier, 1 later
1904.03441 (2019-04)
Iterative Normalization: Beyond Standardization towards Efficient Whitening
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
136780474 (2022 (year only))
Hourglass Attention Network for Image Inpainting
and 6 more not named here
Mlp
brick of this paper's assembly: helper
6 other papers
4 dated earlier, 2 later · 4 only as an assembly brick
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2106.09785 (2021-06)
Efficient Self-supervised Vision Transformers for Representation Learning
2308.09294 (2023-08)
Self-Calibrated Cross Attention Network for Few-Shot Segmentation
and 3 more not named here
get_vgg16_layer 6 other papers
5 dated earlier, 1 later
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2204.09903 (2022-04)
Beyond the Prototype: Divide-and-conquer Proxies for Few-shot Segmentation
and 3 more not named here
get_gram_matrix 5 other papers
4 dated earlier, 1 later
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2206.09667 (2022-06)
MSANet: Multi-Similarity and Attention Guidance for Boosting Few-Shot Segmentation
2306.11734 (2023-06)
Few-Shot Rotation-Invariant Aerial Image Semantic Segmentation
and 2 more not named here
is_image_file 5 other papers
5 dated earlier
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
and 2 more not named here
make_layers 5 other papers
4 dated earlier, 1 later
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2204.09903 (2022-04)
Beyond the Prototype: Divide-and-conquer Proxies for Few-shot Segmentation
and 2 more not named here
find_bbox 2 other papers
2 dated earlier
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
make_dataset 2 other papers
2 dated earlier
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
merge_cfg_from_args 2 other papers
2 dated earlier
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
transform_anns 2 other papers
2 dated earlier
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
get_similarity 1 other paper
1 dated earlier
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent advancements in few-shot segmentation (FSS) have exploited pixel-by-pixel matching between query and support features, typically based on cross attention, which selectively activate query foreground (FG) features that correspond to the same-class support FG features. However, due to the large receptive fields in deep layers of the backbone, the extracted query and support FG features are inevitably mingled with background (BG) features, impeding the FG-FG matching in cross attention. Hence, the query FG features are fused with less support FG features, i.e., the support information is not well utilized. This paper presents a novel plug-in termed ambiguity elimination network (AENet), which can be plugged into any existing cross attention-based FSS methods. The main idea is to mine discriminative query FG regions to rectify the ambiguous FG features, increasing the proportion of FG information, so as to suppress the negative impacts of the doped BG features. In this way, the FG-FG matching is naturally enhanced. We plug AENet into three baselines CyCTR, SCCAN and HDMNet for evaluation, and their scores are improved by large margins, e.g., the 1-shot performance of SC-CAN can be improved by 3.0%+ on both PASCAL-5 i and COCO-20 i . The code is available at https://github.com/Sam1224/AENet.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.09842")
get_code_for_paper("2407.09842")
have("2407.09842")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.09842.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.09842.svg)](https://syntology.ai/paper/2407.09842)

Connect an agent — have() is free.