Skip to content

Menu

WorksComputer Science

ER-Chord: Spatially Consistent One-Step Image Editing via Equal-Energy Reliability Redistribution

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_ampvra32. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

One-step generative models enable fast text-guided image editing, yet they often introduce unintended changes to regions that should remain unchanged. Temporal aggregation stabilizes editing fields across noise levels, but leaves their spatial allocation insensitive to local variations in reliability. Consequently, temporal stability alone does not ensure spatially consistent editing. To address this lim- itation, we propose ER-Chord, a training-free and inversion-free framework for reliability-guided spatial redistribution. Our key insight is that agreement between editing fields at neighboring noise levels provides a local reliability signal for allocating editing strength. We formulate this allocation as an equal-energy op- timization that redistributes control energy according to local reliability while preserving the original editing directions and total control energy. This formu- lation admits a unique global solution that can be efficiently computed using existing field evaluations, requiring no additional denoiser calls. Experiments on two benchmarks, PIE-Bench and TEdBench, demonstrate improvements over state-of-the-art one-step editing baselines, achieving superior source preservation alongside consistent gains across multiple generative backbones.The project page is at https://github.com/Peizeli1/ER-Chord.

Introduction

Distilled text-to-image models, such as SD-Turbo, InstaFlow, and SwiftBrush-v2 (Sauer et al., [27]; Liu et al., [19]; Dao et al., [4]), compress diffusion sampling into a single neural function evaluation. Although this acceleration enables real-time image synthesis, editing real images remains difficult because it requires introducing requested semantic changes while preserving the identity, structure, and unedited regions of the source image. Existing accelerated editors address this trade-off through one-step inversion (Nguyen et al., [25]), few-step reconstruction (Deutch et al., [5]; Gong et al., [6]), or inversion-free transport (Kulikov et al., [13]; Lu et al., [20]). Among these approaches, training-free and inversion-free transport is especially attractive because it eliminates both auxiliary model training and iterative latent inversion. However, executing an edit through a single transport update imposes strict requirements on the spatial organization of the resulting control field.

ChordEdit (Lu et al., [20]) stabilizes one-step editing by aggregating source-to-target proxy fields from nearby noise levels. This formulation primarily addresses temporal variations in the estimated transport field. Because this aggregation rule is applied uniformly across the latent grid, the magnitude at each spatial location is merely a passive result of combining the endpoint fields. However, the two endpoint estimates do not agree equally across all locations. Some regions exhibit consistent control vectors across noise levels, whereas others show substantial disagreement. Uniform temporal aggregation ignores this spatial disparity and distributes editing strength without considering local reliability. Consequently, it often introduces large updates into unedited backgrounds, causing visual artifacts. Therefore, temporal stability does not ensure spatial consistency, leaving spatial magnitude allocation as a crucial yet unaddressed degree of freedom.

This observation motivates a distinction between where the estimated control is reliable and where a semantic edit should occur. Existing localized editing methods typically use cross-attention maps or internal feature representations to identify edit regions ([2, 28, 30, 25, 9]). In contrast to these localization approaches, we retain the temporally aggregated editing directions and use endpoint agreement solely to determine their relative spatial strengths. Thus, endpoint consistency serves as an intrinsic reliability signal for the control field rather than a spatial localization map.

Based on this principle, we propose ER-Chord, a training-free and inversion-free framework for reliability-guided spatial redistribution. ER-Chord preserves the local directions of the Chord field and maintains the total control energy, modifying only how this fixed budget is distributed across spatial locations. We measure local reliability through the agreement between the two Chord endpoint fields and formulate the reallocation as a reliability-weighted quadratic optimization problem subject to an exact equal-energy constraint. This constraint prevents trivial source preservation caused by simply reducing the global editing strength. Although this formulation couples all spatial locations through a shared energy budget, it yields a unique global solution that rescales each local Chord vector by a positive scalar. The entire solution depends on a single scalar variable that can be found efficiently through one-dimensional bisection. ER-Chord therefore requires no additional denoiser evaluations, auxiliary training, or backpropagation.

The equal-energy formulation also provides a direct interpretation of the resulting redistribution. Locations with higher endpoint consistency receive larger scaling factors relative to their original Chord vectors, while a shared scalar coordinates these adjustments to preserve the total control energy exactly. Hence, ER-Chord modifies only the relative spatial allocation of energy without altering local control directions or the overall update scale (Figure 1). As shown in Figure 2 and Figure 3, under identical total control energy, ChordEdit disperses editing strength into irrelevant backgrounds, causing color bleeding and artifacts. In contrast, ER-Chord concentrates energy into semantically consistent regions, producing clean target edits while faithfully preserving source structures.

Image not extracted

Figure 1. Method overview. Starting from a temporally aggregated control field, ER-Chord measures local endpoint consistency and redistributes a fixed control energy budget while preserving local directions. The framework requires no auxiliary guidance, training, inversion, additional denoiser evaluations, or backpropagation.

Image not extracted

Figure 2. Temporal vs. spatial control in one-step editing. (a) ChordEdit temporally aggregates endpoint fields with uniform weights across space, which fails to reflect local differences in prediction consistency and disperses edit energy into irrelevant backgrounds. (b) ER-Chord measures local endpoint consistency as a reliability signal and redistributes control energy (uER(p)=mpuC(p)u_{\mathrm{ER}}(p) = m_p u_{\mathrm{C}}(p)) under an exact conserved energy budget (∥uER∥F2=∥uC∥F2\lVert u_{\mathrm{ER}}\rVert_{\mathrm{F}}^2 = \lVert u_{\mathrm{C}}\rVert_{\mathrm{F}}^2), concentrating updates onto semantically intended target regions without background artifacts.

Image not extracted

Figure 3. Spatial energy redistribution under conserved total energy. Under identical conserved control energy (1.00×1.00\times), ChordEdit disperses energy into backgrounds causing artifacts, while ER-Chord concentrates energy on target regions for clean edits.

Empirically, ER-Chord consistently outperforms one-step editing baselines across diverse benchmarks using the same denoiser budget. Without tuning hyperparameters for specific datasets or backbones, our configuration substantially improves background preservation on PIE-Bench, generalizes effectively to other benchmarks such as TEDBench in perceptual quality and source fidelity, and transfers across multiple generative backbones (InstaFlow, SwiftBrush-v2, and SD-Turbo). These results establish reliability-guided spatial redistribution as an effective, orthogonal complement to temporal stabilization.

Our main contributions are summarized as follows:

  • We identify spatial magnitude allocation as an unaddressed degree of freedom in temporally aggregated one-step editing, demonstrating that temporal stability alone does not guarantee spatial consistency.

  • We propose ER-Chord, a framework that uses endpoint consistency as an intrinsic reliability signal to redistribute total control energy under an exact equal-energy constraint, which is solved globally through a one-dimensional scalar root.

  • We demonstrate on PIE-Bench, TEdBench, and three generative backbones that ER-Chord consistently improves source preservation while maintaining semantic edit fidelity, requiring no external guidance, training, or additional denoiser calls.

Related Work

Real-image editing and inversion. Text-guided editing must introduce the requested semantics without losing the identity and layout of the source image. SDEdit starts reverse diffusion from a partially noised source, while DiffEdit estimates an edit mask from differences between conditional predictions [22, 2]. Prompt-to-Prompt controls cross-attention, and MasaCtrl and PnP reuse self-attention or intermediate features from a source branch to preserve structure [8, 1, 31]. Inversion-based methods instead seek a latent trajectory that accurately reconstructs the source. Null-text Inversion optimizes unconditional text embeddings, EDICT introduces coupled transformations for exact inversion, and subsequent methods reduce the mismatch accumulated along inversion and denoising trajectories [23, 32, 11, 10, 35]. A related line of work separates inversion and invariance within flow transformers to enable versatile editing [33]. These approaches improve fidelity by modifying the inversion path, internal features, or spatial masks. ER-Chord instead operates after a one-step source-to-target control field has been formed and changes only its local magnitudes, without reconstructing an inversion trajectory or modifying network attention and features.

Few-step and one-step editing. Consistency-based and flow-based models have made high-quality synthesis possible with one or a few neural function evaluations [29, 21, 17, 18]. This development has motivated editors designed specifically for low-step samplers. TurboEdit and InstantEdit pair specialized inversion with few-step reconstruction, whereas SwiftEdit learns a one-step inversion model and uses mask-guided attention rescaling for localized editing [5, 6, 25]. BiFM jointly learns forward and inverse flows, FlowEdit constructs an inversion-free transport from pretrained flow models, and EEdit accelerates inversion-based editors by exploiting redundant computation across space and time [3, 13, 34]. Related acceleration efforts span frequency-energy constrained routing for diffusion adaptation [36] and future-guided frame selection for long-horizon video generation [37]. ChordEdit is the closest starting point for our work. It is training-free and inversion-free, and stabilizes a one-step update by aggregating source-to-target fields across nearby noise levels [20]. A subsequent analysis interprets its chord window largely as an effective timestep shift and separates its procedure into coarse transport and fine alignment [14]. ER-Chord leaves this temporal estimator and cleanup unchanged, introduces no additional model evaluations, and only redistributes the resulting field magnitude over space.

Spatial localization and magnitude allocation. Spatially precise editors generally identify where an edit belongs and then restrict generation in that region. DiffEdit derives a mask from conditional prediction differences, while Learnable Regions and ZONE obtain regions through learned boxes or segmentation [2, 16, 15]. FoI, LIME, and LOCATE-dit extract or refine attention-based regions and use them to constrain the denoising process [28, 30] (Guo & Lin 2022). ALE-Edit further limits attribute leakage through object-restricted text embeddings, region-guided attention masking, and background blending [24]. Localization has also been incorporated into one-step editing. SwiftEdit uses mask-guided attention rescaling, while WhereEdit discovers editable regions from internal features and applies local modulation [25, 9]. These methods use semantic or structural evidence to decide where a modification should occur. ER-Chord neither predicts an editable region nor changes the semantic direction of the edit. It uses endpoint consistency only to rescale the magnitudes of fixed local Chord directions under an unchanged per-image energy budget. Localization methods determine where an edit should act, whereas ER-Chord adjusts the strength of the existing Chord field across locations.

Method

We develop ER-Chord in three steps. We first revisit the temporally aggregated Chord field and identify spatial magnitude allocation as a degree of freedom that is not explicitly controlled by the temporal estimator. We then use local endpoint consistency as a reliability signal and formulate spatial reweighting as an equal-energy redistribution problem, which preserves both the original control directions and the total control strength. Finally, we show that this seemingly coupled optimization admits a simple direction-preserving solution determined by a single shared scalar, enabling an efficient implementation with negligible additional computation.

From Temporal Aggregation to Spatial Allocation

Let IsrcI_{\mathrm{src}} denote the source image, and let csrcc_{\mathrm{src}} and ctarc_{\mathrm{tar}} denote the source and target conditions, respectively. Given a latent state xτx_{\tau}, we follow Lu et al. [20] and denote by R(xτ,t)\mathbf{R}(x_{\tau},t) the source-to-target proxy field constructed at noise time tt. In particular, for the two neighboring endpoints t−δt-\delta and tt, we write Rt−δ:=R(xτ,t−δ)\mathbf{R}_{t-\delta} := \mathbf{R}(x_{\tau},t-\delta) and Rt:=R(xτ,t)\mathbf{R}_{t} := \mathbf{R}(x_{\tau},t).

ChordEdit temporally aggregates these two endpoint fields to obtain a stabilized control field. At each spatial location p∈Ωp \in\Omega, its control vector can be written as

uC(p)=tt+δRt−δ(p)+δt+δRt(p).(1)\mathbf{u}_{\mathrm{C}}(p) = \frac{t}{t+\delta}\mathbf{R}_{t-\delta}(p) + \frac{\delta}{t+\delta}\mathbf{R}_{t}(p). \tag*{(1)}

The coefficients in (1) are global temporal scalars and do not depend on the spatial location pp. The corresponding derivation from the Chord surrogate is provided in Appendix A.1.

Equation (1) provides a temporally stabilized editing vector at every spatial location. However, the resulting spatial magnitude ∥uC(p)∥2\lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_{2} is only an implicit consequence of the temporal aggregation. In particular, the aggregation rule does not explicitly compare the magnitude assigned to location pp with the agreement between Rt−δ(p)\mathbf{R}_{t-\delta}(p) and Rt(p)\mathbf{R}_{t}(p). Therefore, two locations with substantially different endpoint consistency are still governed by the same temporal mixing rule.

This observation suggests separating temporal stabilization from spatial magnitude allocation. We retain the local directions supplied by uC\mathbf{u}_{\mathrm{C}} and treat their spatial magnitudes as the remaining degree of freedom. Our goal is to redistribute these magnitudes according to local endpoint consistency while preserving the total control strength of the original Chord field. Section 3.2 develops this reliability-guided equal-energy redistribution.

Reliability-Guided Equal-Energy Redistribution

We next determine how the spatial magnitudes of the Chord field should be reallocated. The key signal is the agreement between the two endpoint fields. At a spatial location p∈Ωp \in\Omega, we use sp:=∥uC(p)∥2s_p := \lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_{2} to denote the magnitude of the temporally aggregated Chord control and dp:=∥Rt(p)−Rt−δ(p)∥2d_p := \lVert\mathbf{R}_{t}(p)-\mathbf{R}_{t-\delta}(p)\rVert_{2} to measure the disagreement between the two endpoint estimates. Since the same absolute endpoint discrepancy can have different significance at locations with different control magnitudes, we normalize the disagreement relative to the local Chord signal.

Specifically, we define the local endpoint-consistency score as

cp=clip⁡[0,1](spmax⁡{sp+κdp,ϵc}),κ≥0, ϵc>0.(2)c_p = \operatorname{clip}_{[0,1]}\left(\frac{s_p}{\max\{s_p+\kappa d_p,\epsilon_c\}}\right), \qquad\kappa\ge0,\ \epsilon_c > 0. \tag*{(2)}

A larger cpc_p indicates stronger agreement between the two endpoint fields relative to the local control magnitude. In particular, cpc_p approaches one when the endpoint disagreement is small compared with sps_p, and decreases as the relative disagreement grows. This score measures local temporal consistency of the estimated control field rather than semantic correctness.

We use this reliability signal only to redistribute spatial magnitude. The local Chord directions remain unchanged as the reference editing directions, and the total control strength is kept fixed. The latter constraint is important because otherwise improved source preservation could be obtained trivially by globally weakening the edit. Let EC:=∥uC∥F2E_{\mathrm{C}} := \lVert\mathbf{u}_{\mathrm{C}}\rVert_{F}^{2} denote the total pre-cleanup control energy of the Chord field. We seek a redistributed field that remains close to uC\mathbf{u}_{\mathrm{C}}, while assigning a larger cost to control magnitude placed at locations with lower endpoint consistency.

These design requirements lead to the following equal-energy redistribution:

uER∈arg⁡min⁡u12∑p∈Ω∥u(p)−uC(p)∥22+μ2∑p∈Ω(1−cp)2∥u(p)∥22(3)\mathbf{u}_{\mathrm{ER}} \in\arg\min_{\mathbf{u}} \frac{1}{2}\sum_{p\in\Omega}\left\|\mathbf{u}(p)-\mathbf{u}_{\mathrm{C}}(p)\right\|_2^2+\frac{\mu}{2}\sum_{p\in\Omega}(1-c_p)^2\left\|\mathbf{u}(p)\right\|_2^2 \tag*{(3)}

subject to ∥u∥F2=EC\left\|\mathbf{u}\right\|_F^2=E_{\mathrm{C}}, 0≤μ<1\quad0\leq\mu<1.

The first term preserves fidelity to the original Chord field, while the second term discourages control energy from remaining at locations with low endpoint consistency. The equality constraint keeps the total pre-cleanup energy exactly unchanged. Consequently, any reduction of control magnitude at one subset of spatial locations must be compensated by an increase elsewhere.

Although (3) couples all spatial locations through a global energy constraint, its structure is considerably simpler than a generic constrained field optimization. In the next subsection, we show that its unique global solution preserves every local Chord direction and reduces the entire redistribution to a one-dimensional scalar solve.

Scalar-Root Solution and Properties

The equal-energy constraint in (3) couples all spatial locations through a single global budget. Nevertheless, the optimization admits a particularly simple structure. For each p∈Ωp\in\Omega, define ap:=1+μ(1−cp)2a_p:=1+\mu(1-c_p)^2, which represents the local quadratic penalty induced by the endpoint-consistency score. The spatial dependence is entirely contained in apa_p, while the global energy constraint is enforced by one shared scalar.

Theorem 3.1 (Unique direction-preserving solution). Assume 0≤μ<10\leq\mu<1 and EC>0E_{\mathrm{C}}>0. Then the optimization problem (3) admits a unique global minimizer. In particular, there exists a unique scalar η⋆∈[−μ,0]\eta^\star\in[-\mu,0] such that

uER(p)=uC(p)ap+η⋆,p∈Ω,(4)\mathbf{u}_{\mathrm{ER}}(p)=\frac{\mathbf{u}_{\mathrm{C}}(p)}{a_p+\eta^\star},\qquad p\in\Omega, \tag*{(4)}

where η⋆\eta^\star is the unique root of

∑p∈Ω∥uC(p)∥22(ap+η)2=EC.(5)\sum_{p\in\Omega}\frac{\left\|\mathbf{u}_{\mathrm{C}}(p)\right\|_2^2}{(a_p+\eta)^2}=E_{\mathrm{C}}. \tag*{(5)}

Theorem 3.1 reduces the spatially coupled optimization to a one-dimensional scalar solve. The local reliability scores determine the spatially varying denominators apa_p, while the single shared variable η⋆\eta^\star adjusts all locations jointly so that the original control energy is exactly preserved. Since ap+η⋆>0a_p+\eta^\star>0, the solution in (4) rescales each local Chord vector without changing its direction. The proof of existence, uniqueness, and global optimality is provided in Appendix § 8.§ 2.

To make the redistribution explicit, let mp:=(ap+η⋆)−1m_p:=(a_p+\eta^\star)^{-1} denote the local spatial multiplier. Then uER(p)=mpuC(p)\mathbf{u}_{\mathrm{ER}}(p)=m_p\mathbf{u}_{\mathrm{C}}(p). The following properties summarize the behavior of the resulting field.

Corollary 3.2 (Energy and direction preservation). Under the assumptions of Theorem 3.1, the ER-Chord solution satisfies

∥uER∥F2=∥uC∥F2.(6)\left\|\mathbf{u}_{\mathrm{ER}}\right\|_F^2=\left\|\mathbf{u}_{\mathrm{C}}\right\|_F^2. \tag*{(6)}

Moreover, mp>0m_p>0 for every p∈Ωp\in\Omega, and

11+μ≤mp≤11−μ.\frac{1}{1+\mu}\leq m_p\leq\frac{1}{1-\mu}.

If cp<cqc_p<c_q and μ>0\mu>0, then mp>mqm_p>m_q.

The corollary clarifies the role of the redistribution. ER-Chord neither rotates the local Chord directions nor changes the total pre-cleanup control strength. Instead, it modifies only the relative spatial magnitudes. Locations with higher endpoint consistency receive a larger multiplicative adjustment than locations with lower endpoint consistency. This ordering applies to the multipliers themselves rather than to the absolute final energy shares, which also depend on the original Chord magnitudes.

The scalar η⋆\eta^\star can be obtained efficiently by bisection over [−μ,0][-\mu,0]. For a latent field of size C×H×WC\times H\times W and KK bisection iterations, the additional computation is O(K⋅C⋅H⋅W)\mathcal{O}(K\cdot C\cdot H\cdot W) and consists only of channel reductions and element-wise arithmetic. ER-Chord reuses the endpoint fields already required by ChordEdit and therefore introduces no additional denoiser evaluations.

To further characterize the spatial redistribution, we compare the fraction of the total control energy assigned to each location before and after ER-Chord. For p∈Ωp \in\Omega, define the original and redistributed spatial energy shares as πpC:=∥uC(p)∥2/EC\pi_p^{\mathrm{C}} := \lVert\mathbf{u}_{\mathrm{C}}(p) \rVert^2/E_{\mathrm{C}} and πpER:=∥uER(p)∥2/EC\pi_p^{\mathrm{ER}} := \lVert\mathbf{u}_{\mathrm{ER}}(p) \rVert^2/E_{\mathrm{C}}, respectively. Since uER(p)=mpuC(p)\mathbf{u}_{\mathrm{ER}}(p) = m_p\mathbf{u}_{\mathrm{C}}(p), these shares satisfy

πpER=mp2πpC.(7)\pi_p^{\mathrm{ER}} = m_p^2\pi_p^{\mathrm{C}}. \tag*{(7)}

Equation (7) makes the redistribution explicit: ER-Chord modifies the original spatial energy allocation only through the local multipliers, while the total energy remains unchanged.

The local consistency scores and the shared scalar η⋆\eta^\star play complementary roles: the scores determine the relative spatial penalties, while η⋆\eta^\star enforces the common energy budget.

Importantly, the equal-energy constraint does not require every low-consistency location to be attenuated or every high-consistency location to be amplified relative to one. Several multipliers may lie on the same side of one, provided that their energy-weighted adjustments collectively preserve ECE_{\mathrm{C}}. Therefore, ER-Chord should be interpreted as a globally coupled spatial reallocation rather than an independent pointwise suppression rule.

The same optimization also yields an additional certificate showing that the redistributed field places no more reliability-weighted energy on inconsistent locations than the original Chord field. We provide the formal statement and proof in Appendix § 8.§ 4.

Experiments

Evaluation protocol

Benchmarks. PIE-Bench ([11]) contains 700 masked editing examples in ten categories and provides the primary comparison with ChordEdit. We additionally evaluate the original 100-example TEdBench ([12]) as an external benchmark for text-guided real-image editing. For ChordEdit and ER-Chord, we use the same target-only protocol with identical inputs, target captions, random seeds, and evaluation settings.

Metrics. On PIE-Bench, background preservation uses non-edited-region PSNR, MSE, SSIM, LPIPS ([38]), and structure distance; semantic alignment uses CLIP-Whole and CLIP-Edited ([26]). On TEdBench, we report LPIPS for perceptual source preservation, CLIP-I for image-level source similarity, CLIP-T for target text–image similarity, and Dir-Sim for directional similarity. Every ER run also records the dual interval, normalized dual residual, equal-energy residual, KKT residual, multiplier bounds, direction residual, and inequality (26).

Implementation and statistics. We retain the ChordEdit configuration: one shared noise sample, t=0.90t = 0.90, δ=0.15\delta= 0.15, λ=1.0\lambda= 1.0, and cleanup time tc=0.30t_c = 0.30. For ER-Chord, we use μ=0.25\mu= 0.25, κ=1.0\kappa= 1.0, εc=10−8\varepsilon_c = 10^{-8}, an energy threshold of 10−1210^{-12}, a dual tolerance of 10−610^{-6}, and at most 32 bisection iterations. These values are not tuned on the external benchmarks. The comparisons between ChordEdit and ER-Chord are paired by source example. Runtime and peak memory are measured with the same hardware, precision, batch size, and warm-up.

Comparison on PIE-Bench

Full PIE-Bench evaluation. Table 1 reproduces the comparison from ChordEdit Table 1 and adds ER-Chord under the same SD-Turbo configuration with (μ,κ)=(0.25,1.0)(\mu, \kappa) = (0.25, 1.0), one shared noise sample, and all 700 PIE-Bench examples (seed 42). The comparison covers all 700 PIE-Bench examples across the ten predefined editing categories. As shown in Table 1, the primary benefit of ER-Chord lies in substantial gains in source content preservation. Specifically, ER-Chord improves unedited-region PSNR from 22.20 to 22.77 dB (+0.57 dB), lowers MSE from 6.84 to 6.35, and reduces perceptual distortion LPIPS from 128.25 to 120.23 (103×10^3 \times scaling). Detailed structural preservation metrics (e.g., SSIM and Structure Distance) exhibit concordant improvements in the appendix (Table 6). Crucially, these preservation gains are accompanied by improved target semantic alignment: CLIP-Whole rises from 25.58 to 25.74, and CLIP-Edited from 22.96 to 23.16. The two methods have the same total pre-cleanup control energy by construction. Thus, the gains cannot be attributed to uniformly reducing the control field; they are consistent with a more effective spatial allocation.

TypeMethodPSNR↑MSE↓LPIPS↓Whole↑Edit↑T-freeI-freeSteps↓NFE↓Time(s)↓VRAM(M)↓
Multi-stepDDIM + MasaCtrl (2023)21.258.58106.5924.1321.13✓✗5010055.2012272
Direct Inv. + MasaCtrl (2023)21.787.9987.3824.4221.38✓✗5010079.1012272
DDIM + PnP (2023)21.268.42113.5825.4522.54✓✗5010028.019262
Direct Inv. + PnP (2023)21.438.10106.2625.4822.63✓✗5010028.039262
FlowEdit (SD3) (2025)22.177.69104.8126.6423.69✓✓33337.2217140
Few-stepTurboEdit (SDXL-T) (2024)21.449.49108.6024.6621.79✓✓442.6913826
InfEdit (SD1.4) (2024)24.146.8255.6924.8921.88✓✓441.416502
InstantEdit (PeRFlow) (2025)23.804.2160.9224.9721.82✓✗481.3016270
One-stepSwiftEdit (SB-v2) (2025)21.718.2291.2224.9321.85✗✗120.5415060
ChordEdit (SB-v2) (2026)22.047.13111.2225.1222.58✓✓120.386988
ChordEdit (w/o clean, SD-T)23.895.0588.3624.9721.87✓✓110.206988
ChordEdit (SD-Turbo) (2026)22.206.84128.2525.5822.96✓✓120.386988
ER-Chord (SB-v2)22.486.62105.1025.2622.74✓✓120.376988
ER-Chord (w/o clean, SD-T)24.314.7082.8225.0421.99✓✓110.206988
ER-Chord (SD-Turbo)22.776.35120.2325.7423.16✓✓120.376988

Table 1. Table 1: Editing results on PIE-Bench ([11]). MSE and LPIPS are scaled by 10310^3. Best, second-best, and third-best results are highlighted with green, yellow, and purple backgrounds, respectively. T-/I-free: training-/inversion-free. Extended metrics appear in Appendix § 11.

Table 6: Additional PIE-Bench metrics (700 examples, seed 42). ChordEdit values reproduce the extended metrics in Lu et al. [20]. MSE, LPIPS, and structure distance are scaled by 10310^{3}, and SSIM is reported as a percentage, following the source table. Bold denotes the better result.

MetricChordEditER-Chord
PSNR↑\uparrow (dB)22.2022.77
MSE↓\downarrow (×10−3\times10^{-3})6.846.35
SSIM↑\uparrow (×10−2\times10^{-2})75.9176.87
LPIPS↓\downarrow (×10−3\times10^{-3})128.25120.23
Structure dist.↓\downarrow (×10−3\times10^{-3})16.5815.44
CLIP-Whole↑\uparrow25.5825.74
CLIP-Edited↑\uparrow22.9623.16

Table 6.

Qualitative comparison. In the examples shown in Figure 4, several multi-step and few-step editors alter the background or blur fine details. ChordEdit also exhibits visible background changes in some cases. With reliability-guided redistribution, ER-Chord produces cleaner target edits in these examples, including the sofa and mountain-to-building transformations, while retaining more of the source background.

Image not extracted

Figure 4. Qualitative comparison on PIE-Bench. Real images are in the first column. Multi-step, few-step, and one-step methods are arranged horizontally. Prompts are noted under each row. ChordEdit and ER-Chord use the identical SD-Turbo backbone.

Ablations, Cross-Backbone Transfer, and Efficiency

Transport vs. cleanup ablation. To understand how spatial redistribution interacts with the multistage pipeline, Table 2 evaluates ER-Chord with and without the post-hoc cleanup stage. In the no-cleanup setting (NFE = 1), the evaluation directly isolates the spatial transport field. Here, ER-Chord improves PSNR from 23.89 to 24.31 dB and CLIP-Edited from 21.87 to 21.99 over the raw Chord field, confirming that reliability reallocation strengthens transport dynamics before cleanup. With cleanup (NFE = 2), ER-Chord maintains its advantage (22.77 vs. 22.20 dB PSNR; 23.16 vs. 22.96 CLIP-Edited), orthogonally complementing post-hoc temporal cleanup.

ConfigurationPIE-Bench metrics
FieldCleanupPSNR↑CLIP-Edited↑NFE
Naive (δ=0\delta= 0)no21.8920.831
Chord (δ=.15\delta= .15)no23.8921.871
ER-Chordno24.3121.991
Naive (δ=0\delta= 0)yes21.3821.962
Chord (δ=.15\delta= .15)yes22.2022.962
ER-Chordyes22.7723.162

Table 2. Transport & cleanup ablation. PIE-Bench. NFE=1: transport; NFE=2: full. Bold: best.

Core mechanism ablations. To isolate the necessity of equal-energy optimization, we test two baselines. First, a heuristic “Reweight-and-Normalize (RN)” directly scales the Chord field by cpc_p and normalizes total energy, achieving only 22.40 dB PSNR (vs. ER-Chord 22.77 dB). Second, “Spatial Permutation” applies the exact optimal multipliers from ER-Chord but randomly permutes their spatial assignment. The PSNR drops to 21.05 dB, supporting the importance of matching the multipliers to their original spatial locations.

Transfer to TEdBench. To evaluate out-of-domain generalization, we benchmark on 100 diverse real-image editing cases in TEdBench (Kawar et al., [12]) featuring complex attribute modifications and diverse natural scenes. As shown in Table 3, ER-Chord improves upon ChordEdit in both perceptual source preservation (LPIPS decreases from 0.21 to 0.20) and image fidelity (CLIP-I increases from 0.91 to 0.92). On the reported TEdBench metrics, ER-Chord also improves over the listed multi-step and optimization-based baselines while using one transport update. These results suggest transfer to the tested scenes without benchmark-specific tuning.

MethodParadigmLPIPS↓CLIP-I↑CLIP-T↑Dir-Sim↑
SDEditMulti-step0.300.850.220.15
Pix2Pix-ZeroMulti-step0.290.840.230.14
ImagicOptimization0.520.860.250.20
LEDITS++Inversion0.230.870.260.21
FlowEditFlow0.220.890.260.22
ChordEditOne-step0.210.910.280.25
ER-Chord (Ours)One-step0.200.920.290.25

Table 3. TEdBench comparison (Kawar et al., [12]). 100 real-image prompts. Bold: best.

Cross-backbone generalization. To assess transfer across backbones, Table 4 evaluates ER-Chord with InstaFlow, SwiftBrush-v2, and SD-Turbo. With fixed hyperparameters ((μ,κ\mu, \kappa) = (0.25, 1.0)), ER-Chord improves PSNR (vs. ChordEdit) by +0.35 dB on InstaFlow, +0.44 dB on SwiftBrush-v2, and +0.57 dB on SD-Turbo. CLIP-Edited also improves on all three tested backbones.

BackboneMethodPSNR↑CLIP-Edited↑
InstaFlowNaive22.0520.19
InstaFlowChordEdit23.0521.39
InstaFlowER-Chord (Ours)23.4021.54
SwiftBrush-v2Naive20.5221.06
SwiftBrush-v2ChordEdit22.0422.58
SwiftBrush-v2ER-Chord (Ours)22.4822.74
SD-TurboNaive21.3821.96
SD-TurboChordEdit22.2022.96
SD-TurboER-Chord (Ours)22.7723.16

Table 4. Cross-backbone generalization. Results across backbones. Bold: best per backbone.

Computational overhead and convergence. Because ER-Chord reuses the ChordEdit endpoints (Rt,Rt−δR_t, R_{t-\delta}), it adds no network evaluations relative to ChordEdit. The full pipeline uses NFE = 2 with cleanup and NFE = 1 without it, and the measured peak memory is unchanged at 6988 MiB. The scalar bisection terminates within 32 iterations and takes < 0.01 s CPU time. The measured full-pipeline runtimes are similar: 0.37 s/img for ER-Chord and 0.38 s/img for ChordEdit.

Conclusion

This paper investigates spatial magnitude allocation in training-free, one-step image editing. Existing transport methods stabilize updates across noise levels using temporal weights shared across spatial locations, leaving local reliability unaccounted for in the allocation of editing strength. We propose ER-Chord, which uses endpoint agreement to redistribute control energy under an exact pre-cleanup energy constraint. The resulting field preserves the original local directions and has a unique global solution determined by a scalar root, with no additional denoiser evaluations relative to ChordEdit. Experiments on PIE-Bench, TEdBench, and three generative backbones (SD-Turbo, SwiftBrush-v2, and InstaFlow) show improved source preservation alongside target alignment in the tested settings. These results suggest that spatial allocation is a useful complement to temporal stabilization. The equal-energy constraint prevents a trivial improvement from globally weakening the edit: energy reduced in one location must be reallocated to another. The endpoint-consistency signal determines that reallocation, while a shared scalar root keeps the computation small. Because the method rescales the Chord field without changing its local directions, it cannot correct an erroneous direction supplied by the underlying field. Testing how this dependence changes across additional editing tasks and backbones is a useful direction for future work.

AI USE STATEMENT

In this work, we used generative AI tools to improve the clarity, grammar, and presentation of the manuscript. All AI-assisted content was carefully reviewed and verified by the authors. All scientific ideas, methodological designs, experimental results, and conclusions were developed and validated by the authors. We take full responsibility for the final content of this work.

Mathematical Derivations and Proofs

This appendix provides the mathematical details supporting the construction in § 3. We first derive the temporally aggregated Chord field used as the starting point of our method. We then establish the existence, uniqueness, and global optimality of the equal-energy redistribution solution, followed by the properties implied by its closed-form structure. These results complete the technical arguments omitted from the main text while preserving the method-level presentation in § 3.

Derivation of the Temporally Aggregated Chord Field

For completeness, we derive the temporally aggregated Chord field used in § 3. Following ChordEdit Lu et al. [20], let u^t−δ\hat{\mathbf{u}}_{t-\delta} denote the endpoint control estimate entering the temporal surrogate at time t−δt-\delta. The Chord estimator considers the quadratic objective

Φt(u;xτ)=t∥u−u^t−δ∥F2+∫t−δt∥u−Rξ∥F2 dξ,(8)\Phi_t(\mathbf{u};\mathbf{x}_{\tau}) = t\lVert\mathbf{u} - \hat{\mathbf{u}}_{t-\delta}\rVert_F^2 + \int_{t-\delta}^{t} \lVert\mathbf{u} - \mathbf{R}_{\xi}\rVert_F^2 \,\mathrm{d}\xi, \tag*{(8)}

where Rξ:=R(xτ,ξ)\mathbf{R}_{\xi} := \mathbf{R}(\mathbf{x}_{\tau},\xi) denotes the source-to-target proxy field at noise time ξ\xi.

The objective in (8) is strictly convex with respect to u\mathbf{u} because its Hessian is 2(t+δ)I≻02(t+\delta)\mathbf{I} \succ0. Therefore, its unique minimizer is characterized by the first-order condition

t(u−u^t−δ)+∫t−δt(u−Rξ) dξ=0.(9)t(\mathbf{u} - \hat{\mathbf{u}}_{t-\delta}) + \int_{t-\delta}^{t}(\mathbf{u} - \mathbf{R}_{\xi})\,\mathrm{d}\xi= 0. \tag*{(9)}

Since the integration interval has length δ\delta, rearranging (9) gives the unique minimizer

ut∗=tt+δu^t−δ+1t+δ∫t−δtRξ dξ.(10)\mathbf{u}_t^* = \frac{t}{t+\delta}\hat{\mathbf{u}}_{t-\delta} + \frac{1}{t+\delta}\int_{t-\delta}^{t}\mathbf{R}_{\xi}\,\mathrm{d}\xi. \tag*{(10)}

ChordEdit then approximates the previous endpoint estimate by u^t−δ≈Rt−δ\hat{\mathbf{u}}_{t-\delta} \approx\mathbf{R}_{t-\delta} and evaluates the temporal integral using the endpoint approximation ∫t−δtRξ dξ≈δRt\int_{t-\delta}^{t}\mathbf{R}_{\xi}\,\mathrm{d}\xi\approx\delta\mathbf{R}_t. Substituting these approximations into (10) yields

uC=tt+δRt−δ+δt+δRt.(11)\mathbf{u}_{\mathrm{C}} = \frac{t}{t+\delta}\mathbf{R}_{t-\delta} + \frac{\delta}{t+\delta}\mathbf{R}_t. \tag*{(11)}

Restricting (11) to any spatial location p∈Ωp \in\Omega recovers the Chord field used in (1). In particular, the coefficients t/(t+δ)t/(t+\delta) and δ/(t+δ)\delta/(t+\delta) are determined solely by the temporal construction and are independent of pp.

Proof of the Unique Global Solution

We now prove Theorem 3.1. Recall from § 3.3 that ap:=1+μ(1−cp)2a_p := 1+\mu(1-c_p)^2. Since cp∈[0,1]c_p \in[0,1] and 0≤μ<10 \le\mu< 1, we have 1≤ap≤1+μ1 \le a_p \le1+\mu for every p∈Ωp \in\Omega.

Proof of Theorem 3.1. Let J(u)J(\mathbf{u}) denote the objective in (3). Introducing a scalar Lagrange multiplier η\eta for the equal-energy constraint, the Lagrangian is

L(u,η)=J(u)+η2(∥u∥F2−EC).(12)\mathcal{L}(\mathbf{u},\eta) = J(\mathbf{u}) + \frac{\eta}{2}\left(\lVert\mathbf{u}\rVert_F^2 - E_{\mathrm{C}}\right). \tag*{(12)}

The stationarity condition with respect to the local vector u(p)\mathbf{u}(p) is

(ap+η)u(p)=uC(p),p∈Ω.(13)(a_p+\eta)\mathbf{u}(p) = \mathbf{u}_{\mathrm{C}}(p), \qquad p \in\Omega. \tag*{(13)}

Hence, whenever ap+η>0a_p+\eta>0 for all p∈Ωp\in\Omega, any stationary point must satisfy

u(p;η)=uC(p)ap+η.(14)\mathbf{u}(p;\eta) = \frac{\mathbf{u}_{\mathrm{C}}(p)}{a_p+\eta}. \tag*{(14)}

It remains to determine the scalar η\eta from the equal-energy constraint. Substituting (14) into ∥u∥F2=EC\lVert\mathbf{u}\rVert_F^2=E_{\mathrm{C}} gives

ϕ(η):=∑p∈Ω∥uC(p)∥22(ap+η)2−EC=0.(15)\phi(\eta) := \sum_{p\in\Omega}\frac{\lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_2^2}{(a_p+\eta)^2}-E_{\mathrm{C}}=0. \tag*{(15)}

For any η∈[−μ,0]\eta\in[-\mu,0], the bound ap≥1a_p \ge1 implies ap+η≥1−μ>0a_p+\eta\ge1-\mu>0. Therefore, ϕ\phi is well defined and continuously differentiable on [−μ,0][-\mu,0]. Moreover,

ϕ′(η)=−2∑p∈Ω∥uC(p)∥22(ap+η)3<0.(16)\phi'(\eta) = -2\sum_{p\in\Omega}\frac{\lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_2^2}{(a_p+\eta)^3}<0. \tag*{(16)}

where the strict inequality follows from EC>0E_{\mathrm{C}} > 0. Hence, ϕ\phi is strictly decreasing on this interval.

At the right endpoint, ap≥1a_p \ge1 gives

ϕ(0)=∑p∈Ω∥uC(p)∥22ap2−EC≤0.(17)\phi(0) = \sum_{p \in\Omega} \frac{\lVert\mathbf{u}_{\mathrm{C}}(p) \rVert_2^2}{a_p^2} - E_{\mathrm{C}} \le0. \tag*{(17)}

At the left endpoint, ap≤1+μa_p \le1 + \mu gives ap−μ≤1a_p - \mu\le1, and therefore

ϕ(−μ)=∑p∈Ω∥uC(p)∥22(ap−μ)2−EC≥0.(18)\phi(-\mu) = \sum_{p \in\Omega} \frac{\lVert\mathbf{u}_{\mathrm{C}}(p) \rVert_2^2}{(a_p - \mu)^2} - E_{\mathrm{C}} \ge0. \tag*{(18)}

The intermediate value theorem and the strict monotonicity of ϕ\phi therefore imply the existence of a unique η⋆∈[−μ,0]\eta^\star\in[-\mu,0] satisfying ϕ(η⋆)=0\phi(\eta^\star)=0. Substituting η⋆\eta^\star into (14) yields (4), and (15) reduces to (5).

We finally establish global optimality over the complete feasible set, which is the energy sphere ∥u∥F2=EC\lVert\mathbf{u} \rVert_F^2 = E_{\mathrm{C}}. Let A\mathbf{A} denote the block-diagonal matrix whose block associated with location pp is apIa_p\mathbf{I}. Then (13) at η=η⋆\eta=\eta^\star can be written as

(A+η⋆I)uER=uC.(19)(\mathbf{A} + \eta^\star\mathbf{I})\mathbf{u}_{\mathrm{ER}} = \mathbf{u}_{\mathrm{C}}. \tag*{(19)}

Consider any feasible field z\mathbf{z} and define d:=z−uER\mathbf{d} := \mathbf{z} - \mathbf{u}_{\mathrm{ER}}. Since both z\mathbf{z} and uER\mathbf{u}_{\mathrm{ER}} have energy ECE_{\mathrm{C}}, we have 2⟨uER,d⟩F+∥d∥F2=02\langle\mathbf{u}_{\mathrm{ER}}, \mathbf{d}\rangle_F + \lVert\mathbf{d} \rVert_F^2 = 0. Using this identity together with (19), the objective difference satisfies

J(z)−J(uER)=12⟨d,(A+η⋆I)d⟩F.(20)J(\mathbf{z}) - J(\mathbf{u}_{\mathrm{ER}}) = \frac{1}{2}\langle\mathbf{d},(\mathbf{A}+\eta^\star\mathbf{I})\mathbf{d}\rangle_F. \tag*{(20)}

Since ap≥1a_p \ge1 and η⋆≥−μ\eta^\star\ge-\mu,

A+η⋆I⪰(1−μ)I≻0.(21)\mathbf{A}+\eta^\star\mathbf{I} \succeq(1-\mu)\mathbf{I} \succ0. \tag*{(21)}

Consequently,

J(z)−J(uER)≥1−μ2∥d∥F2.(22)J(\mathbf{z}) - J(\mathbf{u}_{\mathrm{ER}}) \ge\frac{1-\mu}{2}\lVert\mathbf{d}\rVert_F^2. \tag*{(22)}

The right-hand side is strictly positive whenever z≠uER\mathbf{z}\ne\mathbf{u}_{\mathrm{ER}}. Hence, uER\mathbf{u}_{\mathrm{ER}} is the unique global minimizer of (3).

Properties of the Closed-Form Redistribution

We next establish the properties of the closed-form solution stated in Corollary 3.2. Recall that mp:=(ap+η⋆)−1m_p := (a_p+\eta^\star)^{-1}, where ap=1+μ(1−cp)2a_p=1+\mu(1-c_p)^2 and η⋆∈[−μ,0]\eta^\star\in[-\mu,0].

Proof of Corollary 3.2. The exact energy preservation

∥uER∥F2=∥uC∥F2=EC(23)\lVert\mathbf{u}_{\mathrm{ER}}\rVert_F^2 = \lVert\mathbf{u}_{\mathrm{C}}\rVert_F^2 = E_{\mathrm{C}} \tag*{(23)}

follows directly from the equality constraint in (3) and the feasibility of the solution constructed in Theorem 3.1.

Since cp∈[0,1]c_p\in[0,1], we have 1≤ap≤1+μ1\le a_p\le1+\mu. Together with η⋆∈[−μ,0]\eta^\star\in[-\mu,0], this gives ap+η⋆≥1−μ>0a_p+\eta^\star\ge1-\mu>0. Hence mp>0m_p>0 for every p∈Ωp\in\Omega. Therefore, uER(p)=mpuC(p)\mathbf{u}_{\mathrm{ER}}(p)=m_p\mathbf{u}_{\mathrm{C}}(p) preserves the direction of every nonzero local Chord vector.

The same bounds imply 1−μ≤ap+η⋆≤1+μ1-\mu\le a_p+\eta^\star\le1+\mu, and consequently 1/(1+μ)≤mp≤1/(1−μ)1/(1+\mu)\le m_p\le1/(1-\mu).

Finally, suppose that μ>0\mu>0 and cp>cqc_p>c_q. Since (1−cp)2<(1−cq)2(1-c_p)^2<(1-c_q)^2, we have ap<aqa_p<a_q. The scalar η⋆\eta^\star is shared across all spatial locations, so ap+η⋆<aq+η⋆a_p+\eta^\star<a_q+\eta^\star. Both denominators are positive, and therefore mp>mqm_p>m_q.

The spatial energy relation used in § 3.3 follows immediately from the same multiplicative representation. Recall that πpC:=∥uC(p)∥22/EC\pi_p^{\mathrm{C}}:=\lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_2^2/E_{\mathrm{C}} and πpER:=∥uER(p)∥22/EC\pi_p^{\mathrm{ER}}:=\lVert\mathbf{u}_{\mathrm{ER}}(p)\rVert_2^2/E_{\mathrm{C}}. Then

πpER=mp2∥uC(p)∥22EC=mp2πpC.(24)\pi_p^{\mathrm{ER}}=\frac{m_p^2\lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_2^2}{E_{\mathrm{C}}}=m_p^2\pi_p^{\mathrm{C}}. \tag*{(24)}

Hence the local multipliers act directly on the original spatial energy shares, while (23) ensures that the shares remain normalized over the entire field. In particular, the ordering cp>cq⇒mp>mqc_p>c_q\Rightarrow m_p>m_q concerns the relative multiplicative adjustment and does not imply πpER>πqER\pi_p^{\mathrm{ER}}>\pi_q^{\mathrm{ER}}, since the final shares also depend on the original Chord allocation.

The closed form also recovers several limiting cases. If μ=0\mu=0, then ap=1a_p=1 for every pp, and the equal-energy condition yields η⋆=0\eta^\star=0, so uER=uC\mathbf{u}_{\mathrm{ER}}=\mathbf{u}_{\mathrm{C}}. More generally, if cpc_p is constant over the nonzero support of uC\mathbf{u}_{\mathrm{C}}, all active locations share the same positive multiplier. Exact energy preservation then forces this multiplier to equal one. When EC=0E_{\mathrm{C}}=0, the constraint admits only the zero field, and thus uER=0\mathbf{u}_{\mathrm{ER}}=0.

Reliability-Weighted Energy Certificate

Beyond the pointwise properties of the closed-form solution, the optimization objective also controls how much energy is assigned to locations with low endpoint consistency. For any nonzero control field u\mathbf{u}, define its reliability-weighted energy fraction as

M(u;c):=∑p∈Ω(1−cp)2∥u(p)∥22∥u∥F2,(25)\mathcal{M}(\mathbf{u};\mathbf{c}) := \frac{\sum_{p\in\Omega}(1-c_p)^2\|\mathbf{u}(p)\|_2^2}{\|\mathbf{u}\|_F^2}, \tag*{(25)}

where c\mathbf{c} denotes the collection of endpoint-consistency scores {cp}p∈Ω\{c_p\}_{p\in\Omega}.

Proposition A.1 (Reliability-weighted energy certificate). Assume μ>0\mu> 0 and EC>0E_C > 0. Then the solution of (3) satisfies

M(uER;c)≤M(uC;c)−∥uER−uC∥F2μEC≤M(uC;c).(26)\mathcal{M}(\mathbf{u}_{\mathrm{ER}};\mathbf{c}) \le\mathcal{M}(\mathbf{u}_{C};\mathbf{c}) - \frac{\|\mathbf{u}_{\mathrm{ER}}-\mathbf{u}_{C}\|_F^2}{\mu E_C} \le\mathcal{M}(\mathbf{u}_{C};\mathbf{c}). \tag*{(26)}

Proof. The original Chord field uC\mathbf{u}_C is feasible for (3) because ∥uC∥F2=EC\|\mathbf{u}_C\|_F^2 = E_C. By the global optimality of uER\mathbf{u}_{\mathrm{ER}} established in Theorem 3.1,

J(uER)≤J(uC)=μ2∑p∈Ω(1−cp)2∥uC(p)∥22.(27)J(\mathbf{u}_{\mathrm{ER}}) \le J(\mathbf{u}_{C}) = \frac{\mu}{2}\sum_{p\in\Omega}(1-c_p)^2\|\mathbf{u}_{C}(p)\|_2^2. \tag*{(27)}

Expanding the left-hand side yields

12∥uER−uC∥F2+μ2∑p∈Ω(1−cp)2∥uER(p)∥22≤μ2∑p∈Ω(1−cp)2∥uC(p)∥22.(28)\frac{1}{2}\|\mathbf{u}_{\mathrm{ER}}-\mathbf{u}_{C}\|_F^2+\frac{\mu}{2}\sum_{p\in\Omega}(1-c_p)^2\|\mathbf{u}_{\mathrm{ER}}(p)\|_2^2 \le\frac{\mu}{2}\sum_{p\in\Omega}(1-c_p)^2\|\mathbf{u}_{C}(p)\|_2^2. \tag*{(28)}

Both uER\mathbf{u}_{\mathrm{ER}} and uC\mathbf{u}_{C} have total energy ECE_C. Dividing (28) by μEC/2\mu E_C/2 and using (25) gives

M(uER;c)+∥uER−uC∥F2μEC≤M(uC;c),(29)\mathcal{M}(\mathbf{u}_{\mathrm{ER}};\mathbf{c})+\frac{\|\mathbf{u}_{\mathrm{ER}}-\mathbf{u}_{C}\|_F^2}{\mu E_C}\le\mathcal{M}(\mathbf{u}_{C};\mathbf{c}), \tag*{(29)}

which establishes the first inequality in (26). The second follows because the additional term in (29) is nonnegative.

Proposition A.2 (Bounds on the Dual Root). Let η⋆\eta^\star be the optimal dual root, and let πp=∥uC(p)∥22/EC\pi_p=\|\mathbf{u}_C(p)\|_2^2/E_C. The dual root satisfies

−μM(uC;c)≤η⋆≤0.(30)-\mu\mathcal{M}(\mathbf{u}_{C};\mathbf{c})\le\eta^\star\le0. \tag*{(30)}

Proof. For the lower bound, apply Jensen’s inequality to the strictly convex function f(x)=x−2f(x)=x^{-2} on x>0x>0:

1=∑pπp(1+μ(1−cp)2+η⋆)−2≥[∑pπp(1+μ(1−cp)2+η⋆)]−2=(1+μM(uC;c)+η⋆)−2.(31)\begin{aligned} 1=\sum_p\pi_p\left(1+\mu(1-c_p)^2+\eta^\star\right)^{-2} \\ &\ge\left[\sum_p\pi_p\left(1+\mu(1-c_p)^2+\eta^\star\right)\right]^{-2} \\ &=\left(1+\mu\mathcal{M}(\mathbf{u}_{C};\mathbf{c})+\eta^\star\right)^{-2}. \tag*{(31)} \end{aligned}

The argument is positive, so the inequality implies η⋆≥−μM(uC;c)\eta^\star\ge-\mu\mathcal{M}(\mathbf{u}_{C};\mathbf{c}). The upper bound η⋆≤0\eta^\star\le0 follows from the endpoint argument in the proof of Theorem 3.1. These bounds can tighten the bisection interval.

Proposition A.1 concerns the reliability-weighted control energy defined in (25). It does not by itself imply an improvement in decoded image quality or semantic correctness.

Implementation Details, Numerical Diagnostics, and Reproducibility

Algorithmic Flow and Finite-Precision Bisection

For each input image, ER-Chord reuses the two Chord endpoint proxy fields (Rt,Rt−δ)(\mathbf{R}_t,\mathbf{R}_{t-\delta}) to construct the base field uC\mathbf{u}_C. It computes the channel-reduced signal and disagreement maps, forms the consistency scores cpc_p and weights apa_p, solves for the scalar root η⋆\eta^\star, and applies the spatial multipliers before the standard Chord update and post-hoc cleanup. For active samples (EC>εE)(E_C>\varepsilon_E), the normalized dual and energy residuals are rϕ=∣ϕ(η⋆)∣/ECr_\phi=|\phi(\eta^\star)|/E_C and rE=∣∥uER∥F2−EC∣/ECr_E=|\|\mathbf{u}_{\mathrm{ER}}\|_F^2-E_C|/E_C, respectively.

Table 5 reports numerical solver diagnostics across all 700 PIE-Bench examples. The measured residuals meet the stated tolerances, the multipliers remain within the theoretical bounds, and no violations of the reliability-weighted energy inequality are observed.

CertificateMeasured (required)
Active samples (EC>εEE_C > \varepsilon_E)700 of 700
Dual root η\eta (mean; min; max)−0.012-0.012; −0.155-0.155; −0.001-0.001 (within [−0.25,0][-0.25, 0])
Normalized dual residual rφr_\varphi (max)4.1×10−74.1 \times10^{-7} (≤10−6\le10^{-6})
Relative energy residual rEr_E (max)5.3×10−75.3 \times10^{-7}
Normalized KKT residual (max)2.8×10−82.8 \times10^{-8} (≤10−6\le10^{-6})
Multiplier range (min; max)0.801; 1.183 (within [0.8,4/3][0.8, 4/3])
Minimum direction cosine0.99998
Proxy mismatch before M(uC;c)\mathcal{M}(u_C; c)0.0520
Proxy mismatch after M(uER;c)\mathcal{M}(u_{\mathrm{ER}}; c)0.0473
Energy–reliability mismatch bound violations0

Table 5. Solver checks on PIE-Bench (700 examples, seed 42). Residuals, multiplier bounds, direction preservation, and the mismatch inequality are computed on the realized ER-Chord field after dtype conversion.

Experimental Setup and Reproducibility Protocol

All ER-Chord experiments strictly follow the ChordEdit (Lu et al., [20]) protocol: one shared noise sample, t=0.90t = 0.90, δ=0.15\delta= 0.15, update scale λ=1.0\lambda= 1.0, and cleanup time tc=0.30t_c = 0.30. For ER-Chord, we set μ=0.25\mu= 0.25, κ=1.0\kappa= 1.0, εc=10−8\varepsilon_c = 10^{-8}, energy threshold εE=10−12\varepsilon_E = 10^{-12}, and dual tolerance 10−610^{-6}. These hyperparameters remain completely fixed across all PIE-Bench categories, TEdBench, and all three generative backbones (SD-Turbo, SwiftBrush-v2, InstaFlow) without any dataset-specific or backbone-specific tuning. Timing and memory benchmarks are measured on the same GPU and software environment with identical precision, batch size, warm-up, and synchronization; one-time model loading is excluded. Under this protocol, ER-Chord averages 0.37 s/img (identical peak VRAM of 6988 MiB to ChordEdit).

Additional Qualitative Results

Figure 5 and Figure 6 provide additional visual comparisons on PIE-Bench under matched random seeds across representative categories, supplementing Figure 4. In these representative cases, some multi-step inversion methods (DDIM and Direct Inversion with MasaCtrl or PnP) smooth non-target regions or alter fine textures such as smoke plumes and mountain ridges. Some few-step methods (TurboEdit, InfEdit, and InstantEdit) show under-editing or color artifacts. The ER-Chord examples illustrate cleaner target changes with better background preservation. The full pipeline uses one transport update followed by cleanup and takes 0.37 s/img in the reported setup.

Image not extracted

Figure 5. Additional qualitative comparison on PIE-Bench (Part 1). Extended visual comparisons across representative categories under matched random seeds, supplementing Figure 4.

Image not extracted

Figure 6. Additional qualitative comparison on PIE-Bench (Part 2). Extended visual comparisons across representative categories under matched random seeds, supplementing Figure 4. Graphic labels: Multi-steps; Real image; DDIM + MasaCtrl; Direct Inversion + MasaCtrl; DDIM + PnP; Direct Inversion + PnP; FlowEdit; Few-steps; TurboEdit; InfEdit; InstantEdit; SwiftEdit; One-step; ChordEdit (SD-Turbo); ER-Chord (Ours); a stream in a lush forest with rocks → a road in a lush forest with black rocks; sea and house → forest with snow and bus; a man walking in a desolate town with mountains in the background → a man walking in a desolate city with buildings in the background.

Extended Quantitative Results and Notation

Table Table 6 reports extended quantitative results on all 700 PIE-Bench examples across the ten editing categories, supplementing Table 1. Relative to ChordEdit, ER-Chord improves SSIM by 0.96 percentage points and reduces structure distance from 16.58×10−316.58 \times10^{-3} to 15.44×10−315.44 \times10^{-3}; CLIP-Whole and CLIP-Edited also increase. Table 7 summarizes the main notation.

Table 7: Main notation used by ER-Chord.

SymbolMeaning
Rt−δ,Rt\mathbf{R}_{t-\delta}, \mathbf{R}_{t}ChordEdit endpoint proxy fields at two nearby noise times.
uC\mathbf{u}_{\mathrm{C}}Original temporally smoothed Chord control field.
p∈Ωp \in\OmegaLatent spatial position.
sps_pChord signal magnitude ∥uC(p)∥2\lVert\mathbf{u}_{\mathrm{C}}(p)\rVert_2.
dpd_pEndpoint disagreement ∥Rt(p)−Rt−δ(p)∥2\lVert\mathbf{R}_{t}(p) - \mathbf{R}_{t-\delta}(p)\rVert_2.
cpc_pEndpoint-consistency score.
μ,κ\mu, \kappaReliability regularization strength and disagreement sensitivity.
ECE_{\mathrm{C}}Per-image Chord energy ∥uC∥F2\lVert\mathbf{u}_{\mathrm{C}}\rVert_{\mathrm{F}}^2.
η∗\eta^*Dual variable enforcing equal energy.
mpm_pLocal amplitude multiplier (1+μ(1−cp)2+η∗)−1(1 + \mu(1-c_p)^2 + \eta^*)^{-1}.
uER\mathbf{u}_{\mathrm{ER}}Equal-energy redistributed control field.
M(u;c)\mathcal{M}(u;c)Inconsistency-weighted fraction of control energy.

Table 7.

References

  1. [1]Mingdeng Cao, Xintao Wang, Zhongang Qi, Ying Shan, Xiaohu Qie, and Yinqiang Zheng. Masactrl: Tuning-free mutual self-attention control for consistent image synthesis and editing. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 22503–22513. IEEE, 2023.arxiv.org/abs/2304.08465
  2. [2]Guillaume Couairon, Jakob Verbeek, Holger Schwenk, and Matthieu Cord. DiffEdit: Diffusion-based semantic image editing with mask guidance. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.11427
  3. [3]Yasong Dai, Zeeshan Hayder, David Ahmedt-Aristizabal, and Hongdong Li. BiFM: Bidirectional flow matching for few-step image editing and generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 23325–23334, 2026.
  4. [4]Trung Dao, Thuan Hoang Nguyen, Thanh Le, Duc Vu, Khoi Nguyen, Cuong Pham, and Anh Tran. Swiftbrush v2: Make your one-step diffusion model better than its teacher. In European Conference on Computer Vision, pp. 176–192. Springer, 2024.arxiv.org/abs/2408.14176
  5. [5]Gilad Deutch, Rinon Gal, Daniel Garibi, Or Patashnik, and Daniel Cohen-Or. Turboedit: Text-based image editing using few-step diffusion models. In SIGGRAPH Asia 2024 Conference Papers, pp. 1–12, 2024.arxiv.org/abs/2408.00735
  6. [6]Yiming Gong, Zhen Zhu, and Minjia Zhang. Instantedit: Text-guided few-step image editing with piecewise rectified flow. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 16808–16817. IEEE, 2025.arxiv.org/abs/2508.06033
  7. [8]Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-Prompt image editing with cross-attention control. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2208.01626
  8. [9]Ming Hu, Mingyu Dou, Jianfu Yin, Miaomiao Zhang, Cong Hu, Yao Wang, Bingliang Hu, and Quan Wang. Whereedit: Mask-aware local latent editing for one-step image editing. arXiv preprint arXiv:2607.20883, 2026.arxiv.org/abs/2607.20883
  9. [10]Inbar Huberman-Spiegelglas, Vladimir Kulikov, and Tomer Michaeli. An edit friendly ddpm noise space: Inversion and manipulations. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 12469–12478. IEEE, 2024.
  10. [11]Xuan Ju, Jialiang Zeng, Yuxuan Bian, Shaoteng Liu, and Qiang Xu. PnP inversion: Boosting diffusion-based editing with 3 lines of code. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.01506
  11. [12]Bahjat Kawar, Shiran Zada, Oran Lang, Omer Tov, Huiwen Chang, Tali Dekel, Inbar Mosseri, and Michal Irani. Imagic: Text-based real image editing with diffusion models. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6007–6017. IEEE, 2023.arxiv.org/abs/2210.09276
  12. [13]Vladimir Kulikov, Matan Kleiner, Inbar Huberman-Spiegelglas, and Tomer Michaeli. Flowedit: Inversion-free text-based editing using pre-trained flow models. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 19721–19730. IEEE, 2025.arxiv.org/abs/2412.08629
  13. [14]Minghan Li, Jeremy Moebel, and Mengyu Wang. Rethinking one-step image editing through chordedit: Reproduction, simplification, and new insights. arXiv preprint arXiv:2606.14042, 2026.arxiv.org/abs/2606.14042
  14. [15]Shanglin Li, Bohan Zeng, Yutang Feng, Sicheng Gao, Xiuhui Liu, Jiaming Liu, Lin Li, Xu Tang, Yao Hu, Jianzhuang Liu, et al. Zone: Zero-shot instruction-guided local editing. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6254–6263. IEEE, 2024.arxiv.org/abs/2312.16794
  15. [16]Yuanze Lin, Yi-Wen Chen, Yi-Hsuan Tsai, Lu Jiang, and Ming-Hsuan Yang. Text-driven image editing via learnable regions. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7059–7068. IEEE, 2024.arxiv.org/abs/2311.16432
  16. [17]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.02747
  17. [18]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2209.03003
  18. [19]Xingchao Liu, Xiwen Zhang, Jianzhu Ma, Jian Peng, and Qiang Liu. InstaFlow: One step is enough for high-quality diffusion-based text-to-image generation. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2309.06380
  19. [20]Liangsi Lu, Xuhang Chen, Minzhe Guo, Shichu Li, Jingchao Wang, and Yang Shi. ChordEdit: One-step low-energy transport for image editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 14398–14407, 2026.
  20. [21]Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao. Latent consistency models: Synthesizing high-resolution images with few-step inference. arXiv preprint arXiv:2310.04378, 2023.arxiv.org/abs/2310.04378
  21. [22]Chenlin Meng, Yutong He, Yang Song, Jiaming Song, Jiajun Wu, Jun-Yan Zhu, and Stefano Ermon. SDEdit: Guided image synthesis and editing with stochastic differential equations. In International Conference on Learning Representations (ICLR), 2022.arxiv.org/abs/2108.01073
  22. [23]Ron Mokady, Amir Hertz, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Null-text inversion for editing real images using guided diffusion models. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6038–6047. IEEE, 2023.arxiv.org/abs/2211.09794
  23. [24]Sunung Mun, Jinhwan Nam, Sunghyun Cho, and Jungseul Ok. Addressing text embedding leakage in diffusion-based image editing. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 16451–16460. IEEE, 2025.arxiv.org/abs/2412.04715
  24. [25]Trong-Tung Nguyen, Quang Nguyen, Khoi Nguyen, Anh Tran, and Cuong Pham. Swiftedit: Lightning fast text-guided image editing via one-step diffusion. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 21492–21501. IEEE, 2025.arxiv.org/abs/2412.04301
  25. [26]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pp. 8748–8763. PmLR, 2021.arxiv.org/abs/2103.00020
  26. [27]Axel Sauer, Dominik Lorenz, Andreas Blattmann, and Robin Rombach. Adversarial diffusion distillation. In European Conference on Computer Vision, pp. 87–103. Springer, 2024.
  27. [28]Enis Simsar, Alessio Tonioni, Yongxin Yang, Thomas Hofmann, and Federico Tombari. Lime: Localized image editing via attention regularization in diffusion models. In 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 222–231. IEEE, 2025.arxiv.org/abs/2312.09256
  28. [29]Yang Song and Prafulla Dhariwal. Improved techniques for training consistency models. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.14189
  29. [30]Achint Soni, Meet Soni, and Sirisha Rambhatla. Locatedit: Graph laplacian optimized cross attention for localized text-guided image editing. arXiv preprint arXiv:2503.21541, 2025.arxiv.org/abs/2503.21541
  30. [31]Narek Tumanyan, Michal Geyer, Shai Bagon, and Tali Dekel. Plug-and-play diffusion features for text-driven image-to-image translation. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1921–1930. IEEE, 2023.arxiv.org/abs/2211.12572
  31. [32]Bram Wallace, Akash Gokul, and Nikhil Naik. Edict: Exact diffusion inversion via coupled transformations. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 22532–22541. IEEE, 2023.arxiv.org/abs/2211.12446
  32. [33]Pengcheng Xu, Boyuan Jiang, Xiaobin Hu, Donghao Luo, Qingdong He, Jiangning Zhang, Chengjie Wang, Yunsheng Wu, Charles Ling, and Boyu Wang. Unveil inversion and invariance in flow transformer for versatile image editing. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 28479–28489. IEEE, 2025.arxiv.org/abs/2411.15843
  33. [34]Zexuan Yan, Yue Ma, Chang Zhou, Wenting Chen, Qifeng Chen, and Linfeng Zhang. EEdit: Rethinking the spatial and temporal redundancy for efficient image editing. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 17474–17484. IEEE, 2025.arxiv.org/abs/2503.10270
  34. [35]Desong Yang and Mang Ye. DirectEdit: Step-level accurate inversion for flow-based image editing. In International Conference on Machine Learning (ICML), 2026.
  35. [36]Bo Yin, Xiaobin Hu, Xingyu Zhou, Yu He, Peng-Tao Jiang, Yue Liao, Junwei Zhu, Jiangning Zhang, Ying Tai, and Shuicheng Yan. Fera: Frequency-energy constrained routing for effective diffusion adaptation fine-tuning. arXiv preprint arXiv:2511.17979, 2025.arxiv.org/abs/2511.17979
  36. [37]Bo Yin, Xiaobin Hu, Jiaqi Zhao, and Shuicheng Yan. Framemorrow: Future-guided frame selection with prospective tokens for long-horizon video generation. arXiv preprint arXiv:2609.38839, 2026.arxiv.org/abs/2609.38839
  37. [38]Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pp. 586–595. IEEE, 2018.arxiv.org/abs/1801.03924

AI tools statement

This work lists 1 AI tool.

  • generative AI tools · AI tool

    Roles
    Writing — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Pick where to look, or just type