A δ

Author:

Yang Yuting1,Barnes Connelly2,Adams Andrew2,Finkelstein Adam1

Affiliation:

1. Princeton University

2. Adobe Research

Abstract

Over the last decade, automatic differentiation (AD) has profoundly impacted graphics and vision applications --- both broadly via deep learning and specifically for inverse rendering. Traditional AD methods ignore gradients at discontinuities, instead treating functions as continuous. Rendering algorithms intrinsically rely on discontinuities, crucial at object silhouettes and in general for any branching operation. Researchers have proposed fully- automatic differentiation approaches for handling discontinuities by restricting to affine functions, or semi- automatic processes restricted either to invertible functions or to specialized applications like vector graphics. This paper describes a compiler-based approach to extend reverse mode AD so as to accept arbitrary programs involving discontinuities. Our novel gradient rules generalize differentiation to work correctly, assuming there is a single discontinuity in a local neighborhood, by approximating the prefiltered gradient over a box kernel oriented along a 1D sampling axis. We describe when such approximation rules are first-order correct, and show that this correctness criterion applies to a relatively broad class of functions. Moreover, we show that the method is effective in practice for arbitrary programs, including features for which we cannot prove correctness. We evaluate this approach on procedural shader programs, where the task is to optimize unknown parameters in order to match a target image, and our method outperforms baselines in terms of both convergence and efficiency. Our compiler outputs gradient programs in TensorFlow, PyTorch (for quick prototypes) and Halide with an optional auto-scheduler (for efficiency). The compiler also outputs GLSL that renders the target image, allowing users to interactively modify and animate the shader, which would otherwise be cumbersome in other representations such as triangle meshes or vector art.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design

Reference39 articles.

1. Learning to optimize halide with tree search and random programs

2. Alexander Panasovsky. 2018. Celtic. https://thenounproject.com/icon/celtic-1975448/. Alexander Panasovsky. 2018. Celtic. https://thenounproject.com/icon/celtic-1975448/.

3. Unbiased warped-area sampling for differentiable rendering

4. Systematically differentiating parametric discontinuities

5. Fast approximate energy minimization via graph cuts

Cited by 9 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A review of motion retargeting techniques for 3D character facial animation;Computers & Graphics;2024-10

2. 3D facial modeling, animation, and rendering for digital humans: A survey;Neurocomputing;2024-09

3. Near-realtime Facial Animation by Deep 3D Simulation Super-Resolution;ACM Transactions on Graphics;2024-08-09

4. AnaConDaR: Anatomically-Constrained Data-Adaptive Facial Retargeting;Computers & Graphics;2024-08

5. Fabricable 3D Wire Art;Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers '24;2024-07-13

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3