Programming with Neural Surrogates of Programs

12/12/2021
by   Alex Renda, et al.
0

Surrogates, models that mimic the behavior of programs, form the basis of a variety of development workflows. We study three surrogate-based design patterns, evaluating each in case studies on a large-scale CPU simulator. With surrogate compilation, programmers develop a surrogate that mimics the behavior of a program to deploy to end-users in place of the original program. Surrogate compilation accelerates the CPU simulator under study by 1.6×. With surrogate adaptation, programmers develop a surrogate of a program then retrain that surrogate on a different task. Surrogate adaptation decreases the simulator's error by up to 50%. With surrogate optimization, programmers develop a surrogate of a program, optimize input parameters of the surrogate, then plug the optimized input parameters back into the original program. Surrogate optimization finds simulation parameters that decrease the simulator's error by 5% compared to the error induced by expert-set parameters. In this paper we formalize this taxonomy of surrogate-based design patterns. We further describe the programming methodology common to all three design patterns. Our work builds a foundation for the emerging class of workflows based on programming with surrogates of programs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/08/2020

DiffTune: Optimizing CPU Simulator Parameters with Learned Differentiable Surrogates

CPU simulators are useful tools for modeling CPU execution behavior. How...
research
09/21/2023

Turaco: Complexity-Guided Data Sampling for Training Neural Surrogates of Programs

Programmers and researchers are increasingly developing surrogates of pr...
research
04/26/2023

Enhancing Inverse Problem Solutions with Accurate Surrogate Simulators and Promising Candidates

Deep-learning inverse techniques have attracted significant attention in...
research
12/15/2022

Construction of a Surrogate Model: Multivariate Time Series Prediction with a Hybrid Model

Recent developments of advanced driver-assistance systems necessitate an...
research
10/25/2019

Deep Probabilistic Surrogate Networks for Universal Simulator Approximation

We present a framework for automatically structuring and training fast, ...
research
09/09/2021

Surrogate Parameters Optimization for Data and Model Fusion of COVID-19 Time-series Data

Our research focuses on developing a computational framework to simulate...
research
07/15/2020

Atomistic Structure Learning Algorithm with surrogate energy model relaxation

The recently proposed Atomistic Structure Learning Algorithm (ASLA) buil...

Please sign up or login with your details

Forgot password? Click here to reset