Multi-Layer Diffusion Strategy for Multi-IP Interaction-Aware Human Erasing

Jinghan Yu, Junhao Xiao, Zhiyuan Ma, Yue Ma, Kaiqi Liu, Yuhan Wang, Daizong Liu, Xianghao Meng, Jianjun LiOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

The MILD (Multi-Layer Diffusion) strategy tackles the "ghosting" artifacts common in human erasing by decomposing the image generation process into independent, instance-level denoising pathways. By combining a new theoretical metric for semantic leakage with human morphology priors, MILD achieves state-of-the-art results in complex scenes involving heavy occlusion and interaction.

What Problem Does This Paper Address?

Image inpainting—specifically erasing people from photos—often fails in "Multi-IP" (Multi-Interactive-Person) scenarios. If you try to remove one person standing in a crowd or hugging someone else, existing models like SDXL Inpaint or LaMa often suffer from semantic leakage. This is when the model "remembers" the erased person and hallucinates a blurry, human-like figure or messy artifacts in the empty space.

The authors identify two main culprits:

  1. Lack of Data: Most datasets don't focus on complex, multi-instance human interactions.
  2. Entangled Generation: Current models treat the entire masked area as a single entity, failing to decouple the foreground instances from each other and the background.

Methods

MILD introduces a multi-branch architecture that treats image restoration as a layered composition task rather than a single-pass fill.

  • Multi-Layer Backbone: Instead of one generation path, MILD uses a shared UNet backbone with domain-specific LoRA (Low-Rank Adaptation) adapters. It creates $N$ foreground branches (one for each person) and one background branch. This allows the model to reconstruct the background independently of the people being removed.
  • Human Morphology Guidance (HMG): To ensure the remaining people look structurally sound, MILD injects pose keypoints and semantic parsing maps as priors. This "plug-and-play" module helps the model understand body coherence even under heavy occlusion.
  • Spatially-Modulated Attention (SMA): This is a lightweight module that adds learnable biases to the self-attention mechanism. It forces the model to respect mask boundaries, effectively "gating" the flow of information to prevent background pixels from attending to foreground features that are supposed to be gone.
  • Cross-Domain Attention Gap (CAG): The authors propose this new metric to mathematically quantify semantic leakage by measuring the discrepancy in attention flow between foreground and background regions.

Datasets

  • MILD Dataset (New): A curated dataset of 10,000 high-quality image pairs featuring complex human interactions, diverse poses, and challenging occlusions. It includes pixel-level, instance-specific masks and ground-truth background completions.
  • OpenImages V5: Used to evaluate how well the model generalizes to non-human objects (animals, furniture, etc.).

Key Insights and Ideas

  • The Power of Decoupling: The core "aha moment" is that semantic leakage isn't just a training issue; it's an architectural one. By separating the generation into layers, the authors prove (via Theorem 1) that they can exponentially reduce the coupling between foreground and background, leading to cleaner erasures.
  • Attention as a Leak: The paper treats attention maps as the primary vector for "leakage." By widening the Cross-Domain Attention Gap (CAG), they show that you can mathematically bound the amount of information that "bleeds" across a mask.
  • Compositional Flexibility: Because MILD generates independent layers, it offers a secondary benefit: users can selectively recompose the scene (e.g., "Keep Person A, remove Person B, and change the background").

Key Results

MILD significantly outperforms existing state-of-the-art (SOTA) methods across both human-centric and general object removal tasks:

  • Quantitative: On the MILD dataset, it reduced the FID (Fréchet Inception Distance)—a measure of visual realism—by 54.53% compared to the SDXL Inpainting baseline. It also showed significant gains in LPIPS (perceptual similarity) and PSNR (pixel-level fidelity).
  • Qualitative: MILD produces artifact-free results in scenarios where other models leave "ghost" limbs or blurry textures.
  • Efficiency: Despite the multi-branch approach, MILD remains efficient. It clocks in at 1.91s per image, significantly faster than other high-quality models like PowerPaint (6.21s), thanks to its shared backbone and lightweight LoRAs.

Limitations and Future Work

  • Extreme Occlusion: When the area to be erased is massive (covering most of the image), MILD still struggles to "hallucinate" fine background details because there isn't enough surrounding context to draw from.
  • Conservative Restoration: In some cases, the model is "too safe," producing a coherent background that might not fully reflect the complex underlying logic of the original scene.
  • Future Directions: The authors suggest scaling this layered approach to video inpainting and even more complex, open-domain object removal tasks.

Summary updated

BibTeX
@misc{yu2026multi,
  author = {Jinghan Yu and Junhao Xiao and Zhiyuan Ma and Yue Ma and Kaiqi Liu and Yuhan Wang and Daizong Liu and Xianghao Meng and Jianjun Li},
  title = {{Multi-Layer Diffusion Strategy for Multi-IP Interaction-Aware Human Erasing}},
  year = {2026},
  url = {https://openreview.net/forum?id=zv91fpVOGc},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure