Consistent Feature Transport for Image Relighting

Bohan Zhang, Huanwei Liang, Yuhan He, Hongteng Xu, Quxiao Chao, Luoqi Liu, Dixin Luo, Ting LiuarXiv 2026

TL;DR

Consistent Feature Transport (CFT) is a novel training principle that reformulates image relighting as an illumination feature transport problem within a rectified flow framework. By explicitly modeling the trajectory between source and target image distributions using cross-instance pairs, CFT achieves highly consistent lighting modifications while faithfully preserving identity and geometry. The authors also introduce a large-scale, high-quality portrait relighting dataset to address the scarcity of complex lighting data in the field.

What Problem Does This Paper Address?

Image relighting aims to change the illumination of an image (e.g., shifting light direction, color, or intensity) while keeping non-lighting content like facial identity, geometry, and background intact.

While diffusion models have advanced image editing, existing relighting methods fall into a few traps:

  1. Control-based methods rely heavily on explicit, user-provided lighting signals (like environment maps), which are difficult to precisely define for complex scenes.
  2. Decomposition-based methods attempt to split an image into intrinsic components (albedo, shading), but errors in this decomposition step easily propagate and cause artifacts.
  3. Image-to-image translation methods treat relighting as an instance-level mapping. Because they don't explicitly isolate illumination transformations, they often alter the underlying content or fail to capture fine-grained lighting details.

Additionally, the community lacks large-scale, diverse portrait relighting datasets that feature complex, multi-source, or spatially varying illumination.

Methods

CFT is built upon rectified flow, a generative framework that models straight paths between distributions. Instead of just learning how to generate images from random noise, CFT jointly models three pathways:

  1. Noise-to-Target ($\mathcal{L}_1$): Standard generation from Gaussian noise to the target relit image.
  2. Noise-to-Source ($\mathcal{L}_2$): A reconstruction pathway that anchors the model to the source image structure under neutral lighting.
  3. Source-to-Target ($\mathcal{L}_3$): The core innovation. The authors leverage the linearity of rectified flow and the parallelogram law to approximate a direct path from the source latent state to the target latent state without needing explicit inversion.
Fig. 1: Overall framework of the proposed method.

The Cross-Instance Supervision Trick

If you train the source-to-target path ($\mathcal{L}_3$) using the same image pair, the model tends to overfit to instance-specific details, entangling content and style. To force the model to learn pure illumination transport, CFT supervises the direct path using an alternative image pair $(x'_{\text{src}}, x'_{\text{tgt}})$ that undergoes the exact same lighting transformation but features an entirely different person and scene content.

Datasets

To train and evaluate the model under complex lighting scenarios, the authors constructed a large-scale portrait relighting dataset containing 34,695 image pairs (34,249 for training, 446 for testing).

Fig. 3: Overview of the constructed dataset.

The data generation pipeline involves:

  • Base Images: Sourcing diverse, unlit portrait images from open-source datasets.
  • Generation: Using text prompts detailing light direction, configurations (e.g., Rembrandt, Tyndall, Neon), and photometric properties to generate candidate relit images via pre-trained models.
  • Filtering: A rigorous ensemble pipeline using QwenVL, EditScore, and GPT-4o to filter out images based on illumination quality, content consistency, and physical plausibility, followed by manual verification.

The authors also used the real-world Multi-Illumination Dataset to evaluate the model's transfer learning capabilities.

Key Insights and Ideas

  • Decoupling Content from Illumination via Cross-Supervision: The choice to use a different identity's lighting transformation as the ground truth for the feature transport path is the paper's most critical insight. It prevents the model from relying on spurious, content-dependent correlations.
  • Lower Velocity Variance Equals Better Consistency: By analyzing the variance of the predicted source-to-target velocity ($v_t^{\text{direct}}$), the authors found that CFT consistently exhibits the lowest variance compared to baselines. This proves that CFT learns a much more coherent and stable vector field for attribute transformation.
  • Unified Editing Framework: Because CFT focuses on abstract feature transport rather than task-specific physics, it can easily generalize to other image-to-image tasks like style transfer.

Key Results

The authors integrated CFT into two strong diffusion backbones: Flux-Kontext and Qwen-Image-Edit-2509.

  • Quantitative Performance: On the portrait relighting test set, Flux-Kontext with CFT achieved state-of-the-art results across all metrics, notably improving PSNR (23.5105 vs. 22.9192) and lowering FID (18.7338 vs. 20.3817) compared to the baseline without CFT. It also significantly outperformed specialized models like IC-Light.
  • Transfer Learning: When evaluated directly on the unseen Multi-Illumination Dataset without fine-tuning, the CFT-trained model demonstrated superior generalization, proving it learns meaningful, real-world lighting physics.
  • User Study: In a subjective evaluation of Illumination Quality, Content Consistency, Physical Plausibility, and Aesthetics, the CFT models scored the highest across all dimensions.

Limitations and Future Work

While CFT generalizes well to style transfer, the authors noted a slight trade-off: the model's FID scores for style transfer were slightly worse than the baseline. Because style transfer is inherently a one-to-many task (multiple styles can be valid), CFT's highly structured, deterministic transport supervision tends to reduce global distribution diversity in favor of strict structural alignment.

Future work will focus on adapting CFT to a wider variety of image editing scenarios and exploring ways to inject controlled stochasticity to boost output diversity where appropriate.

Summary updated

BibTeX
@misc{zhang2026consistent,
  author = {Bohan Zhang and Huanwei Liang and Yuhan He and Hongteng Xu and Quxiao Chao and Luoqi Liu and Dixin Luo and Ting Liu},
  title = {{Consistent Feature Transport for Image Relighting}},
  year = {2026},
  eprint = {2607.17833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.17833},
}
Figure