Spherical Manifold Guided Diffusion Model for Panoramic Image Generation

Xiancheng Sun, Mai Xu, Shengxi Li, Senmao Ma, Xin Deng, Lai Jiang, Gang ShenCVPR 2025

Introduction

Generating high-fidelity 360° panoramic images is a critical requirement for immersive technologies like Virtual Reality (VR) and Augmented Reality (AR). However, standard generative models often struggle with the unique geometry of spherical data. Most current approaches rely on Equirectangular Projection (ERP), which flattens a sphere into a 2D rectangle. This process introduces significant distortion—stretching the poles and compressing the equator—and creates artificial boundaries where the left and right edges of the image should seamlessly meet.

Standard Convolutional Neural Networks (CNNs) are designed for flat, uniform grids and fail to account for these spherical properties, leading to warped geometry and visible seams. To address these challenges, this paper introduces the Spherical Manifold Guided Diffusion (SMGD) model, which performs denoising directly on a spherical manifold ($S^2$).

Methodology

The core innovation of SMGD lies in its ability to respect the intrinsic geometry of the sphere through several novel architectural components:

Spherical Manifold Convolution (SMConv)

Unlike standard convolutions that slide a square window over a flat grid, SMConv utilizes exponential mapping to project a uniform kernel from a tangent plane onto the sphere. This ensures that the filter maintains a consistent geodesic distance regardless of its position on the image, effectively neutralizing the distortion inherent in ERP near the poles.

Hybrid SMUNet Backbone

To balance computational efficiency with geometric accuracy, the authors proposed SMUNet. This hybrid U-Net architecture uses standard circular convolutions at shallow, high-resolution layers to maintain edge continuity. At deeper, lower-resolution layers—where the "sparse pixel" problem at the poles is most acute—the model switches to the more mathematically rigorous SMConv.

Spherical Loss and Evaluation

During training, the model employs a loss function weighted by the Weighted Spherically Uniform (WS-PSNR) metric, forcing the network to prioritize the geometry and varying pixel densities of spherical data. For evaluation, the researchers moved beyond standard 2D metrics by projecting generated images onto a cube-map (CMP). This allowed them to calculate FID scores separately for the "equator" and "pole" faces, providing a more granular view of visual quality.

Qualitative comparison between PanFusion and SMGD, showing superior handling of pole distortions and better text alignment with fewer parameters.

Key Results and Insights

The SMGD model demonstrates significant improvements over existing state-of-the-art methods like PanFusion and Multi-Diffusion:

  • Superior Pole Fidelity: SMGD achieved a massive improvement in pole-specific quality, with an FID_pole of 21.05 compared to PanFusion's 31.99. This confirms that manifold-guided convolutions effectively resolve the warping common in other models.
  • Enhanced Efficiency and Speed: Perhaps the most striking result is the model's efficiency. SMGD is approximately 14x faster than PanFusion, generating images in 2.69 seconds compared to 38.51 seconds. It achieves this performance with only 1.4 billion parameters, significantly fewer than competing multi-branch architectures.
  • Text Alignment: By utilizing BLIP-2 generated captions for the Matterport3D dataset, the model shows high CLIP scores, indicating that the generated spherical scenes accurately reflect complex text prompts.

Conclusion and Future Work

SMGD represents a shift from trying to "fix" 2D projections to making the underlying mathematics respect 3D spherical reality. While the hybrid architecture mitigates the computational cost of manifold convolutions, SMConv still requires more GPU memory than standard operations. Future research will likely focus on optimizing memory management for 4K and 8K resolutions and extending this manifold-guided approach to temporal consistency in panoramic video generation.

Summary updated

BibTeX
@inproceedings{sun2025spherical,
  author = {Xiancheng Sun and Mai Xu and Shengxi Li and Senmao Ma and Xin Deng and Lai Jiang and Gang Shen},
  title = {{Spherical Manifold Guided Diffusion Model for Panoramic Image Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00547},
}
Figure