SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.17626 · NeurIPS · 2023

Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation

Yuan Wang, Naisong Luo, Tianzhu Zhang

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2311.17626.json · badge: /api/ran/2311.17626.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
Wyxdm/AMNet canonical (classifier label)
classifier basis: plan_row
11 ran · 1 no recorded run
wyxdm/amnet canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
Weighted_GAP Ran
ran; our contract draft was wrong, not the code
Wyxdm/AMNet/model/AMFormer.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, Wyxdm/AMNet 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
Wyxdm/AMNet/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, Wyxdm/AMNet 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
Wyxdm/AMNet/util/get_weak_anns.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("0086d054a8b3d6f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wyxdm/AMNet 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_gram_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wyxdm/amnet/model/AMFormer.py
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, wyxdm/amnet 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
wyxdm/amnet/model/AMFormer.py
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, wyxdm/amnet 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
Wyxdm/AMNet/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, Wyxdm/AMNet 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
Wyxdm/AMNet/util/dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("0684a938c70bf564")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wyxdm/AMNet 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.

load_cfg_from_cfg_file Ran
ran; our contract draft was wrong, not the code
Wyxdm/AMNet/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, Wyxdm/AMNet 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)
Wyxdm/AMNet/util/dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("8f6dc933d4638855")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wyxdm/AMNet 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
Wyxdm/AMNet/util/config.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("32a3d5463ef45125")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wyxdm/AMNet 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
Wyxdm/AMNet/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, Wyxdm/AMNet 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
Wyxdm/AMNet/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, Wyxdm/AMNet 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)
Wyxdm/AMNet/util/get_weak_anns.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("ac2dc4c99bd03a34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wyxdm/AMNet 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_list Not yet run
unverified (harvested, no recorded run)
Wyxdm/AMNet/util/config.py
pointer only (licence: NONE); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("b925dc5fd8492c34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wyxdm/AMNet 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. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 14 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 3 the same month, 14 later) and 0 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
522 dated earlier, 10 the same month, 147 later, 7 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
68 dated earlier, 1 the same month, 19 later, 1 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
44 dated earlier, 1 the same month, 7 later, 1 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 50 more not named here
merge_cfg_from_list 23 other papers
13 dated earlier, 9 later, 1 same year, order not determinable
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
12 dated earlier, 9 later, 1 same year, order not determinable
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
9 dated earlier, 3 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
get_vgg16_layer 6 other papers
3 dated earlier, 3 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
3 dated earlier, 2 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
4 dated earlier, 1 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
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
and 2 more not named here
find_bbox 2 other papers
1 dated earlier, 1 later
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
make_dataset 2 other papers
1 dated earlier, 1 later
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
merge_cfg_from_args 2 other papers
1 dated earlier, 1 later
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
transform_anns 2 other papers
1 dated earlier, 1 later
2203.07615 (2022-03)
Learning What Not to Segment: A New Perspective on Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
get_similarity 1 other paper
1 later
2407.09842 (2024-07)
Eliminating Feature Ambiguity 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-23.

Repositories linked to this paper

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

Abstract

Few-shot segmentation (FSS) aims to segment objects of new categories given only a handful of annotated samples. Previous works focus their efforts on exploring the support information while paying less attention to the mining of the critical query branch. In this paper, we rethink the importance of support information and propose a new query-centric FSS model Adversarial Mining Transformer (AMFormer), which achieves accurate query image segmentation with only rough support guidance or even weak support labels. The proposed AMFormer enjoys several merits. First, we design an object mining transformer (G) that can achieve the expansion of incomplete region activated by support clue, and a detail mining transformer (D) to discriminate the detailed local difference between the expanded mask and the ground truth. Second, we propose to train G and D via an adversarial process, where G is optimized to generate more accurate masks approaching ground truth to fool D. We conduct extensive experiments on commonly used Pascal-5 i and COCO-20 i benchmarks and achieve state-of-the-art results across all settings. In addition, the decent performance with weak support labels in our query-centric paradigm may inspire the development of more general FSS models. Code will be available at https://github.com/Wyxdm/AMNet * Equal contribution.

For agents

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

get_harvested_code_for_paper("2311.17626")
get_code_for_paper("2311.17626")
have("2311.17626")

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

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

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

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

Connect an agent — have() is free.