Dual-Channel Attention Guidance for Training-Free Image Editing Control in Diffusion Transformers

Guandong Li
2/20/2026
cs.CVcs.AI

No official code found. Best implementation: leeguandong/DCAG (1 star, last commit 2026-02-23).

Abstract

Training-free control over editing intensity is a critical requirement for diffusion-based image editing models built on the Diffusion Transformer (DiT) architecture. Existing attention manipulation methods focus exclusively on the Key space to modulate attention routing, leaving the Value space -- which governs feature aggregation -- entirely unexploited. In this paper, we first reveal that both Key and Value projections in DiT's multi-modal attention layers exhibit a pronounced bias-delta structure, where token embeddings cluster tightly around a layer-specific bias vector. Building on this observation, we propose Dual-Channel Attention Guidance (DCAG), a training-free framework that simultaneously manipulates both the Key channel (controlling where to attend) and the Value channel (controlling what to aggregate). We provide a theoretical analysis showing that the Key channel operates through the nonlinear softmax function, acting as a coarse control knob, while the Value channel operates through linear weighted summation, serving as a fine-grained complement. Together, the two-dimensional parameter space $(δ_k, δ_v)$ enables more precise editing-fidelity trade-offs than any single-channel method. Extensive experiments on the PIE-Bench benchmark (700 images, 10 editing categories) demonstrate that DCAG consistently outperforms Key-only guidance across all fidelity metrics, with the most significant improvements observed in localized editing tasks such as object deletion (4.9% LPIPS reduction) and object addition (3.2% LPIPS reduction).

View on arXivView PDF

Code Implementations(1)

leeguandong/DCAGCommunity60%

Dual-Channel Attention Guidance for Training-Free Image Editing Control in Diffusion Transformers

10PythonFeb 19, 20268 months ago

Similar Papers

Cite this paper

@article{li2026dualchannel,
  title  = {Dual-Channel Attention Guidance for Training-Free Image Editing Control in Diffusion Transformers},
  author = {Guandong Li},
  year   = {2026},
  eprint = {2602.18022},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.18022v2}
}

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/2602.18022.svg)](https://codeofpaper.com/paper/2602.18022)

Discussion