Generalized and Efficient 2D Gaussian Splatting for Arbitrary-scale Super-Resolution

Du Chen, Liyi Chen, Zhengqiang Zhang, Lei Zhang

TL;DR

This paper introduces GSASR, a novel method for arbitrary-scale image super-resolution (ASR) that leverages 2D Gaussian Splatting (GS) for efficient and high-quality image reconstruction. By representing images as continuous Gaussians and employing a novel differentiable rasterization technique, GSASR achieves state-of-the-art performance with significantly faster inference times compared to existing methods.

What Problem Does This Paper Address?

Image Super-Resolution (SR) aims to enhance the resolution of low-resolution (LR) images. While many deep learning-based SR methods exist, most are limited to fixed integer scaling factors (e.g., x2, x4). Arbitrary-scale SR (ASR) is more challenging because it requires models to generalize to any scaling factor, including non-integer ones. Existing ASR methods often rely on implicit neural representations (INRs) that query a multi-layer perceptron (MLP) for each pixel, leading to high computational costs and limited representation capacity. While Gaussian Splatting (GS) has shown promise in 3D tasks for its efficiency and expressiveness, directly applying it to ASR is difficult due to its optimization-based nature and tendency to overfit individual scenes, hindering generalization. This paper addresses the need for an ASR method that is both generalizable across arbitrary scales and computationally efficient.

Methods

The core innovation of GSASR lies in adapting 2D Gaussian Splatting for the ASR task. Instead of optimizing Gaussians for each scene, GSASR learns a feed-forward network to predict image-conditioned Gaussians from an LR input.

Here's a breakdown of the key components:

  • Image Feature Extraction: An off-the-shelf SR backbone (e.g., EDSR, RDN) is used to extract deep features from the input LR image.
  • Gaussian Decoder: This is the heart of GSASR. It takes the image features and learnable Gaussian embeddings as input to generate 2D Gaussians.
  • Gaussian Embedding: The number of Gaussian embeddings ($N$) is made proportional to the LR image size ($H \times W$) to ensure adaptability. These embeddings are initialized and optimized to represent local image regions.
  • Condition Injection Block: This block uses window-based cross-attention to inject image features into the Gaussian embeddings, making them content-aware.
  • Gaussian Interaction Block: Multiple such blocks, based on Swin Transformer's architecture (window and shifted window self-attention), are stacked to enable interaction and information exchange among Gaussian embeddings, allowing them to adapt to each other and the given scale factor.
  • Gaussian Primary Head: This module consists of five disentangled heads that convert the processed Gaussian embeddings into the five properties of 2D Gaussians: opacity ($\alpha$), color ($c$), standard deviation ($\sigma$), reference position ($\mu$), and correlation coefficient ($\rho$).
  • 2D GS Representation: Each image is represented by a set of $N$ Gaussians, where each Gaussian $G_i$ is defined by its properties. The color of a pixel $(x, y)$ is a weighted sum of contributions from all Gaussians, with the Gaussian function $f(x, y)$ defining its shape and intensity.
  • Efficient Differentiable 2D GPU/CUDA-based Rasterization: To render the SR image, GSASR employs a custom, scale-aware rasterization process. This process is optimized for GPU execution and is differentiable, allowing for end-to-end training. A rasterization ratio ($r$) is introduced to limit the rendering range of each Gaussian, significantly reducing computational complexity from $O(s^2HWN)$ to $O(r^2s^2HWN)$ and making it efficient.

Datasets

  • Training: DIV2K dataset is used for training.
  • Evaluation: The models are evaluated on standard SR benchmarks including Set5, Set14, DIV2K100, Urban100, BSDS100, Manga109, General100, and LSDIR. The paper also reports results for higher scaling factors (x16, x18, x24, x30) on DIV2K100 and LSDIR.

Key Insights and Ideas

  • Gaussian Splatting for 2D Images: The paper successfully adapts the principles of 3D Gaussian Splatting to the 2D image domain for ASR, moving beyond its typical use in 3D reconstruction.
  • Region-Level Representation: By using Gaussians, GSASR represents image content at a region level, offering richer expressiveness and better handling of complex textures compared to pixel-wise INR methods.
  • Generalization through Feed-Forward Prediction: Unlike traditional GS that optimizes for a single scene, GSASR learns a feed-forward network to predict Gaussian properties, enabling generalization to unseen images and arbitrary scales.
  • Efficient and Differentiable Rasterization: The development of a GPU/CUDA-based rasterization module is crucial for achieving both high speed and enabling end-to-end training, a key advantage over optimization-based GS.
  • Adaptive Gaussian Placement: The learned Gaussian centers and properties allow them to adapt to complex textures and object shapes, leading to more accurate reconstructions.

Key Results

  • State-of-the-Art Performance: GSASR achieves superior results in terms of fidelity metrics (PSNR, SSIM) and perceptual quality metrics (LPIPS, DISTS) across various datasets and scaling factors, outperforming existing INR-based and other ASR methods.
  • Significant Speedup: GSASR is considerably faster than previous methods. For example, at a x12 scaling factor, it achieves 720x720 resolution in 91 ms, while CiaoSR takes nearly 540 ms. Table 2 shows GSASR is often twice as fast as CiaoSR even at smaller scales.
  • Excellent Generalization: The method demonstrates strong performance on out-of-distribution scaling factors (e.g., x6, x12) that were not explicitly trained for.
  • Qualitative Improvements: Visualizations show that GSASR produces sharper details and clearer textures compared to competing methods, which often result in blurry outputs.

Limitations and Future Work

  • Dependence on Number of Gaussians: The performance of GSASR is influenced by the number of Gaussians ($N$), especially at ultra-high scaling factors. Increasing $N$ improves quality but reduces inference speed.
  • Parameter Complexity: Converting an image into Gaussians requires fitting a large number of parameters, and reducing this complexity is an area for future investigation.
  • Further Exploration: The paper suggests exploring larger backbone networks and more extensive ablation studies, which are provided in the supplementary material.

Summary updated

BibTeX
@inproceedings{chen2025generalized,
  author = {Du Chen and Liyi Chen and Zhengqiang Zhang and Lei Zhang},
  title = {{Generalized and Efficient 2D Gaussian Splatting for Arbitrary-scale Super-Resolution}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure