Learning from Shader Program Traces

dc.contributor.authorYang, Yutingen_US
dc.contributor.authorBarnes, Connellyen_US
dc.contributor.authorFinkelstein, Adamen_US
dc.contributor.editorChaine, Raphaëlleen_US
dc.contributor.editorKim, Min H.en_US
dc.date.accessioned2022-04-22T06:26:33Z
dc.date.available2022-04-22T06:26:33Z
dc.date.issued2022
dc.description.abstractDeep learning for image processing typically treats input imagery as pixels in some color space. This paper proposes instead to learn from program traces of procedural fragment shaders - programs that generate images. At each pixel, we collect the intermediate values computed at program execution, and these data form the input to the learned model. We investigate this learning task for a variety of applications: our model can learn to predict a low-noise output image from shader programs that exhibit sampling noise; this model can also learn from a simplified shader program that approximates the reference solution with less computation, as well as learn the output of postprocessing filters like defocus blur and edge-aware sharpening. Finally we show that the idea of learning from program traces can even be applied to non-imagery simulations of flocks of boids. Our experiments on a variety of shaders show quantitatively and qualitatively that models learned from program traces outperform baseline models learned from RGB color augmented with hand-picked shader-specific features like normals, depth, and diffuse and specular color. We also conduct a series of analyses that show certain features within the trace are more important, and even learning from a small subset of the trace outperforms the baselines.en_US
dc.description.number2
dc.description.sectionheadersLearning for Rendering
dc.description.seriesinformationComputer Graphics Forum
dc.description.volume41
dc.identifier.doi10.1111/cgf.14457
dc.identifier.issn1467-8659
dc.identifier.pages41-56
dc.identifier.pages16 pages
dc.identifier.urihttps://doi.org/10.1111/cgf.14457
dc.identifier.urihttps://diglib.eg.org:443/handle/10.1111/cgf14457
dc.publisherThe Eurographics Association and John Wiley & Sons Ltd.en_US
dc.subjectCCS Concepts: Computing methodologies --> Neural networks; Computer graphics; Software and its engineering --> Compilers
dc.subjectComputing methodologies
dc.subjectNeural networks
dc.subjectComputer graphics
dc.subjectSoftware and its engineering
dc.subjectCompilers
dc.titleLearning from Shader Program Tracesen_US
Files
Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
v41i2pp041-056.pdf
Size:
27.4 MB
Format:
Adobe Portable Document Format
No Thumbnail Available
Name:
paper1045_Video.mp4
Size:
343.44 MB
Format:
Unknown data format
Collections