ReFlex: Faithful Panorama Reconstruction from a Single Image with Reflections

Yikai Pan, Zhiyuan Zhou, Yuxiang Yan, Xuetong Yang, Runhe Yang, Jian PuNeurIPS 2026

TL;DR

Every shiny object in a photograph—from a coffee mug to a brass sculpture—acts as an accidental wide-angle mirror, capturing the world behind the camera. ReFlex is a new framework that extracts these fragmented, warped reflections from a single standard RGB image to faithfully reconstruct a full 360° panorama of the surrounding scene, without needing 3D geometry priors or hallucinating fake details.

What Problem Does This Paper Address?

Look at a photograph containing a glossy object. The camera’s direct field of view only shows a slice of the room, but the reflections on that object hold clues about what lies behind the lens. Can we use those reflections to reconstruct the entire 360° environment?

Existing methods fall into two camps, each with a catch. Prior-based methods treat this as a strict physics problem: if you give them "privileged" information—like exact 3D surface normals, object masks, and camera field-of-view—they trace light rays backward. Without perfect geometric priors, they produce blurry, incomplete results. Generative methods (like diffusion models) take the opposite route, outpainting the 360° scene based on the input image. They produce gorgeous, sharp panoramas, but they mostly ignore subtle reflection cues and hallucinate plausible-looking rooms that don't actually match reality.

Figure 1: Motivation and problem setting. (a) Reflections provide heterogeneous cues for pose- aligned 360◦panorama reconstruction. (b) Prior-based Reconstruction relies on privileged geometry priors, while (c) Conditional Generation may hallucinate inconsistent content. (d) ReFlex uses an Observation-Consistent Estimator and a Reliability-Guided Refiner to achieve faithful, realistic, and downstream-consistent recovery without privileged information.

The core bottleneck is that reflection data is messy and uneven: some parts of the room are clearly visible in the background, some are sharply reflected, some are smeared across rough metal, and some are completely occluded. ReFlex tackles the challenge of extracting reliable geometry where evidence exists, while gracefully filling in the blanks where it doesn't—using only a single RGB image.

Methods

ReFlex frames panorama reconstruction as a controlled two-stage inverse problem, separating "what we can prove from observations" from "what we need to imaginatively touch up."

Overview of the two-stage ReFlex architecture: Observation-Consistent Estimator and Reliability-Guided Refiner.
  1. Observation-Consistent Estimator (OCE): Instead of predicting pixels directly, OCE predicts discrete panorama tokens (using frozen DINO features for input encoding and a VQGAN codebook for the panorama). It introduces two novel mechanisms:
  2. Hypothesis-to-Detail (H2D) Latent Solving: Using MaskGIT-style iterative decoding, it first predicts coarse "hypothesis" tokens (clusters of similar VQGAN codes) to lock in global room layout before decoding fine detail tokens.
  3. Support-Calibrated Routing (SCR): Standard self-attention lets tokens talk to each other freely, which causes hallucinated details to leak into weakly observed regions. SCR compares cross-attention (how much two panorama tokens look at the same input evidence) with self-attention, using learned signed routing to reinforce evidence-backed connections (+) and actively subtract unsupported ones (-).
  4. Reliability-Guided Refiner (RGR): OCE outputs a structurally faithful panorama alongside token prediction statistics. RGR computes a spatial reliability map based on how sharp and consistent OCE's coarse-to-fine predictions were at each location. It then runs a frozen Latent Diffusion Model (with lightweight LoRA tuning) in reverse: high-reliability regions are strictly anchored to OCE’s output, while uncertain, unobserved regions are released earlier in the denoising schedule so the diffusion prior can paint realistic textures.

Datasets

  • ReFlex-Bench (New): A massive synthetic benchmark of 110,760 paired samples (1024×1024 reflective RGB inputs aligned with 512×256 target panoramas) rendered from 3,692 HDR environments (PolyHaven, Laval Indoor/Outdoor, etc.). It spans three regimes of increasing difficulty: RandBalls (spheres with varied materials), Digital Gene (complex procedural shapes with self-occlusion), and OmniObject3D (scanned everyday objects).
Figure 4: Dataset preview of reflective RGB inputs and paired pose-aligned target panoramas.
  • Real-World Zero-Shot Set (New): 208 real photographs captured with a Canon DSLR paired with ground-truth Insta360 panoramas across 10 indoor/outdoor scenes and 14 everyday metallic/glossy objects, used strictly for zero-shot testing.

Key Insights and Ideas

  • Don't let diffusion drive; let it polish: Using a diffusion model as the primary engine invites hallucinations. By reconstructing structure first via discrete token solving and using token confidence to leash the diffusion model, you get visual realism without sacrificing physical truth.
  • Self-attention needs policing in inverse problems: Left unchecked, transformer self-attention smears guesses across uncertain regions. Explicitly subtracting unsupported token-to-token interactions (via SCR) noticeably sharpens perceptual fidelity.
  • It really is reading the reflections: In ablation studies, masking out the reflective object caused reconstruction fidelity (PSNR) to plummet by 29.3% and perceptual error (LPIPS) to more than double—proving the model isn't just guessing the room from the visible background.

Key Results

  • Image-Level Fidelity: On ReFlex-Bench, using zero privileged test-time priors, ReFlex beats prior-based methods (even when those baselines are handed ground-truth oracle normals and masks, e.g., 19.44 dB PSNR vs. 18.28 dB on RandBalls-Oracle) and outperforms state-of-the-art generative lighting models like LuxDiT across all regimes (e.g., 14.81 dB vs. 12.84 dB PSNR on OmniObject3D).
  • Downstream 3D Perception: When feeding reconstructed panoramas into off-the-shelf 360° depth, surface normal, semantic segmentation, and room layout estimators, ReFlex wins on 8 out of 9 protocols—slashing relative depth error (AbsRel) by 32.8% to 40.3% compared to the strongest baselines.
  • Real-World Transfer: Trained purely on synthetic renders, ReFlex transfers zero-shot to real DSLR photos (12.75 dB PSNR), successfully recovering horizons, windows, and room layouts hidden behind the camera.

Limitations and Future Work

Because ReFlex is trained entirely on physically based synthetic renders, a sim-to-real gap remains. Real-world photographs introduce camera defocus blur, sensor noise, and complex, non-ideal surface materials. Consequently, while real-world zero-shot reconstructions capture accurate global layouts and major structures, they still suffer from smoothing and loss of fine high-frequency detail. Bridging this sim-to-real gap for messy, in-the-wild optics is left for future work.

Summary updated

BibTeX
@inproceedings{pan2026reflex,
  author = {Yikai Pan and Zhiyuan Zhou and Yuxiang Yan and Xuetong Yang and Runhe Yang and Jian Pu},
  title = {{ReFlex: Faithful Panorama Reconstruction from a Single Image with Reflections}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Z78l73Ay0q},
}
Figure