# TopoRefine: Topology-Aware Correspondence and Residual Refinement for Training-Free Subject-Consistent Generation

*Zhanxin Gao, Zexin Ti, Chen Zhao, Beier Zhu, Xiantao Hu, Yanhao Ge, Jian Yang, Ying Tai*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152981) · [Open on the map](../papers.html#p152981)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Video Editing and Generation](../pgroup/580.md) · Type: new method · Keywords: subject-consistent generation, training-free image generation, topology-aware correspondence, residual refinement, identity transfer

Areas: [Computer Vision & 3D](../areas/computer-vision.md) › Visual Diffusion and Restoration › Diffusion Models

## Summary
TopoRefine introduces a training-free framework that uses topology-aware correspondence and residual refinement to improve subject consistency while preserving target structure.

## Explained to a 5-year-old
We want to draw pictures that keep a person's face the same even when the picture changes. Existing methods sometimes copy the face onto the wrong part of the new picture. TopoRefine looks at the shape of the face and matches it carefully. It then adds the face gently, like a small sticker, so the picture stays correct. This makes the face stay the same while the rest of the picture looks natural.

## Explained to a 5-year-old, longer
When we ask a computer to draw a picture of something, we often want a specific person to stay the same in every picture. For example, we might want the same cat to appear in different scenes without changing its shape. Some computer programs try to copy the person's face from one picture to another. They sometimes put the face in the wrong place, like on a tree instead of on a person. This happens because they only look at how the face looks, not how it fits into the new picture. The new method called TopoRefine looks at the shape and connections inside the face. It makes sure the face is matched only to places that fit the new picture's structure. Then it adds the face as a small extra layer, like a thin overlay, so it doesn't change the rest of the picture. This careful matching prevents the face from being copied onto unrelated parts. The gentle addition keeps the original picture's details, like clothing or background, intact. As a result, the person stays the same across many pictures, and the scenes look natural. This helps create more realistic and consistent images without needing to train the computer on lots of new data.

## For a technical reader
The paper introduces TopoRefine, a training-free framework that enhances subject consistency in text-to-image generation. It consists of a topology-aware correspondence module that aligns identity using subject-internal geodesic relations, and a residual refinement module that injects the reference identity as a foreground-gated, magnitude-aligned residual to preserve the target structure. By regularizing semantic matching with geometric constraints and adding identity as a subtle residual, the method reduces identity leakage to incompatible regions and avoids distortion of the generated scene. Quantitative and qualitative evaluations demonstrate that TopoRefine outperforms existing training-free approaches in consistency and structural fidelity. The solution requires no additional training, making it easy to integrate into existing pipelines.

## Problem
Subject-consistent generation aims to preserve identity across diverse contexts, but existing training-free methods can transfer identity to structurally incompatible regions and may distort the emerging target structure.

## Method
The approach regularizes semantic matching with subject-internal geodesic relations to ensure structurally compatible identity transfer, and injects reference identity as a foreground-gated, magnitude-aligned residual to preserve the emerging target structure.

## Results
The approach demonstrates improved subject consistency and better preservation of target-driven structure compared to prior methods.

## Contributions
It introduces topology-aware subject correspondence and residual identity refinement for training-free subject-consistent generation, addressing identity leakage and structural distortion.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152981)
