DiffPano: Scalable and Consistent Text to Panorama Generation with Spherical Epipolar-Aware Diffusion

Weicai Ye, Chenhao Ji, Zheng Chen, Junyao Gao, Xiaoshui Huang, Song-Hai Zhang, Wanli Ouyang, Tong He, Cairong Zhao, Guofeng Zhang · DOI

Abstract

Generating high-quality, consistent 360° panoramas from text descriptions is a critical step toward immersive VR and metaverse applications. Current methods struggle with data scarcity, geometric distortion in Equirectangular Projection (ERP), and maintaining structural consistency across multiple views. We present DiffPano, a framework that leverages a spherical epipolar-aware diffusion mechanism and a massive new panoramic video-text dataset to enable seamless virtual roaming with state-of-the-art multi-view consistency.

Introduction

While text-to-image and text-to-3D-object generation have seen significant breakthroughs, the creation of full 3D scenes remains challenging. 360° panoramas are essential for immersive simulations but face three primary hurdles: the lack of large-scale datasets pairing panoramas with camera trajectories, geometric distortions at the poles of ERP images, and the difficulty of maintaining consistency when "moving" between different viewpoints in a scene. DiffPano addresses these by integrating geometric constraints directly into the diffusion process.

Methodology

DiffPano utilizes a two-part framework designed for both single-view quality and multi-view coherence.

Single-View Pano-SD

Rather than training from scratch, the authors fine-tune a pre-trained Stable Diffusion model using Low-Rank Adaptation (LoRA). This approach allows the model to learn the specific continuity requirements of panoramas—such as ensuring the left and right edges wrap seamlessly—while preserving the rich visual priors of the base 2D model.

Spherical Epipolar-Aware Multi-View Diffusion

The core innovation is the introduction of a spherical epipolar constraint. In traditional computer vision, epipolar geometry defines the relationship between two camera views. DiffPano adapts this for spherical ERP images via a cross-attention module. When generating a subsequent view, the model "attends" to corresponding features along epipolar lines in previous views. This ensures that objects maintain their relative positions and appearances as the camera moves.

Two-Stage Training

The model undergoes a two-phase training process. It first learns fine-grained consistency on sequences with minimal camera movement. Subsequently, it is trained on larger displacements to learn how to realistically "hallucinate" new content in distant areas of a scene.

Dataset Generation

To overcome data scarcity, the researchers developed a large-scale panoramic video-text dataset using the Habitat Simulator and 3D meshes from HM3D. This dataset includes millions of consecutive panoramic keyframes with 6-DoF camera poses and depth information. Captions were generated using a hybrid approach: BLIP2 described individual cube-map faces, and Llama2 synthesized these into coherent panoramic descriptions.

Results and Discussion

DiffPano demonstrates significant improvements over existing baselines like PanFusion and Text2Light.

  • Consistency and Quality: User studies ranked DiffPano higher for both visual realism and multi-view consistency.
  • Quantitative Performance: The model achieved a CLIP Score of 28.98, outperforming all baselines in text-alignment. It also recorded the lowest Fréchet Inception Distance (FID) in perspective-view evaluations.
  • Efficiency: DiffPano is highly efficient, generating a panorama in approximately 5.1 seconds—significantly faster than the 27.6 seconds required by PanFusion.

Conclusion

DiffPano represents a major step forward in scalable scene generation. By baking the laws of physics—specifically epipolar geometry—into the attention mechanism, the model achieves structural integrity that purely data-driven methods lack. Future work may involve moving toward full video diffusion architectures to further enhance temporal smoothness for long-range virtual roaming.

Summary updated

BibTeX
@inproceedings{ye2024diffpano,
  author = {Weicai Ye and Chenhao Ji and Zheng Chen and Junyao Gao and Xiaoshui Huang and Song-Hai Zhang and Wanli Ouyang and Tong He and Cairong Zhao and Guofeng Zhang},
  title = {{DiffPano: Scalable and Consistent Text to Panorama Generation with Spherical Epipolar-Aware Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=358t1t0TEn},
}
Figure