paperbot · PL 论文追踪

RSS

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

OOPSLA 7(OOPSLA2)2023
Alex Renda, Yi Ding, Michael Carbin

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Programmers and researchers are increasingly developing surrogates of programs, models of a subset of the observable behavior of a given program, to solve a variety of software development challenges. Programmers train surrogates from measurements of the behavior of a program on a dataset of input examples. A key challenge of surrogate construction is determining what training data to use to train a surrogate of a given program. We present a methodology for sampling datasets to train neural-network-based surrogates of programs. We first characterize the proportion of data to sample from each region of a program's input space (corresponding to different execution paths of the program) based on the complexity of learning a surrogate of the corresponding execution path. We next provide a program analysis to determine the complexity of different paths in a program. We evaluate these results on a range of real-world programs, demonstrating that complexity-guided sampling results in empirical improvements in accuracy.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot1864,
  title = {Turaco: Complexity-Guided Data Sampling for Training Neural Surrogates of Programs},
  author = {Alex Renda and Yi Ding and Michael Carbin},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {OOPSLA2},
  year = {2023},
  doi = {10.1145/3622856}
}