Randomized accuracy-aware program transformations for efficient approximate computations

Zeyuan Allen Zhu, Sasa Misailovic, Jonathan A. Kelner, Martin Rinard

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Despite the fact that approximate computations have come to dominate many areas of computer science, the field of program transformations has focused almost exclusively on traditional semantics-preserving transformations that do not attempt to exploit the opportunity, available in many computations, to acceptably trade off accuracy for benefits such as increased performance and reduced resource consumption. We present a model of computation for approximate computations and an algorithm for optimizing these computations. The algorithm works with two classes of transformations: substitution transformations (which select one of a number of available implementations for a given function, with each implementation offering a different combination of accuracy and resource consumption) and sampling transformations (which randomly discard some of the inputs to a given reduction). The algorithm produces a (1 +ε) randomized approximation to the optimal randomized computation (which minimizes resource consumption subject to a probabilistic accuracy specification in the form of a maximum expected error or maximum error variance).

Original languageEnglish (US)
Title of host publicationPOPL'12 - Proceedings of the 39th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
Pages441-454
Number of pages14
DOIs
StatePublished - 2012
Externally publishedYes
Event39th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL'12 - Philadelphia, PA, United States
Duration: Jan 25 2012Jan 27 2012

Publication series

NameConference Record of the Annual ACM Symposium on Principles of Programming Languages
ISSN (Print)0730-8566

Other

Other39th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL'12
CountryUnited States
CityPhiladelphia, PA
Period1/25/121/27/12

Keywords

  • Discretization
  • Error-time tradeoff
  • Optimization
  • Probabilistic

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Randomized accuracy-aware program transformations for efficient approximate computations'. Together they form a unique fingerprint.

  • Cite this

    Zhu, Z. A., Misailovic, S., Kelner, J. A., & Rinard, M. (2012). Randomized accuracy-aware program transformations for efficient approximate computations. In POPL'12 - Proceedings of the 39th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (pp. 441-454). (Conference Record of the Annual ACM Symposium on Principles of Programming Languages). https://doi.org/10.1145/2103656.2103710