CARE-Edit: Condition-Aware Routing of Experts for Contextual Image Editing

Yucheng Wang, Zedong Wang, Yuetong Wu, Yue Ma, Dan Xu
3/9/2026
cs.CV

No official code found. Best implementation: CARE-Edit/Code (34 stars, last commit 2026-03-10).

Abstract

Unified diffusion editors often rely on a fixed, shared backbone for diverse tasks, suffering from task interference and poor adaptation to heterogeneous demands (e.g., local vs global, semantic vs photometric). In particular, prevalent ControlNet and OmniControl variants combine multiple conditioning signals (e.g., text, mask, reference) via static concatenation or additive adapters which cannot dynamically prioritize or suppress conflicting modalities, thus resulting in artifacts like color bleeding across mask boundaries, identity or style drift, and unpredictable behavior under multi-condition inputs. To address this, we propose Condition-Aware Routing of Experts (CARE-Edit) that aligns model computation with specific editing competencies. At its core, a lightweight latent-attention router assigns encoded diffusion tokens to four specialized experts--Text, Mask, Reference, and Base--based on multi-modal conditions and diffusion timesteps: (i) a Mask Repaint module first refines coarse user-defined masks for precise spatial guidance; (ii) the router applies sparse top-K selection to dynamically allocate computation to the most relevant experts; (iii) a Latent Mixture module subsequently fuses expert outputs, coherently integrating semantic, spatial, and stylistic information to the base images. Experiments validate CARE-Edit's strong performance on contextual editing tasks, including erasure, replacement, text-driven edits, and style transfer. Empirical analysis further reveals task-specific behavior of specialized experts, showcasing the importance of dynamic, condition-aware processing to mitigate multi-condition conflicts.

View on arXivView PDF

Code Implementations(1)

CARE-Edit/CodeCommunity71%

[CVPR 2026] A unified editor with four heterogeneous experts via condition-aware router. This repo is the official code for "CARE-Edit: Condition-Aware Routing of Experts for Contextual Image Editing"

341Mar 9, 20267 months ago

Similar Papers

Cite this paper

@article{wang2026careedit,
  title  = {CARE-Edit: Condition-Aware Routing of Experts for Contextual Image Editing},
  author = {Yucheng Wang and Zedong Wang and Yuetong Wu and Yue Ma and Dan Xu},
  year   = {2026},
  eprint = {2603.08589},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.08589v1}
}

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

Discussion