SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2108.00622 · ICCV · 2021

Recurrent Mask Refinement for Few-Shot Medical Image Segmentation

Hao Tang, Yan Xie, Xingwei Liu, Shanlin Xiangyi

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 4 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-22; 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/2108.00622.json · badge: /api/ran/2108.00622.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
uci-cbcl/RP-Net community
Papers with Code archive
7 ran · 2 no recorded run
FunctionStatusWhere it lives
ContextCorrelationEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("00b63b1f519aabeb")
How it ran

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

Correlation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("c85584d983655915")
How it ran

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

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("22fe653a5af36242")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uci-cbcl/RP-Net 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 on a synthesized input · constructed an object; no result was computed
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("05b7ff548b510f24")
How it ran

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

Unet_2D Ran
ran on a synthesized input · constructed an object; no result was computed
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("d383df4b83bcaf60")
How it ran

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

coords_grid Ran
ran, honoured the contract we drafted
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("7c8c4c5cb4271dfa")
How it ran

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

dice_loss Ran
ran, violated the contract we drafted
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("33a4e659a9a6eea3")
How it ran

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

RP_Net Not yet run
unverified (harvested, no recorded run)
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("5f0d64464cd67f61")
How it ran

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

U_Net Not yet run
unverified (harvested, no recorded run)
uci-cbcl/RP-Net/net/rp_net.py
pointer only (licence: NONE) · get_code("9d42c0cdaad327a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uci-cbcl/RP-Net 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 1 the same month, 1 later) and 8 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
coords_grid
brick of this paper's assembly: helper
6 other papers
1 the same month, 5 later · 4 only as an assembly brick
2108.10552 (2021-08)
E-RAFT: Dense Optical Flow from Event Cameras
2109.15321 (2021-09)
Sensor-Guided Optical Flow
2203.11335 (2022-03)
Global Matching with Overlapping Attention for Optical Flow Estimation
and 3 more not named here

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

Although having achieved great success in medical image segmentation, deep convolutional neural networks usually require a large dataset with manual annotations for training and are difficult to generalize to unseen classes. Few-shot learning has the potential to address these challenges by learning new classes from only a few labeled examples. In this work, we propose a new framework for few-shot medical image segmentation based on prototypical networks. Our innovation lies in the design of two key modules: 1) a context relation encoder (CRE) that uses correlation to capture local relation features between foreground and background regions; and 2) a recurrent mask refinement module that repeatedly uses the CRE and a prototypical network to recapture the change of context relationship and refine the segmentation mask iteratively. Experiments on two abdomen CT datasets and an abdomen MRI dataset show the proposed method obtains substantial improvement over the state-of-the-art methods by an average of 16.32%, 8.45% and 6.24% in terms of DSC, respectively. Code is publicly available 1 .

For agents

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

get_harvested_code_for_paper("2108.00622")
get_code_for_paper("2108.00622")
have("2108.00622")

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

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

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

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

Connect an agent — have() is free.