DragLoRA: Online Optimization of LoRA Adapters for Drag-based Image Editing in Diffusion Model
Siwei Xia, Li Sun, Tiantian Sun, Qingli Li
TL;DR
DragLoRA addresses the precision-efficiency trade-off in drag-based diffusion editing by online-optimizing LoRA adapters instead of latent features. It introduces a dual-objective loss combining drag-guided deformation with a delta denoising score (DDS) regularization, plus a cyclic input latent feature adaptation (ILFA) to stabilize progress. An adaptive optimization scheme (ASS) toggles between motion supervision and input adaptation, while Efficient Point Tracking (EPT) narrows candidate regions for handle-point updates. Across qualitative and quantitative benchmarks, DragLoRA achieves state-of-the-art edit fidelity with lower computation time, demonstrating practical utility for interactive, point-driven image editing in diffusion models. The approach can extend to region-based edits and reference-image guidance, with potential for broader applicability to online model adaptation in generative editing workflows.
Abstract
Drag-based editing within pretrained diffusion model provides a precise and flexible way to manipulate foreground objects. Traditional methods optimize the input feature obtained from DDIM inversion directly, adjusting them iteratively to guide handle points towards target locations. However, these approaches often suffer from limited accuracy due to the low representation ability of the feature in motion supervision, as well as inefficiencies caused by the large search space required for point tracking. To address these limitations, we present DragLoRA, a novel framework that integrates LoRA (Low-Rank Adaptation) adapters into the drag-based editing pipeline. To enhance the training of LoRA adapters, we introduce an additional denoising score distillation loss which regularizes the online model by aligning its output with that of the original model. Additionally, we improve the consistency of motion supervision by adapting the input features using the updated LoRA, giving a more stable and accurate input feature for subsequent operations. Building on this, we design an adaptive optimization scheme that dynamically toggles between two modes, prioritizing efficiency without compromising precision. Extensive experiments demonstrate that DragLoRA significantly enhances the control precision and computational efficiency for drag-based image editing. The Codes of DragLoRA are available at: https://github.com/Sylvie-X/DragLoRA.
