NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ray Conditioning: Trading Photo-consistency for Photo-realism in Multi-view Image Generation

Eric Ming Chen, Sidhanth Holalkere, Ruyu Yan, Kai Zhang, Abe Davis

Abstract

Multi-view image generation is a critical component for applications such as image viewpoint editing. Current state-of-the-art methods typically synthesize a 3D representation and render it into 2D images to ensure photo-consistency. However, this explicit 3D bias often sacrifices photo-realism, leading to geometry artifacts and the loss of fine-scale details. We propose Ray Conditioning, a geometry-free alternative that relaxes the photo-consistency constraint. By conditioning a 2D GAN on a light field prior, our method achieves superior photo-realism and identity consistency, making it particularly effective for high-fidelity viewpoint editing.

Introduction: The Realism-Consistency Trade-off

In generative modeling, there is an inherent tension between photo-realism—the statistical fidelity of an image to real-world data—and photo-consistency—the mathematical agreement of an object's appearance across different viewpoints. Recent "3D-aware" GANs, such as EG3D, prioritize consistency by utilizing explicit 3D proxies like voxels or tri-planes. While these models produce stable geometry, the 3D representation often acts as a bottleneck, smoothing out high-frequency details such as skin pores, individual hairs, and complex textures.

Furthermore, when performing GAN inversion to edit real-world photographs, these rigid 3D constraints can result in "cartoonish" distortions. Ray Conditioning addresses this by moving away from explicit 3D synthesis, instead teaching a powerful 2D generator to interpret spatial relationships through camera rays.

Methodology: Geometry-Free Multi-view Generation

The core innovation of this work is the replacement of 3D representations with a light field prior. Instead of rendering from a volume, the model conditions a standard StyleGAN2 architecture on the specific rays associated with a target viewpoint.

1. Plücker Coordinates

To represent the camera pose effectively, the researchers utilize Plücker coordinates. Rather than simple 3D coordinates or Euler angles, each pixel is associated with a 6D vector representing a light ray. This vector includes the ray's direction and its "moment" (the cross product of the camera origin and direction). This representation is more robust than standard 5D coordinates as it removes redundancies and provides a cleaner spatial signal to the network.

2. Multi-level Conditioning

These ray embeddings are not just fed into the beginning of the network. They are downsampled and concatenated to the feature maps at every resolution level of the StyleGAN2 synthesis network, from the initial 4x4 stage up to the final 1024x1024 output. This ensures that the spatial bias of the camera ray influences both the global structure and the fine-grained details of the generated image.

3. Discriminator Integration

To ensure the generator learns the correct association between rays and visual appearance, the discriminator is also conditioned on the camera pose. This forces the generator to produce images that are not only realistic but also align with the expected perspective of the input rays.

Experimental Results

The model was evaluated on high-resolution datasets including FFHQ (faces), AFHQv2 (cats), and SRN Cars (360-degree rotations).

Quantitative Performance

Ray Conditioning demonstrates a significant leap in photo-realism. On the FFHQ 1024x1024 benchmark, the method achieved an FID (Fréchet Inception Distance) of 3.28, substantially better than the 4.70 achieved by the 3D-aware EG3D.

Despite the lack of an explicit 3D proxy, identity consistency remains high. Using the ArcFace facial recognition metric, Ray Conditioning scored 0.76, which is nearly identical to EG3D’s 0.77. This suggests that the model learns to maintain the "essence" of a subject across views without needing a rigid mesh.

Qualitative Advantages

Qualitatively, Ray Conditioning excels at preserving high-frequency details. While 3D-aware methods often suffer from "billboarding" (where features look like flat textures projected onto a simple shape), Ray Conditioning maintains the depth and texture of wrinkles, glasses, and hair.

Computational Efficiency

The geometry-free nature of the approach allows for high inference speeds. The model operates at 38-48 FPS, outperforming many complex 3D rendering pipelines and making it suitable for interactive editing applications.

Discussion and Limitations

One interesting side effect of this architecture is "Latent Space Nullification." In standard StyleGAN models, one can often find a "pose direction" within the latent space. In Ray Conditioning, these directions become inactive because the network learns to rely entirely on the explicit ray input for orientation, effectively decoupling identity from pose.

However, the relaxation of 3D constraints does introduce challenges:

  • Temporal Aliasing: Without a fixed 3D structure, video sequences may exhibit slight "shimmering" as the network generates each frame independently.
  • Extrapolation Limits: The model is sensitive to the training distribution. Extreme camera angles not present in the training data can lead to a degradation in image quality.
  • View-Dependent Shifts: Small features, such as the specific shape of a highlight, may shift slightly more than in a mathematically perfect 3D model.

Conclusion

Ray Conditioning demonstrates that for many practical image-editing tasks, a "geometry-free" approach can outperform explicit 3D modeling. By leveraging the power of 2D GANs and conditioning them on light field priors, researchers can achieve state-of-the-art photo-realism and detail preservation while maintaining the viewpoint control necessary for 3D-aware applications.

Summary updated

BibTeX
@inproceedings{chen2023ray,
  author = {Eric Ming Chen and Sidhanth Holalkere and Ruyu Yan and Kai Zhang and Abe Davis},
  title = {{Ray Conditioning: Trading Photo-consistency for Photo-realism in Multi-view Image Generation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=CcaJccWgL1},
}
Figure