Papers › Text-Driven Image Editing via Learnable Regions

Text-Driven Image Editing via Learnable Regions

28 Nov 2023CVPR 2024 1arXiv:2311.16432archive 2025-07-28

Yuanze Lin, Yi-Wen Chen, Yi-Hsuan Tsai, Lu Jiang, Ming-Hsuan Yang

Language has emerged as a natural interface for image editing. In this paper, we introduce a method for region-based image editing driven by textual prompts, without the need for user-provided masks or sketches. Specifically, our approach leverages an existing pre-trained text-to-image model and introduces a bounding box generator to identify the editing regions that are aligned with the textual prompts. We show that this simple approach enables flexible editing that is compatible with current image generation models, and is able to handle complex prompts featuring multiple objects, complex sentences, or lengthy paragraphs. We conduct an extensive user study to compare our method against state-of-the-art methods. The experiments demonstrate the competitive performance of our method in manipulating images with high fidelity and realism that correspond to the provided language descriptions. Our project webpage can be found at: https://yuanze-lin.me/LearnableRegions_page.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2311.16432")

Code

Syntology Ran 13 of 15 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yuanze-lin/Learnable_Regions officialmentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 13 ran; 1 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · fixture could not drive it
11ran
2unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yuanze-lin/Learnable_Regions. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bool_flag yuanze-lin/Learnable_Regions/models/dino_utils.py official repository ran MIT (permissive) · c19231378e41dc5a · report
clip_gradients yuanze-lin/Learnable_Regions/models/dino_utils.py official repository ran MIT (permissive) · 2b5489053b222e00 · report
cosine_scheduler yuanze-lin/Learnable_Regions/models/dino_utils.py official repository ran · honoured contract fingerprinted MIT (permissive) · 361a6b24f11fc50a · report
draw_image_with_bbox_new yuanze-lin/Learnable_Regions/models/utils.py official repository ran MIT (permissive) · 453cb98d3d856ead · report
drop_path yuanze-lin/Learnable_Regions/models/vision_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 55120f2026b56aa2 · report
generate yuanze-lin/Learnable_Regions/engine.py official repository ran MIT (permissive) · e4c34a449c58f4b7 · report
get_hyper yuanze-lin/Learnable_Regions/models/configs/base_config.py official repository ran MIT (permissive) · ffc38a27fd9393ba · report
get_hyper yuanze-lin/Learnable_Regions/models/configs/maskgit_class_cond_config.py official repository ran MIT (permissive) · 7dfd4d71b4b83843 · report
get_mask_imgs yuanze-lin/Learnable_Regions/vis.py official repository ran MIT (permissive) · 093d16a618f12c98 · report
inpaint yuanze-lin/Learnable_Regions/engine.py official repository ran MIT (permissive) · cdb9ed47e9d99d77 · report
map_cooridates yuanze-lin/Learnable_Regions/vis.py official repository ran fingerprinted MIT (permissive) · 0204b4ac0f24e7da · report
read_image yuanze-lin/Learnable_Regions/models/utils.py official repository ran MIT (permissive) · 282a17731f89f0e7 · report
read_image_from_url yuanze-lin/Learnable_Regions/models/utils.py official repository ran MIT (permissive) · efd2201f1bea3f5a · report
build_model yuanze-lin/Learnable_Regions/CLIP/clip_explainability/model.py official repository unverified MIT (permissive) · 7ecaa1ab867d461d · report
build_model yuanze-lin/Learnable_Regions/CLIP/clip/model.py official repository unverified MIT (permissive) · ab2f38ac891c8d2e · report

Tasks

Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections