Papers › FlexiEdit: Frequency-Aware Latent Refinement for Enhanced Non-Rigid Editing

FlexiEdit: Frequency-Aware Latent Refinement for Enhanced Non-Rigid Editing

25 Jul 2024arXiv:2407.17850archive 2025-07-28

Gwanhyeong Koo, Sunjae Yoon, Ji Woo Hong, Chang D. Yoo

Current image editing methods primarily utilize DDIM Inversion, employing a two-branch diffusion approach to preserve the attributes and layout of the original image. However, these methods encounter challenges with non-rigid edits, which involve altering the image's layout or structure. Our comprehensive analysis reveals that the high-frequency components of DDIM latent, crucial for retaining the original image's key features and layout, significantly contribute to these limitations. Addressing this, we introduce FlexiEdit, which enhances fidelity to input text prompts by refining DDIM latent, by reducing high-frequency components in targeted editing areas. FlexiEdit comprises two key components: (1) Latent Refinement, which modifies DDIM latent to better accommodate layout adjustments, and (2) Edit Fidelity Enhancement via Re-inversion, aimed at ensuring the edits more accurately reflect the input text prompts. Our approach represents notable progress in image editing, particularly in performing complex non-rigid edits, showcasing its enhanced capability through comparative experiments.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.17850")

Code

Syntology Ran 11 of 20 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 10 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kookie12/FlexiEdit officialmentioned on GitHubpytorchApache-2.0 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.

Code Syntology ran Syntology

20 samples harvested; 11 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
10ran
9unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from kookie12/FlexiEdit. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

dilate kookie12/FlexiEdit/flexiedit/_ptp_utils.py official repository ran Apache-2.0 (permissive) · 4f99467fc7580ff1 · report
freq_1d kookie12/FlexiEdit/flexiedit/frequency_utils.py official repository ran fingerprinted Apache-2.0 (permissive) · 158466fd5ab7f865 · report
freq_2d kookie12/FlexiEdit/flexiedit/frequency_utils.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 29233e88580c636b · report
freq_3d kookie12/FlexiEdit/flexiedit/frequency_utils.py official repository ran fingerprinted Apache-2.0 (permissive) · 64614b77d4ec5cec · report
get_word_inds kookie12/FlexiEdit/inference_flexiedit.py official repository ran Apache-2.0 (permissive) · ef18fb78d8588c1d · report
load_image kookie12/FlexiEdit/inference_flexiedit.py official repository ran Apache-2.0 (permissive) · 83dfe7de8ca77508 · report
make_grid kookie12/FlexiEdit/flexiedit/utils.py official repository ran Apache-2.0 (permissive) · 68eb651d672fa27f · report
masked_adain kookie12/FlexiEdit/flexiedit/adain.py official repository ran Apache-2.0 (permissive) · cb4f657896b3cfe3 · report
slerp kookie12/FlexiEdit/flexiedit/_ptp_utils.py official repository ran Apache-2.0 (permissive) · 2eb4b43093b866ae · report
slerp_tensor kookie12/FlexiEdit/flexiedit/_ptp_utils.py official repository ran Apache-2.0 (permissive) · eabfbcd7d2863c2b · report
tensor2numpy kookie12/FlexiEdit/flexiedit/utils.py official repository ran Apache-2.0 (permissive) · 94c181218397b5c3 · report
add_text_to_image kookie12/FlexiEdit/flexiedit/utils.py official repository unverified Apache-2.0 (permissive) · 1af043b99331d6f5 · report
calc_mean_std kookie12/FlexiEdit/flexiedit/adain.py official repository unverified Apache-2.0 (permissive) · 7ee9dfbb0bd00480 · report
calc_mean_std_2d kookie12/FlexiEdit/flexiedit/adain.py official repository unverified Apache-2.0 (permissive) · dcbb6d9b7d233a4e · report
expand_adj_noun_pairs kookie12/FlexiEdit/flexiedit/get_edited_words.py official repository unverified Apache-2.0 (permissive) · 540f946754cd6ce8 · report
get_edited_phrases kookie12/FlexiEdit/flexiedit/get_edited_words.py official repository unverified Apache-2.0 (permissive) · 6e0f6f56c7466627 · report
register_conv_control_efficient kookie12/FlexiEdit/flexiedit/attention_register.py official repository unverified Apache-2.0 (permissive) · e97c3effd6355f80 · report
regiter_attention_editor_diffusers kookie12/FlexiEdit/flexiedit/attention_register.py official repository unverified Apache-2.0 (permissive) · 827413ab1b8cdef0 · report
regiter_attention_editor_ldm kookie12/FlexiEdit/flexiedit/attention_register.py official repository unverified Apache-2.0 (permissive) · 431f768e76ae86fa · report
remove_unnecessary_words kookie12/FlexiEdit/flexiedit/get_edited_words.py official repository unverified Apache-2.0 (permissive) · 24cb77e71d1f327e · report

Tasks

Text-based Image Editing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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