SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.02585 · CVPR · 2024

Unsegment Anything by Simulating Deformation

Xinchao Wang, Xingyi Yang, Jiahao Lu

arXiv · PDF · Open in the Atlas

Code that ran

5 of 9 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 0 have no contract verdict; 5 failures of our instrument; 4 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/2404.02585.json · badge: /api/ran/2404.02585.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
jiahaolu97/anything-unsegmentable canonical (classifier label)
classifier basis: census
5 ran · 4 no recorded run
FunctionStatusWhere it lives
get_rel_pos Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiahaolu97/anything-unsegmentable/segment_anything/modeling/image_encoder.py
pointer only (licence: NONE) · get_code("733d7f0bedcb74c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiahaolu97/anything-unsegmentable 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_box_near_crop_edge Ran
ran; our contract draft was wrong, not the code
jiahaolu97/anything-unsegmentable/segment_anything/utils/amg.py
pointer only (licence: NONE); the stored copy get_code serves, from vnlvi2k3/SC-SAM, is pointer only (licence: NONE) · get_code("114a3e68a54ab16c")
How it ran

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

mask_to_rle_pytorch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiahaolu97/anything-unsegmentable/segment_anything/utils/amg.py
pointer only (licence: NONE); the stored copy get_code serves, from vnlvi2k3/SC-SAM, is pointer only (licence: NONE) · get_code("d59832deec0972a0")
How it ran

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

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiahaolu97/anything-unsegmentable/segment_anything/modeling/image_encoder.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/EchoWorld, is pointer only (licence: NONE) · get_code("105fa08885dc36cc")
How it ran

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

window_unpartition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiahaolu97/anything-unsegmentable/segment_anything/modeling/image_encoder.py
pointer only (licence: NONE); the stored copy get_code serves, from yatengLG/ISAT_with_segment_anything, is pointer only (licence: NOASSERTION) · get_code("27be441cc8213e52")
How it ran

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

box_xyxy_to_xywh Not yet run
unverified (harvested, no recorded run)
jiahaolu97/anything-unsegmentable/segment_anything/utils/amg.py
pointer only (licence: NONE); the stored copy get_code serves, from vnlvi2k3/SC-SAM, is pointer only (licence: NONE) · get_code("7069d6e0ba7c409e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiahaolu97/anything-unsegmentable 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_sam_vit_b Not yet run
unverified (harvested, no recorded run)
jiahaolu97/anything-unsegmentable/segment_anything/build_sam.py
pointer only (licence: NONE); the stored copy get_code serves, from yatengLG/ISAT_with_segment_anything, is pointer only (licence: NOASSERTION) · get_code("f9bc5f31ce61cee8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiahaolu97/anything-unsegmentable 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_sam_vit_h Not yet run
unverified (harvested, no recorded run)
jiahaolu97/anything-unsegmentable/segment_anything/build_sam.py
pointer only (licence: NONE); the stored copy get_code serves, from yatengLG/ISAT_with_segment_anything, is pointer only (licence: NOASSERTION) · get_code("6b77c1f11fff3ed6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiahaolu97/anything-unsegmentable 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_sam_vit_l Not yet run
unverified (harvested, no recorded run)
jiahaolu97/anything-unsegmentable/segment_anything/build_sam.py
pointer only (licence: NONE); the stored copy get_code serves, from yatengLG/ISAT_with_segment_anything, is pointer only (licence: NOASSERTION) · get_code("3f8890e695469246")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiahaolu97/anything-unsegmentable 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, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 6 the same month, 9 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
get_rel_pos 47 other papers
27 dated earlier, 2 the same month, 16 later, 2 same year, order not determinable · 5 only as an assembly brick
2304.02643 (2023-04)
Segment Anything
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
and 44 more not named here
window_partition 47 other papers
26 dated earlier, 2 the same month, 17 later, 2 same year, order not determinable · 1 only as an assembly brick
2304.02643 (2023-04)
Segment Anything
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
and 44 more not named here
window_unpartition 46 other papers
26 dated earlier, 2 the same month, 16 later, 2 same year, order not determinable · 1 only as an assembly brick
2304.02643 (2023-04)
Segment Anything
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
and 43 more not named here
build_sam_vit_h 37 other papers
21 dated earlier, 3 the same month, 11 later, 2 same year, order not determinable · 2 only as an assembly brick
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
2305.01586 (2023-05)
An Alternative to WSSS? An Empirical Study of the Segment Anything Model (SAM) on Weakly-Supervised Semantic Segmentation Problems
and 34 more not named here
build_sam_vit_b 34 other papers
21 dated earlier, 2 the same month, 9 later, 2 same year, order not determinable
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
2305.01586 (2023-05)
An Alternative to WSSS? An Empirical Study of the Segment Anything Model (SAM) on Weakly-Supervised Semantic Segmentation Problems
and 31 more not named here
build_sam_vit_l 34 other papers
21 dated earlier, 2 the same month, 9 later, 2 same year, order not determinable
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
2305.01586 (2023-05)
An Alternative to WSSS? An Empirical Study of the Segment Anything Model (SAM) on Weakly-Supervised Semantic Segmentation Problems
and 31 more not named here
box_xyxy_to_xywh 7 other papers
4 dated earlier, 2 later, 1 same year, order not determinable
2305.10724 (2023-05)
Segment Any Anomaly without Training via Hybrid Prompt Regularization
2308.07624 (2023-08)
Self-Prompting Large Vision Models for Few-Shot Medical Image Segmentation
2309.06824 (2023-09)
Beyond Adapting SAM: Towards End-to-End Ultrasound Image Segmentation via Auto Prompting
and 4 more not named here
is_box_near_crop_edge 6 other papers
3 dated earlier, 2 later, 1 same year, order not determinable
2305.10724 (2023-05)
Segment Any Anomaly without Training via Hybrid Prompt Regularization
2308.07624 (2023-08)
Self-Prompting Large Vision Models for Few-Shot Medical Image Segmentation
2309.06824 (2023-09)
Beyond Adapting SAM: Towards End-to-End Ultrasound Image Segmentation via Auto Prompting
and 3 more not named here
mask_to_rle_pytorch 6 other papers
3 dated earlier, 2 later, 1 same year, order not determinable
2305.10724 (2023-05)
Segment Any Anomaly without Training via Hybrid Prompt Regularization
2308.07624 (2023-08)
Self-Prompting Large Vision Models for Few-Shot Medical Image Segmentation
2309.06824 (2023-09)
Beyond Adapting SAM: Towards End-to-End Ultrasound Image Segmentation via Auto Prompting
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

Foundation segmentation models, while powerful, pose a significant risk: they enable users to effortlessly extract any objects from any digital content with a single click, potentially leading to copyright infringement or malicious misuse. To mitigate this risk, we introduce a new task "Anything Unsegmentable" to grant any image "the right to be unsegmented". The ambitious pursuit of the task is to achieve highly transferable adversarial attack against all prompt-based segmentation models, regardless of model parameterizations and prompts. We highlight the non-transferable and heterogeneous nature of promptspecific adversarial noises. Our approach focuses on disrupting image encoder features to achieve prompt-agnostic attacks. Intriguingly, targeted feature attacks exhibit better transferability compared to untargeted ones, suggesting the optimal update direction aligns with the image manifold. Based on the observations, we design a novel attack named Unsegment Anything by Simulating Deformation (UAD). Our attack optimizes a differentiable deformation function to create a target deformed image, which alters structural information while preserving achievable feature distance by adversarial example. Extensive experiments verify the effectiveness of our approach, compromising a variety of promptable segmentation models with different architectures and prompt interfaces. We release the code at https://github.com/jiahaolu97/anything-unsegmentable.

For agents

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

get_harvested_code_for_paper("2404.02585")
get_code_for_paper("2404.02585")
have("2404.02585")

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

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

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

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

Connect an agent — have() is free.