SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.05580 · ECCV · 2024

Responsible Visual Editing

Lei Zhang, Wangmeng Zuo, Minheng Ni, Yeli Shen

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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 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/2404.05580.json · badge: /api/ran/2404.05580.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
kodenii/Responsible-Visual-Editing canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
bezier Ran
ran; our contract draft was wrong, not the code
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/polygon.py
pointer only (licence: NONE) · get_code("7727de04fa5e08e0")
How it ran

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

ccw_sort Ran
ran, honoured the contract we drafted
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/polygon.py
pointer only (licence: NONE) · get_code("d19823acf1db6d63")
How it ran

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

dilate_mask Ran
ran; our contract draft was wrong, not the code
kodenii/Responsible-Visual-Editing/rve_toolkits.py
pointer only (licence: NONE) · get_code("2343d983702832ca")
How it ran

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

encode_image_from_file Ran
ran; our contract draft was wrong, not the code
kodenii/Responsible-Visual-Editing/gpt4v.py
pointer only (licence: NONE); the stored copy get_code serves, from zzxslp/som-llava, is pointer only (licence: NONE) · get_code("cb9ab8a6655701f7")
How it ran

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

encode_image_from_pil Ran
ran; our contract draft was wrong, not the code
kodenii/Responsible-Visual-Editing/gpt4v.py
pointer only (licence: NONE); the stored copy get_code serves, from zzxslp/som-llava, is pointer only (licence: NONE) · get_code("71138ba2dfbe50e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kodenii/Responsible-Visual-Editing 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_curve Ran
ran; our contract draft was wrong, not the code
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/polygon.py
pointer only (licence: NONE) · get_code("f0de29e6038e30e8")
How it ran

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

prepare_inputs Ran
ran; our contract draft was wrong, not the code
kodenii/Responsible-Visual-Editing/gpt4v.py
pointer only (licence: NONE) · get_code("3b46f108f6136ca9")
How it ran

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

random_accelerate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/mask_generators.py
pointer only (licence: NONE) · get_code("9385dc687774b827")
How it ran

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

random_move_control_points Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/mask_generators.py
pointer only (licence: NONE) · get_code("281b913e3395d94c")
How it ran

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

build_shape_sampler Not yet run
unverified (harvested, no recorded run)
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/simpleclick_sampler.py
pointer only (licence: NONE) · get_code("c453c7f3288f33c5")
How it ran

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

get_mask_by_input_strokes Not yet run
unverified (harvested, no recorded run)
kodenii/Responsible-Visual-Editing/seem/datasets/visual_sampler/mask_generators.py
pointer only (licence: NONE) · get_code("b47bfeff63213bd4")
How it ran

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

get_modification_generation_inst Not yet run
unverified (harvested, no recorded run)
kodenii/Responsible-Visual-Editing/rve_toolkits.py
pointer only (licence: NONE) · get_code("fc812a80d9c0476a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kodenii/Responsible-Visual-Editing 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, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 7 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
random_accelerate 2 other papers
2 dated earlier
2007.10247 (2020-07)
Learning Joint Spatial-Temporal Transformations for Video Inpainting
2402.17726 (2024-02)
VRP-SAM: SAM with Visual Reference Prompt
encode_image_from_file 1 other paper
1 later
2408.08872 (2024-08)
xGen-MM (BLIP-3): A Family of Open Large Multimodal Models
encode_image_from_pil 1 other paper
1 later
2408.08872 (2024-08)
xGen-MM (BLIP-3): A Family of Open Large Multimodal Models
get_mask_by_input_strokes 1 other paper
1 dated earlier
2402.17726 (2024-02)
VRP-SAM: SAM with Visual Reference Prompt
random_move_control_points 1 other paper
1 dated earlier
2402.17726 (2024-02)
VRP-SAM: SAM with Visual Reference Prompt

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

With the recent advancements in visual synthesis, there is a growing risk of encountering synthesized images with detrimental effects, such as hate, discrimination, and privacy violations. Unfortunately, it remains unexplored on how to avoid synthesizing harmful images and convert them into responsible ones. In this paper, we present responsible visual editing, which edits risky concepts within an image to more responsible ones with minimal content changes. However, the concepts that need to be edited are often abstract, making them hard to be located and edited. To tackle these challenges, we propose a Cognitive Editor (CoEditor) by harnessing the large multimodal models through a two-stage cognitive process: (1) a perceptual cognitive process to locate what to be edited and (2) a behavioral cognitive process to strategize how to edit. To mitigate the negative implications of harmful images on research, we build a transparent and public dataset, namely AltBear, which expresses harmful information using teddy bears instead of humans. Experiments demonstrate that CoEditor can effectively comprehend abstract concepts in complex scenes, significantly surpassing the baseline models for responsible visual editing. Moreover, we find that the AltBear dataset corresponds well to the harmful content found in real images, providing a safe and effective benchmark for future research. Our source code and dataset can be found at https://github.com/kodenii/Responsible-Visual-Editing.

For agents

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

get_harvested_code_for_paper("2404.05580")
get_code_for_paper("2404.05580")
have("2404.05580")

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

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

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

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

Connect an agent — have() is free.