We present the concept of approximate intermittent computing and demonstrate its application. Intermittent computations stem from the erratic energy patterns caused by energy harvesting: computations unpredictably terminate whenever energy is insufficient. Existing solutions maintain equivalence to continuous executions by creating persistent state. The performance penalty is massive: system throughput reduces while energy consumption increases. Approximate intermittent computations trade the accuracy of the results for sparing the entire overhead to maintain equivalence to a continuous execution. We use approximation to limit the extent of stateful computations to the single power cycle, enabling the system to shift the energy budget for managing persistent state towards an immediate approximate result. First, we apply approximate intermittent computing to human activity recognition. We design an anytime variation of support vector machines able to improve the accuracy of the classification as energy is available. We build a hw/sw prototype using kinetic energy and show a 7x improvement in system throughput compared to state of the art, while retaining 83% accuracy in a setting where the best attainable accuracy is 88%. Next, we apply approximate intermittent computing in a sharply different scenario, that is, embedded image processing, using loop perforation. Using a different hw/sw prototype we build and diverse energy traces, we show a 5x improvement in system throughput compared to state of the art, while providing an equivalent output in 84% of the cases.
Approximate Computing and the Efficient Machine Learning Expedition
Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Duke University(杜克大学);Purdue University(普渡大学);IBM Research(IBM研究院);University of Patras(帕特雷大学)
近似计算(AxC)长期以来一直被认为是一种以放松精度要求为代价的高效系统实现的设计替代方案。尽管AxC的研究活动在各个应用领域,AxC蓬勃发展的过去十年中,当它被应用于机器学习(ML)。根据ML模型的定义近似概念,以及与ML应用程序相关的计算开销增加-通过相应的近似有效地减轻-导致完美的匹配和富有成效的协同作用。AxC for AI/ML已经超越了学术原型。在这项工作中,我们启发了AxC和ML的协同性,并阐明了AxC在设计高效ML系统中的影响。为此,我们对AxC for ML进行了概述和分类,并使用两个描述性的应用场景来演示AxC如何提高ML系统的效率。
TransAxx: Efficient Transformers with Approximate Computing
School of Electrical and Computer Engineering, National Technical University of Athens(电气与计算机工程学院,国家技术大学雅典);Department of Computer Engineering & Informatics, University of Patras(计算机工程与信息学院,帕特拉大学);Chair for Embedded Systems at Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院嵌入式系统教授职位)