← Latest papers
💻 computer science

Consistent Feature Transport for Image Relighting

This paper introduces Consistent Feature Transport (CFT), a training principle built on rectified flow that reformulates image relighting as an illumination feature transport problem to explicitly enforce consistent feature transformation between source and target images, thereby achieving superior illumination control and content preservation compared to existing diffusion-based methods.

Original authors: Bohan Zhang, Huanwei Liang, Yuhan He, Hongteng Xu, Quxiao Chao, Luoqi Liu, Dixin Luo, Ting Liu

Published 2026-07-21
📖 4 min read☕ Coffee break read

Original authors: Bohan Zhang, Huanwei Liang, Yuhan He, Hongteng Xu, Quxiao Chao, Luoqi Liu, Dixin Luo, Ting Liu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a digital artist with a magic wand that can change the lighting in any photo. You want to turn a gloomy, rainy street scene into a sunny, golden-hour masterpiece, or shift a portrait from a harsh office fluorescent to a soft, romantic sunset glow. But here's the catch: you don't want to change the person's face, their clothes, or the shape of the buildings. You only want to move the light. This is the challenge of "image relighting." In the world of computer science, specifically in a field called generative AI, researchers use "diffusion models"—think of them as incredibly smart artists who learn to paint by starting with a messy cloud of static noise and slowly refining it into a clear picture. While these AI artists are amazing, they sometimes struggle when asked to just change the light. They might accidentally change the person's hair color, warp their face, or make the shadows look like they belong to a different planet. The big question is: how do we teach the AI to move the light around without messing up everything else?

This paper introduces a new trick called Consistent Feature Transport (CFT) to solve that exact problem. The authors, a team from Beijing Institute of Technology, Meitu Inc., and Renmin University of China, realized that previous methods were trying to guess how to change the light, often leading to inconsistent or messy results. Instead, they decided to teach the AI a specific "dance" between the original photo and the new, relit photo. They formulated relighting not just as painting over an image, but as a precise "feature transport" problem. Imagine you have two identical clay sculptures, but one is lit by a red lamp and the other by a blue lamp. The goal is to teach the AI how to slide the "red light" features from the first sculpture to the second without squishing the clay itself.

To do this, the researchers built a massive new dataset of 34,695 portrait image pairs, featuring everything from neon city lights to soft morning sun, specifically designed to be tricky and diverse. They then trained their AI using a special three-part rulebook. First, they taught it how to generate images from noise (the standard way). Second, they made sure it could perfectly reconstruct the original image (so it doesn't forget what the person looks like). But the secret sauce is the third rule: they forced the AI to learn the "transport" between two different photos that share the same lighting change but feature different people. It's like showing the AI a photo of a person in a red light, then a photo of a different person in the same red light, and saying, "Figure out how the light moved from the first person to the second, and apply that exact same move to this new photo." By doing this, the AI learns that "moving the light" is a specific, consistent action, separate from "changing the face."

The results are quite promising. When they tested their new method against other top-tier AI tools, their approach consistently produced better results. In the numbers, their best model achieved a Structural Similarity Index (SSIM) of 0.9202 and a Peak Signal-to-Noise Ratio (PSNR) of 23.5105, which are higher scores than most competitors, meaning the faces stayed truer to the original and the lighting looked more realistic. They also found that this trick wasn't just for lighting; when they tried it on "style transfer" (changing a photo to look like a painting), it worked there too, suggesting this "feature transport" idea is a powerful tool for many types of image editing. The authors suggest that by explicitly teaching the AI how to move specific features (like light) while holding others (like identity) steady, we can make digital editing much more reliable and less prone to weird glitches.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →