CogniEdit: Dense Gradient Flow Optimization for Fine-Grained Image Editing

Yan Li, Lin Liu, Xiaopeng Zhang, Wei Xue, Wenhan Luo +2 more
12/15/2025
cs.CV

No confident code implementation found for this paper.

Abstract

Instruction-based image editing with diffusion models has achieved impressive results, yet existing methods struggle with fine-grained instructions specifying precise attributes such as colors, positions, and quantities. While recent approaches employ Group Relative Policy Optimization (GRPO) for alignment, they optimize only at individual sampling steps, providing sparse feedback that limits trajectory-level control. We propose a unified framework CogniEdit, combining multi-modal reasoning with dense reward optimization that propagates gradients across consecutive denoising steps, enabling trajectory-level gradient flow through the sampling process. Our method comprises three components: (1) Multi-modal Large Language Models for decomposing complex instructions into actionable directives, (2) Dynamic Token Focus Relocation that adaptively emphasizes fine-grained attributes, and (3) Dense GRPO-based optimization that propagates gradients across consecutive steps for trajectory-level supervision. Extensive experiments on benchmark datasets demonstrate that our CogniEdit achieves state-of-the-art performance in balancing fine-grained instruction following with visual quality and editability preservation

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025cogniedit,
  title  = {CogniEdit: Dense Gradient Flow Optimization for Fine-Grained Image Editing},
  author = {Yan Li and Lin Liu and Xiaopeng Zhang and Wei Xue and Wenhan Luo and Yike Guo and Qi Tian},
  year   = {2025},
  eprint = {2512.13276},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.13276v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.13276.svg)](https://codeofpaper.com/paper/2512.13276)

Discussion