UniLumos: Fast and Unified Image and Video Relighting with Physics-Plausible Feedback

Pengwei Liu, Hangjie Yuan, Bo Dong, Jiazheng Xing, Jinwang Wang, Rui Zhao, Weihua Chen, Fan Wang

Introduction & Summary

UniLumos is a unified framework that achieves state-of-the-art image and video relighting by integrating physics-plausible geometry feedback into a fast flow-matching backbone. By leveraging path consistency learning and a novel structured annotation protocol, it delivers physically consistent lighting effects—such as accurately aligned shadows and highlights—while providing a massive 20x speedup over existing diffusion-based methods.

UniLumos demonstrates versatile text-conditioned image relighting and background-conditioned video relighting, accurately matching lighting to complex prompts and dynamic environments.

The Challenge of Realistic Relighting

Relighting—the process of changing the illumination of a scene while preserving its geometry and texture—is a cornerstone of visual effects, gaming, and augmented reality. While recent diffusion models have shown great promise in generating diverse lighting effects, they suffer from a fundamental flaw: they primarily operate in a semantic latent space.

In this latent space, "closeness" between data points does not necessarily translate to physical correctness in the visual world. Consequently, current models often produce "hallucinated" lighting: shadows that fail to match the object's shape, overexposed highlights, or flickering light in videos. Furthermore, high-quality diffusion-based relighting is notoriously slow, often requiring hundreds of denoising steps that make real-time or interactive applications impossible.

Technical Approach: UniLumos

The authors introduce three key technical innovations to bridge the gap between generative flexibility and physical realism:

  1. Physics-Plausible Feedback: Unlike models that only evaluate pixels, UniLumos incorporates a feedback loop during training. It extracts depth and surface normal maps from its own RGB outputs using a frozen dense estimator (Lotus). By penalizing the model when its lighting doesn't align with these geometric "anchors," the framework forces the AI to respect the underlying scene structure.
  2. Path Consistency Learning: Geometry feedback requires high-quality RGB images to be effective, which is computationally expensive in standard multi-step diffusion. To solve this, the authors use path consistency learning. This allows the model to map noise to a clean image in just a few steps (1–5 steps) without losing the ability to receive high-quality geometric supervision.
  3. Unified Flow-Matching Backbone: Built on the Wan2.1 video generation foundation, the model uses a flow-matching objective, which is generally more efficient and stable for modeling complex transitions than traditional epsilon-prediction diffusion.

Data and Evaluation Ecosystem

To train and rigorously test UniLumos, the researchers developed a comprehensive data and evaluation ecosystem:

  • LumosData: A scalable pipeline that curated approximately 110K high-quality video pairs and 1.2M relit images. It uses real-world videos (from Panda70M), isolates subjects, and generates synthetic "ground truth" lighting variations to train the model.
  • LumosBench: A new, disentangled benchmark consisting of 2,000 test prompts. Unlike generic metrics (like FID), LumosBench uses Large Vision-Language Models (specifically Qwen2.5-VL) to automatically evaluate six specific lighting dimensions: direction, source type, intensity, color temperature, temporal dynamics, and optical phenomena.
  • Generalization Sets: The model was also tested on the StanfordOrb and Navi datasets to ensure it generalizes to diverse objects and sculptures outside its primary training distribution.

Key Insights

  • Geometry as a "Lighting-Invariant" Anchor: The most powerful idea in UniLumos is that while lighting changes, the geometry (depth/normals) of a static scene does not. By using geometry as a supervision signal, the authors created a "physical conscience" for the generative model.
  • The Efficiency-Supervision Tradeoff: Usually, adding complex visual supervision significantly slows down training. By combining this with consistency models, the authors proved it is possible to achieve both "smart" supervision and "fast" inference.
  • VLM-based Evaluation: Moving away from purely pixel-level math (like PSNR) toward semantic understanding—using VLMs to ask, "Is the light actually coming from the left?"—represents a vital shift toward more human-centric and interpretable AI evaluation.

Experimental Results

UniLumos sets a new standard for both speed and quality in the relighting domain:

  • Massive Speedup: UniLumos generates a 49-frame, 480p video in just 12 seconds, compared to 277 seconds for IC-Light and over 900 seconds for other state-of-the-art baselines. This represents a 76x improvement over some competitors and a 20x average speedup across the board.
  • Superior Quality: It achieved the highest scores in visual fidelity (PSNR/SSIM) and temporal consistency (R-Motion) across both image and video tasks.
  • Physical Accuracy: In quantitative tests of "Dense L2 Error" (measuring how well light matches geometry), UniLumos significantly outperformed all baselines, proving the efficacy of its physics-plausible feedback mechanism.

Limitations and Future Directions

While UniLumos is a significant leap forward, the authors note a few remaining hurdles:

  • Quantifiable Output: The model produces visually "plausible" light but not strictly "quantifiable" light. It cannot yet output specific physical units like radiance or lux.
  • Complex Interactions: Future work is needed to better handle intricate optical effects like environmental reflections (e.g., a chrome ball reflecting a room) and complex intensity ramps.
  • Fine-grained Control: The authors suggest exploring "editable key lights," which would allow users to manually place and move specific light sources within the generated scene for ultimate creative control.

Summary updated

BibTeX
@inproceedings{liu2025unilumos,
  author = {Pengwei Liu and Hangjie Yuan and Bo Dong and Jiazheng Xing and Jinwang Wang and Rui Zhao and Weihua Chen and Fan Wang},
  title = {{UniLumos: Fast and Unified Image and Video Relighting with Physics-Plausible Feedback}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=e9B2NPQanB},
}
Figure