Proceedings

EKFEdit: Extended Kalman Filter for Training-Free Flow-Based Image Editing

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2181-2189.

https://doi.org/10.24963/ijcai.2026/243

Abstract

Despite recent advances in training-free text-guided image editing using pretrained rectified flow models, achieving a balance between text adherence and background preservation remains a challenge. Existing methods typically treat image editing as an open-loop trajectory generation task, adopting either an inversion-based or inversion-free paradigm. However, neither can perfectly achieve this goal. Specifically, inversion-based approaches accumulate inversion errors without feedback, whereas inversion-free methods exhibit unstable trajectories due to the lack of constraints. To address this, we propose EKFEdit, a novel framework that formulates image editing as a sequential state estimation problem in a nonlinear dynamic system, which models inversion-free editing trajectories as the system’s prior dynamics and leverages an Extended Kalman Filter to adaptively fuse observations from external editing algorithms. EKFEdit enables adaptive trajectory correction, effectively combining the complementary strengths of the different paradigms. We instantiate this framework into two concrete approaches (EKFEdit-RF and EKFEdit-DNA) via different observation methods, respectively. Extensive experiments demonstrate that our approaches achieve new state-of-the-art performance compared to previous methods.

Code is available at https://github.com/baiyeweiguang/EKFEdit.

  1. [Albergo and Vanden-Eijnden, 2022] Michael S Albergo and Eric Vanden-Eijnden. Building normalizing flows with stochastic interpolants. arXiv preprint arXiv:2209.15571, 2022.
  2. [Avrahami et al., 2025] Omri Avrahami, Or Patashnik, Ohad Fried, Egor Nemchinov, Kfir Aberman, Dani Lischin- ski, and Daniel Cohen-Or. Stable flow: Vital layers for training-free image editing. In Proceedings of the Com- puter Vision and Pattern Recognition Conference, pages 7877-7888, 2025.
  3. [Berner et al., 2022] Julius Berner, Lorenz Richter, and Karen Ullrich. An optimal control perspective on diffusion-based generative modeling. arXiv preprint arXiv:2211.01364, 2022.
  4. [Chi et al., 2025] Haozhe Chi, Zhicheng Sun, Yang Jin, Yi Ma, Jing Wang, and Yadong Mu. Enhancing consis- tency of flow-based image editing through kalman control. In The Thirty-ninth Annual Conference on Neural Infor- mation Processing Systems, 2025.
  5. [Deng et al., 2024] Yingying Deng, Xiangyu He, Chang- wang Mei, Peisong Wang, and Fan Tang. Fireflow: Fast in- version of rectified flow for image semantic editing. arXiv preprint arXiv:2412.07517, 2024.
  6. [Esser et al., 2024] Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boe- sel, et al. Scaling rectified flow transformers for high- resolution image synthesis. In Forty-first international conference on machine learning, 2024.
  7. [Gonzalez, 2009] Rafael C Gonzalez. Digital image process- ing. Pearson education india, 2009.
  8. [Ho and Salimans, 2022] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
  9. [Ho et al., 2020] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840-6851, 2020.
  10. [Ju et al., 2023] Xuan Ju, Ailing Zeng, Yuxuan Bian, Shaoteng Liu, and Qiang Xu. Direct inversion: Boosting diffusion-based editing with 3 lines of code. arXiv preprint arXiv:2310.01506, 2023.
  11. [Kamb and Ganguli, 2025] Mason Kamb and Surya Gan- guli. An analytic theory of creativity in convolutional dif- fusion models. In International Conference on Machine Learning, pages 28795-28831. PMLR, 2025.
  12. [Kim et al., 2025] Jeongsol Kim, Yeobin Hong, Jonghyun Park, and Jong Chul Ye. Flowalign: Trajectory- regularized, inversion-free flow-based image editing. arXiv preprint arXiv:2505.23145, 2025.
  13. [Koo et al., 2024] Juil Koo, Chanho Park, and Minhyuk Sung. Posterior distillation sampling. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, pages 13352-13361, 2024.
  14. [Kulikov et al., 2025] Vladimir Kulikov, Matan Kleiner, Inbar Huberman-Spiegelglas, and Tomer Michaeli. Flowedit: Inversion-free text-based editing using pre- trained flow models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 19721-19730, 2025.
  15. [Labs, 2024] Black Forest Labs. Flux. https://github.com/ black-forest-labs/flux, 2024. Accessed: 2025-12-22. Link
  16. [Lipman et al., 2022] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.
  17. [Liu et al., 2022] Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022.
  18. [Lukoianov et al., 2025] Artem Lukoianov, Chenyang Yuan, Justin Solomon, and Vincent Sitzmann. Locality in im- age diffusion models emerges from data statistics. In The Thirty-ninth Annual Conference on Neural Informa- tion Processing Systems, 2025.
  19. [Mao et al., 2025] Jianda Mao, Kaibo Wang, Yang Xiang, and Kani Chen. Tweezeedit: Consistent and efficient image editing with path regularization. arXiv preprint arXiv:2508.10498, 2025.
  20. [Rombach et al., 2022] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684-10695, 2022.
  21. [Rout et al., 2024a] Litu Rout, Yujia Chen, Nataniel Ruiz, Constantine Caramanis, Sanjay Shakkottai, and Wen- Sheng Chu. Semantic image inversion and editing using rectified stochastic differential equations. arXiv preprint arXiv:2410.10792, 2024.
  22. [Rout et al., 2024b] Litu Rout, Yujia Chen, Nataniel Ruiz, Abhishek Kumar, Constantine Caramanis, San- jay Shakkottai, and Wen-Sheng Chu. Rb-modulation: Training-free personalization of diffusion models using stochastic optimal control. arXiv preprint arXiv:2405.17401, 2024.
  23. [Stability AI, 2024] Stability AI. Stable diffusion 3.5 medium. https://huggingface.co/stabilityai/ stable-diffusion-3.5-medium, 2024. Accessed: 2025-12- 22. Link
  24. [Wang et al., 2004] Zhou Wang, Alan C Bovik, Hamid R Sheikh, and Eero P Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE transac- tions on image processing, 13(4):600-612, 2004.
  25. [Wang et al., 2024] Jiangshan Wang, Junfu Pu, Zhongang Qi, Jiayi Guo, Yue Ma, Nisha Huang, Yuxin Chen, Xiu Li, and Ying Shan. Taming rectified flow for inversion and editing. arXiv preprint arXiv:2411.04746, 2024.
  26. [Wu et al., 2021] Chenfei Wu, Lun Huang, Qianxi Zhang, Binyang Li, Lei Ji, Fan Yang, Guillermo Sapiro, and Nan Duan. Godiva: Generating open-domain videos from nat- ural descriptions. arXiv preprint arXiv:2104.14806, 2021.
  27. [Xie et al., 2025] Chenxi Xie, Minghan Li, Shuai Li, Yuhui Wu, Qiaosi Yi, and Lei Zhang. Dnaedit: Direct noise alignment for text-guided rectified flow editing. arXiv preprint arXiv:2506.01430, 2025.
  28. [Xu et al., 2024] Yu Xu, Fan Tang, Juan Cao, Yuxin Zhang, Xiaoyu Kong, Jintao Li, Oliver Deussen, and Tong-Yee Lee. Headrouter: A training-free image editing framework for mm-dits by adaptively routing attention heads. arXiv preprint arXiv:2411.15034, 2024.
  29. [Xu et al., 2025] Pengcheng Xu, Boyuan Jiang, Xiaobin Hu, Donghao Luo, Qingdong He, Jiangning Zhang, Chengjie Wang, Yunsheng Wu, Charles Ling, and Boyu Wang. Un- veil inversion and invariance in flow transformer for versa- tile image editing. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 28479-28489, 2025.
  30. [Yan et al., 2025] Zexuan Yan, Yue Ma, Chang Zou, Wen- teng Chen, Qifeng Chen, and Linfeng Zhang. Eedit: Re- thinking the spatial and temporal redundancy for efficient image editing. arXiv preprint arXiv:2503.10270, 2025.
  31. [Yoon et al., 2025] Sung-Hoon Yoon, Minghan Li, Gaspard Beaudouin, Congcong Wen, Muhammad Rafay Azhar, and Mengyu Wang. Splitflow: Flow decomposition for inversion-free text-to-image editing. arXiv preprint arXiv:2510.25970, 2025.
  32. [Zhang et al., 2018] Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 586-595, 2018.
  33. [Zhou et al., 2025] Zijun Zhou, Yingying Deng, Xiangyu He, Weiming Dong, and Fan Tang. Multi-turn consistent image editing. arXiv preprint arXiv:2505.04320, 2025.
  34. [Zhu et al., 2025a] Kaizhen Zhu, Mokai Pan, Yuexin Ma, Yanwei Fu, Jingyi Yu, Jingya Wang, and Ye Shi. Unidb: A unified diffusion bridge framework via stochastic optimal control. arXiv preprint arXiv:2502.05749, 2025.
  35. [Zhu et al., 2025b] Tianrui Zhu, Shiyi Zhang, Jiawei Shao, and Yansong Tang. Kv-edit: Training-free image edit- ing for precise background preservation. arXiv preprint arXiv:2502.17363, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards