Abstract
Generating high-quality point distributions that satisfy multiple overlapping constraints is a fundamental challenge in computer graphics. While blue-noise sampling is well-understood for single-class distributions, existing multi-class methods struggle to scale beyond a handful of objectives. This paper introduces a framework based on continuous Wasserstein barycenters and Filtered Sliced Optimal Transport (FSOT). By leveraging a stochastic gradient descent (SGD) solver, the proposed method achieves unprecedented scalability, handling thousands of simultaneous classes while maintaining high visual quality and computational efficiency.
Introduction
In computer graphics, the distribution of discrete elements—ranging from stippling dots in digital illustration to sample points in Monte Carlo rendering—requires specific spectral properties known as blue noise. Blue-noise distributions ensure that points are well-spaced and lack low-frequency clusters, which is perceptually pleasing and reduces aliasing.
The complexity increases significantly in multi-class scenarios. For instance, in an ecological simulation, one might require red, blue, and green trees to each follow a specific density map (individual blue-noise properties) while ensuring the combined forest (the union of all classes) also maintains a blue-noise distribution. These overlapping and often conflicting objectives create a high-dimensional optimization problem that traditional methods fail to solve efficiently as the number of classes grows.
Methodology
Continuous Wasserstein Barycenters
To address the multi-class problem, the authors reformulate point sampling as a continuous Wasserstein barycenter problem. Instead of treating classes as discrete, isolated lists, they extend the point space with a "classification dimension." This allows the optimization to treat the entire point set as a single distribution where specific subsets are isolated via "class functions."
Filtered Sliced Optimal Transport (FSOT)
Optimal Transport (OT) provides a rigorous mathematical framework for measuring the distance between a point set and a target distribution. However, standard OT is computationally prohibitive for large point sets. "Sliced" Optimal Transport simplifies this by projecting the multidimensional distribution onto 1D axes.
The core contribution of this work is Filtered Sliced Optimal Transport (FSOT). By applying a filtering step during the 1D projection, the algorithm can isolate specific point subsets (subclasses) and optimize them against their respective target distributions. This allows for the elegant handling of nested and overlapping objectives.
Stochastic Optimization and Scalability
To achieve scalability, the authors employ a Stochastic Gradient Descent (SGD) approach. Rather than calculating the gradient for every class objective in every iteration, the solver randomly selects a single subclass and a single projection axis for each update. This stochasticity ensures that the memory footprint remains independent of the total number of classes, allowing the system to scale to thousands of objectives.
Furthermore, the authors introduce an offset correction mechanism. Previous sliced OT methods often suffered from "alignment artifacts," where points would inadvertently align into grid-like structures. The offset correction scales point updates to break these patterns, resulting in cleaner blue-noise spectra.
Evaluation and Results
The framework was evaluated across several domains, including synthetic 2D point sets, CMYK color stippling, and complex 3D rendering tasks.
Performance and Scale
The method demonstrates a massive leap in scalability and performance:
- Class Capacity: The framework successfully optimized up to 4,096 classes simultaneously, whereas prior state-of-the-art methods typically capped out at 10–20 classes.
- Execution Speed: In a 3-class test involving approximately 2,000 points, the proposed GPU implementation reached convergence in 38 seconds. In contrast, the previous leading method (Qin et al. 2017) required approximately one hour on a CPU to reach a comparable result.
Perceptual Rendering Quality
One of the most compelling applications is in Monte Carlo rendering. By treating each pixel (or groups of pixels) as a separate class, the method can optimize the distribution of samples to ensure that rendering noise follows a blue-noise distribution. This results in images that appear significantly cleaner to the human eye, particularly in difficult specular regions, as the human visual system is naturally adept at ignoring high-frequency blue noise.
Limitations and Future Work
While the stochastic solver provides excellent memory efficiency, it can require a high number of iterations to converge when target densities are highly non-uniform. The use of point-sampling to estimate 1D targets also introduces gradient noise, which can affect the final stages of convergence.
Future research directions include the exploration of more advanced optimization techniques beyond basic SGD and the development of analytic projection methods to reduce gradient noise. Additionally, the authors suggest investigating ways to allow users to specify explicit mixture targets for overlapping class unions more intuitively.
Conclusion
By combining the mathematical rigor of Wasserstein barycenters with the efficiency of filtered sliced projections and stochastic optimization, this work provides a robust framework for massive multi-class sampling. It effectively removes the scalability bottleneck that has limited multi-class blue-noise applications for years, opening new possibilities in rendering, visualization, and geometric design.
Summary updated