Zero to Four Views: Unified Panorama Generation and Preference RL for Unobserved Regions

Rui Hong, Xugang Ye, Jana Košecká, Kai FanarXiv 2026

TL;DR

This paper introduces a unified transformer-based model capable of generating full 360° equirectangular panoramas from any combination of text prompts and up to four perspective images. By combining supervised fine-tuning with a novel reinforcement learning stage called Uncovered-Region GRPO (UR-GRPO), the model learns to "imagine" plausible and high-quality content for parts of a room not captured by input photos, outperforming existing state-of-the-art specialized generators.

What Problem Does This Paper Address?

Creating consistent 360° backgrounds for video or VR usually requires either a detailed text description or a set of photos. However, most existing AI models are "one-trick ponies": they either do text-to-panorama or single-image-to-panorama, but rarely both, and they struggle to handle multiple, partially overlapping views.

A deeper technical challenge is exposure bias. Standard supervised training teaches a model to denoise ground-truth images. During this process, the model never "sees" its own generated outputs. Consequently, when asked to fill in large unobserved regions (parts of the room the input photos didn't see), the model often produces blurry or inconsistent textures because it wasn't trained to evaluate the quality of its own "imagination."

Methods

The authors build their system on FLUX.1-dev, a 12B parameter rectified-flow transformer. Their training follows a two-stage recipe:

  1. Stage 1: Unified Supervised Fine-Tuning: The model is trained to accept a text prompt and $K \in \{0, \dots, 4\}$ conditioning views. These views are encoded via a VAE and appended to the token sequence. Crucially, each view is tagged with a "slot ID" (front, back, top, bottom), allowing a single model to handle any number of inputs seamlessly.
  2. Stage 2: Uncovered-Region GRPO (UR-GRPO): To fix the "imagination" problem, the authors use Reinforcement Learning from AI Feedback (RLAIF). They generate multiple candidate panoramas and use a Vision-Language Model (VLM), specifically Qwen3-VL-32B, to act as a judge. The VLM performs pairwise comparisons on crops of the uncovered regions—the parts of the panorama not seen in the input views. The model is then updated to favor the versions the VLM prefers.
Figure 1. Overview of training. Stage 1 fine-tunes one model for any number K of conditioning views, with a flow-matching loss on the noisy ground-truth panorama; each view token carries its camera slot ID (Ours) and, optionally, its direction (Ours + pose). Stage 2 trains a LoRA adapter on the frozen model: a VLM compares G candidates per input in pairs on crops around the uncovered region H, and the winners are reinforced.

Datasets

The model was trained on a massive collection of ~97,000 panoramas from four primary sources:

  • Structured3D: Photorealistic synthetic indoor scenes.
  • Pano360: Real-world panoramas (mostly from Flickr).
  • PolyHaven & Humus: High-quality HDR/environment maps.

Evaluation was performed on the Laval Indoor and SUN360 (indoor subset) datasets to test generalization to unseen environments.

Key Insights and Ideas

  • The VLM as a Local Judge: Instead of asking the VLM to score the whole panorama (which is computationally expensive and low-resolution), the authors prompted it to compare small perspective crops centered on the "missing" parts of the room. This allows the judge to focus on fine-grained texture and structural consistency.
  • Slot IDs vs. Poses: By default, the model uses "slot IDs" which allow it to learn a general layout. However, the authors also provide an "Ours + pose" variant that lets users specify exactly where an input image should land in the 360° space by shifting position encodings.
  • RL for Plausibility, Not Accuracy: Supervised learning forces the model to match a specific ground truth. UR-GRPO, however, rewards plausibility. Since an unseen part of a room could look many different ways, RL allows the model to explore various high-quality completions that "look right" even if they don't match the original room perfectly.

Key Results

  • State-of-the-Art Performance: At $K=1$ (one input image), the model outperformed the previous leader, 360Anything, on the Laval Indoor dataset, achieving a lower Crop FID (10.20 vs 11.59 with CFG).
  • Consistent RL Gains: The UR-GRPO stage improved results across the board. For example, on Laval Indoor with two input views ($K=2$), Stage 2 reduced the Crop FID from 4.88 to 3.62.
  • Visual Quality: Qualitatively, the RL stage significantly reduces blurriness and "hazy" artifacts in unobserved regions, producing sharper furniture and more realistic lighting transitions.
Figure 4. The uncovered region of Ours before (left) and after (right) Stage 2, on held-out Laval scenes at K=2 and 3 with the same conditioning views and noise seed, without CFG (K=1 is compared in Fig. 2, and at K=4 little of the panorama is uncov- ered). Each row is a perspective crop (horizontal field of view 85◦) of a side that the conditioning views leave open; the red line marks the boundary of the uncovered region. We picked these rows be- cause the Stage-1 result is visibly smooth there (Sec. 14); they illustrate the effect and do not show how often it occurs.

Limitations and Future Work

  • Indoor Focus: The current evaluation and much of the training data are focused on indoor scenes; outdoor performance remains a frontier for quantitative testing.
  • Orientation Ambiguity: With only one or two views, the model sometimes struggles to determine the "global" orientation of the room unless the explicit pose variant is used.
  • Seam Handling: While the model produces high-quality spheres, it does not yet use a circular latent encoding to perfectly guarantee that the left and right edges of the equirectangular image meet without a visible seam.
  • Global Consistency: Because the VLM judge only sees local crops, it doesn't explicitly reward global scene logic (e.g., ensuring a table seen in one crop doesn't disappear in another). Expanding the "judge's scope" is a suggested next step.

Summary updated

Abstract

Panoramas can serve as shared scene backgrounds for multi-shot video generation, but most existing panorama generators take text alone or a single input image. We present a single model that generates a full equirectangular panorama from a text caption and K in {0,...,4} perspective conditioning views taken by a four-camera rig at one viewpoint. We fine-tune a pretrained text-to-image rectified-flow transformer in two stages. In the first stage, each conditioning view is appended to the token sequence together with the ID of its camera slot, and the number of views varies during training, so one set of weights serves every input setting. In the second stage, we improve the region not covered by any conditioning view. Supervised training computes its loss on noisy latents of the ground truth and never scores a panorama the model has generated and decoded, so we propose Uncovered-Region GRPO (UR-GRPO), a reinforcement-learning recipe that rewards the candidates a vision-language model prefers in pairwise comparisons on crops around this region. Because the slot ID alone does not tell the model which way the rig points, we also offer an optional variant that writes each view's camera direction into its position encoding, which lets the user decide where each view appears in the output. With one conditioning view, our model outperforms the previous state of the art, 360Anything, trained on the same data and evaluated with the same code, on Laval Indoor and gives mixed results on an indoor subset of SUN360; the second stage improves the results for every number of conditioning views.
BibTeX
@misc{hong2026zero,
  author = {Rui Hong and Xugang Ye and Jana Košecká and Kai Fan},
  title = {{Zero to Four Views: Unified Panorama Generation and Preference RL for Unobserved Regions}},
  year = {2026},
  eprint = {2611.25389},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25389},
}
Figure