Papers › Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold

Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold

18 May 2023arXiv:2305.10973archive 2025-07-28

Xingang Pan, Ayush Tewari, Thomas Leimkühler, Lingjie Liu, Abhimitra Meka, Christian Theobalt

Synthesizing visual content that meets users' needs often requires flexible and precise controllability of the pose, shape, expression, and layout of the generated objects. Existing approaches gain controllability of generative adversarial networks (GANs) via manually annotated training data or a prior 3D model, which often lack flexibility, precision, and generality. In this work, we study a powerful yet much less explored way of controlling GANs, that is, to "drag" any points of the image to precisely reach target points in a user-interactive manner, as shown in Fig.1. To achieve this, we propose DragGAN, which consists of two main components: 1) a feature-based motion supervision that drives the handle point to move towards the target position, and 2) a new point tracking approach that leverages the discriminative generator features to keep localizing the position of the handle points. Through DragGAN, anyone can deform an image with precise control over where pixels go, thus manipulating the pose, shape, expression, and layout of diverse categories such as animals, cars, humans, landscapes, etc. As these manipulations are performed on the learned generative image manifold of a GAN, they tend to produce realistic outputs even for challenging scenarios such as hallucinating occluded content and deforming shapes that consistently follow the object's rigidity. Both qualitative and quantitative comparisons demonstrate the advantage of DragGAN over prior approaches in the tasks of image manipulation and point tracking. We also showcase the manipulation of real images through GAN inversion.

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 4 repositories linked to this paper: 11 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 2 honoured, 0 violated, 3 with no contract checked; 6 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 2 samples from 1 repository, 2 ran (1 with no instrument failure; 1 where Syntology's instrument failed); community (archive-listed): 14 samples from 3 repositories, 9 ran (4 with no instrument failure; 5 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.

No sample is linked to this paper from 2 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 11 samples that ran has no recorded date.

XingangPan/DragGAN officialmentioned on GitHubpytorchSyntology: 2 samples, 2 ran (1 instrument-failed) · 0 unverified report
MICV-yonsei/DragText mentioned on GitHubpytorchApache-2.0Syntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
cuixing100876/instastyle mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to InstaStyle: Inversion Noise of a Stylized Image is Secretly a Style Adviser (arXiv:2311.15040; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 1 honoured, 0 violated, 0 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
opengvlab/internchat mentioned on GitHubpytorchApache-2.0Syntology: 10 samples, 5 ran (1 instrument-failed) · 5 unverified report
opengvlab/interngpt mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to InternGPT: Solving Vision-Centric Tasks by Interacting with ChatGPT Beyond Language (arXiv:2305.05662; that paper's own run record: 1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
saic-mdal/HiDT mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
adriaciurana/DragGAN pytorchSyntology: 3 samples, 3 ran (3 instrument-failed) · 0 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

16 samples harvested: 11 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 2 honoured, 0 violated, 3 with no contract checked; 6 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.

2ran · honoured contract
3ran · our draft was wrong
3ran; the contract check could not run
3ran
5unverified

Licence: 4 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. For 1 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 4 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. 1 sample whose link to this paper records no repository is listed under one of this paper's own repositories, because identical code was harvested from it for another paper. “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. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

XingangPan/DragGAN official repository 2 samples, 2 ran (1 instrument-failed) · 0 unverified
clear_state visualizer_drag_gradio.py ran · our draft was wrong licence not identified · pointer only · 98587987bd524213 · report fixture: signature global_state:dict/0/?, target:NoneType/0/? · returned dict · level recorded 2026-09-22
reverse_point_pairs visualizer_drag_gradio.py ran · honoured contract licence not identified · pointer only · 85ecb3cb5eeb8bc5 · report fixture: signature points:list/1/list · returned list · level recorded 2026-09-22
MICV-yonsei/DragText community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
preprocess_image in 65 papers
census: 4 implementations from 6 papers, 2 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 3, kind float, dtype float32
DragDiffusion/drag_bench_evaluation/run_drag_diffusion.py identical code Syntology harvested from this repository for another paper; this paper's link records no repository, path or licence of its own ran; the contract check could not run (RAISES) · metamorphic tier: invariant licence of this copy not recorded · b6f9c54d3eaa1c8a · report fixture: signature image:ndarray/3/float, device:device/0/? · returned Tensor · level recorded, date not recorded
opengvlab/internchat community (archive-listed) 10 samples, 5 ran (1 instrument-failed) · 5 unverified
HWC3 in 20 papers iGPT/models/image.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant Apache-2.0 (permissive) · f9ec7d70add02b6f · report fixture: signature x:ndarray/3/int · returned ndarray · level recorded 2026-09-22
cut_frame_to_8 iGPT/models/load_internvideo.py ran fingerprinted Apache-2.0 (permissive) · c9a1d42f7d41bd39 · report fixture: signature data:ndarray/1/int · returned ndarray · level recorded 2026-09-26
get_index in 27 papers iGPT/models/load_internvideo.py ran Apache-2.0 (permissive) · 5fe54c4dbc1d90f2 · report fixture: signature num_frames:int/0/int, num_segments:int/0/int · returned ndarray · level recorded 2026-09-26
load_image in 273 papers iGPT/models/husky.py ran · honoured contract Apache-2.0 (permissive) · 4552e857b0cf7ef7 · report fixture: signature image_file:str/0/str · returned Image · level recorded 2026-09-25
make_batch in 20 papers iGPT/models/inpainting.py ran Apache-2.0 (permissive) · eba3cd2d932aa5b3 · report fixture: signature image:ndarray/3/int, mask:ndarray/2/int, device:str/0/str · returned dict · level recorded 2026-09-26
get_gpu_memory in 16 papers iGPT/models/husky.py unverified Apache-2.0 (permissive) here; the stored copy is pointer only · fe66d0280e436155 · report
inflate_weight iGPT/models/intern_action.py unverified Apache-2.0 (permissive) · bdec7f112532de68 · report
intern_action_b16 iGPT/models/intern_action.py unverified Apache-2.0 (permissive) · 2f3ae791e3e47c92 · report
intern_action_l14 iGPT/models/intern_action.py unverified Apache-2.0 (permissive) · 7f82b5688fdb1bca · report
load_model in 479 papers iGPT/models/husky.py unverified Apache-2.0 (permissive) · cbc8841e1bf04835 · report
adriaciurana/DragGAN community (archive-listed) 3 samples, 3 ran (3 instrument-failed) · 0 unverified
cdist_p_norm drag_gan/drag_gan.py ran · our draft was wrong fingerprinted MIT (permissive) · 041298a0743a4d18 · report fixture: signature x:Tensor/3/float, y:Tensor/3/float, p:int/0/int · returned Tensor · level recorded 2026-09-22
generate_motion_direction drag_gan/drag_gan.py ran · our draft was wrong fingerprinted MIT (permissive) · ab68dcffd2812b42 · report fixture: signature p:Tensor/2/float, t:Tensor/2/float, magnitude_direction:float/0/float · returned Tensor · level recorded 2026-09-22
generate_motion_samples drag_gan/drag_gan.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted MIT (permissive) · 2b6be89728b77648 · report fixture: signature p:Tensor/2/float, r:Tensor/1/float, samples:int/0/int · returned Tensor · level recorded 2026-09-22

Tasks

Image ManipulationPoint Tracking

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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