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 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="2401.06442")

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 8 ran with no contract checked.

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

tony-lowe/rotationdrag officialmentioned in papermentioned on GitHubpytorchApache-2.0 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; 0 honoured the contract we drafted; 5 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.

3ran · our draft was wrong
8ran
5unverified

Licence: 0 of the 16 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 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. “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.

check_handle_reach_target tony-lowe/rotationdrag/utils/drag_utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · a43f655fb03112d9 · report
collate_fn tony-lowe/rotationdrag/lora/train_dreambooth_lora.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 256040ccde7473f2 · report
draw_handle_target_points tony-lowe/rotationdrag/utils/draw_utils.py official repository ran Apache-2.0 (permissive) · f664a0d07512900e · report
encode_prompt tony-lowe/rotationdrag/utils/lora_utils.py official repository ran Apache-2.0 (permissive) · 328d82b219eefea6 · report
get_ellipse_coords tony-lowe/rotationdrag/utils/draw_utils.py official repository ran fingerprinted Apache-2.0 (permissive) · 7b59e9e0ffa6f7ce · report
get_logger tony-lowe/rotationdrag/utils/logger.py official repository ran Apache-2.0 (permissive) · 0e22527aef7473f7 · report
mask_image tony-lowe/rotationdrag/utils/ui_utils.py official repository ran Apache-2.0 (permissive) · 65d6e08df667d6d6 · report
override_attn_proc_forward tony-lowe/rotationdrag/utils/attn_utils.py official repository ran Apache-2.0 (permissive) · 29b075b0e49486d7 · report
override_lora_attn_proc_forward tony-lowe/rotationdrag/utils/attn_utils.py official repository ran Apache-2.0 (permissive) · 28efa6bc6ced8fc1 · report
point_tracking tony-lowe/rotationdrag/utils/drag_utils.py official repository ran Apache-2.0 (permissive) · b91fcf9c5ec9eeca · report
tokenize_prompt tony-lowe/rotationdrag/utils/lora_utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · a67a2074238bd9ef · report
import_model_class_from_model_name_or_path tony-lowe/rotationdrag/lora/train_dreambooth_lora.py official repository unverified Apache-2.0 (permissive) · 0eb3e94e8635150e · report
interpolate_feature_patch tony-lowe/rotationdrag/utils/drag_utils.py official repository unverified Apache-2.0 (permissive) · cb75d9fa987cb3f7 · report
override_forward tony-lowe/rotationdrag/drag_pipeline.py official repository unverified Apache-2.0 (permissive) · 1dab5bb87fc4c7bb · report
parse_args tony-lowe/rotationdrag/lora/train_dreambooth_lora.py official repository unverified Apache-2.0 (permissive) · ce6abf8518e8fd67 · report
register_attention_editor_diffusers tony-lowe/rotationdrag/utils/attn_utils.py official repository 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