Code is now out! Try it for yourself here: github.com/abhimadan/st...
30.07.2025 21:42 β π 10 π 4 π¬ 0 π 0@abhishekmadan.bsky.social
Code is now out! Try it for yourself here: github.com/abhimadan/st...
30.07.2025 21:42 β π 10 π 4 π¬ 0 π 0Our #SGP25 work studies a simple and effective way to uniformly sample implicit surfaces by casting rays. (1/9)
βUniform Sampling of Surfaces by Casting Raysβ w/ @abhishekmadan.bsky.social @nmwsharp.bsky.social and Alec Jacobson
For more details, check out the full paper and our project site: www.dgp.toronto.edu/projects/sto...
05.06.2025 21:44 β π 5 π 0 π¬ 0 π 0Thereβs no free lunch - by adding randomization, we can increase the worst-case error. However, average errors are lower, and weβve just scratched the surface of variance reduction techniques for this estimator, so the gap in max error can be closed even further.
05.06.2025 21:44 β π 4 π 0 π¬ 1 π 0Of course, this is more than just a cool mathematical trick - we show that structuring the computation in this way actually reduces thread divergence in parallel execution, which leads to some significant speedups on the GPU compared to Barnes-Hut.
05.06.2025 21:44 β π 3 π 0 π¬ 1 π 0However, this is equivalent to following every single path through the tree, and truncating paths that are less important to the sum. From here, we can make the algorithm stochastic (and unbiased!) by randomly selecting paths through the tree, and randomly truncating these paths.
05.06.2025 21:44 β π 3 π 0 π¬ 1 π 0The original, deterministic algorithm works by building an octree over all the source points, and essentially performing a truncated traversal over this tree that covers all the sources.
05.06.2025 21:44 β π 4 π 0 π¬ 1 π 0Meanwhile, stochastic approaches have been very successful in graphics - can we effectively use them here? We developed a stochastic version of the classic Barnes-Hut approximation that runs blazingly fast on the GPU, taking just 4ms to compute the total effect of over 4 trillion interactions!
05.06.2025 21:44 β π 3 π 0 π¬ 1 π 0Fast summation of interactions between a set of sources and a query point is a key ingredient in algorithms across science, engineering, and computer graphics, such as N-body simulation, winding number computation, and boundary integral evaluation.
05.06.2025 21:44 β π 2 π 0 π¬ 1 π 0At SIGGRAPH 2025, weβll be presenting the paper βStochastic Barnes-Hut Approximation for Fast Summation on the GPUβ. By injecting a bit of randomization into the classic yet deterministic Barnes-Hut approximation for fast kernel summation, we can achieve nearly 10x speedups on the GPU!
05.06.2025 21:44 β π 42 π 9 π¬ 1 π 3