FunEditor: Achieving Complex Image Edits via Function Aggregation with Diffusion Models

Abstract

Diffusion models have demonstrated outstanding performance in generative tasks, making them ideal candidates for image editing. Recent studies highlight their ability to apply desired edits effectively by following textual instructions, yet with two key challenges remaining. First, these models struggle to apply multiple edits simultaneously, resulting in computational inefficiencies due to their reliance on sequential processing. Second, relying on textual prompts to determine the editing region can lead to unintended alterations to the image. We introduce FunEditor, an efficient diffusion model designed to learn atomic editing functions and perform complex edits by aggregating simpler functions. This approach enables complex editing tasks, such as object movement, by aggregating multiple functions and applying them simultaneously to specific areas. Our experiments demonstrate that FunEditor significantly outperforms recent inference-time optimization methods and fine-tuned models, either quantitatively across various metrics or through visual comparisons or both, on complex tasks like object movement and object pasting. In the meantime, with only 4 steps of inference, FunEditor achieves 5--24 times inference speedups over existing popular methods.

Cite

Text

Samadi et al. "FunEditor: Achieving Complex Image Edits via Function Aggregation with Diffusion Models." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I7.32725

Markdown

[Samadi et al. "FunEditor: Achieving Complex Image Edits via Function Aggregation with Diffusion Models." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/samadi2025aaai-funeditor/) doi:10.1609/AAAI.V39I7.32725

BibTeX

@inproceedings{samadi2025aaai-funeditor,
  title     = {{FunEditor: Achieving Complex Image Edits via Function Aggregation with Diffusion Models}},
  author    = {Samadi, Mohammadreza and Han, Fred X. and Salameh, Mohammad and Wu, Hao and Sun, Fengyu and Zhou, Chunhua and Niu, Di},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {6758-6766},
  doi       = {10.1609/AAAI.V39I7.32725},
  url       = {https://mlanthology.org/aaai/2025/samadi2025aaai-funeditor/}
}