SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.01680 · NeurIPS · 2023

Keypoint-Augmented Self-Supervised Learning for Medical Image Segmentation with Limited Annotation

Mengwei Ren, Guido Gerig, Zhangsihao Yang, Yalin Wang

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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 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/2310.01680.json · badge: /api/ran/2310.01680.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
zshyang/kaf canonical (classifier label)
classifier basis: census
13 ran · 1 no recorded run
FunctionStatusWhere it lives
MLP Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zshyang/kaf/network/superglue.py
pointer only (licence: NONE) · get_code("46a064683f0abe00")
How it ran

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

attention Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/network/superglue.py
pointer only (licence: NONE); the stored copy get_code serves, from tzvikif/SuperGlue, is pointer only (licence: NOASSERTION) · get_code("70702edb93d9116a")
How it ran

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

augment_image_and_label Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/dataset/acdc_graph.py
pointer only (licence: NONE) · get_code("4b5ad1530d8c6cef")
How it ran

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

batch_intersection_union Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/metrics.py
pointer only (licence: NONE) · get_code("226c1f1c175e7261")
How it ran

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

batch_pix_accuracy Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/metrics.py
pointer only (licence: NONE) · get_code("81d3c7c010e3ffce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zshyang/kaf 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_kwargs_model Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/pretrain1.py
pointer only (licence: NONE) · get_code("aa33581628a9964e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zshyang/kaf 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_split_acdc Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/utils.py
pointer only (licence: NONE) · get_code("a19698e8efa8551f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zshyang/kaf 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_split_chd Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/utils.py
pointer only (licence: NONE) · get_code("e1369500476c4bf0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zshyang/kaf 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_split_mmwhs Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/utils.py
pointer only (licence: NONE) · get_code("7740ad573c679ccc")
How it ran

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

normalize_keypoints Ran
ran; our contract draft was wrong, not the code
zshyang/kaf/network/superglue.py
pointer only (licence: NONE); the stored copy get_code serves, from tzvikif/SuperGlue, is pointer only (licence: NOASSERTION) · get_code("46818e125ab57432")
How it ran

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

pixel_accuracy Ran
ran, honoured the contract we drafted
zshyang/kaf/metrics.py
pointer only (licence: NONE) · get_code("99ec9a12394bce7f")
How it ran

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

string_bool Ran
ran, violated the contract we drafted
zshyang/kaf/network/dynamic_graph_unet2d.py
pointer only (licence: NONE) · get_code("366ea9700f1c8d48")
How it ran

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

string_to_list Ran
ran, honoured the contract we drafted
zshyang/kaf/network/dynamic_graph_unet2d.py
pointer only (licence: NONE) · get_code("c609c2f8fe65dc8d")
How it ran

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

train Not yet run
unverified (harvested, no recorded run)
zshyang/kaf/pretrain1.py
pointer only (licence: NONE) · get_code("c5b4e5ecb5e47caa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zshyang/kaf 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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 12 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
normalize_keypoints 4 other papers
3 dated earlier, 1 later
1712.07629 (2017-12)
SuperPoint: Self-Supervised Interest Point Detection and Description
2304.14837 (2023-04)
IMP: Iterative Matching and Pose Estimation with Adaptive Pooling
and 1 more not named here
attention 3 other papers
3 dated earlier
1712.07629 (2017-12)
SuperPoint: Self-Supervised Interest Point Detection and Description
2206.07710 (2022-06)
PlanarRecon: Real-time 3D Plane Detection and Reconstruction from Posed Monocular Videos
2210.12748 (2022-10)
SC-wLS: Towards Interpretable Feed-forward Camera Re-localization

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

Pretraining CNN models (i.e., UNet) through self-supervision has become a powerful approach to facilitate medical image segmentation under low annotation regimes. Recent contrastive learning methods encourage similar global representations when the same image undergoes different transformations, or enforce invariance across different image/patch features that are intrinsically correlated. However, CNNextracted global and local features are limited in capturing long-range spatial dependencies that are essential in biological anatomy. To this end, we present a keypoint-augmented fusion layer that extracts representations preserving both short-and long-range self-attention. In particular, we augment the CNN feature map at multiple scales by incorporating an additional input that learns long-range spatial self-attention among localized keypoint features. Further, we introduce both global and local self-supervised pretraining for the framework. At the global scale, we obtain global representations from both the bottleneck of the UNet, and by aggregating multiscale keypoint features. These global features are subsequently regularized through image-level contrastive objectives. At the local scale, we define a distance-based criterion to first establish correspondences among keypoints and encourage similarity between their features. Through extensive experiments on both MRI and CT segmentation tasks, we demonstrate the architectural advantages of our proposed method in comparison to both CNN and Transformer-based UNets, when all architectures are trained with randomly initialized weights. With our proposed pretraining strategy, our method further outperforms existing SSL methods by producing more robust self-attention and achieving state-of-the-art segmentation results. The code is available at https://github.com/zshyang/kaf.git.

For agents

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

get_harvested_code_for_paper("2310.01680")
get_code_for_paper("2310.01680")
have("2310.01680")

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

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

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

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

Connect an agent — have() is free.