arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.09758cs.GR
收藏

通过随机梯度估计将不可微光栅化器转换为可微光栅化器

Transforming a Non-Differentiable Rasterizer into a Differentiable One with Stochastic Gradient Estimation

Thomas Deliot, Eric Heitz, Laurent Belcour

AI总结:

本研究提出利用随机梯度估计,通过逐像素梯度估计与ID/UV缓冲追踪的轻量修改,将不可微光栅化器转为可微版本,实现了可处理百万级参数3D资产的引擎内优化器。

摘要:

我们展示了如何以最少的工程工作量且无需外部依赖(无需Pytorch/Tensorflow),将不可微光栅化器转换为可微光栅化器。我们采用随机梯度估计(Stochastic Gradient Estimation)技术,该技术通过随机扰动场景参数后进行光栅化,从而对参数的梯度进行随机估计并执行梯度下降。该方法简单鲁棒,但在维度(场景参数数量)上不具备可扩展性。我们的核心洞察是,对任意给定光栅化像素有贡献的参数数量是有界的。因此,逐像素估计并平均梯度能够约束底层优化问题的维度,使该方法具备可扩展性。此外,通过光栅化ID缓冲(ID-buffer)和UV缓冲(UV-buffer)可以轻松追踪逐像素的贡献参数——如果光栅化引擎尚未配备这些缓冲,添加它们的工作量极小。通过这些微小修改,我们得到了一个内置在引擎中的优化器,可处理拥有数百万几何与纹理参数的3D资产。

英文摘要:

We show how to transform a non-differentiable rasterizer into a differentiable one with minimal engineering efforts and no external dependencies (no Pytorch/Tensorflow). We rely on Stochastic Gradient Estimation, a technique that consists of rasterizing after randomly perturbing the scene's parameters such that their gradient can be stochastically estimated and descended. This method is simple and robust but does not scale in dimensionality (number of scene parameters). Our insight is that the number of parameters contributing to a given rasterized pixel is bounded. Estimating and averaging gradients on a per-pixel basis hence bounds the dimensionality of the underlying optimization problem and makes the method scalable. Furthermore, it is simple to track per-pixel contributing parameters by rasterizing ID- and UV-buffers, which are trivial additions to a rasterization engine if not already available. With these minor modifications, we obtain an in-engine optimizer for 3D assets with millions of geometry and texture parameters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑