TL;DR
CleAR is a novel generative lighting estimation system designed to bring realistic, visually coherent lighting to mobile Augmented Reality (AR). By decoupling the complex task of 360° HDR environment map generation into two simpler Low Dynamic Range (LDR) steps and introducing a lightweight on-device refinement loop, CleAR achieves state-of-the-art rendering accuracy while running over 110× faster than existing diffusion-based baselines.
What Problem Does This Paper Address?
For virtual objects to blend seamlessly into a physical environment during a mobile AR session, the system must accurately estimate the surrounding environmental lighting. Traditional mobile AR frameworks rely on autoregressive models that only capture low-frequency lighting, resulting in blurry reflections that lack realistic high-frequency details like sharp shadows or distinct light sources.
While recent advances in generative AI and diffusion models can synthesize these intricate details, adapting them to mobile AR introduces two major hurdles:
- High Latency: Diffusion models are notoriously slow and computationally heavy, making them incompatible with the real-time constraints of mobile devices.
- Data Scarcity and Bias: High-quality 360° HDR datasets are scarce, causing generative models to overfit to dominant lighting conditions and fail in extreme or unusual environments.
Methods
CleAR overcomes these challenges using an edge-device collaborative architecture and a context-guided, two-step generative pipeline.
1. Context-Guided Two-Step Generation (Edge Server)
Instead of generating a 360° HDR map in a single complex step, CleAR breaks the task down into two LDR-domain tasks, allowing it to leverage powerful pre-trained models like Stable Diffusion:
- LDR Environment Map Completion: CleAR takes a limited-view camera image and uses ControlNet to fill in the missing 360° view. This process is guided by multimodal AR context, including scene semantic maps and ambient light sensor data (converted into natural language prompts describing the room's brightness and color temperature).
- High-Intensity Map Estimation: To restore the high dynamic range necessary for realistic highlights, a second model predicts the locations and values of bright light sources, transforming the completed LDR map into a full HDR environment map.
2. Real-Time Estimation Refinement (Mobile Client)
To bypass the latency of running the diffusion pipeline on every frame, CleAR offloads the heavy generation to an edge server, which returns multiple completion variants. The mobile device then runs two lightweight algorithms locally:
- Color Appearance Adaptation: It applies a color refinement matrix to match the generated maps to the real-time camera feed, smoothing out edge artifacts with a median blur filter.
- Estimation Output Selection: It uses K-means clustering to extract color palettes and selects the generated map that shares the highest cosine similarity with the current camera view.
Datasets
The authors curated and utilized several datasets to train and evaluate CleAR:
- Matterport3D & Structured3D: Combined to form a dataset of ~30K LDR indoor environment maps used to train the LDR completion model.
- Laval Indoor Dataset: Used to extract 1,489 pairs of LDR and high-intensity maps for HDR training.
- Augmented Laval Dataset: The authors generated a new robustness-testing benchmark containing roughly 60,000 data items by systematically editing the light intensity and color temperatures of the original Laval test split.
Key Insights and Ideas
- LDR Decoupling is Key: Directly generating HDR images from small datasets is unreliable. Mapping HDR data into two separate LDR representations (the base map and a high-intensity mask) allows the system to successfully fine-tune large, pre-trained LDR diffusion models.
- Perceptual Preference vs. Physical Accuracy: In the user study, participants occasionally rated CleAR's renderings higher than those using physically captured ground-truth lighting. This suggests human perception favors slightly brighter, visually enhanced outputs over perfect physical accuracy.
- The Power of On-Device Adaptation: By running a fast, local color-matching loop, the system can reuse a single server-generated environment map across multiple frames, successfully adapting to minor ambient lighting changes without triggering expensive re-inference.
Key Results
- Speedup: CleAR generates high-quality lighting estimates in just 3.2 seconds, making it over 110× faster than the state-of-the-art baseline, DiffusionLight (which takes 359.9 seconds).
- Accuracy: CleAR achieved a 51% to 56% accuracy improvement (measured via scale-invariant RMSE) on virtual object renderings across matte, silver matte, and mirror materials compared to baselines.
- User Study: In a study with 31 participants assessing six different virtual objects, CleAR received the highest average quality rating (4.87/7), outperforming the runner-up (StyleLight) by 12% with lower variance.
Limitations and Future Work
- Spatially Invariant Lighting: CleAR currently assumes that lighting conditions are uniform across the entire room. It does not yet support spatially variant lighting, where illumination changes significantly as an object moves to different physical locations. The authors suggest integrating 3D scene reconstruction methods to address this in the future.
- Advanced Temporal Consistency: While the current color adaptation handles ambient shifts well, future iterations could implement progressive environment map updates to better track dynamic structural changes in lighting over long AR sessions.
Summary updated