TL;DR
This paper introduces VIPER, a visualization tool for comparing approximate computing frameworks across their entire accuracy-performance trade-off space, and BOA, a family of algorithms for efficiently finding optimal combined configurations of multiple frameworks. Together, these tools enable researchers and engineers to better understand, compare, and leverage the power of approximate computing.
What Problem Does This Paper Address?
Approximate computing frameworks allow applications to operate at various points on an accuracy-performance spectrum, offering benefits like increased speed or reduced energy consumption at the cost of some accuracy. As more such frameworks emerge, a key challenge is how to effectively compare their trade-off spaces and, more importantly, how to combine multiple frameworks to create even richer and more efficient trade-off spaces. Exhaustively searching the combined space of multiple frameworks is computationally infeasible due to its massive size. Existing methods for comparison and combination often fall short, either by not providing a holistic view of the trade-off space or by being too computationally expensive.
Methods
The paper proposes two main contributions:
- VIPER (Visualizing Improved Performance Ratios): This is a novel visualization technique that compares approximation frameworks by plotting the performance improvement ratio (PIR) against accuracy loss. Instead of just showing Pareto-optimal curves, VIPER provides a clear visual representation of how one framework performs relative to another across the entire accuracy range. This allows users to quickly identify which framework is superior for a given accuracy requirement.
- BOA (Blending Optimal Approximations): This is a family of algorithms designed to efficiently find Pareto-efficient configurations in the combined trade-off space of multiple approximation frameworks.
- BOA-simple: Explores the cross-product of Pareto-optimal points from individual frameworks.
- BOA-flex: Extends BOA-simple by considering configurations within a user-defined threshold of individual Pareto-optimal points, making the search more robust to experimental noise.
- BOA-prob: Introduces probabilistic selection to explore configurations that are further from individual Pareto-optimal curves, helping to avoid local minima.
Datasets
The evaluation uses eleven benchmarks from the Parsec 3.0 and Rodinia 3.1 suites. These benchmarks cover various domains, including machine learning and image processing. The paper explicitly mentions splitting inputs into training and test sets for evaluating the robustness of the proposed techniques on unseen data. No new benchmarks were introduced.
Key Insights and Ideas
- Visualizing trade-offs is crucial: Simply looking at Pareto-optimal curves can be misleading, especially when frameworks intersect or have steep slopes. VIPER offers a more intuitive and direct way to compare frameworks across the entire accuracy spectrum.
- Combining frameworks yields significant benefits: Even frameworks that perform poorly individually can contribute to better Pareto-efficient points when combined. This highlights the potential of synergistic approximation.
- Smart search is key for combined spaces: Exhaustive search is impossible. BOA's approach of focusing on configurations near individual Pareto-optimal points, with intelligent extensions for robustness and local minima avoidance, proves highly effective.
- Simplicity can be powerful: BOA-simple, despite its straightforward approach, outperforms more complex state-of-the-art algorithms like NSGA-II in terms of finding more Pareto-efficient points with significantly less exploration.
Key Results
- VIPER: Provides quick and convenient identification of the best approximation technique for any given accuracy loss, offering clearer insights than traditional Pareto-optimal curves.
- BOA vs. State-of-the-Art:
- BOA-simple explores 14x fewer configurations than NSGA-II.
- BOA-simple finds 35% more Pareto-efficient points than NSGA-II.
- BOA-flex and BOA-prob locate 52.8-65.6% more Pareto-efficient configurations than NSGA-II on average.
- BOA methods demonstrate higher robustness and better correlation between training and test data performance compared to NSGA-II and MCKP.
- MCKP, while exploring few configurations, does not search enough combinations to find many useful points.
Limitations and Future Work
- Limitations:
- The paper notes that while MCKP is robust due to limited search, its small search space limits its effectiveness.
- NSGA-II's heuristic approach can sometimes select configurations that perform poorly on unseen data.
- The complexity of BOA-simple is exponential, though practical for the current number of frameworks and parameters.
- Future Work:
- The paper implicitly suggests that further exploration of BOA variants and their parameters could yield even better results.
- The authors open-source VIPER and BOA, encouraging their adoption and further development by the research community.
- The work lays the groundwork for more sophisticated methods to compare and combine approximation frameworks, potentially leading to more efficient and robust approximate computing systems.
Summary updated