Learning from Shader Program Traces

02/08/2021
by   Yuting Yang, et al.
0

Deep networks for image processing typically learn from RGB pixels. This paper proposes instead to learn from program traces, the intermediate values computed during program execution. We study this idea in the context of pixel shaders – programs that generate images, typically running in parallel (for each pixel) on GPU hardware. The intermediate values computed at each pixel during program execution form the input to the learned model. In a variety of applications, models learned from program traces outperform baseline models learned from RGB, even when augmented with hand-picked shader-specific features. We also investigate strategies for selecting a subset of trace features for learning; using just a small subset of the trace still outperforms the baselines.

READ FULL TEXT

page 1

page 6

page 15

page 16

page 17

page 18

research
01/15/2020

Learning Concise Models from Long Execution Traces

Abstract models of system-level behaviour have applications in design ex...
research
06/19/2023

Pipit: Enabling programmatic analysis of parallel execution traces

Performance analysis is an important part of the oft-repeated, iterative...
research
07/30/2017

Learning to Infer Graphics Programs from Hand-Drawn Images

We introduce a model that learns to convert simple hand drawings into gr...
research
07/11/2019

Trace-Relating Compiler Correctness and Secure Compilation

Compiler correctness is, in its simplest form, defined as the inclusion ...
research
09/04/2021

Direct Construction of Program Alignment Automata for Equivalence Checking

The problem of checking whether two programs are semantically equivalent...
research
01/08/2020

Learning to Encode and Classify Test Executions

The challenge of automatically determining the correctness of test execu...
research
09/11/2017

A Planning Approach to Monitoring Behavior of Computer Programs

We describe a novel approach to monitoring high level behaviors using co...

Please sign up or login with your details

Forgot password? Click here to reset