SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.03726 · 2023

AdaptiveSAM: Towards Efficient Tuning of SAM for Surgical Scene Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 8 failures of our instrument; 3 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, 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/2308.03726.json · badge: /api/ran/2308.03726.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
jayparanjape/biastuning canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
np2th Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jayparanjape/biastuning/vit_seg_modeling.py
pointer only (licence: NONE) · get_code("7d8eaf5537f699e4")
How it ran

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

swish Ran
ran; our contract draft was wrong, not the code
jayparanjape/biastuning/vit_seg_modeling.py
pointer only (licence: NONE) · get_code("0f786c407fb1ee4c")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
jayparanjape/biastuning/axialnet.py
pointer only (licence: NONE) · get_code("d9def42110729a85")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
jayparanjape/biastuning/vit_seg_modeling_resnet_skip.py
pointer only (licence: NONE); the stored copy get_code serves, from maloadba/mgenseg_2d, is pointer only (licence: NONE) · get_code("b0f916df39e78ae5")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
jayparanjape/biastuning/baselines.py
pointer only (licence: NONE); the stored copy get_code serves, from zhenqi-he/transnuseg, is pointer only (licence: NONE) · get_code("ab5d06cfb8a6c6bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jayparanjape/biastuning 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
jayparanjape/biastuning/vit_seg_modeling_resnet_skip.py
pointer only (licence: NONE); the stored copy get_code serves, from maloadba/mgenseg_2d, is pointer only (licence: NONE) · get_code("4e5bf13dbdc4f008")
How it ran

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

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

iou_coef Ran
ran on a synthesized input
jayparanjape/biastuning/utils.py
pointer only (licence: NONE) · get_code("2a3711c42b159634")
How it ran

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

running_stats Ran
ran; our contract draft was wrong, not the code
jayparanjape/biastuning/utils.py
pointer only (licence: NONE) · get_code("545d0cdd315c8c4a")
How it ran

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

axialunet Not yet run
unverified (harvested, no recorded run)
jayparanjape/biastuning/axialnet.py
pointer only (licence: NONE) · get_code("b44a1d3a0190256d")
How it ran

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

build_model Not yet run
unverified (harvested, no recorded run)
jayparanjape/biastuning/clip/model.py
pointer only (licence: NONE) · get_code("69c02e4eb1c02a52")
How it ran

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

gated Not yet run
unverified (harvested, no recorded run)
jayparanjape/biastuning/axialnet.py
pointer only (licence: NONE) · get_code("e90a4014d74c1fa1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jayparanjape/biastuning 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 3 the same month, 6 later) and 3 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
conv1x1 431 other papers
274 dated earlier, 9 the same month, 139 later, 8 same year, order not determinable, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
swish 206 other papers
150 dated earlier, 3 the same month, 53 later · 44 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1805.12114 (2018-05)
Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models
1809.01357 (2018-09)
Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference
and 203 more not named here
build_model 119 other papers
32 dated earlier, 4 the same month, 78 later, 3 same year, order not determinable, 2 undated
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2104.14294 (2021-04)
Emerging Properties in Self-Supervised Vision Transformers
and 116 more not named here
np2th 35 other papers
24 dated earlier, 11 later · 5 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
2103.07976 (2021-03)
TransFG: A Transformer Architecture for Fine-grained Recognition
and 32 more not named here
conv1x1 33 other papers
26 dated earlier, 6 later, 1 same year, order not determinable · 3 only as an assembly brick
1912.11370 (2019-12)
Big Transfer (BiT): General Visual Representation Learning
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
and 30 more not named here
conv3x3 33 other papers
26 dated earlier, 6 later, 1 same year, order not determinable · 3 only as an assembly brick
1912.11370 (2019-12)
Big Transfer (BiT): General Visual Representation Learning
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
and 30 more not named here
conv1x1 2 other papers
2 dated earlier
2203.04967 (2022-03)
UNeXt: MLP-based Rapid Medical Image Segmentation Network
2307.08051 (2023-07)
TransNuSeg: A Lightweight Multi-Task Transformer for Nuclei Segmentation
axialunet 1 other paper
1 dated earlier
2203.04967 (2022-03)
UNeXt: MLP-based Rapid Medical Image Segmentation Network
gated 1 other paper
1 dated earlier
2203.04967 (2022-03)
UNeXt: MLP-based Rapid Medical Image Segmentation Network

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

Segmentation is a fundamental problem in surgical scene analysis using artificial intelligence. However, the inherent data scarcity in this domain makes it challenging to adapt traditional segmentation techniques for this task. To tackle this issue, current research employs pretrained models and finetunes them on the given data. Even so, these require training deep networks with millions of parameters every time new data becomes available. A recently published foundation model, Segment-Anything (SAM), generalizes well to a large variety of natural images, hence tackling this challenge to a reasonable extent. However, SAM does not generalize well to the medical domain as is without utilizing a large amount of compute resources for fine-tuning and using task-specific prompts. Moreover, these prompts are in the form of bounding-boxes or foreground/background points that need to be annotated explicitly for every image, making this solution increasingly tedious with higher data size. In this work, we propose AdaptiveSAM - an adaptive modification of SAM that can adjust to new datasets quickly and efficiently, while enabling text-prompted segmentation. For finetuning AdaptiveSAM, we propose an approach called bias-tuning that requires a significantly smaller number of trainable parameters than SAM (less than 2\%). At the same time, AdaptiveSAM requires negligible expert intervention since it uses free-form text as prompt and can segment the object of interest with just the label name as prompt. Our experiments show that AdaptiveSAM outperforms current state-of-the-art methods on various medical imaging datasets including surgery, ultrasound and X-ray. Code is available at https://github.com/JayParanjape/biastuning

For agents

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

get_harvested_code_for_paper("2308.03726")
get_code_for_paper("2308.03726")
have("2308.03726")

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

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

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

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

Connect an agent — have() is free.