skip to main content
10.1145/2103656.2103710acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
research-article

Randomized accuracy-aware program transformations for efficient approximate computations

Published:25 January 2012Publication History

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).

Skip Supplemental Material Section

Supplemental Material

popl_7a_2.mp4

mp4

184.8 MB

References

  1. S. Acharya, P. Gibbons, V. Poosala, and S. Ramaswamy. Join synopses for approximate query answering. In SIGMOD, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Ansel, C. Chan, Y. Wong, M. Olszewski, Q. Zhao, A. Edelman, and S. Amarasinghe. Petabricks: A language and compiler for algorithmic choice. In PLDI, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. W. Baek and T. Chilimbi. Green: A framework for supporting energy-conscious programming using controlled approximation. In PLDI '10. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. L. Chakrapani, K. Muntimadugu, A. Lingamneni, J. George, and K. Palem. Highly energy and performance efficient embedded computing through approximately correct arithmetic: A mathematical foundation and preliminary experimental validation. In CASES, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. S. Chaudhuri, S. Gulwani, and R. Lublinerman. Continuity analysis of programs. In POPL, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Chaudhuri, S. Gulwani, R. Lublinerman, and S. Navidpour. Proving Programs Robust. In FSE, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Chaudhuri and A. Solar-Lezama. Smooth interpretation. In PLDI, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Chaudhuri and A. Solar-Lezama. Smoothing a program soundly and robustly. In CAV, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Flinn and M. Satyanarayanan. Energy-aware adaptation for mobile applications. In SOSP, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Hameed, W. Qadeer, M. Wachs, O. Azizi, A. Solomatnikov, B. Lee, S. Richardson, C. Kozyrakis, and M. Horowitz. Understanding sources of inefficiency in general-purpose chips. In ISCA, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. Hellerstein, P. Haas, and H. Wang. Online aggregation. In SIGMOD/PODS, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. H. Hoffman, S. Sidiroglou, M. Carbin, S. Misailovic, A. Agarwal, and M. Rinard. Dynamic knobs for power-aware computing. In ASPLOS, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. H. Hoffmann, M. Maggio, M. D. Santambrogio, A. Leva, and A. Agarwal. Seec: A general and extensible framework for self-aware computing. Technical Report MIT-CSAIL-TR-2011-046, 2011.Google ScholarGoogle Scholar
  14. H. Hoffmann, S. Misailovic, S. Sidiroglou, A. Agarwal, and M. Rinard. Using Code Perforation to Improve Performance, Reduce Energy Consumption, and Respond to Failures. Technical Report MIT-CSAIL-TR-2009-042, 2009.Google ScholarGoogle Scholar
  15. W.-C. Hou, G. Ozsoyoglu, and B. K. Taneja. Processing aggregate relational queries with hard time constraints. SIGMOD, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Y. Hu, S. Sundara, and J. Srinivasan. Supporting time-constrained SQL queries in Oracle. VLDB, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. S. Liu, K. Pattabiraman, T. Moscibroda, and B. Zorn. Flikker: Saving dram refresh-power through critical data partitioning. ASPLOS, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. R. Majumdar and I. Saha. Symbolic robustness analysis. In RTSS '09. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. R. Majumdar, I. Saha, and Z. Wang. Systematic testing for control applications. In MEMOCODE, 2010.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. J. Meng, S. Chakradhar, and A. Raghunathan. Best-Effort Parallel Execution Framework for Recognition and Mining Applications. In IPDPS, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. J. Meng, A. Raghunathan, and S. B. S. Chakradhar. Exploiting the Forgiving Nature of Applications for Scalable Parallel Execution. In IPDPS, 2010.Google ScholarGoogle Scholar
  22. S. Misailovic, D. Roy, and M. Rinard. Probabilistic and statistical analysis of perforated patterns. Technical Report MIT-CSAIL-TR-2011-003, January 2011.Google ScholarGoogle Scholar
  23. S. Misailovic, D. Roy, and M. Rinard. Probabilistically Accurate Program Transformations. In SAS, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. S. Misailovic, S. Sidiroglou, H. Hoffmann, and M. Rinard. Quality of service profiling. In ICSE, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. R. Motwani and P. Raghavan. Randomized algorithms. Cambridge University Press, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. J. Reed and B. C. Pierce. Distance makes the types grow stronger: a calculus for differential privacy. In ICFP, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. M. Rinard. Probabilistic accuracy bounds for fault-tolerant computations that discard tasks. In ICS, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. M. Rinard. Using early phase termination to eliminate load imbalances at barrier synchronization points. In OOPSLA, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. R. Rubinfeld. Sublinear time algorithms. In Intl. Congress of Mathematicians, 2006.Google ScholarGoogle Scholar
  30. A. Sampson, W. Dietl, E. Fortuna, D. Gnanapragasam, L. Ceze, and D. Grossman. EnerJ: approximate data types for safe and general low-power computation. In PLDI, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. S. Sidiroglou, S. Misailovic, H. Hoffmann, and M. Rinard. Managing Performance vs. Accuracy Tradeoffs With Loop Perforation. In FSE, 2011.Google ScholarGoogle Scholar
  32. K. Sohraby, D. Minoli, and T. Znati. Wireless sensor networks: technology, protocols, and applications. Wiley-Blackwell, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. J. Sorber, A. Kostadinov, M. Garber, M. Brennan, M. D. Corner, and E. D. Berger. Eon: a language and runtime system for perpetual systems. In SenSys, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. P. Stanley-Marbell and D. Marculescu. Deviation-Tolerant Computation in Concurrent Failure-Prone Hardware. Technical Report ESR-2008-01, Eindhoven University of Technology, 2008.Google ScholarGoogle Scholar
  35. D. Suciu, D. Olteanu, C. Ré, and C. Koch. Probabilistic Databases. Morgan-Claypool, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Randomized accuracy-aware program transformations for efficient approximate computations

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                POPL '12: Proceedings of the 39th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages
                January 2012
                602 pages
                ISBN:9781450310833
                DOI:10.1145/2103656
                • cover image ACM SIGPLAN Notices
                  ACM SIGPLAN Notices  Volume 47, Issue 1
                  POPL '12
                  January 2012
                  569 pages
                  ISSN:0362-1340
                  EISSN:1558-1160
                  DOI:10.1145/2103621
                  Issue’s Table of Contents

                Copyright © 2012 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 25 January 2012

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • research-article

                Acceptance Rates

                Overall Acceptance Rate824of4,130submissions,20%

                Upcoming Conference

                POPL '25

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader