LOCI: Localized Continuous Control for Multi-Subject Image Editing
Organizations: Meta AI
Abstract
Recent instruction-following image editors such as Flux.1-Kontext enable text-driven editing but lack fine-grained control over where and how much an edit is applied. Existing approaches provide either continuous but global control or spatially localized editing at a fixed strength. To our knowledge, none jointly supports explicit spatial localization, continuous per-region strength, and independent simultaneous control of multiple subjects. We present LOCI (LOcalized Continuous control for multi- subject Image editing). Given a multi-subject image with per-subject regions and instructions, LOCI edits each subject at an independently chosen, continuously adjustable strength, for instance gradually aging one person while adding a beard to another with minimal cross-region leakage. LOCI pairs subject-level attention binding for spatial isolation with a Regional LoRA layer that replaces the LoRA's scalar coefficient with a per-token scaling vector aligned to the spatial layout. A single adapter is trained at one suppression point, and continuous edit strengths follow by rescaling its regional residual at inference. Experiments on multi-subject scenes demonstrate that LOCI achieves strong edit fidelity with significantly reduced cross-region interference compared to baselines, while maintaining continuous control over edit strength
Figures & tables
| Extrapolation | Direction corr. | Mean range | Disentanglement | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protocol | Method | CLIP | SigLIP | CLIP | SigLIP | CLIP | SigLIP | LPIPS-Alex | LPIPS-VGG | DINOv2 | Identity |
| A | (1) SliderEdit | 0.2431 | 0.1114 | 0.0575 | 0.0470 | 0.3315 | 0.3826 | 0.1612 | 0.3640 | ||
| A | (2) SliderEdit IDAttn | 0.2500 | 0.1187 | 0.0726 | 0.0587 | 0.1508 | 0.2010 | 0.0609 | 0.2598 | ||
| A | (4) Regional LoRA without IDAttn | 0.2445 | 0.1133 | 0.0761 | 0.0625 | 0.3085 | 0.3581 | 0.1700 | 0.3406 | ||
| A | (5) LOCI (ours) | 0.2527 | 0.1207 | 0.0894 | 0.0721 | 0.1467 | 0.1979 | 0.0550 | 0.2548 | ||
| B | (1) SliderEdit | 0.2426 | 0.1121 | 0.0589 | 0.0488 | 0.3346 | 0.3875 | 0.1471 | 0.3502 | ||
| Protocol C: joint editing | Protocol D: two-dimensional control | ||||
|---|---|---|---|---|---|
| Method | Regional success | Worst-region CLIP | Intended response | Semantic cross-talk | LPIPS cross-talk |
| (1) SliderEdit | 0.8231 | 0.0045 | 0.0307 | 0.6456 | 0.6597 |
| (2) SliderEdit IDAttn | 0.8773 | 0.0122 | 0.0353 | 0.2776 | 0.1909 |
| (3) IDAttn only | 0.9153 | 0.0282 | not slider-capable | ||
| (4) Regional LoRA without IDAttn | 0.7577 | 0.0393 | 0.7146 | 0.9599 | |
| (5) LOCI (ours) | 0.9099 | 0.0251 | 0.0458 | 0.2211 | 0.1860 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Image Editing
Image editing changes selected visual content while preserving the parts of an image that should remain unchanged.
See all 313 papers