Figure

Few-shot Gaussian Splatting[1] is a recent paper presented at ECCV 2024. 3D Gaussian Splatting[2], presented at SIGGRAPH 2023, received great attention and was regarded as groundbreaking research in the fields of 3D reconstruction and Novel View Synthesis. Since then, various attempts have been made to improve this model, and “FSGS: Real-Time Few-shot View Synthesis using Gaussian Splatting” is one such effort, proposing a method to improve the performance of 3DGS on sparse inputs.

In this post, I will cover the background knowledge needed to understand this paper, along with the motivation and approach that FSGS proposes.

Background

To understand FSGS, it is important to understand two core concepts: Novel View Synthesis (NVS) and 3D Gaussian Splatting (3DGS).

Novel View Synthesis(NVS)

Figure

Novel View Synthesis

Novel View Synthesis is a core task in the 3D vision field that takes a limited number of images as input and generates new views of a scene. Approaches range from Depth Estimation to Scene Generation, but the goal is the same: by interpolating between given viewpoints, predict how the scene would look from previously unseen angles.

NeRF and 3D Gaussian Splatting

In cases where NVS is the main task, NeRF[3] and 3DGS are used as the main comparison models.

Figure

NeRF vs. Gaussian Splatting

NeRF represents a 3D scene implicitly as a neural network using the key parameters of density and radiance. Density controls transparency, and radiance controls the color and lighting, which are affected by the scene environment. Through this, NeRF can infer the structure and spatial arrangement of objects.

In contrast, 3DGS represents a 3D scene explicitly through ellipsoidal 3D points called 3D Gaussians. Each Gaussian has attributes such as position, size, color, opacity, and orientation. 3DGS takes as input a point cloud generated beforehand from 2D images. These points are simply data sampling the surface, with each point containing unique position and color information. A 3D Gaussian is created centered on each point, and their attributes are trained to match the input reference images (ground truth). The reason 3DGS is gaining popularity is that it can perform 3D reconstruction and NVS in near real time.

Here an important question arises. 3D Gaussian Splatting needs a sufficient point cloud to properly represent a 3D scene. So, what happens if the point cloud is too sparse to fully capture the scene? Can 3DGS adequately represent a scene even under such sparse conditions?

Few-shot 3DGS

Figure

FSGS Pipeline

Problem Setting

3DGS struggles to accurately represent a 3D scene when there are insufficient vertices to generate the initial Gaussians. Consider the problems that arise from sparse input. First, because the number of input images is small, the model has insufficient views to use as references, and this leads to a lack of perspective on parts of the scene that are occluded and not visible in the input images. This makes depth prediction difficult. Second, the lack of diverse perspectives results in an insufficient number of Gaussians, which limits the ability to properly “render” the scene.

The authors of FSGS define the two main problems that arise when applying 3DGS in a few-shot setting as follows.

1. Smooth Texture

Due to insufficient input images, 3DGS fails to generate enough Gaussians. This results in Gaussians that are too large or overly stretched. In 3DGS, this is addressed with the “Adaptive Density Control” approach, but when the input images are too few, the model ends up being unable to represent the details of the scene and generates overly smooth textures.

2. Overfitting Propensity

Sparse input also increases the model’s tendency to overfit to the trained viewpoints. This results in an inaccurate scene representation where Gaussians are stretched along the trained view direction.

Approaches

To solve the problems mentioned above, FSGS adopts two main approaches that aim to generate “more” of the insufficient elements. That is, generating more Gaussians and more images (and therefore more depth information).

1. Proximity-guided Gaussian Unpooling

Figure

(a) Gaussian Unpooling. (b) Detailed Gaussian Unpooling Process with K=3.

Proximity-guided Gaussian Unpooling is a technique that generates additional Gaussians at optimal positions. In this method, one of the existing Gaussians is designated as the “Source” Gaussian, and the nearest \(K\) Gaussians are designated as “Destination” Gaussians. Specifically, the Source Gaussian is the one with the smallest Euclidean distance to the other three Gaussians. When the Euclidean distance between the Source and Destination Gaussians exceeds a certain threshold, a new Gaussian is generated along the line connecting the two Gaussians. The new Gaussian inherits the initial size and opacity of the Destination Gaussian, and its other attributes are initialized to 0.

2. Geometry Guidance for Gaussian Optimization

In this approach, “pseudo views” are generated to alleviate the sparsity of the input. These pseudo views are positioned between the existing reference viewpoints (GT viewpoints), and camera views are generated at these positions. The images rendered at these positions are used during training. However, because the pseudo view itself is a “predicted” image, FSGS uses depth information to utilize it effectively.

Depth Map Utilization

Figure

Depth map

A depth map provides spatial depth as an alpha or RGB representation, and is commonly used in computer vision to reconstruct 3D space from 2D images. FSGS uses depth maps to compute the correlation between two types of depth data: (1) the depth of the rasterized image, and (2) the depth extracted from the 3D Gaussians. By comparing these two depths, it trains the spatial accuracy of the 3D Gaussians.

Figure

Depth Correlation Process

(1) Depth of the input image First, for both pseudo views and GT views, the depth of the image is predicted using a Dense Prediction Transformer (DPT)[5] pre-trained on image-depth pairs.

(2) Depth extracted from the 3D Gaussians On the other hand, this depth map is derived (or rasterized) from the rendered views output during training. It is generated based on the depth of the scene rendered from the 3D Gaussians actually being trained.

Conclusion

In this post, I covered the progression of research leading up to FSGS and its core approaches. The Few-shot NVS task remains important. This is because it addresses real-world scenarios where the user cannot secure enough input images to perform NVS. The methods proposed in FSGS offer a solution to this task while retaining the advantages of 3DGS, including real-time rendering capability and high model performance.

However, I would like to raise the following two questions about FSGS’s approach:

  1. In initializing the generated Gaussians, is there a better way than setting some attribute values to 0?
  2. The first depth map is “predicted” by DPT, and the second depth map is generated from “predicted” Gaussians. Is it stable to train the model using the correlation between predicted depth maps?

The experimental results of FSGS were not covered in this post, but you can find more details and results on the FSGS project page[6].


References

[1] Zehao Zhu, Zhiwen Fan, Yifan Jiang, and Zhangyang Wang. 2023. FSGS: Real-Time Few-shot View Synthesis using Gaussian Splatting. arXiv [cs.CV]. Retrieved from http://arxiv.org/abs/2312.00451

[2] Bernhard Kerbl, Georgios Kopanas, Thomas Leimkühler, and George Drettakis. 2023. 3D Gaussian splatting for real-time radiance Field rendering. arXiv [cs.GR]. Retrieved from http://arxiv.org/abs/2308.04079

[3] Ben Mildenhall, Pratul P. Srinivasan, Matthew Tancik, Jonathan T. Barron, Ravi Ramamoorthi, and Ren Ng. 2020. NeRF: Representing scenes as neural radiance fields for view synthesis. arXiv [cs.CV]. Retrieved from http://arxiv.org/abs/2003.08934

[4] Priya Dwivedi. 2019. Depth Estimation on Camera Images using DenseNets. Towards Data Science. Retrieved November 1, 2024 from https://towardsdatascience.com/depth-estimation-on-camera-images-using-densenets-ac454caa893

[5] Ranftl René, Bochkovskiy Alexey, and Koltun Vladlen. 2021. Vision Transformers for Dense Prediction. arXiv [cs.CV]. Retrieved from http://arxiv.org/abs/2103.13413

[6] Zhangyang Wang. FSGS. Github.io. Retrieved November 1, 2024 from https://zehaozhu.github.io/FSGS/

[7] Researchgate.net. Retrieved November 1, 2024 from https://www.researchgate.net/figure/Novel-3D-data-representations-3-6_fig3_381142897