Papers › RotationDrag: Point-based Image Editing with Rotated Diffusion Features

RotationDrag: Point-based Image Editing with Rotated Diffusion Features

12 Jan 2024arXiv:2401.06442archive 2025-07-28

Minxing Luo, Wentao Cheng, Jian Yang

A precise and user-friendly manipulation of image content while preserving image fidelity has always been crucial to the field of image editing. Thanks to the power of generative models, recent point-based image editing methods allow users to interactively change the image content with high generalizability by clicking several control points. But the above mentioned editing process is usually based on the assumption that features stay constant in the motion supervision step from initial to target points. In this work, we conduct a comprehensive investigation in the feature space of diffusion models, and find that features change acutely under in-plane rotation. Based on this, we propose a novel approach named RotationDrag, which significantly improves point-based image editing performance when users intend to in-plane rotate the image content. Our method tracks handle points more precisely by utilizing the feature map of the rotated images, thus ensuring precise optimization and high image fidelity. Furthermore, we build a in-plane rotation focused benchmark called RotateBench, the first benchmark to evaluate the performance of point-based image editing method under in-plane rotation scenario on both real images and generated images. A thorough user study demonstrates the superior capability in accomplishing in-plane rotation that users intend to achieve, comparing the DragDiffusion baseline and other existing diffusion-based methods. See the project page https://github.com/Tony-Lowe/RotationDrag for code and experiment results.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 16 code samples harvested from 1 repository linked to this paper: 11 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 1 violated, 3 with no contract checked; 7 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 7 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 16 samples from 1 repository, 11 ran (4 with no instrument failure; 7 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

tony-lowe/rotationdrag officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: 16 samples, 11 ran (7 instrument-failed) · 5 unverified 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

16 samples harvested: 11 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 1 violated, 3 with no contract checked; 7 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · violated contract
7ran · our draft was wrong
3ran
5unverified

Licence: 3 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. For 3 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from tony-lowe/rotationdrag. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

tony-lowe/rotationdrag official repository 16 samples, 11 ran (7 instrument-failed) · 5 unverified
check_handle_reach_target utils/drag_utils.py ran · our draft was wrong Apache-2.0 (permissive) · a43f655fb03112d9 · report fixture: signature handle_points:list/1/Tensor, target_points:list/1/Tensor · returned Tensor · level recorded 2026-09-22
collate_fn in 500 papers lora/train_dreambooth_lora.py ran · our draft was wrong Apache-2.0 (permissive) · 256040ccde7473f2 · report fixture: signature examples:list/1/dict, with_prior_preservation:bool/0/bool · returned dict · level recorded 2026-09-22
draw_handle_target_points utils/draw_utils.py ran Apache-2.0 (permissive) · f664a0d07512900e · report fixture: returned ndarray · level recorded 2026-09-24
encode_prompt in 54 papers utils/lora_utils.py ran Apache-2.0 (permissive) · 328d82b219eefea6 · report fixture: signature text_encoder:callable/0/?, input_ids:Tensor/2/int, attention_mask:Tensor/2/int, text_encoder_use_attention_mask:bool/0/bool · returned Tensor · level recorded 2026-09-24
get_ellipse_coords utils/draw_utils.py ran · violated contract fingerprinted Apache-2.0 (permissive) · 7b59e9e0ffa6f7ce · report fixture: signature point:tuple/1/int, radius:int/0/int · returned tuple · level recorded 2026-09-24
get_logger in 383 papers utils/logger.py ran · our draft was wrong Apache-2.0 (permissive) · 0e22527aef7473f7 · report fixture: signature output_file:str/0/str · returned Logger · level recorded 2026-09-24
mask_image in 9 papers utils/ui_utils.py ran · our draft was wrong Apache-2.0 (permissive) · 65d6e08df667d6d6 · report fixture: signature image:ndarray/3/int, mask:ndarray/2/int, color:list/1/int, alpha:float/0/float · returned ndarray · level recorded 2026-09-24
override_attn_proc_forward utils/attn_utils.py ran · our draft was wrong Apache-2.0 (permissive) · 29b075b0e49486d7 · report fixture: signature attn:callable/0/?, editor:callable/0/?, place_in_unet:str/0/str · returned function · level recorded 2026-09-24
override_lora_attn_proc_forward utils/attn_utils.py ran · our draft was wrong Apache-2.0 (permissive) · 28efa6bc6ced8fc1 · report fixture: signature attn:callable/0/?, editor:callable/0/?, place_in_unet:str/0/str · returned function · level recorded 2026-09-24
point_tracking utils/drag_utils.py ran Apache-2.0 (permissive) · b91fcf9c5ec9eeca · report fixture: signature F0:Tensor/4/float, F1:Tensor/4/float, handle_points:list/1/Tensor, handle_points_init:list/1/Tensor, args:Args/0/? · returned list · level recorded 2026-09-24
tokenize_prompt in 23 papers utils/lora_utils.py ran · our draft was wrong Apache-2.0 (permissive) here; the stored copy is pointer only · a67a2074238bd9ef · report fixture: signature tokenizer:callable/0/?, prompt:str/0/str, tokenizer_max_length:int/0/int · returned dict · level recorded 2026-09-22
import_model_class_from_model_name_or_path in 64 papers lora/train_dreambooth_lora.py unverified Apache-2.0 (permissive) here; the stored copy is pointer only · 0eb3e94e8635150e · report
interpolate_feature_patch utils/drag_utils.py unverified Apache-2.0 (permissive) · cb75d9fa987cb3f7 · report
override_forward in 5 papers drag_pipeline.py unverified Apache-2.0 (permissive) here; the stored copy is pointer only · 1dab5bb87fc4c7bb · report
parse_args in 355 papers lora/train_dreambooth_lora.py unverified Apache-2.0 (permissive) · ce6abf8518e8fd67 · report
register_attention_editor_diffusers utils/attn_utils.py unverified Apache-2.0 (permissive) · ebb9acbb0881cad0 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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